/*
   أكاديمية قطوف — Design System v2
   Goal-Based Architecture
   Tajawal · RTL · Gradient · Glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

/* ============================
   CSS Variables
   ============================ */
:root {
    /* Brand Gradient */
    --grad-start: #c43a6b;
    --grad-mid: #7a4aa3;
    --grad-end: #4b5bd6;

    /* Text */
    --text-dark: #0f2b4d;
    --text-body: #333;
    --text-muted: #5b6472;
    --text-light: #64748b;

    /* Backgrounds */
    --bg-body: #f4f5fb;
    --bg-white: #ffffff;
    --bg-section: #f0f2fa;
    --bg-card: #ffffff;
    --bg-dark: #1a1d2e;
    --bg-dark-card: #252840;

    /* Borders & Shadows */
    --border: rgba(0, 0, 0, .06);
    --border-light: #e9edf7;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .05);
    --shadow-md: 0 10px 24px rgba(0, 0, 0, .06);
    --shadow-lg: 0 16px 34px rgba(0, 0, 0, .10);
    --shadow-card: 0 8px 30px rgba(122, 74, 163, .08);
    --shadow-hover: 0 12px 40px rgba(122, 74, 163, .15);

    /* Radius */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 22px;
    --r-pill: 999px;

    /* Spacing */
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 14px;
    --sp-lg: 22px;
    --sp-xl: 36px;
    --sp-xxl: 56px;

    /* Status */
    --status-open: #16a34a;
    --status-soon: #f59e0b;
    --status-closed: #94a3b8;
    --status-live: #e74c3c;

    /* Accent */
    --accent: #e6a817;
    --accent-gold: #d4a843;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-body);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    font-weight: 800;
}

/* ============================
   Layout
   ============================ */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--sp-xxl) 0;
}

.bg-section {
    background: var(--bg-section);
}

.bg-dark {
    background: var(--bg-dark);
    color: #fff;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: #fff;
}

.grid {
    display: grid;
    gap: var(--sp-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

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

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.gap-sm {
    gap: var(--sp-sm);
}

.gap-md {
    gap: var(--sp-md);
}

.gap-lg {
    gap: var(--sp-lg);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

/* Spacing Helpers */
.mt-sm {
    margin-top: var(--sp-sm);
}

.mt-md {
    margin-top: var(--sp-md);
}

.mt-lg {
    margin-top: var(--sp-lg);
}

.mt-xl {
    margin-top: var(--sp-xl);
}

.mb-sm {
    margin-bottom: var(--sp-sm);
}

.mb-md {
    margin-bottom: var(--sp-md);
}

.mb-lg {
    margin-bottom: var(--sp-lg);
}

.mb-xl {
    margin-bottom: var(--sp-xl);
}

/* ============================
   Header & Navigation
   ============================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-logo-box {
    background-color: var(--bg-white);
    padding: 10px 16px;
    border-radius: var(--r-md);
    display: inline-block;
    margin-bottom: var(--sp-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-links {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    transition: color .2s;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--grad-mid);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -14px;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-mid));
    border-radius: 10px;
}

.nav-cta {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
    -webkit-text-fill-color: initial;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, .3);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Currency Dropdown */
.currency-dropdown {
    position: relative;
}

.dropdown-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    transition: all .2s;
    min-width: 48px;
}

.dropdown-label:hover {
    background: #efefef;
    border-color: #d5d5d5;
}

.dropdown-label::after {
    content: '▾';
    font-size: 10px;
    margin-right: 4px;
    transition: transform .25s;
}

.currency-dropdown.open .dropdown-label {
    background: #e8e8e8;
    border-color: #999;
}

.currency-dropdown.open .dropdown-label::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 140px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .2s ease;
    z-index: 50;
}

.currency-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-switch-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background .15s;
    gap: 2px;
}

.currency-switch-link span:first-child {
    font-weight: 700;
    font-size: 13px;
}

.currency-switch-link small {
    font-size: 11px;
    color: #999;
}

