/* ============================================================
   PERSIAN HEART
   A Beautiful Language. A Beautiful Way to Express Love.
   Main stylesheet
   ============================================================ */


/* ============================================================
   01. DESIGN SYSTEM
   ============================================================ */

:root {

    /* Main backgrounds */

    --night: #100d1c;
    --night-deep: #090812;
    --night-soft: #171326;
    --night-card: #1d1830;
    --night-card-light: #282039;

    /* Romantic colors */

    --wine: #53263e;
    --wine-light: #783b59;
    --wine-soft: #a45b76;

    --rose: #d78da2;
    --rose-light: #efb8c5;
    --rose-pale: #f9dfe4;

    /* Gold */

    --gold: #c9a56a;
    --gold-light: #f0d7a1;
    --gold-bright: #f6e8c1;
    --gold-dark: #85613d;

    /* Typography */

    --text-main: #f6eee8;
    --text-soft: #c5b9c3;
    --text-muted: #938696;

    /* Borders */

    --border-soft: rgba(224, 185, 157, 0.13);
    --border-medium: rgba(224, 185, 157, 0.25);
    --border-gold: rgba(201, 165, 106, 0.38);

    /* Typography */

    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "DM Sans", Arial, sans-serif;
    --font-persian: "Vazirmatn", Tahoma, sans-serif;

    /* Dimensions */

    --header-height: 84px;
    --container-width: 1240px;
    --section-space: 112px;

    /* Radius */

    --radius-small: 10px;
    --radius-medium: 17px;
    --radius-large: 25px;
    --radius-xl: 34px;

    /* Shadows */

    --shadow-panel:
        0 25px 70px rgba(0, 0, 0, 0.28);

    --shadow-gold:
        0 0 35px rgba(201, 165, 106, 0.12);

    --shadow-rose:
        0 0 40px rgba(215, 141, 162, 0.12);

    /* Transitions */

    --ease-smooth: cubic-bezier(0.2, 0.75, 0.25, 1);

    --transition-fast: 220ms ease;
    --transition-medium: 430ms ease;
    --transition-slow: 750ms var(--ease-smooth);

}


/* ============================================================
   02. RESET
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    background: var(--night-deep);
}


body {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--night);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}


button,
input,
textarea {
    font: inherit;
}


button {
    border: none;
}


a {
    color: inherit;
    text-decoration: none;
}


img,
svg {
    display: block;
    max-width: 100%;
}


ul,
ol {
    list-style: none;
}


::selection {
    color: var(--night-deep);
    background: var(--gold-light);
}


button:focus-visible,
a:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 5px;
}


[lang="fa"],
[dir="rtl"] {
    font-family: var(--font-persian);
}


[hidden] {
    display: none !important;
}


/* ============================================================
   03. GLOBAL PAGE ATMOSPHERE
   ============================================================ */

.page-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 12% 8%,
            rgba(104, 49, 80, 0.16),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 88% 65%,
            rgba(173, 118, 100, 0.10),
            transparent 43%
        ),
        var(--night);
}


.background-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            140deg,
            rgba(38, 26, 51, 0.3),
            transparent 45%,
            rgba(72, 35, 57, 0.13)
        );
}


.background-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(115px);
    opacity: 0.2;
    animation: ambientFloat 23s ease-in-out infinite alternate;
}


.background-glow--gold {
    top: -260px;
    left: -180px;
    width: 580px;
    height: 580px;
    background: #9c764a;
}


.background-glow--rose {
    right: -210px;
    bottom: -240px;
    width: 650px;
    height: 650px;
    background: #8c3d61;
    animation-delay: -8s;
}


.background-glow--violet {
    top: 45%;
    left: 40%;
    width: 330px;
    height: 330px;
    background: #5e4d8c;
    opacity: 0.1;
    animation-delay: -13s;
}


.background-stars {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image:
        radial-gradient(1px 1px at 12% 18%, #fff 98%, transparent),
        radial-gradient(2px 2px at 26% 52%, #efd5aa 98%, transparent),
        radial-gradient(1px 1px at 41% 13%, #fff 98%, transparent),
        radial-gradient(1px 1px at 62% 28%, #fff 98%, transparent),
        radial-gradient(2px 2px at 79% 17%, #f6dcb4 98%, transparent),
        radial-gradient(1px 1px at 92% 61%, #fff 98%, transparent),
        radial-gradient(1px 1px at 53% 83%, #fff 98%, transparent);
    background-size: 430px 390px;
    animation: starDrift 100s linear infinite;
}


.background-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 850px;
    height: 850px;
    border: 1px solid rgba(201, 165, 106, 0.045);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}


.background-orbit--two {
    width: 1150px;
    height: 1150px;
    border-color: rgba(215, 141, 162, 0.035);
}


.page-grain {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    opacity: 0.035;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.5'/%3E%3C/svg%3E");
}


.page-vignette {
    position: fixed;
    inset: 0;
    z-index: 19;
    pointer-events: none;
    box-shadow:
        inset 0 0 150px rgba(0, 0, 0, 0.2);
}


.cursor-light {
    position: fixed;
    z-index: 18;
    top: 0;
    left: 0;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(
            circle,
            rgba(220, 165, 163, 0.07),
            transparent 68%
        );
    filter: blur(10px);
}


@keyframes ambientFloat {

    from {
        transform: translate3d(-20px, -10px, 0) scale(1);
    }

    to {
        transform: translate3d(35px, 38px, 0) scale(1.13);
    }

}


@keyframes starDrift {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 750px 550px;
    }

}


/* ============================================================
   04. GLOBAL CONTAINERS
   ============================================================ */

.section-container {
    width: min(var(--container-width), calc(100% - 80px));
    margin: 0 auto;
}


.section-heading {
    max-width: 760px;
    margin: 0 auto 62px;
    text-align: center;
}


.section-kicker {
    display: inline-block;
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}


.section-title {
    margin-top: 18px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 61px);
    font-weight: 400;
    line-height: 1.17;
    letter-spacing: -0.035em;
}


.section-title span {
    display: block;
    margin-top: 8px;
    color: var(--rose-light);
    font-style: italic;
}


.section-description {
    max-width: 690px;
    margin: 20px auto 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.95;
}


.subsection-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}


.subsection-title {
    margin-top: 10px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    line-height: 1.25;
}


.subsection-heading > div > p {
    margin-top: 11px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.8;
}


.subsection-heading > p {
    color: var(--text-muted);
}


/* ============================================================
   05. HEADER
   ============================================================ */

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: var(--header-height);
    border-bottom: 1px solid rgba(224, 185, 157, 0.12);
    background: rgba(15, 12, 25, 0.86);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}


.header-container {
    width: min(1450px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


.brand {
    min-width: 210px;
    display: flex;
    align-items: center;
    gap: 13px;
}


.brand-icon {
    position: relative;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 165, 106, 0.45);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(201, 165, 106, 0.12),
            transparent 70%
        );
}


.brand-heart {
    color: var(--rose-light);
    font-size: 19px;
    animation: heartPulse 2.8s ease-in-out infinite;
}


.brand-ring {
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(215, 141, 162, 0.18);
    border-radius: 50%;
}


.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.brand-text strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
}


.brand-text small {
    color: var(--text-muted);
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 0.19em;
}


.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}


.navigation-link {
    position: relative;
    padding: 10px 0;
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 600;
    transition: color var(--transition-fast);
}


.navigation-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--gold);
    transition: transform var(--transition-medium);
}


.navigation-link:hover {
    color: var(--gold-light);
}


.navigation-link:hover::after {
    transform: scaleX(1);
}


.header-actions {
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}


.progress-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}


.progress-mini-label {
    color: var(--text-muted);
    font-size: 7px;
    letter-spacing: 0.16em;
}


.progress-mini strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
}


.header-menu-button {
    display: none;
    width: 43px;
    height: 43px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}


.header-menu-button span {
    width: 17px;
    height: 1px;
    background: var(--gold-light);
}


/* ============================================================
   06. BUTTON SYSTEM
   ============================================================ */

.primary-button {
    position: relative;
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    overflow: hidden;
    border: 1px solid rgba(244, 218, 180, 0.62);
    border-radius: 5px;
    color: #201522;
    background:
        linear-gradient(
            115deg,
            #b98c59,
            #f0d7a1 48%,
            #c18b69
        );
    box-shadow:
        0 9px 26px rgba(0, 0, 0, 0.2),
        0 0 26px rgba(201, 165, 106, 0.11);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    cursor: pointer;
    transition:
        transform var(--transition-medium),
        box-shadow var(--transition-medium),
        filter var(--transition-fast);
}


.primary-button::before {
    content: "";
    position: absolute;
    top: -130%;
    left: -60%;
    width: 34%;
    height: 350%;
    transform: rotate(28deg);
    background: rgba(255, 255, 255, 0.34);
    transition: left 650ms ease;
}


.primary-button:hover::before {
    left: 135%;
}


.primary-button:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 0 40px rgba(201, 165, 106, 0.2);
    filter: brightness(1.07);
}


.primary-button:active {
    transform: translateY(-1px);
}


.primary-button i {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-style: normal;
}


.primary-button span {
    position: relative;
    z-index: 1;
}


.secondary-button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(215, 141, 162, 0.3);
    border-radius: 5px;
    color: var(--rose-pale);
    background: rgba(84, 38, 62, 0.2);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}


.secondary-button:hover {
    color: var(--gold-light);
    border-color: rgba(201, 165, 106, 0.55);
    background: rgba(201, 165, 106, 0.08);
    transform: translateY(-2px);
}


/* ============================================================
   07. HERO — WELCOME SECTION
   ============================================================ */

.welcome-section {
    position: relative;
    min-height: 790px;
    min-height: min(900px, calc(100svh - var(--header-height)));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(
            180deg,
            #171225,
            #20172b 54%,
            #120e1c
        );
}


.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}


