/* ========================================
   KM Management — Luxurious Dark Theme
   ======================================== */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #141414;
    --gold: #c9a84c;
    --gold-light: #e4c76b;
    --gold-dark: #a8893d;
    --gold-glow: rgba(201, 168, 76, 0.15);
    --gold-glow-strong: rgba(201, 168, 76, 0.3);
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(201, 168, 76, 0.2);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gold {
    color: var(--gold);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-k {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.logo-k-flip {
    display: inline-block;
    transform: scaleX(-1);
}

.logo-text {
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-cta {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    padding: 12px 28px;
    background: var(--gold);
    color: var(--bg-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--gold-light);
    box-shadow: 0 0 30px var(--gold-glow);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Remove the flipped K style */
.logo-k-flip {
    display: inline;
    transform: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;
    padding: 10px 24px;
    border: 1px solid var(--border-gold);
    color: var(--gold);
    margin-bottom: 40px;
    animation: fadeInDown 1s var(--ease-out) 0.2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
}

.title-line {
    display: block;
    font-size: clamp(36px, 6vw, 72px);
    animation: fadeInUp 1s var(--ease-out) both;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.5s; }
.title-line:nth-child(3) { animation-delay: 0.7s; }

.title-accent {
    color: var(--gold);
}

.hero-title em {
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 44px;
    line-height: 1.8;
    animation: fadeInUp 1s var(--ease-out) 0.9s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s var(--ease-out) 1.1s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 0 40px var(--gold-glow), 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    animation: fadeInUp 1s var(--ease-out) 1.3s both;
}

.stat {
    text-align: center;
}

.stat-number, .stat-prefix, .stat-suffix {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--gold);
}

.stat-icon-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.stat-label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeIn 1s ease 2s both;
}

.hero-scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ========================================
   Section Shared Styles
   ======================================== */
.section-header {
    margin-bottom: 64px;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 140px 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--gold);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

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

.feature p {
    font-size: 14px;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* About Card */
.about-visual {
    position: relative;
}

.about-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 48px 36px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--gold-glow) 0%, transparent 60%);
    animation: rotateGlow 10s linear infinite;
    opacity: 0.5;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.card-number {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.card-label {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 140px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 32px;
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
}

.service-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

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

.service-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.08);
    position: absolute;
    top: 16px;
    right: 24px;
}

.service-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    color: var(--gold);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-card h3 {
    position: relative;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
}

.service-card p {
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   Results Section
   ======================================== */
.results {
    padding: 140px 0;
    background: var(--bg-secondary);
    position: relative;
}

.results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.results-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
}

.result-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.result-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.result-card.featured {
    border-color: var(--gold);
    padding: 48px 28px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, var(--bg-card) 60%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 700;
    padding: 6px 20px;
    background: var(--gold);
    color: var(--bg-primary);
    border-radius: 20px;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.result-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-primary);
}

.result-info h4 {
    font-size: 16px;
    font-weight: 600;
}

.result-duration {
    font-size: 13px;
    color: var(--text-muted);
}

.result-comparison {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.result-before, .result-after {
    text-align: center;
}

.result-label {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.result-amount {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.result-amount-large {
    font-size: 36px;
    color: var(--gold);
}

.result-amount .per {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.result-arrow {
    color: var(--gold);
}

.result-arrow svg {
    width: 24px;
    height: 24px;
}

.result-growth {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #4ade80;
    padding: 10px;
    background: rgba(74, 222, 128, 0.08);
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* ========================================
   Why Us Section
   ======================================== */
.why-us {
    padding: 140px 0;
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-glow);
    border-radius: 50%;
    color: var(--gold);
    margin-top: 2px;
}

.why-check svg {
    width: 14px;
    height: 14px;
}

.why-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.why-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 44px 36px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -16px;
}

.testimonial-card > p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-primary);
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gold);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: 140px 0;
    background: var(--bg-secondary);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.faq-grid {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: var(--border-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--gold);
    transition: transform 0.3s var(--ease-out);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   Apply Section
   ======================================== */
.apply {
    padding: 140px 0;
    position: relative;
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.apply-content p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.apply-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.perk svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    min-width: 20px;
}

/* Form Styles */
.apply-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 44px 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.apply-form .btn-primary {
    margin-top: 8px;
    font-size: 14px;
    padding: 18px 36px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

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

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   Page Header (subpages)
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 80%, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
    padding: 100px 0;
    position: relative;
}

.cta-inner {
    text-align: center;
    padding: 72px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.cta-inner p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

.cta-inner .btn {
    position: relative;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .results-showcase {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .result-card.featured {
        order: -1;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .apply-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active li a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: 100svh;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    section {
        padding: 80px 0 !important;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .apply-form-wrapper {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}