.currency-switch-link:hover {
    background: #f9f9f9;
}

.currency-switch-link.active {
    background: #f0f0f0;
    font-weight: 700;
    color: var(--grad-mid);
}

/* ============================
   Announcement Bar
   ============================ */
.announce-bar {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
}

.announce-bar a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* ============================
   Hero Section
   ============================ */
.hero {
    background: linear-gradient(160deg,
            #e8dff5 0%,
            #c8d3f8 30%,
            #dbd4f0 60%,
            #f0e4f0 100%);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 58, 107, .1), transparent 70%);
    top: -100px;
    left: -100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-xl);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(122, 74, 163, .12);
    color: var(--grad-mid);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--sp-md);
}

.hero h1 {
    font-size: 38px;
    line-height: 1.35;
    margin-bottom: var(--sp-md);
    color: var(--text-dark);
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--sp-lg);
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--sp-lg);
}

.hero-pill {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid rgba(122, 74, 163, .12);
}

.hero-img {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-img img {
    max-height: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .1));
}

.hero-info-box {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(10px);
    border-radius: var(--r-lg);
    padding: 14px 20px;
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.7;
    border: 1px solid rgba(122, 74, 163, .08);
    margin-top: var(--sp-md);
    max-width: 520px;
}

/* ============================
   Hero Light (Homepage)
   ============================ */
.hero-light {
    background: linear-gradient(160deg,
            #e8dff5 0%,
            #c8d3f8 30%,
            #dbd4f0 60%,
            #f0e4f0 100%);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: var(--sp-xl);
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--sp-lg);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--sp-lg);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-character {
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transform: rotate(-3deg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hero-character:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-float-card {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    border-radius: var(--r-lg);
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.7;
    border: 1px solid rgba(122, 74, 163, .08);
    margin-top: var(--sp-md);
    text-align: right;
}

.hero-float-card strong {
    color: var(--grad-mid);
    display: block;
    margin-bottom: 4px;
}

/* Section Utilities */
.section-badge {
    display: inline-block;
    background: rgba(122, 74, 163, .1);
    color: var(--grad-mid);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--sp-md);
}

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: var(--sp-lg);
}

.section-alt {
    background: var(--bg-section);
}

.info-box {
    background: linear-gradient(135deg, rgba(196, 58, 107, .04), rgba(122, 74, 163, .04));
    border: 1px solid rgba(122, 74, 163, .1);
    border-radius: var(--r-lg);
    padding: 18px 24px;
    font-size: 14px;
    line-height: 1.8;
    display: inline-block;
}

.info-box strong {
    color: var(--grad-mid);
}

/* Goals Grid */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
    margin-top: var(--sp-lg);
}

/* Cards Row */
.cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
    margin-top: var(--sp-lg);
}

.cards-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Card with Image */
.card {
    background: var(--bg-white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: all .3s ease;
}

.card:hover {
    border-color: rgba(122, 74, 163, .2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.card-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--sp-md);
}

.card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--sp-md);
}

.card-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--grad-mid);
    margin-bottom: var(--sp-md);
}

.card-price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Goal card image */
.goal-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--r-md);
    margin-bottom: var(--sp-md);
    border: 1px solid #eee;
}

.goal-card-tagline {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: var(--sp-md);
}

.installment-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--sp-md);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
    margin-top: var(--sp-lg);
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--r-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all .25s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-card .feature-icon {
    font-size: 32px;
    margin-bottom: var(--sp-sm);
    display: block;
}

.feature-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
}

/* CTA Actions */
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Calendar List */
.calendar-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    max-width: 800px;
    margin: var(--sp-lg) auto 0;
}

.cal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    transition: all .25s ease;
}

.cal-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(122, 74, 163, .15);
}

/* Button block */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: var(--r-pill);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
    color: #fff;
    box-shadow: 0 4px 16px rgba(196, 58, 107, .2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 58, 107, .35);
}