.hero-sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 48% 18%,
            rgba(151, 94, 106, 0.23),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #171326 0%,
            #211629 53%,
            #1a1120 100%
        );
}


.hero-sky::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(9, 8, 18, 0.66)
        );
}


.hero-moon {
    position: absolute;
    top: 15%;
    left: 17%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 36% 35%,
            #fff6e2,
            #dbbfa0 55%,
            #aa8878 100%
        );
    box-shadow:
        0 0 35px rgba(240, 215, 161, 0.22),
        0 0 110px rgba(240, 215, 161, 0.12);
    opacity: 0.68;
}


.hero-star {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff2da;
    box-shadow: 0 0 15px rgba(255, 238, 195, 0.9);
    animation: starTwinkle 3s ease-in-out infinite;
}


.hero-star--one {
    top: 17%;
    left: 40%;
}


.hero-star--two {
    top: 27%;
    left: 77%;
    animation-delay: 0.7s;
}


.hero-star--three {
    top: 43%;
    left: 88%;
    animation-delay: 1.2s;
}


.hero-star--four {
    top: 15%;
    left: 64%;
    animation-delay: 1.8s;
}


.hero-star--five {
    top: 52%;
    left: 13%;
    animation-delay: 0.4s;
}


.hero-star--six {
    top: 36%;
    left: 23%;
    animation-delay: 1.5s;
}


/* HERO RINGS */

.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(900px, 95vw);
    height: 520px;
    transform: translate(-50%, -45%);
    perspective: 1000px;
    pointer-events: none;
    opacity: 0.65;
}


.ring-glow {
    position: absolute;
    top: 52%;
    left: 50%;
    width: 420px;
    height: 230px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(204, 132, 105, 0.15);
    filter: blur(70px);
}


.marriage-ring {
    position: absolute;
    top: 50%;
    width: 215px;
    height: 215px;
    border-radius: 50%;
    transform-style: preserve-3d;
}


.marriage-ring--left {
    left: 34%;
    transform:
        translate(-50%, -50%)
        rotateX(68deg)
        rotateZ(-38deg);
    animation: ringFloatingOne 7s ease-in-out infinite;
}


.marriage-ring--right {
    left: 57%;
    transform:
        translate(-50%, -50%)
        rotateX(68deg)
        rotateZ(37deg);
    animation: ringFloatingTwo 7s ease-in-out infinite;
}


.ring-band {
    position: absolute;
    inset: 0;
    border: 17px solid #d5ab73;
    border-radius: 50%;
    background: transparent;
    box-shadow:
        inset 0 7px 8px rgba(255, 248, 224, 0.58),
        inset 0 -7px 12px rgba(85, 49, 38, 0.43),
        0 5px 15px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(231, 183, 123, 0.26);
}


.ring-band::before {
    content: "";
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(255, 243, 212, 0.8);
    border-radius: 50%;
}


.ring-band::after {
    content: "";
    position: absolute;
    top: -17px;
    left: 10%;
    width: 78%;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
    filter: blur(3px);
}


.ring-highlight {
    position: absolute;
    top: 13px;
    left: 26%;
    width: 44%;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    filter: blur(3px);
    transform: rotate(-17deg);
}


.ring-diamond {
    position: absolute;
    top: 15%;
    left: 46%;
    width: 58px;
    height: 65px;
    transform: translate(-50%, -50%) rotate(9deg);
    filter: drop-shadow(0 0 16px rgba(244, 224, 190, 0.8));
    animation: diamondSparkle 4s ease-in-out infinite;
}


.diamond-top {
    position: absolute;
    top: 0;
    left: 11px;
    width: 36px;
    height: 19px;
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
    background: linear-gradient(110deg, #fff, #f7dfb7);
}


.diamond-left {
    position: absolute;
    top: 17px;
    left: 0;
    width: 29px;
    height: 38px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: linear-gradient(125deg, #fff, #d7eff3);
}


.diamond-right {
    position: absolute;
    top: 17px;
    right: 0;
    width: 29px;
    height: 38px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: linear-gradient(135deg, #e1f3f8, #fff);
}


.diamond-bottom {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 20px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: linear-gradient(180deg, #c5dbe0, #fff);
}


.diamond-glint {
    position: absolute;
    top: 10px;
    left: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 13px #fff;
}


.hero-light {
    position: absolute;
    bottom: 5%;
    width: 45%;
    height: 48%;
    filter: blur(85px);
    opacity: 0.2;
}


.hero-light--left {
    left: -14%;
    background: #8a4c67;
}


.hero-light--right {
    right: -13%;
    background: #a78251;
}


.hero-horizon {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 25%;
}


.hero-horizon-glow {
    position: absolute;
    bottom: -80px;
    left: 50%;
    width: 90%;
    height: 180px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(152, 86, 100, 0.16);
    filter: blur(70px);
}


.hero-horizon-line {
    position: absolute;
    top: 65%;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(230, 178, 146, 0.3),
        transparent
    );
}


/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 2;
    width: min(850px, 90%);
    padding: 90px 20px 105px;
    text-align: center;
    animation: heroEntrance 1.1s var(--ease-smooth) both;
}


.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--gold-light);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.3em;
}


.eyebrow-line {
    width: 42px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold)
    );
}


.eyebrow-line:last-child {
    transform: rotate(180deg);
}


.hero-small-title {
    margin-top: 37px;
    color: rgba(249, 223, 228, 0.65);
    font-size: 9px;
    letter-spacing: 0.23em;
}


.hero-title {
    margin-top: 21px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: clamp(68px, 12vw, 127px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: 0.025em;
    text-shadow: 0 10px 45px rgba(0, 0, 0, 0.38);
}


.hero-title span {
    display: block;
    margin-top: 9px;
    color: var(--gold-light);
    font-style: italic;
    text-shadow: 0 0 40px rgba(201, 165, 106, 0.12);
}


.hero-divider {
    margin: 27px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--rose-light);
}


.hero-divider span {
    width: 48px;
    height: 1px;
    background: rgba(201, 165, 106, 0.55);
}


.hero-divider i {
    font-size: 12px;
    font-style: normal;
}


.hero-description {
    max-width: 570px;
    margin: 26px auto 0;
    color: rgba(246, 238, 232, 0.79);
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.9;
}


.hero-description strong {
    display: block;
    color: var(--rose-pale);
    font-weight: 500;
    font-style: italic;
}


.hero-persian {
    margin-top: 29px;
    color: var(--gold-light);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.015em;
    text-shadow: 0 0 25px rgba(201, 165, 106, 0.15);
}


.hero-translation {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.08em;
}


.hero-actions {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}


.hero-primary-button {
    min-width: 250px;
}


.hero-secondary-button {
    min-width: 220px;
}


.hero-credit {
    margin-top: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(246, 238, 232, 0.4);
    font-size: 7px;
    letter-spacing: 0.24em;
}


.credit-line {
    width: 27px;
    height: 1px;
    background: rgba(201, 165, 106, 0.35);
}


.hero-bottom {
    position: absolute;
    right: 5%;
    bottom: 27px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(246, 238, 232, 0.43);
    font-size: 7px;
    letter-spacing: 0.2em;
}


.hero-bottom-number {
    color: var(--gold-light);
}


.hero-bottom-line {
    width: 38px;
    height: 1px;
    background: var(--gold-dark);
}


.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(246, 238, 232, 0.47);
    font-size: 7px;
    letter-spacing: 0.16em;
}


.scroll-indicator i {
    color: var(--gold-light);
    font-size: 18px;
    font-style: normal;
    animation: scrollArrow 1.8s ease-in-out infinite;
}


/* HERO ANIMATIONS */

@keyframes heroEntrance {

    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.16);
    }

}


@keyframes starTwinkle {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }

}


@keyframes ringFloatingOne {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -13px;
    }

}


@keyframes ringFloatingTwo {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: 13px;
    }

}


@keyframes diamondSparkle {

    0%,
    100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 12px rgba(244, 224, 190, 0.6));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 24px rgba(255, 244, 218, 1));
    }

}


@keyframes scrollArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }

}


/* ============================================================
   08. COURSE OVERVIEW
   ============================================================ */

.course-overview {
    position: relative;
    padding: 112px 0 125px;
    background:
        linear-gradient(
            180deg,
            rgba(15, 12, 25, 0.98),
            rgba(24, 17, 33, 0.96)
        );
}


.course-overview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(800px, 80%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 165, 106, 0.5),
        transparent
    );
}


.course-overview .section-heading {
    margin-bottom: 57px;
}


.course-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}


.course-choice-card {
    position: relative;
    min-height: 365px;
    padding: 36px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(42, 30, 52, 0.92),
            rgba(20, 15, 30, 0.98)
        );
    box-shadow: var(--shadow-panel);
    transition:
        transform var(--transition-slow),
        border-color var(--transition-medium),
        box-shadow var(--transition-medium);
}


.course-choice-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(215, 141, 162, 0.07);
    filter: blur(40px);
    transition: transform 650ms ease;
}


.course-choice-card::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 25px;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(201, 165, 106, 0.1);
    border-radius: 50%;
}


.course-choice-card:hover {
    transform: translateY(-9px);
    border-color: var(--border-gold);
    box-shadow:
        var(--shadow-panel),
        var(--shadow-gold);
}


.course-choice-card:hover::before {
    transform: scale(1.5);
}


.course-choice-card--love {
    border-color: rgba(215, 141, 162, 0.22);
}


.course-choice-card--love::before {
    background: rgba(173, 70, 107, 0.12);
}


.course-choice-card--alphabet::before {
    background: rgba(201, 165, 106, 0.1);
}


.choice-card-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 165, 106, 0.32);
    border-radius: 18px;
    color: var(--rose-light);
    background: rgba(215, 141, 162, 0.08);
    font-family: var(--font-persian);
    font-size: 35px;
    box-shadow: 0 0 35px rgba(215, 141, 162, 0.08);
}


.course-choice-card--alphabet .choice-card-icon {
    color: var(--gold-light);
    font-family: var(--font-persian);
    font-size: 42px;
}


