/* ============================================
   etalki — Stylesheet (italki-inspired)
   ============================================ */

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

:root {
    /* Brand — italki-inspired palette */
    --primary: #ff4d4d;          /* italki red */
    --primary-dark: #e53935;
    --primary-light: #ffe9e9;
    --primary-lighter: #fff5f5;

    --accent: #1f1f1f;            /* charcoal accent */
    --accent-2: #ffb800;          /* gold for ratings */

    /* Neutrals — italki uses very clean white + soft greys */
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f7f7f8;
    --surface-3: #f0f0f2;
    --border: #e5e5e7;
    --border-strong: #d2d2d6;
    --text: #1f1f1f;
    --text-muted: #6e6e76;
    --text-soft: #9c9ca4;

    /* Status */
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --info: #2563eb;

    /* Shape */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
    --shadow-sm: 0 2px 6px rgba(15,23,42,.06);
    --shadow: 0 4px 16px rgba(15,23,42,.07);
    --shadow-lg: 0 12px 40px rgba(15,23,42,.10);

    --transition: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
}

.display { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.03em; }

a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-muted { color: var(--text-muted); }

/* ===== HEADER / NAVBAR ===== */
.navbar {
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.logo {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.04em;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}
.logo .dot { color: var(--primary); font-size: 1.2em; line-height: 0.5; }
.logo:hover { color: var(--text); }

.nav-links {
    display: flex;
    gap: 26px;
    list-style: none;
    flex: 1;
    margin-left: 8px;
}
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 14.5px;
    position: relative;
    padding: 4px 0;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }

.nav-actions { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 18px;
    cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .18s var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover { background: var(--primary-dark); color: white; box-shadow: 0 6px 18px rgba(255,77,77,.30); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--text); color: var(--text); background: var(--surface-2); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #000; color: white; }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #b91c1c; color: white; }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
    padding: 64px 0 48px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #fffbf0 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255,77,77,.10) 0%, transparent 70%);
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255,184,0,.08) 0%, transparent 70%);
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.035em;
    line-height: 1.08;
}
.hero h1 .highlight {
    color: var(--primary);
    font-style: italic;
    font-weight: 500;
}
.hero p.lead {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.55;
}
.hero-meta {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 14px;
}
.hero-meta strong { color: var(--text); font-weight: 700; }

.search-bar {
    background: var(--surface);
    border-radius: 999px;
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: 0 10px 40px rgba(15,23,42,.10);
    border: 1px solid var(--border);
    max-width: 520px;
}
.search-bar select, .search-bar input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 15px;
    background: transparent;
    outline: none;
    color: var(--text);
}
.search-bar .btn { padding: 12px 26px; }

.hero-visual {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ff4d4d 0%, #ff8c4d 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255,77,77,.25);
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpattern id='a' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='rgba(255,255,255,0.12)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='200' height='200' fill='url(%23a)'/%3E%3C/svg%3E");
    opacity: .6;
}
.hero-visual .float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    z-index: 2;
}
.hero-visual .card-1 { top: 18%; left: -20px; }
.hero-visual .card-2 { bottom: 22%; right: -20px; }
.hero-visual .card-3 { top: 50%; left: 50%; transform: translate(-50%,-50%); background: white; color: var(--text); padding: 20px 24px; }
.hero-visual .card-3 strong { color: var(--primary); font-family: 'Fraunces', serif; }

/* ===== STATS ===== */
.stats {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat { text-align: center; }
.stat .number {
    font-family: 'Fraunces', serif;
    font-size: 44px;
    font-weight: 600;
    color: var(--primary);
    display: block;
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat .label { color: var(--text-muted); margin-top: 10px; font-size: 14px; font-weight: 500; }

/* ===== SECTION ===== */
.section { padding: 80px 0; }
.section-title {
    font-family: 'Fraunces', serif;
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: -0.025em;
}
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 48px; font-size: 17px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== LANGUAGE CARDS ===== */
.language-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.language-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 14px;
    text-align: center;
    transition: all .2s var(--transition);
    color: var(--text);
    cursor: pointer;
}
.language-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,77,77,.12);
    color: var(--text);
}
.language-card .flag { font-size: 38px; display: block; margin-bottom: 8px; line-height: 1; }
.language-card .name { font-weight: 600; font-size: 14px; }
.language-card .count { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== TUTOR CARDS ===== */
.tutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.tutor-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .25s var(--transition);
    display: flex;
    flex-direction: column;
    color: var(--text);
}
.tutor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    color: var(--text);
}
.tutor-card .photo {
    width: 100%;
    aspect-ratio: 1.15;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}
.tutor-card .photo svg,
.tutor-card .photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.tutor-card .pro-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--text);
    color: white;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tutor-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.tutor-card .name { font-weight: 700; font-size: 17px; margin-bottom: 4px; color: var(--text); }
.tutor-card .country { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.tutor-card .headline { font-size: 14px; color: var(--text); margin-bottom: 14px; flex: 1; line-height: 1.45; }
.tutor-card .stats-row { display: flex; gap: 14px; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; flex-wrap: wrap; }
.tutor-card .stats-row .star { color: var(--accent-2); }
.tutor-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    background: transparent;
}
.tutor-card .price {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}
.tutor-card .price small { font-size: 13px; color: var(--text-muted); font-weight: 400; font-family: 'Inter', sans-serif; }

/* ===== AUTH FORMS ===== */
.auth-page {
    min-height: calc(100vh - 240px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}
.auth-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 50px rgba(15,23,42,.08);
    padding: 44px;
    max-width: 440px;
    width: 100%;
    border: 1px solid var(--border);
}
.auth-card h2 { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); margin-bottom: 28px; font-size: 15px; }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 6px;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    transition: all .15s;
    background: var(--surface);
    color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,77,77,.10); }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-hint { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }

.forgot-link { font-size: 13px; float: right; }

.auth-divider {
    text-align: center;
    margin: 22px 0;
    color: var(--text-muted);
    font-size: 13px;
    padding: 14px;
    background: var(--surface-2);
    border-radius: var(--radius);
}
.auth-divider strong { color: var(--text); }

.auth-switch { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    font-size: 14px;
    border-left: 3px solid;
}
.alert-danger { background: #fef2f2; color: var(--danger); border-color: var(--danger); }
.alert-success { background: #f0fdf4; color: var(--success); border-color: var(--success); }
.alert-info { background: var(--primary-lighter); color: var(--primary-dark); border-color: var(--primary); }
.alert-warning { background: #fffbeb; color: #92400e; border-color: var(--warning); }

/* ===== TUTOR PROFILE PAGE ===== */
.profile-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
}
.profile-layout { display: grid; grid-template-columns: 280px 1fr 320px; gap: 32px; }
.profile-photo-lg {
    width: 100%;
    aspect-ratio: 1;
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.profile-photo-lg svg,
.profile-photo-lg img { width: 100%; height: 100%; display: block; object-fit: cover; }
.profile-info h1 { font-family: 'Fraunces', serif; font-size: 40px; font-weight: 600; margin-bottom: 8px; }
.profile-info .country { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.profile-stats { display: flex; gap: 24px; margin: 20px 0; flex-wrap: wrap; }
.profile-stats > div { font-size: 14px; color: var(--text-muted); }
.profile-stats strong { display: block; font-size: 20px; font-family: 'Fraunces', serif; color: var(--text); margin-bottom: 2px; }
.profile-bio {
    margin-top: 24px;
    padding: 24px;
    background: var(--surface-2);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text);
    line-height: 1.65;
}

.booking-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow);
}
.booking-card .price-lg {
    font-family: 'Fraunces', serif;
    font-size: 38px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.booking-card .price-lg small { font-size: 14px; color: var(--text-muted); font-weight: 400; font-family: 'Inter', sans-serif; }

/* ===== DASHBOARD ===== */
.dash-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 32px 0; }
.dash-sidebar {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 90px;
}
.dash-sidebar h3 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.dash-nav { list-style: none; }
.dash-nav li { margin-bottom: 2px; }
.dash-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: all .15s;
}
.dash-nav a:hover { background: var(--surface-2); }
.dash-nav a.active { background: var(--primary-light); color: var(--primary-dark); }
.dash-content { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); }
.dash-content h1 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600; margin-bottom: 24px; }

/* ===== TABLE ===== */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
table.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.table tbody tr:last-child td { border-bottom: none; }
.table th {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.05em;
    background: var(--surface-2);
}
.table tbody tr:hover { background: var(--surface-2); }
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: var(--primary-light); color: var(--primary-dark); }
.badge-completed { background: #dcfce7; color: var(--success); }
.badge-cancelled { background: #fee2e2; color: var(--danger); }

/* ===== SITE FOOTER ===== */
.site-footer {
    background: #1a1a1a;
    color: #b3b3b3;
    padding: 64px 0 28px;
    margin-top: 80px;
}
.site-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.site-footer h4 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b3b3b3; font-size: 14px; }
.site-footer a:hover { color: white; }

.site-footer-brand .logo { color: white; margin-bottom: 14px; font-size: 28px; }
.site-footer-brand .logo .dot { color: var(--primary); }
.site-footer .tagline { font-size: 14px; color: #b3b3b3; max-width: 320px; line-height: 1.55; margin-bottom: 20px; }

.site-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.site-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2a2a2a;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    text-decoration: none;
}
.site-footer-social a:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.site-footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #808080;
}

/* ===== FILTERS ===== */
.filter-bar {
    background: var(--surface);
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.filter-bar select, .filter-bar input {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    background: var(--surface);
    color: var(--text);
}
.filter-bar select:focus, .filter-bar input:focus { outline: none; border-color: var(--primary); }

/* ===== STATIC PAGES (help, terms, privacy etc) ===== */
.page-hero {
    background: linear-gradient(180deg, var(--surface-2), var(--bg));
    padding: 64px 0 48px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}
.page-hero p { color: var(--text-muted); font-size: 17px; max-width: 600px; margin: 0 auto; }

.prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px;
    line-height: 1.75;
    color: var(--text);
}
.prose h2 { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; margin: 36px 0 14px; }
.prose h3 { font-size: 18px; margin: 24px 0 10px; }
.prose p { margin-bottom: 14px; color: #404048; }
.prose ul, .prose ol { margin: 12px 0 18px 22px; }
.prose li { margin-bottom: 6px; color: #404048; }
.prose strong { color: var(--text); }

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    padding: 4px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .language-grid { grid-template-columns: repeat(4, 1fr); }
    .profile-layout { grid-template-columns: 1fr; }
    .dash-layout { grid-template-columns: 1fr; }
    .dash-sidebar { position: static; }
    .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .section { padding: 56px 0; }
    .section-title { font-size: 30px; }
}
@media (max-width: 720px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: 16px 24px; box-shadow: var(--shadow); border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: inline-flex; }
    .hero { padding: 48px 0 36px; }
    .hero h1 { font-size: 32px; }
    .stat .number { font-size: 32px; }
    .auth-card { padding: 32px 24px; }
}
@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
    .language-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .search-bar { flex-direction: column; border-radius: var(--radius-lg); padding: 12px; }
    .search-bar .btn { width: 100%; }
}
