/* ========================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ======================================== */
:root {
    /* Primary Colors - Blue for education/trust */
    --color-primary-50: #eff6ff;
    --color-primary-100: #dbeafe;
    --color-primary-200: #bfdbfe;
    --color-primary-300: #93c5fd;
    --color-primary-400: #60a5fa;
    --color-primary-500: #3b82f6;
    --color-primary-600: #2563eb;
    --color-primary-700: #1d4ed8;
    --color-primary-800: #1e40af;
    --color-primary-900: #1e3a8a;
    --color-primary-950: #172554;

    /* Secondary Colors - Amber for highlights */
    --color-secondary-50: #fffbeb;
    --color-secondary-100: #fef3c7;
    --color-secondary-200: #fde68a;
    --color-secondary-300: #fcd34d;
    --color-secondary-400: #fbbf24;
    --color-secondary-500: #f59e0b;
    --color-secondary-600: #d97706;
    --color-secondary-700: #b45309;

    /* Neutral Colors */
    --color-neutral-50: #f8fafc;
    --color-neutral-100: #f1f5f9;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5e1;
    --color-neutral-400: #94a3b8;
    --color-neutral-500: #64748b;
    --color-neutral-600: #475569;
    --color-neutral-700: #334155;
    --color-neutral-800: #1e293b;
    --color-neutral-900: #0f172a;
    --color-neutral-950: #020617;

    /* BAföG Type Colors */
    --color-student: #3b82f6;
    --color-school: #10b981;
    --color-career: #f59e0b;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgb(59 130 246 / 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-slower: 500ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-neutral-800);
    background: var(--color-neutral-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-4) 0;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition-base);
}

.header.scrolled {
    padding: var(--space-3) 0;
    background: rgba(248, 250, 252, 0.95);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--color-primary-700);
}

.header__logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.header__nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-neutral-600);
    transition: color var(--transition-fast);
    position: relative;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-500);
    transition: width var(--transition-base);
}

.header__nav-link:hover {
    color: var(--color-primary-700);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-selector__toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-neutral-600);
    background: var(--color-neutral-100);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.lang-selector__toggle:hover {
    background: var(--color-neutral-200);
    color: var(--color-neutral-800);
}

.lang-selector__flag {
    font-size: var(--text-lg);
    line-height: 1;
}

.lang-selector__dropdown {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 180px;
    padding: var(--space-2);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-neutral-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: var(--z-dropdown);
}

.lang-selector.open .lang-selector__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-selector__option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-neutral-700);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.lang-selector__option:hover {
    background: var(--color-primary-50);
    color: var(--color-primary-700);
}

.lang-selector__option.active {
    background: var(--color-primary-100);
    color: var(--color-primary-700);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.header__mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--color-neutral-700);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-32) 0 var(--space-20);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(251, 191, 36, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(16, 185, 129, 0.1), transparent);
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(226, 232, 240, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero__text {
    max-width: 600px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-700);
    background: var(--color-primary-100);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease backwards;
}

.hero__badge-icon {
    font-size: var(--text-base);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-neutral-900);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero__title-highlight {
    color: var(--color-primary-600);
    position: relative;
    white-space: nowrap;
}

.hero__title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--color-secondary-300);
    z-index: -1;
    transform: skewX(-5deg);
}

.hero__description {
    font-size: var(--text-lg);
    color: var(--color-neutral-600);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero__stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-neutral-200);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero__stat {
    text-align: left;
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 400;
    color: var(--color-primary-700);
}

.hero__stat-label {
    font-size: var(--text-sm);
    color: var(--color-neutral-500);
    margin-top: var(--space-1);
}

/* Hero Visual */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.8s ease 0.3s backwards;
}

.hero__phone-showcase {
    position: relative;
    z-index: 2;
}

.hero__phone-frame {
    position: relative;
    width: 280px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.hero__phone-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero__phone-screenshot {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
}

/* Floating Screenshots */
.hero__floating {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero__floating--left {
    top: 15%;
    left: -80px;
    animation: float 4s ease-in-out infinite;
}

.hero__floating--right {
    bottom: 10%;
    right: -80px;
    animation: float 4s ease-in-out infinite 1.5s;
}

.hero__mini-phone {
    width: 140px;
    background: linear-gradient(135deg, #334155, #1e293b);
    border-radius: 24px;
    padding: 6px;
    box-shadow: var(--shadow-xl);
    opacity: 0.9;
    transform: scale(0.85);
}

.hero__mini-screenshot {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* ========================================
   SCREENSHOTS GALLERY SECTION
   ======================================== */
.screenshots {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, var(--color-neutral-100), white);
    overflow: hidden;
}

.screenshots__carousel {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8) 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 calc(-1 * var(--space-6));
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.screenshots__carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    text-align: center;
}

.screenshot-item__phone {
    width: 220px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base);
}

.screenshot-item:hover .screenshot-item__phone {
    transform: translateY(-10px);
}

.screenshot-item__image {
    width: 100%;
    height: auto;
    border-radius: 26px;
    display: block;
}

.screenshot-item__label {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-neutral-700);
}

.screenshot-item__description {
    font-size: var(--text-xs);
    color: var(--color-neutral-500);
    margin-top: var(--space-1);
}