.choice-card-number {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    color: var(--gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.2em;
}


.course-choice-card h3 {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 29px;
    font-weight: 400;
}


.course-choice-card > p {
    position: relative;
    z-index: 1;
    max-width: 450px;
    margin-top: 11px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.85;
}


.choice-card-details {
    position: relative;
    z-index: 1;
    margin-top: 23px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.choice-card-details span {
    padding: 7px 9px;
    border: 1px solid rgba(201, 165, 106, 0.16);
    border-radius: 30px;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.045);
    font-size: 7px;
    letter-spacing: 0.08em;
}


.choice-card-arrow {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 24px;
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
}


/* ============================================================
   09. LOVE COURSE INTRODUCTION
   ============================================================ */

.love-course-section {
    position: relative;
    padding: var(--section-space) 0 130px;
    background:
        radial-gradient(
            ellipse at 13% 14%,
            rgba(130, 48, 84, 0.12),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #120e20,
            #171020
        );
}


.love-course-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 8%;
    width: 1px;
    height: 90px;
    background: linear-gradient(
        180deg,
        var(--gold-dark),
        transparent
    );
}


.course-introduction {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    align-items: center;
    gap: 65px;
    margin-bottom: 78px;
}


.course-introduction-visual {
    position: relative;
    min-height: 305px;
    display: grid;
    place-items: center;
}


.intro-heart {
    position: absolute;
    border-radius: 50%;
}


.intro-heart--outer {
    width: 270px;
    height: 270px;
    border: 1px solid rgba(215, 141, 162, 0.24);
    box-shadow:
        0 0 65px rgba(215, 141, 162, 0.07),
        inset 0 0 45px rgba(215, 141, 162, 0.04);
    animation: ringRotate 35s linear infinite;
}


.intro-heart--inner {
    width: 185px;
    height: 185px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 165, 106, 0.3);
    color: var(--rose-light);
    background:
        radial-gradient(
            circle,
            rgba(138, 64, 93, 0.31),
            rgba(42, 25, 47, 0.8)
        );
    box-shadow:
        0 0 50px rgba(174, 87, 118, 0.16),
        inset 0 0 40px rgba(215, 141, 162, 0.1);
    font-size: 67px;
    animation: heartPulse 3s ease-in-out infinite;
}


.intro-spark {
    position: absolute;
    color: var(--gold-light);
    font-size: 20px;
}


.intro-spark--one {
    top: 20%;
    right: 17%;
}


.intro-spark--two {
    bottom: 15%;
    left: 18%;
    font-size: 25px;
}


.intro-spark--three {
    top: 42%;
    left: 9%;
    font-size: 13px;
}


.course-introduction-copy .section-title {
    max-width: 620px;
    font-size: clamp(42px, 5vw, 62px);
}


.course-features {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 22px;
}


.course-features span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-soft);
    font-size: 10px;
}


.course-features i {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.12);
    font-size: 10px;
    font-style: normal;
}


/* ============================================================
   10. LEARNING PROGRESS PANEL
   ============================================================ */

.learning-progress-panel {
    position: relative;
    margin-bottom: 78px;
    padding: 29px 34px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            120deg,
            rgba(46, 31, 51, 0.9),
            rgba(25, 18, 34, 0.95)
        );
    box-shadow: var(--shadow-panel);
}


.learning-progress-panel::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -40px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(201, 165, 106, 0.06);
    filter: blur(45px);
}


.learning-progress-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


.progress-caption {
    color: var(--gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.18em;
}


.learning-progress-top h3 {
    margin-top: 8px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 400;
}


.progress-percentage {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


.progress-percentage strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 35px;
    font-weight: 400;
}


.progress-percentage span {
    color: var(--text-muted);
    font-size: 7px;
    letter-spacing: 0.16em;
}


.progress-track {
    position: relative;
    height: 7px;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
}


.progress-track-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #89506a,
            #d39a9b,
            #eacb8d
        );
    box-shadow: 0 0 17px rgba(215, 141, 162, 0.28);
    transition: width 700ms var(--ease-smooth);
}


.progress-bottom {
    margin-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: 0.1em;
}


.progress-bottom span:last-child {
    color: var(--gold-light);
}


/* ============================================================
   11. STARTER WORDS
   ============================================================ */

.starter-words-section {
    margin-top: 75px;
}


.lesson-count {
    min-width: 74px;
    height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 165, 106, 0.25);
    border-radius: 50%;
    background: rgba(201, 165, 106, 0.06);
}


.lesson-count strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
}


.lesson-count span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 7px;
    letter-spacing: 0.12em;
}


.word-category {
    margin-top: 42px;
}


.word-category-heading {
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    gap: 15px;
}


.category-number {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 165, 106, 0.3);
    border-radius: 11px;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.055);
    font-family: var(--font-display);
    font-size: 17px;
}


.word-category-heading h4 {
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
}


.word-category-heading p {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 10px;
}


.vocabulary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}


.vocabulary-card {
    position: relative;
    min-height: 240px;
    padding: 23px 18px 17px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(224, 185, 157, 0.11);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            145deg,
            rgba(43, 31, 53, 0.91),
            rgba(24, 17, 32, 0.98)
        );
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
    text-align: center;
    transition:
        transform var(--transition-medium),
        border-color var(--transition-medium),
        background var(--transition-medium),
        box-shadow var(--transition-medium);
}


.vocabulary-card::before {
    content: "";
    position: absolute;
    top: -65px;
    right: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(215, 141, 162, 0.055);
    filter: blur(15px);
}


.vocabulary-card:hover {
    transform: translateY(-6px);
    border-color: rgba(215, 141, 162, 0.3);
    background:
        linear-gradient(
            145deg,
            rgba(59, 39, 62, 0.96),
            rgba(28, 19, 38, 0.98)
        );
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.23),
        0 0 25px rgba(215, 141, 162, 0.06);
}


.card-number {
    position: absolute;
    top: 13px;
    left: 15px;
    color: rgba(201, 165, 106, 0.46);
    font-family: var(--font-display);
    font-size: 11px;
}


.word-category-label {
    padding: 4px 8px;
    border: 1px solid rgba(201, 165, 106, 0.2);
    border-radius: 20px;
    color: var(--gold);
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.17em;
}


.word-persian {
    margin-top: 22px;
    color: var(--rose-pale);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.4;
}


.word-meaning {
    margin-top: 6px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 13px;
}


.word-finglish {
    margin-top: 5px;
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 0.08em;
}


.audio-button {
    min-height: 31px;
    margin-top: auto;
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(201, 165, 106, 0.22);
    border-radius: 30px;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.055);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.09em;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}


.audio-button:hover {
    color: var(--night-deep);
    border-color: var(--gold-light);
    background: var(--gold-light);
    transform: translateY(-2px);
}


.audio-button:active {
    transform: translateY(0);
}


/* ============================================================
   12. ROMANTIC LEVEL NAVIGATION
   ============================================================ */

.romantic-levels-section {
    margin-top: 115px;
    padding-top: 75px;
    border-top: 1px solid var(--border-soft);
}


.level-status-badge {
    padding: 10px 16px;
    border: 1px solid rgba(201, 165, 106, 0.3);
    border-radius: 30px;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.06);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
}


.level-navigation {
    margin-bottom: 43px;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
}


.level-nav-button {
    min-height: 88px;
    padding: 13px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.018);
    cursor: pointer;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}


.level-nav-button span {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 21px;
}


.level-nav-button small {
    color: inherit;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
}


.level-nav-button:hover {
    color: var(--text-main);
    border-color: var(--border-gold);
    background: rgba(201, 165, 106, 0.07);
    transform: translateY(-3px);
}


.level-nav-button.is-current {
    color: var(--text-main);
    border-color: rgba(215, 141, 162, 0.5);
    background:
        linear-gradient(
            145deg,
            rgba(119, 56, 83, 0.3),
            rgba(43, 29, 48, 0.6)
        );
    box-shadow: 0 0 23px rgba(215, 141, 162, 0.07);
}


.level-nav-button.is-current span {
    color: var(--rose-light);
}


/* ============================================================
   13. LEVEL PANELS
   ============================================================ */

.level-panel {
    display: none;
    animation: levelAppear 650ms var(--ease-smooth) both;
}


.level-panel.is-active {
    display: block;
}


@keyframes levelAppear {

    from {
        opacity: 0;
        transform: translateY(17px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.level-heading {
    position: relative;
    min-height: 110px;
    margin-bottom: 24px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    border: 1px solid rgba(215, 141, 162, 0.17);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            115deg,
            rgba(85, 39, 64, 0.32),
            rgba(35, 24, 47, 0.78)
        );
}


.level-heading::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -30px;
    width: 185px;
    height: 185px;
    border-radius: 50%;
    background: rgba(215, 141, 162, 0.07);
    filter: blur(35px);
}


.level-heading-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 165, 106, 0.36);
    border-radius: 17px;
    color: var(--rose-light);
    background: rgba(201, 165, 106, 0.06);
    font-size: 25px;
}


.level-heading-copy {
    position: relative;
    z-index: 1;
}


.level-number {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.2em;
}


.level-heading h3 {
    margin-top: 5px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
}


.level-heading p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 10px;
}


.level-difficulty {
    position: relative;
    z-index: 1;
    margin-left: auto;
    padding: 8px 11px;
    border: 1px solid rgba(201, 165, 106, 0.2);
    border-radius: 30px;
    color: var(--gold-light);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.14em;
    white-space: nowrap;
}


/* ============================================================
   14. EXPRESSION CARDS
   ============================================================ */

.expression-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}


.expression-card {
    position: relative;
    min-height: 290px;
    padding: 25px 19px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            147deg,
            rgba(47, 34, 57, 0.96),
            rgba(23, 17, 34, 0.98)
        );
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
    text-align: center;
    transition:
        transform var(--transition-medium),
        border-color var(--transition-medium),
        box-shadow var(--transition-medium);
}


