/**
 * Landing Page
 * Minimal, clean landing page for Avang AI platform
 */

@font-face {
                    font-family: 'Vazirmatn';
                    src: url('/fonts/vazir/Vazirmatn-Regular.woff2') format('woff2');
                    font-weight: 400;
                    font-style: normal;
                    font-display: swap;
}

@font-face {
                    font-family: 'Vazirmatn';
                    src: url('/fonts/vazir/Vazirmatn-Medium.woff2') format('woff2');
                    font-weight: 500;
                    font-style: normal;
                    font-display: swap;
}

@font-face {
                    font-family: 'Vazirmatn';
                    src: url('/fonts/vazir/Vazirmatn-Bold.woff2') format('woff2');
                    font-weight: 700;
                    font-style: normal;
                    font-display: swap;
}

/* ==================== */
/* Reset & Base         */
/* ==================== */
*,
*::before,
*::after {
                    box-sizing: border-box;
                    margin: 0;
                    padding: 0;
}

html,
body {
                    height: 100%;
}

body {
                    font-family: 'Vazirmatn', system-ui, sans-serif;
                    direction: rtl;
                    background-color: #0f0f0f;
                    color: #e8e8e8;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    min-height: 100vh;
                    overflow: hidden;
}

/* ==================== */
/* Background           */
/* ==================== */
.bg-grid {
                    position: fixed;
                    inset: 0;
                    background-image:
                                        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                                        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
                    background-size: 48px 48px;
                    pointer-events: none;
                    z-index: 0;
}

.bg-glow {
                    position: fixed;
                    width: 600px;
                    height: 600px;
                    border-radius: 50%;
                    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    pointer-events: none;
                    z-index: 0;
}

/* ==================== */
/* Container            */
/* ==================== */
.container {
                    position: relative;
                    z-index: 1;
                    text-align: center;
                    padding: 2rem;
                    max-width: 480px;
                    width: 100%;
}

/* ==================== */
/* Logo / Brand         */
/* ==================== */
.brand {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 0.75rem;
                    margin-bottom: 2.5rem;
}

.brand-icon {
                    width: 44px;
                    height: 44px;
                    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
                    border-radius: 12px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-shrink: 0;
}

.brand-icon svg {
                    width: 24px;
                    height: 24px;
                    fill: none;
                    stroke: #fff;
                    stroke-width: 2;
                    stroke-linecap: round;
                    stroke-linejoin: round;
}

.brand-name {
                    font-size: 1.75rem;
                    font-weight: 700;
                    letter-spacing: -0.02em;
                    color: #fff;
}

/* ==================== */
/* Headline             */
/* ==================== */
.headline {
                    font-size: 2.5rem;
                    font-weight: 700;
                    line-height: 1.3;
                    color: #fff;
                    margin-bottom: 1rem;
                    letter-spacing: -0.03em;
}

.headline span {
                    background: linear-gradient(135deg, #6366f1, #a78bfa);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
}

.subheadline {
                    font-size: 1rem;
                    font-weight: 400;
                    color: #9ca3af;
                    line-height: 1.7;
                    margin-bottom: 2.5rem;
}

/* ==================== */
/* CTA Button           */
/* ==================== */
.btn-enter {
                    display: inline-flex;
                    align-items: center;
                    gap: 0.6rem;
                    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
                    color: #fff;
                    font-family: 'Vazirmatn', system-ui, sans-serif;
                    font-size: 1rem;
                    font-weight: 500;
                    padding: 0.85rem 2rem;
                    border-radius: 12px;
                    text-decoration: none;
                    border: none;
                    cursor: pointer;
                    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
                    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35);
}

.btn-enter:hover {
                    opacity: 0.9;
                    transform: translateY(-2px);
                    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.45);
}

.btn-enter:active {
                    transform: translateY(0);
}

.btn-enter svg {
                    width: 18px;
                    height: 18px;
                    fill: none;
                    stroke: currentColor;
                    stroke-width: 2;
                    stroke-linecap: round;
                    stroke-linejoin: round;
                    /* flip arrow for RTL */
                    transform: scaleX(-1);
}

/* ==================== */
/* Footer               */
/* ==================== */
.footer {
                    margin-top: 3rem;
                    font-size: 0.8rem;
                    color: #4b5563;
}