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

:root {
    --primary: #17309e;
    --primary-dark: #112478;
    --primary-light: #e0e7ff;
    --accent: #ef4444;
    --accent-hover: #dc2626;
    --accent-light: #fee2e2;
    --bg: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border: rgba(226, 232, 240, 0.8);
    --glow-blue: rgba(23, 48, 158, 0.15);
    --glow-red: rgba(239, 68, 68, 0.15);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Splash screen */
.splash-body {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 100vh;
    margin: 0;
}

.bubble-container {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ffffff, #f0f4ff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 -5px 15px rgba(23, 48, 158, 0.1);
    animation: float 3s ease-in-out infinite;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.greeting-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

@keyframes popText {
    0% { transform: scale(0.8); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

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

.bubble-container.burst {
    animation: burstAnim 0.8s cubic-bezier(0.5, 0, 0.1, 1) forwards;
}

@keyframes burstAnim {
    0% { transform: scale(1); opacity: 1; }
    40% { transform: scale(1.2); opacity: 0.9; }
    100% { transform: scale(25); opacity: 0; }
}

/* Canvas Particle Container */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Auth pages (welcome, login, signup) */
.auth-container {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite alternate;
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    z-index: 0;
    animation: pulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-20px, 20px); }
}

.auth-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    margin: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.logo-wrapper {
    background: rgba(23, 48, 158, 0.08);
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    color: var(--primary);
}

.auth-logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

.back-btn {
    position: absolute;
    top: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 10;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    color: var(--primary);
}

/* Buttons & forms */
.btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    text-decoration: none;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(23, 48, 158, 0.05);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: var(--primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 48, 158, 0.2);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(23, 48, 158, 0.3);
}

.btn.is-loading, .btn-submit.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn.is-loading .btn-text, .btn-submit.is-loading .btn-text {
    visibility: hidden;
}

.btn.is-loading::after, .btn-submit.is-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.5;
}

body.is-idle .navbar {
    opacity: 0.5;
    transition: opacity 1.5s ease;
}

body.is-idle .hero-container {
    opacity: 0.5;
    transition: opacity 1.5s ease;
}
.form-group {
    width: 100%;
    margin-bottom: 16px;
    position: relative;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(23, 48, 158, 0.1);
    background: #ffffff;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    display: inline-block;
    transition: opacity 0.2s;
}

.auth-link:hover {
    opacity: 0.8;
}

/* Avatar setup */
.avatar-upload {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    cursor: pointer;
    display: block;
}

.avatar-preview {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f1f5f9;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.avatar-upload:hover .avatar-preview {
    transform: scale(1.04);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-icon {
    color: #94a3b8;
}

.upload-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Landing navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 14px 8%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo svg {
    color: var(--accent);
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

.navbar .btn-secondary, .navbar .btn-primary {
    padding: 11px 24px;
    font-size: 14px;
    border-radius: 10px;
    width: auto;
    margin: 0;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: rgba(0,0,0,0.05);
}

/* Landing hero section */
.hero-container {
    padding: 180px 8% 120px;
    display: flex;
    align-items: center;
    gap: 72px;
    min-height: 92vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}

.hero-container::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

.hero-text {
    flex: 1.2;
    text-align: left;
}

.hero-text h1 {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--primary-dark);
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-buttons .btn {
    width: auto;
    padding: 14px 28px;
}

.trust-note {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-note::before {
    content: '✓';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
}

.form-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
}

.form-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 
                0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.form-card:hover {
    box-shadow: 0 20px 40px rgba(23, 48, 158, 0.08);
}

.form-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-card .subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.accent-btn {
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.accent-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* Sections: how, safety, carousel */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.6;
}

/* How it Works */
.how-section {
    padding: 120px 8%;
    background: #ffffff;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
}

.how-card {
    padding: 48px 36px;
    background: var(--bg);
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.how-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(23, 48, 158, 0.06);
}

.how-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
}

.how-card.accent-step .how-icon-wrapper {
    background: var(--accent-light);
    color: var(--accent);
}

.how-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* Safety Section */
.safety-section {
    padding: 120px 8%;
    background: var(--bg);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
}

.safety-card {
    background: white;
    border-radius: 24px;
    padding: 48px 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.safety-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.safety-card h3 svg {
    color: #10b981;
}

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

/* Map Section — redesigned for warmth & credibility */
.map-section {
    background: #f8fafc;
    padding: 72px 0 56px;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    overflow: hidden;
}

.map-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 8%;
    text-align: center;
    position: relative;
}

.map-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: #eef2ff;
    border: 1px solid #dfe7ff;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.map-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 6px rgba(16,185,129,0.16);
    animation: mapPulse 1.8s ease-in-out infinite;
}

@keyframes mapPulse {
    0%,100% { box-shadow: 0 0 0 6px rgba(16,185,129,0.16); }
    50% { box-shadow: 0 0 0 9px rgba(16,185,129,0.08); }
}

.map-container h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f1b4d;
    letter-spacing: -0.9px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.map-container .map-subtitle {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 22px;
}

.map-meta-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.map-meta-pill {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 7px 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(15,27,77,0.06);
}

.map-frame {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px -18px rgba(15,27,77,0.22), 0 6px 16px rgba(15,27,77,0.07);
    position: relative;
}

.map-container #map-canvas {
    width: 100%;
    height: 520px;
    min-height: 420px;
    background: #e8eef6;
    display: block;
}