.expression-card::before {
    content: "";
    position: absolute;
    top: -70px;
    left: -60px;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    background: rgba(201, 165, 106, 0.05);
    filter: blur(25px);
    transition: transform var(--transition-medium);
}


.expression-card:hover {
    transform: translateY(-7px);
    border-color: rgba(215, 141, 162, 0.36);
    box-shadow:
        0 19px 43px rgba(0, 0, 0, 0.24),
        0 0 26px rgba(215, 141, 162, 0.07);
}


.expression-card:hover::before {
    transform: scale(1.5);
}


.expression-number {
    position: absolute;
    top: 14px;
    left: 16px;
    color: rgba(201, 165, 106, 0.45);
    font-family: var(--font-display);
    font-size: 12px;
}


.expression-tag {
    padding: 5px 9px;
    border: 1px solid rgba(215, 141, 162, 0.19);
    border-radius: 20px;
    color: var(--rose);
    background: rgba(215, 141, 162, 0.05);
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 0.16em;
}


.expression-persian {
    margin-top: 23px;
    color: var(--rose-pale);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.75;
}


.expression-meaning {
    max-width: 100%;
    margin-top: 8px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 14px;
    line-height: 1.5;
}


.expression-finglish {
    margin-top: 9px;
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 0.025em;
    line-height: 1.7;
}


.expression-note {
    max-width: 260px;
    margin-top: 13px;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.6;
}


.expression-card .audio-button {
    margin-top: auto;
    padding-top: 9px;
    padding-bottom: 9px;
}


/* ============================================================
   15. LEVEL FOOTER
   ============================================================ */

.level-footer {
    margin-top: 27px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border-soft);
}


.level-footer > span {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
}


.complete-level-button {
    min-height: 43px;
    padding: 0 17px;
    border: 1px solid rgba(201, 165, 106, 0.35);
    border-radius: 5px;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.07);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}


.complete-level-button:hover {
    color: var(--night-deep);
    border-color: var(--gold-light);
    background: var(--gold-light);
    transform: translateY(-2px);
}


.complete-level-button.is-completed {
    color: #e7f3d9;
    border-color: rgba(151, 199, 144, 0.42);
    background: rgba(93, 147, 90, 0.12);
}


.master-complete-button {
    border-color: rgba(215, 141, 162, 0.4);
    color: var(--rose-pale);
    background: rgba(215, 141, 162, 0.09);
}


/* ============================================================
   16. IDIOM CARDS
   ============================================================ */

.idiom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}


.idiom-card {
    position: relative;
    min-height: 305px;
    padding: 25px 24px 21px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(201, 165, 106, 0.15);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            145deg,
            rgba(41, 32, 52, 0.95),
            rgba(21, 17, 31, 0.98)
        );
    transition:
        transform var(--transition-medium),
        border-color var(--transition-medium);
}


.idiom-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 165, 106, 0.37);
}


.idiom-number {
    position: absolute;
    top: 19px;
    right: 19px;
    color: rgba(201, 165, 106, 0.37);
    font-family: var(--font-display);
    font-size: 20px;
}


.idiom-type {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.19em;
}


.idiom-card h4 {
    margin-top: 21px;
    color: var(--rose-pale);
    font-size: 27px;
    font-weight: 500;
    line-height: 1.6;
    text-align: right;
}


.idiom-finglish {
    margin-top: 7px;
    color: var(--gold-light);
    font-size: 10px;
}


.idiom-meaning {
    margin-top: 11px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 15px;
}


.idiom-explanation {
    margin-top: 17px;
    padding: 13px 15px;
    border-left: 2px solid var(--gold-dark);
    border-radius: 0 9px 9px 0;
    background: rgba(201, 165, 106, 0.045);
}


.idiom-explanation strong {
    color: var(--gold-light);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.idiom-explanation p {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.7;
}


.idiom-card .audio-button {
    align-self: flex-start;
    margin-top: 14px;
}


/* ============================================================
   17. POETRY CARDS
   ============================================================ */

.poetry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


.poetry-card {
    position: relative;
    min-height: 290px;
    padding: 27px 25px 21px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(215, 141, 162, 0.17);
    border-radius: var(--radius-medium);
    background:
        radial-gradient(
            ellipse at 95% 0%,
            rgba(215, 141, 162, 0.10),
            transparent 47%
        ),
        linear-gradient(
            145deg,
            #2c2039,
            #171223
        );
    box-shadow: 0 17px 38px rgba(0, 0, 0, 0.18);
    transition:
        transform var(--transition-medium),
        border-color var(--transition-medium);
}


.poetry-card::after {
    content: "✦";
    position: absolute;
    right: 18px;
    bottom: -35px;
    color: rgba(201, 165, 106, 0.07);
    font-size: 125px;
    pointer-events: none;
}


.poetry-card:hover {
    transform: translateY(-6px);
    border-color: rgba(215, 141, 162, 0.35);
}


.poetry-card-label {
    color: var(--rose);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.21em;
}


.poetry-persian {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    color: var(--rose-pale);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.9;
}


.poetry-meaning {
    margin-top: 13px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 14px;
    line-height: 1.75;
}


.poetry-finglish {
    margin-top: 10px;
    color: var(--gold-light);
    font-size: 9px;
    line-height: 1.8;
}


.poetry-card .audio-button {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 9px;
    padding-bottom: 9px;
}


/* ============================================================
   18. ADVANCED WORDS
   ============================================================ */

.advanced-word-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}


.advanced-word-card {
    position: relative;
    min-height: 310px;
    padding: 25px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(201, 165, 106, 0.18);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            145deg,
            rgba(48, 37, 57, 0.96),
            rgba(20, 16, 29, 0.99)
        );
    text-align: center;
    transition:
        transform var(--transition-medium),
        border-color var(--transition-medium),
        box-shadow var(--transition-medium);
}


.advanced-word-card::before {
    content: "";
    position: absolute;
    top: -90px;
    left: 50%;
    width: 190px;
    height: 190px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(201, 165, 106, 0.08);
    filter: blur(35px);
}


.advanced-word-card:hover {
    transform: translateY(-7px);
    border-color: rgba(201, 165, 106, 0.42);
    box-shadow: var(--shadow-gold);
}


.advanced-tag {
    position: relative;
    z-index: 1;
    padding: 5px 10px;
    border: 1px solid rgba(201, 165, 106, 0.24);
    border-radius: 30px;
    color: var(--gold);
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 0.15em;
}


.advanced-persian {
    position: relative;
    z-index: 1;
    margin-top: 21px;
    color: var(--gold-bright);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.5;
}


.advanced-finglish {
    margin-top: 7px;
    color: var(--rose-light);
    font-size: 11px;
}


.advanced-meaning {
    margin-top: 12px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 14px;
    line-height: 1.5;
}


.advanced-note {
    max-width: 270px;
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.7;
}


.advanced-word-card .audio-button {
    margin-top: auto;
}


/* ============================================================
   19. MASTER LEVEL
   ============================================================ */

.master-introduction {
    position: relative;
    margin-bottom: 27px;
    padding: 38px 28px;
    overflow: hidden;
    border: 1px solid rgba(215, 141, 162, 0.28);
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(175, 83, 116, 0.18),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            rgba(57, 35, 61, 0.85),
            rgba(24, 17, 33, 0.98)
        );
    text-align: center;
}


.master-symbol {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 23px;
    box-shadow: 0 0 30px rgba(201, 165, 106, 0.1);
}


.master-introduction h4 {
    color: var(--rose-pale);
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 400;
}


.master-introduction p {
    max-width: 620px;
    margin: 12px auto 0;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.9;
}


.master-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


.master-challenge {
    min-height: 240px;
    padding: 23px 19px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.025);
}


.challenge-number {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.15em;
}


.master-challenge h4 {
    margin-top: 14px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
}


.master-challenge p {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.7;
}


.master-challenge > strong {
    display: block;
    margin-top: 15px;
    color: var(--rose-pale);
    font-size: 18px;
    line-height: 1.8;
}


.master-challenge > span:last-child {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 11px;
    line-height: 1.6;
}


/* ============================================================
   20. POETRY COLLECTION
   ============================================================ */

.poetry-collection-section {
    margin-top: 125px;
    padding-top: 80px;
    border-top: 1px solid var(--border-soft);
}


.poetry-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px;
}


.poetry-feature {
    position: relative;
    min-height: 370px;
    padding: 24px 26px 23px;
    overflow: hidden;
    border: 1px solid rgba(215, 141, 162, 0.17);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            140deg,
            rgba(51, 35, 58, 0.93),
            rgba(20, 16, 31, 0.99)
        );
    box-shadow: var(--shadow-panel);
    transition:
        transform var(--transition-medium),
        border-color var(--transition-medium);
}


.poetry-feature:hover {
    transform: translateY(-6px);
    border-color: rgba(215, 141, 162, 0.4);
}


.poetry-feature-art {
    position: relative;
    height: 100px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 17px;
    background:
        linear-gradient(
            135deg,
            rgba(83, 40, 66, 0.6),
            rgba(23, 17, 36, 0.9)
        );
}


.poetry-feature-category {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.21em;
}


.poetry-feature-persian {
    margin-top: 13px;
    color: var(--rose-pale);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.9;
}


.poetry-feature-meaning {
    margin-top: 9px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 13px;
    line-height: 1.7;
}


.poetry-feature-finglish {
    margin-top: 8px;
    color: var(--gold-light);
    font-size: 9px;
    line-height: 1.8;
}


.poetry-feature .audio-button {
    margin-top: 15px;
}


/* MOON VISUAL */

.poetry-moon {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 65px;
    height: 65px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 36% 33%,
            #fff8df,
            #d3b38a 65%,
            #9b775e
        );
    box-shadow:
        0 0 34px rgba(240, 215, 161, 0.27),
        0 0 90px rgba(240, 215, 161, 0.12);
}


