:root {
    --bg: #09090d;
    --surface: #17161d;
    --gold: #c4a574;
    --gold-soft: #e0c79d;
    --ivory: #f2e8d9;
    --text: #d8cec0;
    --muted: #9d948a;
    --line: rgba(196,165,116,.18);
    --shadow: 0 20px 60px rgba(0,0,0,.35);
}

body {
    background:
        radial-gradient(circle at top, rgba(196,165,116,.08), transparent 25%),
        linear-gradient(180deg, #09090d 0%, #0d0d12 100%);
    color: var(--ivory);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(9,9,13,.88);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: .5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--ivory);
    text-decoration: none;
    transition: .25s;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--gold);
}

.home-hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 44px;
    padding: 50px 0 60px;
}

.hero-content {
    max-width: 560px;
    justify-self: start;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(32px, 4.2vw, 58px);
    line-height: 1.55;
    margin: 0 0 20px;
    color: var(--ivory);
}

.hero-content p {
    font-size: 17px;
    line-height: 2.1;
    color: var(--text);
    margin: 0;
}

.home-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    transition: .25s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: #0e0d11;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(196,165,116,.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--gold-soft);
}

.btn-secondary {
    border-color: var(--line);
    color: var(--ivory);
    background: rgba(255,255,255,.02);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
    border-radius: 26px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.home-stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.015);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
    padding: 34px 0;
}

.stat strong {
    display: block;
    color: var(--gold);
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 42px;
    margin-bottom: 8px;
}

.stat span {
    color: var(--muted);
    font-size: 14px;
}

.home-section {
    padding: 96px 0;
    text-align: center;
}

.home-section h2 {
    font-size: clamp(28px, 3vw, 42px);
    color: var(--ivory);
    margin: 16px 0 18px;
}

.home-section p {
    color: var(--text);
    max-width: 760px;
    margin: 0 auto 34px;
    line-height: 2.1;
    font-size: 16px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 42px 0;
}

.featured-card {
    text-decoration: none;
    color: var(--ivory);
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 34px 18px;
    transition: .28s;
}

.featured-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.featured-card .symbol {
    font-size: 62px;
    color: var(--accent);
    line-height: 1;
}

.featured-card h3 {
    font-family: Georgia, serif;
    color: var(--accent);
    font-size: 28px;
    font-weight: normal;
    margin: 16px 0 6px;
}

.featured-card span {
    color: var(--text);
    font-size: 15px;
}

.home-cta {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at center, rgba(196,165,116,.10), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.01));
}

footer {
    padding: 28px 0 34px;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

footer p {
    margin: 6px 0;
}

@media (max-width: 980px) {
    .home-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        justify-self: center;
    }

    .home-buttons {
        justify-content: center;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav {
        min-height: 72px;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 14px 0;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand {
        font-size: 20px;
    }

    .home-hero {
        padding: 34px 0 52px;
    }

    .hero-content h1 {
        font-size: clamp(28px, 9vw, 42px);
        line-height: 1.6;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 2;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 24px 0;
    }

    .stat strong {
        font-size: 28px;
    }

    .stat span {
        font-size: 11px;
    }

    .home-section {
        padding: 72px 0;
    }

    .btn {
        width: 100%;
    }

    .home-buttons {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