.btn-gold {
    background: linear-gradient(135deg, #d4a843, #c4942a);
    color: #fff;
    box-shadow: 0 4px 16px rgba(212, 168, 67, .3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, .45);
}

.btn-white {
    background: #fff;
    color: var(--grad-mid);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--grad-mid);
    border: 2px solid rgba(122, 74, 163, .3);
}

.btn-outline:hover {
    border-color: var(--grad-mid);
    background: rgba(122, 74, 163, .04);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, .35);
}

/* ============================
   Section Headings
   ============================ */
.section-head {
    text-align: center;
    margin-bottom: var(--sp-xl);
}

.section-head h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.section-head p {
    font-size: 16px;
    color: var(--text-muted);
}

.section-head-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(196, 58, 107, .08), rgba(122, 74, 163, .08));
    color: var(--grad-mid);
    padding: 4px 14px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ============================
   Goal Selector Cards
   ============================ */
.goal-card {
    background: var(--bg-white);
    border-radius: var(--r-xl);
    padding: 32px 24px 24px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-mid));
    opacity: 0;
    transition: opacity .3s;
}

.goal-card:hover {
    border-color: rgba(122, 74, 163, .25);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.goal-card:hover::before {
    opacity: 1;
}

.goal-icon {
    font-size: 48px;
    margin-bottom: var(--sp-md);
    display: block;
}

.goal-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.goal-card .goal-sub {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: var(--sp-md);
}

.goal-card .goal-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--sp-lg);
    flex-grow: 1;
}

.goal-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: var(--sp-md);
    flex-wrap: wrap;
}

.goal-meta-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-section);
    padding: 5px 12px;
    border-radius: var(--r-pill);
}

.goal-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--grad-mid);
    margin-bottom: var(--sp-md);
}

.goal-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.goal-hint {
    background: linear-gradient(135deg, rgba(196, 58, 107, .05), rgba(122, 74, 163, .05));
    border-radius: var(--r-lg);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
    margin-top: var(--sp-lg);
    text-align: center;
}

.goal-hint strong {
    color: var(--grad-mid);
}

/* ============================
   Diploma Cards (Homepage)
   ============================ */
.diploma-card {
    background: var(--bg-white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all .3s ease;
}

.diploma-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.diploma-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, #e8dff5, #c8d3f8);
}

.diploma-card-body {
    padding: 20px;
}

.diploma-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--bg-section);
    color: var(--text-dark);
}

.tag-live {
    background: rgba(231, 76, 60, .1);
    color: var(--status-live);
}

.tag-evening {
    background: rgba(122, 74, 163, .1);
    color: var(--grad-mid);
}

.tag-hours {
    background: rgba(75, 91, 214, .1);
    color: var(--grad-end);
}

.diploma-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.diploma-card .diploma-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}

.diploma-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid var(--border-light);
}

.diploma-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--grad-mid);
}

.diploma-price small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ============================
   AI Course Cards
   ============================ */
.ai-card {
    background: var(--bg-white);
    border-radius: var(--r-xl);
    padding: 24px;
    border: 2px solid var(--border-light);
    transition: all .3s ease;
}

.ai-card:hover {
    border-color: rgba(75, 91, 214, .2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.ai-card-icon {
    font-size: 40px;
    margin-bottom: var(--sp-md);
}

.ai-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.ai-card .ai-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--sp-md);
}

/* ============================
   Recorded Course Cards (Compact)
   ============================ */
.recorded-card {
    background: var(--bg-white);
    border-radius: var(--r-lg);
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--border-light);
    transition: all .25s ease;
}

.recorded-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.recorded-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--r-md);
    object-fit: cover;
    background: linear-gradient(135deg, #e8dff5, #c8d3f8);
    flex-shrink: 0;
}

.recorded-body {
    flex: 1;
}

.recorded-body h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.recorded-body p {
    font-size: 12px;
    color: var(--text-muted);
}

.recorded-price {
    font-weight: 800;
    font-size: 16px;
    color: var(--grad-mid);
    white-space: nowrap;
}