.poetry-moon::after {
    content: "";
    position: absolute;
    top: -8px;
    right: -18px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #2a1c36;
}


.poetry-star {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff1d2;
    box-shadow: 0 0 12px #fff1d2;
}


.poetry-star--one {
    top: 28px;
    left: 20%;
}


.poetry-star--two {
    top: 62px;
    right: 20%;
}


.poetry-star--three {
    top: 14px;
    right: 31%;
}


/* SPRING VISUAL */

.poetry-feature--spring .poetry-feature-art {
    background:
        linear-gradient(
            180deg,
            #4b4552,
            #79495f
        );
}


.poetry-flower {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--rose-pale);
    font-size: 58px;
    text-shadow: 0 0 30px rgba(245, 180, 188, 0.45);
    animation: flowerTurn 19s linear infinite;
}


.poetry-leaf {
    position: absolute;
    top: 45px;
    right: 28%;
    width: 35px;
    height: 15px;
    border-radius: 100% 0 100% 0;
    transform: rotate(-24deg);
    background: #738267;
}


/* SUN VISUAL */

.poetry-feature--sun .poetry-feature-art {
    background:
        linear-gradient(
            180deg,
            #3c334d,
            #9c6967
        );
}


.poetry-sun {
    position: absolute;
    bottom: -18px;
    left: 50%;
    width: 95px;
    height: 95px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            #fff0c8,
            #e9af76 66%,
            transparent 72%
        );
    box-shadow: 0 0 65px rgba(241, 181, 124, 0.42);
}


/* RAIN VISUAL */

.poetry-feature--rain .poetry-feature-art {
    background:
        linear-gradient(
            180deg,
            #1d2c44,
            #52647e
        );
}


.poetry-raindrop {
    position: absolute;
    top: -20px;
    color: rgba(218, 230, 244, 0.8);
    font-size: 15px;
    transform: rotate(45deg);
    animation: rainDrop 2.2s linear infinite;
}


.poetry-raindrop:nth-child(1) {
    left: 31%;
}


.poetry-raindrop:nth-child(2) {
    left: 51%;
    animation-delay: 0.8s;
}


.poetry-raindrop:nth-child(3) {
    left: 70%;
    animation-delay: 1.4s;
}


.poetry-source-note {
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.7;
}


/* ============================================================
   21. WRITING STUDIO
   ============================================================ */

.writing-studio-section {
    margin-top: 125px;
    padding-top: 75px;
    border-top: 1px solid var(--border-soft);
}


.writing-studio-heading {
    margin-bottom: 33px;
}


.writing-studio-heading .subsection-title {
    margin-top: 11px;
}


.writing-studio-heading > p {
    margin-top: 11px;
    color: var(--text-muted);
    font-size: 11px;
}


.writing-studio-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
}


.writing-studio-info,
.writing-studio-editor {
    padding: 30px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(42, 30, 54, 0.95),
            rgba(22, 16, 33, 0.98)
        );
    box-shadow: var(--shadow-panel);
}


.studio-icon {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 165, 106, 0.3);
    border-radius: 13px;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.06);
    font-size: 23px;
}


.writing-studio-info h4 {
    margin-top: 22px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
}


.writing-studio-info > p {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.9;
}


.studio-example {
    margin-top: 27px;
    padding: 19px;
    border-left: 2px solid var(--rose);
    border-radius: 0 12px 12px 0;
    background: rgba(215, 141, 162, 0.055);
}


.studio-example > span {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.15em;
}


.studio-example p {
    margin-top: 11px;
    color: var(--rose-pale);
    font-size: 19px;
    line-height: 1.8;
}


.studio-example small {
    display: block;
    margin-top: 7px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 11px;
    line-height: 1.7;
}


.writing-studio-editor label {
    display: block;
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.17em;
}


.writing-studio-editor textarea {
    width: 100%;
    min-height: 180px;
    padding: 20px;
    resize: vertical;
    border: 1px solid rgba(215, 141, 162, 0.23);
    border-radius: 12px;
    outline: none;
    color: var(--rose-pale);
    background: rgba(8, 8, 17, 0.55);
    font-family: var(--font-persian);
    font-size: 18px;
    line-height: 2;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}


.writing-studio-editor textarea::placeholder {
    color: rgba(197, 185, 195, 0.38);
}


.writing-studio-editor textarea:focus {
    border-color: rgba(215, 141, 162, 0.55);
    box-shadow: 0 0 25px rgba(215, 141, 162, 0.07);
}


.writing-studio-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}


.writing-studio-actions .primary-button,
.writing-studio-actions .secondary-button {
    min-height: 43px;
    font-size: 8px;
}


.writing-output {
    margin-top: 23px;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
}


.output-label {
    display: block;
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.15em;
}


.writing-output-finglish {
    margin-top: 9px;
    color: var(--gold-light);
    font-size: 11px;
    line-height: 1.8;
}


.writing-output-meaning {
    margin-top: 6px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 12px;
    line-height: 1.7;
}


/* ============================================================
   22. WORD OF THE DAY
   ============================================================ */

.word-of-day-section {
    position: relative;
    min-height: 290px;
    margin-top: 110px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 35px;
    overflow: hidden;
    border: 1px solid rgba(201, 165, 106, 0.24);
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            ellipse at 90% 15%,
            rgba(201, 165, 106, 0.12),
            transparent 40%
        ),
        linear-gradient(
            125deg,
            #3a263f,
            #191323 75%
        );
    box-shadow: var(--shadow-panel);
}


.word-of-day-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}


.daily-star {
    position: absolute;
    color: rgba(240, 215, 161, 0.36);
}


.daily-star--one {
    top: 25px;
    right: 25%;
    font-size: 23px;
}


.daily-star--two {
    bottom: 25px;
    left: 43%;
    font-size: 32px;
}


.daily-star--three {
    top: 47%;
    right: 8%;
    font-size: 15px;
}


.word-of-day-copy {
    position: relative;
    z-index: 1;
}


.word-of-day-copy h3 {
    margin-top: 12px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
}


.word-of-day-copy p {
    max-width: 430px;
    margin-top: 13px;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.8;
}


.daily-word-card {
    position: relative;
    z-index: 1;
    min-height: 205px;
    padding: 23px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(240, 215, 161, 0.28);
    border-radius: 17px;
    background: rgba(10, 9, 18, 0.42);
    text-align: center;
    backdrop-filter: blur(10px);
}


.daily-label {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.17em;
}


.daily-word-persian {
    margin-top: 13px;
    color: var(--rose-pale);
    font-size: 35px;
    font-weight: 500;
}


.daily-word-meaning {
    margin-top: 5px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 13px;
}


.daily-word-finglish {
    margin-top: 5px;
    color: var(--gold-light);
    font-size: 10px;
}


.daily-word-card .audio-button {
    margin-top: 12px;
}


/* ============================================================
   23. ALPHABET INTRODUCTION
   ============================================================ */

.alphabet-course-section {
    position: relative;
    padding: 120px 0 135px;
    background:
        radial-gradient(
            ellipse at 85% 13%,
            rgba(171, 125, 76, 0.10),
            transparent 37%
        ),
        linear-gradient(
            180deg,
            #1a1424,
            #100d1b
        );
}


.alphabet-course-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 1px;
    height: 90px;
    background: linear-gradient(
        180deg,
        var(--rose),
        transparent
    );
}


.alphabet-introduction {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    align-items: center;
    gap: 75px;
    margin-bottom: 85px;
}


.alphabet-introduction-copy .section-title {
    font-size: clamp(45px, 5.5vw, 68px);
}


.alphabet-introduction-copy .section-description {
    margin-left: 0;
}


.alphabet-facts {
    margin-top: 33px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


.alphabet-fact {
    min-width: 115px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}


.alphabet-fact strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 400;
}


.alphabet-fact span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.13em;
}


.alphabet-hero-art {
    position: relative;
    min-height: 340px;
    display: grid;
    place-items: center;
}


.alphabet-art-orbit {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(201, 165, 106, 0.2);
    border-radius: 50%;
    box-shadow:
        0 0 50px rgba(201, 165, 106, 0.05),
        inset 0 0 40px rgba(201, 165, 106, 0.04);
    animation: ringRotate 38s linear infinite;
}


.alphabet-art-letter {
    position: relative;
    z-index: 2;
    width: 215px;
    height: 215px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215, 141, 162, 0.26);
    border-radius: 50%;
    color: var(--gold-light);
    background:
        radial-gradient(
            circle,
            rgba(142, 82, 101, 0.3),
            rgba(36, 25, 43, 0.95)
        );
    box-shadow:
        0 0 70px rgba(201, 165, 106, 0.11),
        inset 0 0 45px rgba(215, 141, 162, 0.07);
    font-size: 115px;
    font-weight: 400;
}


.alphabet-art-dots {
    position: absolute;
    z-index: 3;
    width: 265px;
    height: 265px;
    animation: ringRotateReverse 24s linear infinite;
}


.alphabet-art-dots span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 12px var(--gold-light);
}


.alphabet-art-dots span:nth-child(1) {
    top: 0;
    left: 50%;
}


.alphabet-art-dots span:nth-child(2) {
    right: 0;
    bottom: 25%;
}


.alphabet-art-dots span:nth-child(3) {
    bottom: 12%;
    left: 8%;
}


.alphabet-art-caption {
    position: absolute;
    bottom: 0;
    color: var(--text-muted);
    font-size: 7px;
    letter-spacing: 0.2em;
}


/* ============================================================
   24. WRITING DIRECTION PANEL
   ============================================================ */

.writing-direction-panel {
    margin-bottom: 77px;
    padding: 27px 30px;
    display: flex;
    align-items: center;
    gap: 21px;
    border: 1px solid rgba(201, 165, 106, 0.2);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            110deg,
            rgba(64, 44, 58, 0.36),
            rgba(35, 26, 42, 0.88)
        );
}


.direction-icon {
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 29px;
}