@media (max-width: 768px) {
    .map-container #map-canvas { height: 460px; min-height: 380px; }
}

.map-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px 18px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: white;
    border-top: 1px solid #eef2f7;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.map-legend div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 6px rgba(0,0,0,0.22);
}

.legend-line {
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background: var(--primary);
    opacity: 0.9;
    position: relative;
}

.legend-line::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.map-hint {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 18px 14px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

/* Custom map markers - less AI, more crafted */
.vogyr-pin {
    background: white;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15,27,77,0.18), 0 1px 3px rgba(0,0,0,0.12);
    border: 2px solid white;
    font-size: 13px;
    line-height: 1;
}

.vogyr-pin-academy {
    width: 36px;
    height: 36px;
    background: #17309e;
    color: white;
    border-color: #17309e;
    font-size: 15px;
}

.vogyr-pin-dest {
    width: 22px;
    height: 22px;
    background: white;
    border: 2.5px solid #7c5cff;
    color: #7c5cff;
}

.vogyr-pin-your {
    width: 30px;
    height: 30px;
    background: #fff7ed;
    border: 2px solid #f59e0b;
    color: #d97706;
}

.your-area-halo {
    border: 1px dashed rgba(245,158,11,0.45);
    background: rgba(245,158,11,0.08);
}

/* Leaflet popup polish */
.leaflet-popup-content-wrapper {
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(15,27,77,0.18);
    padding: 2px 0;
    font-family: 'Inter', sans-serif;
}

.leaflet-popup-content {
    margin: 14px 16px;
    line-height: 1.5;
    font-size: 13px;
}

.leaflet-popup-tip {
    box-shadow: none;
}

.leaflet-control-zoom a {
    border-radius: 10px !important;
}