/* ============================
   Calendar Section
   ============================ */
.calendar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    transition: all .25s ease;
}

.calendar-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(122, 74, 163, .15);
}

.cal-date {
    text-align: center;
    min-width: 60px;
    flex-shrink: 0;
}

.cal-date .day {
    font-size: 28px;
    font-weight: 900;
    color: var(--grad-mid);
    line-height: 1;
}

.cal-date .month {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cal-info {
    flex: 1;
}

.cal-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.cal-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.cal-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--r-pill);
}

.cal-badge-live {
    background: rgba(231, 76, 60, .1);
    color: var(--status-live);
}

.cal-badge-recorded {
    background: rgba(148, 163, 184, .15);
    color: var(--text-muted);
}

.cal-time {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

/* ============================
   Features Section
   ============================ */
.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196, 58, 107, .08), rgba(122, 74, 163, .08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================
   Stats Row (Sales Pages)
   ============================ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-md);
}

.stat-box {
    background: var(--bg-dark-card);
    border-radius: var(--r-lg);
    padding: 20px 12px;
    text-align: center;
}

.stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    margin-top: 4px;
}

/* ============================
   Sales Page Hero
   ============================ */
.sales-hero {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sales-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 58, 107, .15), transparent 70%);
    top: -200px;
    right: -200px;
}

.sales-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 91, 214, .1), transparent 70%);
    bottom: -150px;
    left: -150px;
}

.sales-hero .container {
    position: relative;
    z-index: 2;
}

.sales-label {
    display: inline-block;
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: var(--sp-sm);
}

.sales-hero h1 {
    font-size: 40px;
    color: #fff;
    margin-bottom: var(--sp-md);
    line-height: 1.4;
}

.sales-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, .75);
    max-width: 600px;
    margin: 0 auto var(--sp-lg);
}

.sales-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-gold);
    color: #1a1d2e;
    padding: 10px 22px;
    border-radius: var(--r-pill);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: var(--sp-xl);
}

.sales-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--sp-xl);
}

.sales-pill {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
}

/* ============================
   Callout Box
   ============================ */
.callout {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-lg);
    padding: 22px 26px;
    max-width: 700px;
    margin: 0 auto var(--sp-xl);
    text-align: center;
}

.callout h4 {
    font-size: 16px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.callout p {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.8;
}

/* Light callout for white backgrounds */
.callout-light {
    background: linear-gradient(135deg, rgba(196, 58, 107, .04), rgba(122, 74, 163, .04));
    border: 1px solid rgba(122, 74, 163, .1);
    border-radius: var(--r-lg);
    padding: 22px 26px;
    text-align: center;
}

.callout-light h4 {
    color: var(--grad-mid);
    margin-bottom: 8px;
}

/* ============================
   FAQ Section
   ============================ */
.faq-item {
    background: var(--bg-white);
    border-radius: var(--r-md);
    padding: 18px 22px;
    border: 1px solid var(--border-light);
    transition: border-color .2s;
}

.faq-item:hover {
    border-color: rgba(122, 74, 163, .15);
}

.faq-item h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================
   CTA Banner
   ============================ */
.cta-banner {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
    color: #fff;
    padding: var(--sp-xxl) 0;
    text-align: center;
}

.cta-banner h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: var(--sp-md);
}

.cta-banner p {
    font-size: 16px;
    opacity: .85;
    margin-bottom: var(--sp-lg);
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, .6);
    padding: var(--sp-xxl) 0 var(--sp-lg);
    font-size: 14px;
}

.footer a {
    color: rgba(255, 255, 255, .7);
    transition: color .2s;
    display: block;
    margin-bottom: 6px;
}

.footer a:hover {
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-xl);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .6);
}

.footer-nav h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: var(--sp-md);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: var(--sp-lg);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: var(--sp-md);
    flex-wrap: wrap;
}