.direction-copy {
    flex: 1;
}


.direction-copy h3 {
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
}


.direction-copy p {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
}


.direction-example {
    min-width: 300px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    background: rgba(7, 7, 15, 0.25);
}


.direction-example > span {
    color: var(--text-muted);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.1em;
}


.direction-example strong {
    color: var(--gold-light);
    font-size: 9px;
    white-space: nowrap;
}


.direction-divider {
    width: 1px;
    height: 29px;
    background: var(--border-medium);
}


/* ============================================================
   25. ALPHABET LETTER GRID
   ============================================================ */

.alphabet-letters-section {
    margin-top: 25px;
}


.alphabet-count {
    padding: 9px 14px;
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.055);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.13em;
}


.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 13px;
}


.alphabet-card {
    position: relative;
    min-width: 0;
    min-height: 170px;
    padding: 14px 7px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(201, 165, 106, 0.15);
    border-radius: 14px;
    color: var(--text-main);
    background:
        linear-gradient(
            145deg,
            rgba(46, 35, 53, 0.92),
            rgba(22, 17, 32, 0.98)
        );
    cursor: pointer;
    transition:
        transform var(--transition-medium),
        border-color var(--transition-medium),
        box-shadow var(--transition-medium),
        background var(--transition-medium);
}


.alphabet-card::before {
    content: "";
    position: absolute;
    top: -45px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(201, 165, 106, 0.04);
    filter: blur(18px);
}


.alphabet-card:hover,
.alphabet-card.is-selected {
    transform: translateY(-5px);
    border-color: rgba(215, 141, 162, 0.48);
    background:
        linear-gradient(
            145deg,
            rgba(69, 43, 65, 0.96),
            rgba(30, 20, 39, 0.98)
        );
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.24),
        0 0 25px rgba(215, 141, 162, 0.065);
}


.alphabet-symbol {
    position: relative;
    z-index: 1;
    color: var(--rose-pale);
    font-family: var(--font-persian);
    font-size: 43px;
    font-weight: 500;
    line-height: 1.25;
}


.alphabet-name {
    margin-top: 7px;
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
}


.alphabet-sound {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 8px;
}


.alphabet-example {
    margin-top: 8px;
    color: var(--text-main);
    font-size: 12px;
}


.alphabet-example-meaning {
    color: var(--text-muted);
    font-size: 7px;
    line-height: 1.4;
    text-align: center;
}


/* ============================================================
   26. LETTER SHAPES
   ============================================================ */

.letter-shapes-section {
    margin-top: 107px;
    padding-top: 75px;
    border-top: 1px solid var(--border-soft);
}


.letter-shape-panel {
    padding: 30px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            135deg,
            rgba(44, 32, 53, 0.92),
            rgba(21, 16, 31, 0.98)
        );
}


.letter-shape-intro {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-bottom: 29px;
}


.letter-shape-main {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 165, 106, 0.37);
    border-radius: 17px;
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.055);
    font-size: 49px;
}


.shape-caption {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.18em;
}


.letter-shape-intro h4 {
    margin-top: 5px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 400;
}


.letter-shape-intro p {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 10px;
}


.letter-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}


.letter-form-card {
    min-height: 165px;
    padding: 17px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(215, 141, 162, 0.13);
    border-radius: 13px;
    background: rgba(8, 8, 17, 0.3);
}


.letter-form-card > span {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.14em;
}


.letter-form-card strong {
    margin-top: 10px;
    color: var(--rose-pale);
    font-size: 50px;
    font-weight: 500;
    line-height: 1.3;
}


.letter-form-card small {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 8px;
}


/* ============================================================
   27. VOWEL LESSONS
   ============================================================ */

.vowel-section {
    margin-top: 107px;
    padding-top: 75px;
    border-top: 1px solid var(--border-soft);
}


.vowel-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


.vowel-group {
    padding: 25px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.022);
}


.vowel-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}


.vowel-group-header h4 {
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
}


.vowel-group-header span {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.1em;
}


.vowel-explanation {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.8;
}


.vowel-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}


.vowel-card {
    min-height: 160px;
    padding: 15px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 165, 106, 0.13);
    border-radius: 12px;
    background: rgba(8, 8, 16, 0.32);
}


.vowel-symbol {
    height: 34px;
    color: var(--rose-light);
    font-size: 31px;
    line-height: 1;
}


.vowel-card strong {
    margin-top: 5px;
    color: var(--gold-light);
    font-size: 11px;
}


.vowel-card p {
    margin-top: 9px;
    color: var(--text-main);
    font-size: 25px;
}


.vowel-card > span:nth-last-child(2) {
    color: var(--gold-light);
    font-size: 9px;
}


.vowel-card small {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 7px;
    text-align: center;
}


/* ============================================================
   28. PRONUNCIATION LAB
   ============================================================ */

.pronunciation-lab-section {
    margin-top: 110px;
    padding-top: 75px;
    border-top: 1px solid var(--border-soft);
}


.sound-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


.sound-card {
    min-height: 300px;
    padding: 23px 19px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(
            145deg,
            rgba(46, 35, 55, 0.93),
            rgba(21, 16, 31, 0.98)
        );
    text-align: center;
    transition:
        transform var(--transition-medium),
        border-color var(--transition-medium);
}


.sound-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 165, 106, 0.4);
}


.sound-letter {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215, 141, 162, 0.3);
    border-radius: 16px;
    color: var(--rose-pale);
    background: rgba(215, 141, 162, 0.06);
    font-size: 40px;
}


.sound-card h4 {
    margin-top: 13px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
}


.sound-card > strong {
    margin-top: 3px;
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 0.1em;
}


.sound-card > p:not(.sound-tip) {
    margin-top: 13px;
    color: var(--rose-pale);
    font-size: 26px;
}


.sound-card > span:not(.sound-letter) {
    margin-top: 2px;
    color: var(--text-soft);
    font-family: var(--font-display);
    font-size: 11px;
}


.sound-tip {
    min-height: 38px;
    margin-top: 11px;
    color: var(--text-muted);
    font-size: 8px;
    line-height: 1.7;
}


.sound-card .audio-button {
    margin-top: auto;
}


.pronunciation-note {
    margin-top: 25px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(201, 165, 106, 0.15);
    border-radius: 12px;
    background: rgba(201, 165, 106, 0.035);
}


.note-icon {
    color: var(--gold-light);
    font-size: 19px;
}


.pronunciation-note p {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.7;
}


/* ============================================================
   29. ALPHABET PRACTICE
   ============================================================ */

.alphabet-practice-section {
    margin-top: 110px;
    padding-top: 75px;
    border-top: 1px solid var(--border-soft);
}


.alphabet-practice-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


.practice-task {
    padding: 28px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(43, 32, 54, 0.93),
            rgba(20, 15, 30, 0.98)
        );
    text-align: center;
}


.practice-task-number {
    color: var(--gold);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.18em;
}


.practice-task h4 {
    margin-top: 10px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 400;
}


.practice-task > p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 10px;
}


.practice-big-letter {
    display: block;
    margin-top: 17px;
    color: var(--rose-pale);
    font-size: 76px;
    line-height: 1.25;
}


.practice-big-word {
    display: block;
    margin-top: 15px;
    color: var(--gold-light);
    font-size: 46px;
    font-weight: 500;
}


.practice-options {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}


.practice-option {
    min-height: 42px;
    min-width: 91px;
    padding: 0 15px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.035);
    font-size: 9px;
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast);
}


.practice-option:hover {
    border-color: var(--border-gold);
    color: var(--gold-light);
    background: rgba(201, 165, 106, 0.08);
}


.practice-option.is-correct {
    border-color: rgba(132, 187, 142, 0.55);
    color: #d5f1d8;
    background: rgba(79, 132, 91, 0.17);
}


.practice-option.is-wrong {
    border-color: rgba(195, 106, 118, 0.55);
    color: #f2c5ca;
    background: rgba(152, 58, 77, 0.17);
}


/* ============================================================
   30. ABOUT COURSE
   ============================================================ */

.about-course-section {
    position: relative;
    padding: 115px 0;
    background:
        radial-gradient(
            ellipse at 18% 45%,
            rgba(130, 55, 91, 0.12),
            transparent 42%
        ),
        #130f20;
}


.about-course-content {
    max-width: 830px;
    margin: 0 auto;
    padding: 48px;
    border: 1px solid rgba(201, 165, 106, 0.19);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            135deg,
            rgba(47, 35, 56, 0.67),
            rgba(21, 16, 31, 0.85)
        );
    box-shadow: var(--shadow-panel);
    text-align: center;
}


.about-course-content .section-title {
    font-size: clamp(35px, 4vw, 49px);
}


.about-course-content > p:not(.about-persian-quote):not(.about-translation) {
    margin-top: 22px;
    color: var(--text-soft);
    font-family: var(--font-display);
    font-size: 14px;
    line-height: 2;
}


.about-persian-quote {
    margin-top: 35px;
    color: var(--rose-pale);
    font-size: 21px;
    line-height: 2;
}


.about-translation {
    margin-top: 8px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 12px;
    line-height: 1.8;
}


.about-signature {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}


.about-signature span {
    color: var(--gold);
    font-size: 7px;
    letter-spacing: 0.2em;
}


.about-signature strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.2em;
}


/* ============================================================
   31. FINAL MESSAGE
   ============================================================ */

.final-message-section {
    position: relative;
    min-height: 550px;
    padding: 105px 25px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #171225,
            #100d1c
        );
    text-align: center;
}


.final-message-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}


.final-message-glow {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 550px;
    height: 400px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(143, 78, 99, 0.13);
    filter: blur(90px);
}


.final-ring {
    position: absolute;
    top: 47%;
    left: 50%;
    border: 1px solid rgba(201, 165, 106, 0.09);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}


.final-ring--one {
    width: 390px;
    height: 390px;
}


.final-ring--two {
    width: 550px;
    height: 550px;
    border-color: rgba(215, 141, 162, 0.055);
}