/* Scroll Indicators */
.screenshots__indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.screenshots__indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-neutral-300);
    transition: var(--transition-fast);
    cursor: pointer;
}

.screenshots__indicator.active {
    background: var(--color-primary-500);
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    color: white;
    background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn--secondary {
    color: var(--color-neutral-700);
    background: white;
    border: 1px solid var(--color-neutral-300);
    box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
    background: var(--color-neutral-50);
    border-color: var(--color-neutral-400);
}

.btn--large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

/* App Store Badge */
.app-store-badge {
    display: inline-block;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.app-store-badge:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.app-store-badge img {
    height: 54px;
    width: auto;
}

.app-store-badge--disabled {
    cursor: not-allowed;
}

.app-store-badge--disabled:hover {
    transform: none;
    opacity: 0.5;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: var(--space-24) 0;
    background: white;
}

.features__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    font-weight: 400;
    color: var(--color-neutral-900);
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-neutral-600);
    line-height: 1.7;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.feature-card {
    padding: var(--space-8);
    background: var(--color-neutral-50);
    border-radius: var(--radius-2xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-400), var(--color-primary-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary-100), var(--color-primary-200));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-5);
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--color-neutral-900);
    margin-bottom: var(--space-3);
}

.feature-card__description {
    font-size: var(--text-sm);
    color: var(--color-neutral-600);
    line-height: 1.6;
}

/* ========================================
   BAFOEG TYPES SECTION
   ======================================== */
.bafoeg-types {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, var(--color-neutral-50), white);
}

.bafoeg-types__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.bafoeg-type-card {
    padding: var(--space-8);
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
}

.bafoeg-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.bafoeg-type-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    transition: transform var(--transition-base);
}

.bafoeg-type-card:hover .bafoeg-type-card__icon {
    transform: scale(1.1);
}

.bafoeg-type-card__icon--student {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.25));
}

.bafoeg-type-card__icon--school {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.25));
}

.bafoeg-type-card__icon--career {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.25));
}

.bafoeg-type-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-3);
}

.bafoeg-type-card__description {
    font-size: var(--text-sm);
    color: var(--color-neutral-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.bafoeg-type-card__list {
    text-align: left;
    padding: var(--space-4);
    background: var(--color-neutral-50);
    border-radius: var(--radius-lg);
}

.bafoeg-type-card__list li {
    font-size: var(--text-sm);
    color: var(--color-neutral-700);
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
}

.bafoeg-type-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 600;
}

/* ========================================
   RATES SECTION
   ======================================== */
.rates {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-950));
    color: white;
    position: relative;
    overflow: hidden;
}

.rates__background {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 50% 50% at 20% 20%, rgba(59, 130, 246, 0.2), transparent),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(251, 191, 36, 0.1), transparent);
}

.rates .features__header {
    position: relative;
    z-index: 1;
}

.rates .section-title {
    color: white;
}

.rates .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.rates__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
    position: relative;
    z-index: 1;
}

.rate-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    text-align: center;
    transition: var(--transition-base);
}

.rate-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.rate-card--highlight {
    background: linear-gradient(135deg, var(--color-secondary-500), var(--color-secondary-600));
    border-color: var(--color-secondary-400);
}

.rate-card__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.rate-card__label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.rate-card__badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
}

.rate-card--highlight .rate-card__badge {
    background: rgba(0, 0, 0, 0.2);
}

.rate-card__value {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 400;
    color: white;
}

.rate-card__period {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-1);
}

.rates__info {
    margin-top: var(--space-12);
    position: relative;
    z-index: 1;
}

.rates__info-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    max-width: 600px;
    margin: 0 auto;
}

.rates__info-card h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
    color: white;
}

.rates__info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.rates__info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.rates__info-list li strong {
    color: var(--color-secondary-300);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: var(--space-24) 0;
    background: white;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: var(--space-12);
}

.faq-item {
    border-bottom: 1px solid var(--color-neutral-200);
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6) 0;
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-neutral-900);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--color-primary-600);
}

.faq-item__icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

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

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer p {
    padding-bottom: var(--space-6);
    color: var(--color-neutral-600);
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-800));
    color: white;
    text-align: center;
}

.cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    font-weight: 400;
    margin-bottom: var(--space-4);
}

.cta__description {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
}

.cta__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--color-neutral-900);
    color: var(--color-neutral-400);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: white;
    margin-bottom: var(--space-4);
}

.footer__logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.footer__tagline {
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer__column-title {
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-4);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__link {
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-primary-400);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-neutral-800);
    font-size: var(--text-sm);
}

.footer__legal {
    display: flex;
    gap: var(--space-6);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__text {
        max-width: 100%;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__phone-frame {
        transform: none;
    }

    .hero__floating {
        display: none;
    }

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

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

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

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

    .screenshot-item__phone {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .header__mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: var(--space-24);
        min-height: auto;
    }

    .hero__phone-frame {
        width: 240px;
    }

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

    .bafoeg-types__grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer__brand {
        max-width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-4);
    }

    .screenshot-item__phone {
        width: 180px;
    }

    .screenshots__carousel {
        gap: var(--space-4);
    }

    .rates__info-list li {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .hero__stat {
        text-align: center;
    }

    .btn--large {
        width: 100%;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}