/* ============================
   Badges
   ============================ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
}

.badge-open {
    background: rgba(22, 163, 74, .1);
    color: var(--status-open);
}

.badge-soon {
    background: rgba(245, 158, 11, .1);
    color: var(--status-soon);
}

.badge-live {
    background: rgba(231, 76, 60, .1);
    color: var(--status-live);
}

/* ============================
   Curriculum List (Sales Pages)
   ============================ */
.curriculum-list {
    list-style: none;
}

.curriculum-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
}

.curriculum-list li:last-child {
    border-bottom: none;
}

.curriculum-list .num {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

/* ============================
   Price Box (Sales Pages)
   ============================ */
.price-box {
    background: var(--bg-white);
    border-radius: var(--r-xl);
    padding: 32px;
    text-align: center;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.price-box .amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--grad-mid);
    line-height: 1.2;
}

.price-box .currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
}

.price-box .installments {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ============================
   Utility Classes
   ============================ */
.max-w-md {
    max-width: 680px;
    margin-inline: auto;
}

.max-w-sm {
    max-width: 520px;
    margin-inline: auto;
}

.list-disc {
    list-style: disc;
    padding-right: 20px;
}

.list-disc li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.7;
}

.divider {
    height: 1px;
    background: var(--border-light);
    margin: var(--sp-xl) 0;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-row-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hero .container,
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-pills,
    .hero-tags {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-img,
    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-head h2 {
        font-size: 24px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .goals-grid,
    .features-grid,
    .cards-row,
    .cards-row-3,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 16px 20px;
        box-shadow: var(--shadow-md);
        gap: 14px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link.active::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 16px;
        min-width: 0;
    }

    .sales-hero h1 {
        font-size: 28px;
    }

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

    .price-box .amount {
        font-size: 32px;
    }

    .calendar-item,
    .cal-item {
        flex-wrap: wrap;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin-inline: auto;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .diploma-card-img {
        height: 180px;
    }

    .recorded-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .goal-meta {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ============================
   Schedule Cards (Course Pages)
   ============================ */
.section-schedules {
    padding: var(--sp-xxl) 0;
}

.schedule-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    border: 2px solid var(--border-light);
    background: var(--bg-white);
    transition: all 0.25s ease;
}

.schedule-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.schedule-card.schedule-active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.03);
}

.schedule-card.schedule-upcoming {
    border-color: var(--brand-blue, #4b5bd6);
    background: rgba(75, 91, 214, 0.02);
}

.schedule-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    padding: 8px;
    border-radius: 10px;
    background: var(--bg-section);
}

.schedule-card-date .sch-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.schedule-card-date .sch-month {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.schedule-card-date .sch-year {
    font-size: 0.7rem;
    color: var(--text-light);
}

.schedule-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-card-info strong {
    font-size: 1rem;
    color: var(--text-dark);
}

.schedule-card-info .sch-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sch-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.sch-status-badge.schedule-active {
    background: #dcfce7;
    color: #15803d;
}

.sch-status-badge.schedule-upcoming {
    background: #e0e7ff;
    color: #3730a3;
}

/* Past schedules - compact */
.past-schedules {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.past-schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.past-schedule-item span:first-child {
    flex: 1;
    font-weight: 600;
}

.past-date {
    color: var(--text-light);
}

.past-badge {
    color: #9ca3af;
    font-size: 0.8rem;
}

/* Calendar link style */
a.cal-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

a.cal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Tag for active schedule in calendar */
.tag-active {
    background: #dcfce7 !important;
    color: #15803d !important;
}

@media (max-width: 600px) {
    .schedule-card {
        flex-wrap: wrap;
        gap: 10px;
    }

    .sch-status-badge {
        width: 100%;
        text-align: center;
    }

    .past-schedule-item {
        flex-wrap: wrap;
    }
}

/* ──────────────────────────────────────────────────────── */
/* Cart Badge */
/* ──────────────────────────────────────────────────────── */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cart-badge {
    font-size: 11px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    top: -8px;
    left: -8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
        gap: 6px;
    }
}