.final-message-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}


.final-message-content h2 {
    margin-top: 18px;
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 400;
    line-height: 1.1;
}


.final-message-content h2 span {
    display: block;
    margin-top: 9px;
    color: var(--gold-light);
    font-style: italic;
}


.final-persian-line {
    margin-top: 31px;
    color: var(--rose-pale);
    font-size: 26px;
    line-height: 1.9;
}


.final-translation {
    margin-top: 6px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 13px;
}


.final-message-actions {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
}


/* ============================================================
   32. FOOTER
   ============================================================ */

.main-footer {
    border-top: 1px solid var(--border-soft);
    background: #0c0a15;
}


.footer-container {
    width: min(1400px, calc(100% - 80px));
    min-height: 150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


.footer-brand-symbol {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    color: var(--rose-light);
    font-size: 19px;
}


.footer-brand > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.footer-brand strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.13em;
}


.footer-brand small {
    color: var(--text-muted);
    font-size: 6px;
    letter-spacing: 0.16em;
}


.footer-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}


.footer-navigation a {
    color: var(--text-muted);
    font-size: 9px;
    transition: color var(--transition-fast);
}


.footer-navigation a:hover {
    color: var(--gold-light);
}


.footer-credit {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}


.footer-credit span {
    color: var(--text-muted);
    font-size: 6px;
    letter-spacing: 0.15em;
}


.footer-credit strong {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
}


.footer-bottom {
    min-height: 44px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    color: rgba(197, 185, 195, 0.4);
    font-size: 7px;
    letter-spacing: 0.1em;
}


/* ============================================================
   33. NOTIFICATIONS
   ============================================================ */

.notification-area {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}


.notification-message {
    max-width: 340px;
    padding: 15px 18px;
    border: 1px solid rgba(201, 165, 106, 0.32);
    border-radius: 12px;
    color: var(--text-main);
    background: rgba(27, 21, 37, 0.95);
    box-shadow: var(--shadow-panel);
    font-size: 11px;
    animation: notificationIn 350ms ease both;
}


.notification-message.is-success {
    border-color: rgba(134, 194, 139, 0.4);
}


.notification-message.is-error {
    border-color: rgba(205, 109, 127, 0.4);
}


.audio-status,
.learning-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


/* ============================================================
   34. IMAGE AND INTERACTION DETAILS
   ============================================================ */

.vocabulary-card,
.expression-card,
.idiom-card,
.poetry-card,
.advanced-word-card,
.poetry-feature,
.alphabet-card {
    isolation: isolate;
}


.vocabulary-card > *,
.expression-card > *,
.idiom-card > *,
.poetry-card > *,
.advanced-word-card > *,
.poetry-feature > * {
    position: relative;
    z-index: 1;
}


.audio-button:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 4px;
}


.alphabet-card:focus-visible {
    outline: 2px solid var(--rose-light);
    outline-offset: 3px;
}


.complete-level-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ============================================================
   35. ANIMATION LIBRARY
   ============================================================ */

@keyframes ringRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes ringRotateReverse {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }

}


@keyframes flowerTurn {

    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }

}