.map-container iframe {
    width: 100%;
    height: 480px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Testimonials */
.testimonials-section {
    padding: 100px 8%;
    background: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 700;
}

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

/* Academy carousel */
.academy-carousel-section {
    padding: 40px 0 60px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
    width: 100%;
}

.carousel-title {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.academy-carousel {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
    position: relative;
}

.academy-carousel::before, .academy-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.academy-carousel::before {
    left: 0;
    background: linear-gradient(to right, white, rgba(255,255,255,0));
}

.academy-carousel::after {
    right: 0;
    background: linear-gradient(to left, white, rgba(255,255,255,0));
}

.carousel-track {
    display: flex;
    gap: 60px;
    animation: scrollTrack 90s linear infinite;
    padding: 10px 0;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track { animation-duration: 180s; }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.carousel-item:hover {
    color: var(--primary);
}

.carousel-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* FAQ section */
.faq-section {
    padding: 100px 8%;
    background: #ffffff;
}

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

.faq-item {
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.2s;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 8% 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    max-width: 300px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* Scroll animations & responsive */
.anim-prepare {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-prepare.anim-slide-left {
    transform: translateX(-40px);
}

.anim-prepare.anim-slide-right {
    transform: translateX(40px);
}

.anim-prepare.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-note {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 5%;
    }
    .navbar.scrolled {
        padding: 12px 5%;
    }
    .navbar nav {
        display: none;
    }
    .navbar nav.nav-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        z-index: 999;
        justify-content: center;
        align-items: center;
        gap: 28px;
        animation: fadeIn 0.3s ease;
    }
    .navbar nav.nav-open a {
        font-size: 20px;
    }
    .navbar nav.nav-open #nav-auth-buttons {
        flex-direction: column;
        width: 240px;
    }
    body.nav-active {
        overflow: hidden;
    }
    .hamburger-btn {
        display: flex !important;
        z-index: 1000;
    }
    .hero-container {
        padding: 100px 5% 60px;
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    .how-section, .safety-section, .map-section, .testimonials-section {
        padding: 60px 5%;
    }
    .section-header h2 {
        font-size: 30px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .auth-card {
        padding: 28px 24px;
    }
    .back-btn {
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
    footer {
        padding: 40px 5% 30px;
    }
    .footer-links {
        gap: 32px;
    }
    .footer-content {
        flex-direction: column;
    }
}

/* Mobile-friendly toasts */
@media (max-width: 768px) {
    .tilt-card {
        transform: none !important;
    }
    .tilt-card .card-glare {
        display: none;
    }
}

#vogyr-toast-container {
    right: 16px;
    bottom: 16px;
    left: 16px;
}

.vogyr-toast {
    min-width: 0 !important;
    max-width: 100% !important;
}

@media (min-width: 480px) {
    #vogyr-toast-container {
        right: 30px;
        bottom: 30px;
        left: auto;
    }
    .vogyr-toast {
        min-width: 280px !important;
        max-width: 420px !important;
    }
}

/* ── Youth-Safety UI components ──────────────────────────────── */

.verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #d1fae5;
    color: #047857;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    vertical-align: middle;
    margin-left: 6px;
    white-space: nowrap;
}

.verified-chip.muted {
    background: #f1f5f9;
    color: #94a3b8;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-line input {
    margin-top: 2px;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.verif-status-banner {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.5;
}

.tc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
}

.tc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.tc-remove-btn {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.trip-status-pill {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: capitalize;
    white-space: nowrap;
}

.trip-status-pill.scheduled { background: #eff6ff; color: #17309e; }
.trip-status-pill.en_route { background: #fef3c7; color: #92400e; }
.trip-status-pill.arrived { background: #e0e7ff; color: #3730a3; }
.trip-status-pill.completed { background: #d1fae5; color: #047857; }
.trip-status-pill.cancelled { background: #fee2e2; color: #b91c1c; }

/* — Destination map picker (replaces dropdowns) — */
.dest-picker { position: relative; }
.dest-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 10px 0 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.dest-search-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(23,48,158,0.08); }
.dest-search-wrap svg { flex-shrink: 0; color: #94a3b8; }
.dest-search-wrap input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    min-width: 0;
}
.dest-search-wrap input::placeholder { color: #94a3b8; font-weight: 500; }
.dest-clear-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}
.dest-clear-btn:hover { background: #e2e8f0; color: #0f172a; }
.dest-map {
    margin-top: 10px;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15,27,77,0.06);
    background: #e8eef6;
    display: block;
}
.dest-picker.compact .dest-map { height: 200px; }
.dest-suggestions {
    position: absolute;
    left: 0; right: 0;
    top: 46px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px -12px rgba(15,27,77,0.22);
    max-height: 240px;
    overflow-y: auto;
    z-index: 400;
    display: none;
}
.dest-sugg-item {
    width: 100%;
    text-align: left;
    padding: 11px 14px;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid #f1f5f9;
}
.dest-sugg-item:last-child { border-bottom: none; }
.dest-sugg-item:hover { background: #f8fafc; }
.dest-sugg-name { font-size: 13px; font-weight: 700; color: #0f172a; line-height: 1.3; }
.dest-sugg-addr { font-size: 11px; color: #64748b; line-height: 1.3; }
.dest-sugg-type { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #7c5cff; }
.dest-sugg-loading { padding: 14px; font-size: 13px; color: #64748b; text-align: center; }
.dest-selected-display {
    margin-top: 10px;
    display: none;
    align-items: center;
    gap: 10px;
    background: #eef2ff;
    border: 1px solid #dfe7ff;
    color: var(--primary-dark);
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}
.dest-selected-icon { font-size: 14px; }
.dest-selected-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest-selected-clear {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.vogyr-pin-active { background: var(--primary) !important; color: white !important; border-color: var(--primary) !important; box-shadow: 0 6px 18px rgba(23,48,158,0.3); }