@keyframes rainDrop {

    from {
        top: -25px;
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    to {
        top: 120px;
        opacity: 0;
    }

}


@keyframes notificationIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ============================================================
   36. SCROLL AND VISUAL POLISH
   ============================================================ */

section {
    scroll-margin-top: calc(var(--header-height) + 20px);
}


.vocabulary-card,
.expression-card,
.poetry-card,
.idiom-card,
.advanced-word-card,
.sound-card,
.alphabet-card {
    will-change: transform;
}


.course-choice-card,
.primary-button,
.secondary-button {
    -webkit-tap-highlight-color: transparent;
}


.vocabulary-card .audio-button,
.expression-card .audio-button,
.idiom-card .audio-button,
.poetry-card .audio-button,
.advanced-word-card .audio-button,
.poetry-feature .audio-button,
.sound-card .audio-button {
    flex-shrink: 0;
}


/* ============================================================
   37. TABLET DESIGN
   ============================================================ */

@media (max-width: 1100px) {

    :root {
        --section-space: 95px;
    }

    .main-navigation {
        gap: 17px;
    }

    .navigation-link {
        font-size: 9px;
    }

    .vocabulary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .alphabet-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .level-navigation {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .expression-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .advanced-word-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   38. MEDIUM TABLET DESIGN
   ============================================================ */

@media (max-width: 850px) {

    .header-container {
        width: calc(100% - 42px);
    }

    .brand {
        min-width: unset;
    }

    .main-navigation {
        gap: 12px;
    }

    .navigation-link {
        font-size: 8px;
    }

    .header-actions {
        min-width: unset;
    }

    .progress-mini-label {
        font-size: 6px;
    }

    .course-introduction {
        gap: 35px;
    }

    .course-introduction-visual {
        min-height: 250px;
    }

    .intro-heart--outer {
        width: 225px;
        height: 225px;
    }

    .intro-heart--inner {
        width: 160px;
        height: 160px;
        font-size: 56px;
    }

    .writing-studio-panel {
        grid-template-columns: 1fr;
    }

    .word-of-day-section {
        padding: 32px;
    }

    .alphabet-introduction {
        gap: 35px;
    }

    .alphabet-art-orbit {
        width: 240px;
        height: 240px;
    }

    .alphabet-art-letter {
        width: 180px;
        height: 180px;
        font-size: 96px;
    }

    .alphabet-art-dots {
        width: 220px;
        height: 220px;
    }

    .direction-example {
        min-width: 255px;
        padding: 13px;
        gap: 7px;
    }

}


/* ============================================================
   39. MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 720px) {

    :root {
        --header-height: 70px;
        --section-space: 75px;
    }

    .main-header {
        height: var(--header-height);
    }

    .header-container {
        width: calc(100% - 30px);
        gap: 12px;
    }

    .brand-icon {
        width: 37px;
        height: 37px;
    }

    .brand-text strong {
        font-size: 11px;
    }

    .brand-text small {
        font-size: 6px;
    }

    .main-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 15px;
        left: 15px;
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid var(--border-soft);
        border-radius: 0 0 13px 13px;
        background: rgba(18, 14, 28, 0.98);
        box-shadow: var(--shadow-panel);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .navigation-link {
        padding: 13px 9px;
        font-size: 10px;
    }

    .navigation-link::after {
        display: none;
    }

    .header-menu-button {
        display: flex;
    }

    .progress-mini {
        margin-right: auto;
    }

    .header-actions {
        gap: 13px;
    }

    .progress-mini strong {
        font-size: 14px;
    }

}


/* ============================================================
   40. MOBILE HERO
   ============================================================ */

@media (max-width: 720px) {

    .welcome-section {
        min-height: 760px;
        min-height: calc(100svh - var(--header-height));
    }

    .hero-content {
        width: 94%;
        padding: 95px 5px 95px;
    }

    .hero-eyebrow {
        gap: 8px;
        font-size: 6px;
        letter-spacing: 0.18em;
    }

    .eyebrow-line {
        width: 22px;
    }

    .hero-small-title {
        max-width: 290px;
        margin: 29px auto 0;
        font-size: 7px;
        line-height: 1.7;
    }

    .hero-title {
        margin-top: 20px;
        font-size: clamp(61px, 17vw, 95px);
    }

    .hero-description {
        max-width: 410px;
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-persian {
        font-size: 20px;
    }

    .hero-translation {
        font-size: 9px;
    }

    .hero-actions {
        margin-top: 29px;
        flex-direction: column;
    }

    .hero-primary-button,
    .hero-secondary-button {
        width: min(300px, 100%);
        min-height: 50px;
    }

    .hero-credit {
        margin-top: 35px;
        font-size: 6px;
        letter-spacing: 0.14em;
    }

    .hero-bottom {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 6px;
    }

    .hero-moon {
        top: 8%;
        left: 9%;
        width: 55px;
        height: 55px;
    }

    .hero-rings {
        top: 45%;
        width: 100%;
        height: 430px;
        transform: translate(-50%, -50%) scale(0.71);
        opacity: 0.35;
    }

    .marriage-ring--left {
        left: 30%;
    }

    .marriage-ring--right {
        left: 58%;
    }

}


/* ============================================================
   41. MOBILE COURSE OVERVIEW
   ============================================================ */

@media (max-width: 720px) {

    .section-container {
        width: calc(100% - 34px);
    }

    .course-overview {
        padding: 78px 0 85px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: clamp(34px, 9vw, 46px);
    }

    .section-description {
        font-size: 11px;
        line-height: 1.9;
    }

    .course-choice-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .course-choice-card {
        min-height: 330px;
        padding: 28px 25px;
    }

    .course-choice-card h3 {
        font-size: 25px;
    }

    .choice-card-details {
        gap: 6px;
    }

    .choice-card-details span {
        font-size: 6px;
    }

}


/* ============================================================
   42. MOBILE LOVE COURSE
   ============================================================ */

@media (max-width: 720px) {

    .love-course-section {
        padding: 77px 0 85px;
    }

    .course-introduction {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 54px;
    }

    .course-introduction-visual {
        min-height: 210px;
    }

    .intro-heart--outer {
        width: 185px;
        height: 185px;
    }

    .intro-heart--inner {
        width: 135px;
        height: 135px;
        font-size: 46px;
    }

    .intro-spark--one {
        right: 24%;
    }

    .intro-spark--two {
        left: 23%;
    }

    .course-introduction-copy .section-title {
        font-size: 39px;
    }

    .course-features {
        gap: 12px;
    }

    .course-features span {
        font-size: 9px;
    }

    .learning-progress-panel {
        margin-bottom: 55px;
        padding: 21px;
    }

    .learning-progress-top h3 {
        font-size: 21px;
    }

    .progress-percentage strong {
        font-size: 28px;
    }

    .starter-words-section {
        margin-top: 55px;
    }

    .subsection-heading {
        align-items: center;
        gap: 15px;
    }

    .subsection-title {
        font-size: 27px;
    }

    .lesson-count {
        min-width: 58px;
        height: 58px;
    }

    .lesson-count strong {
        font-size: 21px;
    }

    .vocabulary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .vocabulary-card {
        min-height: 215px;
        padding: 20px 12px 14px;
    }

    .word-persian {
        font-size: 30px;
    }

    .word-meaning {
        font-size: 12px;
    }

    .word-finglish {
        font-size: 9px;
    }

    .word-category-heading h4 {
        font-size: 18px;
    }

    .romantic-levels-section {
        margin-top: 80px;
        padding-top: 57px;
    }

    .level-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .level-nav-button {
        min-height: 72px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px;
        gap: 9px;
    }

    .level-nav-button span {
        min-width: 26px;
        font-size: 18px;
    }

    .level-nav-button small {
        text-align: left;
        font-size: 7px;
    }

    .level-heading {
        min-height: auto;
        padding: 18px 15px;
        gap: 12px;
    }

    .level-heading-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 12px;
        font-size: 20px;
    }

    .level-heading h3 {
        font-size: 20px;
    }

    .level-heading p {
        font-size: 8px;
    }

    .level-difficulty {
        padding: 6px;
        font-size: 5px;
    }

    .expression-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .expression-card {
        min-height: 260px;
        padding: 23px 16px 17px;
    }

    .expression-persian {
        font-size: 31px;
    }

    .expression-meaning {
        font-size: 14px;
    }

    .expression-note {
        font-size: 9px;
    }

    .level-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .complete-level-button {
        width: 100%;
    }

    .idiom-grid,
    .poetry-grid {
        grid-template-columns: 1fr;
    }

    .idiom-card {
        min-height: 290px;
        padding: 23px 19px;
    }

    .poetry-card {
        min-height: 270px;
        padding: 23px 18px;
    }

    .poetry-persian {
        font-size: 20px;
    }

    .advanced-word-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .advanced-word-card {
        min-height: 285px;
        padding: 20px 12px;
    }

    .advanced-persian {
        font-size: 33px;
    }

    .advanced-meaning {
        font-size: 12px;
    }

    .advanced-note {
        font-size: 8px;
    }

    .master-introduction {
        padding: 29px 18px;
    }

    .master-introduction h4 {
        font-size: 22px;
    }

    .master-challenge-grid {
        grid-template-columns: 1fr;
    }

    .master-challenge {
        min-height: auto;
    }

    .poetry-collection-section,
    .writing-studio-section {
        margin-top: 80px;
        padding-top: 55px;
    }

    .poetry-feature-grid {
        grid-template-columns: 1fr;
    }

    .poetry-feature {
        min-height: 350px;
        padding: 21px;
    }

    .word-of-day-section {
        margin-top: 80px;
        padding: 24px;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .word-of-day-copy h3 {
        font-size: 27px;
    }

    .daily-word-card {
        min-height: 190px;
    }

    .writing-studio-panel {
        grid-template-columns: 1fr;
    }

    .writing-studio-info,
    .writing-studio-editor {
        padding: 22px;
    }

}


/* ============================================================
   43. MOBILE ALPHABET
   ============================================================ */

@media (max-width: 720px) {

    .alphabet-course-section {
        padding: 80px 0 90px;
    }

    .alphabet-introduction {
        grid-template-columns: 1fr;
        gap: 33px;
        margin-bottom: 58px;
    }

    .alphabet-introduction-copy .section-title {
        font-size: 43px;
    }

    .alphabet-introduction-copy .section-description {
        font-size: 11px;
    }

    .alphabet-hero-art {
        min-height: 260px;
    }

    .alphabet-art-orbit {
        width: 220px;
        height: 220px;
    }

    .alphabet-art-letter {
        width: 160px;
        height: 160px;
        font-size: 85px;
    }

    .alphabet-art-dots {
        width: 195px;
        height: 195px;
    }

    .alphabet-art-caption {
        bottom: -4px;
    }

    .alphabet-facts {
        gap: 8px;
    }

    .alphabet-fact {
        min-width: 95px;
        padding: 12px;
    }

    .alphabet-fact strong {
        font-size: 22px;
    }

    .writing-direction-panel {
        padding: 19px;
        flex-wrap: wrap;
        gap: 13px;
    }

    .direction-icon {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

    .direction-copy h3 {
        font-size: 19px;
    }

    .direction-copy p {
        font-size: 9px;
    }

    .direction-example {
        width: 100%;
        min-width: 0;
        justify-content: center;
        flex-wrap: wrap;
    }

    .alphabet-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .alphabet-card {
        min-height: 145px;
        padding: 12px 5px;
        border-radius: 11px;
    }

    .alphabet-symbol {
        font-size: 36px;
    }

    .alphabet-name {
        font-size: 8px;
    }

    .alphabet-sound {
        font-size: 7px;
    }

    .alphabet-example {
        font-size: 10px;
    }

    .alphabet-example-meaning {
        font-size: 6px;
    }

    .letter-shapes-section,
    .vowel-section,
    .pronunciation-lab-section,
    .alphabet-practice-section {
        margin-top: 78px;
        padding-top: 55px;
    }

    .letter-shape-panel {
        padding: 20px;
    }

    .letter-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .letter-form-card {
        min-height: 140px;
    }

    .letter-form-card strong {
        font-size: 45px;
    }

    .vowel-groups {
        grid-template-columns: 1fr;
    }

    .vowel-group {
        padding: 20px 14px;
    }

    .vowel-group-header h4 {
        font-size: 18px;
    }

    .vowel-grid {
        gap: 7px;
    }

    .vowel-card {
        min-height: 145px;
        padding: 12px 5px;
    }

    .sound-challenge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .sound-card {
        min-height: 290px;
        padding: 17px 9px;
    }

    .sound-letter {
        width: 54px;
        height: 54px;
        font-size: 34px;
    }

    .sound-card h4 {
        font-size: 18px;
    }

    .sound-card > p:not(.sound-tip) {
        font-size: 23px;
    }

    .sound-tip {
        font-size: 7px;
    }

    .alphabet-practice-panel {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   44. MOBILE ABOUT AND FOOTER
   ============================================================ */

@media (max-width: 720px) {

    .about-course-section {
        padding: 78px 0;
    }

    .about-course-content {
        padding: 30px 19px;
    }

    .about-course-content .section-title {
        font-size: 34px;
    }

    .about-course-content > p:not(.about-persian-quote):not(.about-translation) {
        font-size: 12px;
    }

    .about-persian-quote {
        font-size: 17px;
    }

    .about-translation {
        font-size: 10px;
    }

    .final-message-section {
        min-height: 500px;
        padding: 90px 18px;
    }

    .final-message-content h2 {
        font-size: clamp(39px, 11vw, 57px);
    }

    .final-persian-line {
        font-size: 20px;
    }

    .final-message-actions {
        flex-direction: column;
    }

    .final-message-actions a {
        width: min(320px, 100%);
        min-height: 49px;
    }

    .final-ring--one {
        width: 270px;
        height: 270px;
    }

    .final-ring--two {
        width: 400px;
        height: 400px;
    }

    .footer-container {
        width: calc(100% - 36px);
        padding: 29px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-navigation {
        gap: 15px;
    }

    .footer-credit {
        align-items: flex-start;
    }

    .footer-bottom {
        min-height: 58px;
        justify-content: center;
        flex-wrap: wrap;
        font-size: 6px;
        text-align: center;
    }

}


/* ============================================================
   45. VERY SMALL SCREENS
   ============================================================ */

@media (max-width: 390px) {

    .brand-text strong {
        font-size: 10px;
    }

    .brand-text small {
        font-size: 5px;
    }

    .progress-mini-label {
        font-size: 5px;
    }

    .hero-title {
        font-size: 58px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-actions .primary-button,
    .hero-actions .secondary-button {
        padding: 0 12px;
        font-size: 8px;
    }

    .vocabulary-card {
        min-height: 205px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .word-persian {
        font-size: 27px;
    }

    .word-meaning {
        font-size: 11px;
    }

    .alphabet-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .alphabet-card {
        min-height: 136px;
    }

    .alphabet-symbol {
        font-size: 32px;
    }

    .level-nav-button small {
        font-size: 6px;
    }

    .advanced-word-card {
        padding-right: 8px;
        padding-left: 8px;
    }

    .advanced-persian {
        font-size: 30px;
    }

    .sound-challenge-grid {
        gap: 7px;
    }

    .sound-card {
        padding-right: 7px;
        padding-left: 7px;
    }

    .sound-card h4 {
        font-size: 16px;
    }

}


/* ============================================================
   46. LARGE SCREEN POLISH
   ============================================================ */

@media (min-width: 1500px) {

    .section-container {
        width: 1320px;
    }

    .welcome-section {
        min-height: 940px;
    }

    .hero-title {
        font-size: 137px;
    }

    .vocabulary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .expression-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .alphabet-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

}


/* ============================================================
   47. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}


/* ============================================================
   48. FINAL DETAILS
   ============================================================ */

html,
body {
    width: 100%;
}


.main-header,
.course-choice-card,
.vocabulary-card,
.expression-card,
.idiom-card,
.poetry-card,
.advanced-word-card,
.poetry-feature,
.alphabet-card,
.sound-card {
    -webkit-tap-highlight-color: transparent;
}


.main-header,
.course-overview,
.love-course-section,
.alphabet-course-section,
.about-course-section,
.final-message-section,
.main-footer {
    position: relative;
}


@media (hover: none) {

    .course-choice-card:hover,
    .vocabulary-card:hover,
    .expression-card:hover,
    .idiom-card:hover,
    .poetry-card:hover,
    .advanced-word-card:hover,
    .poetry-feature:hover,
    .alphabet-card:hover,
    .sound-card:hover {
        transform: none;
    }

}


/* ============================================================
   END OF STYLE.CSS
   ============================================================ */