/* DESIGN SYSTEM & VARIABLES */
:root {
    --bg-color: #030303;
    --card-bg: rgba(18, 18, 18, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-glow: rgba(16, 196, 0, 0.3);
    --text-primary: #f5f5f7;
    --text-secondary: #8e8e93;
    --accent-color: #10c400;
    --accent-gradient: linear-gradient(135deg, #10c400 0%, #00e676 100%);
    --accent-success: #10c400;
    --accent-danger: #ff1744;
    --glow-color: rgba(16, 196, 0, 0.15);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

body.light-theme {
    --bg-color: #f0f2f5;
    --card-bg: rgba(255, 255, 255, 0.90);
    --card-border: rgba(0, 0, 0, 0.08);
    --card-border-glow: rgba(16, 196, 0, 0.4);
    --text-primary: #1c1e21;
    --text-secondary: #5f6368;
    --glow-color: rgba(16, 196, 0, 0.08);
}

/* BASE RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Background Canvas */
#bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* UTILITY CLASSES */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hidden {
    display: none !important;
}

.green-text { color: var(--accent-success); }
.blue-text { color: #2979ff; }
.purple-text { color: #af52de; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 30px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.light-theme .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
}

.light-theme .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    background: var(--accent-gradient);
    z-index: -1;
    filter: blur(12px);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.btn-glow:hover::after {
    opacity: 0.8;
    filter: blur(18px);
}

.btn-icon {
    margin-left: 8px;
    width: 18px;
    height: 18px;
}

.btn-danger {
    background: rgba(255, 23, 68, 0.1);
    border: 1px solid var(--accent-danger);
    color: #ff8a80;
}

.btn-danger:hover {
    background: var(--accent-danger);
    color: #fff;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon-svg {
    height: 38px;
    width: auto;
    display: block;
    filter: invert(53%) sepia(93%) saturate(3020%) hue-rotate(85deg) brightness(97%) contrast(105%);
    transition: filter 0.3s ease;
}

.light-theme .logo-icon-svg {
    filter: invert(53%) sepia(93%) saturate(3020%) hue-rotate(85deg) brightness(97%) contrast(105%);
}

.logo-text-svg {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 4px;
}

.logo-letters-row {
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo-letter {
    height: 22px;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(16, 196, 0, 0.2));
}

.logo-letter.logo-s-large {
    height: 48px;
    margin-right: 0px;
}

.logo-letter.logo-mart-letter {
    height: 26px;
    width: auto;
    opacity: 0.9;
}

.logo-subtext {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-success);
    letter-spacing: 3px;
    text-align: left;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 96px;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(3, 3, 3, 0.95);
    backdrop-filter: blur(20px);
    z-index: 99;
    overflow: hidden;
    transition: var(--transition-smooth);
    border-bottom: 0px solid rgba(255, 255, 255, 0.05);
}

.mobile-drawer.open {
    height: calc(100vh - 96px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.light-theme .mobile-drawer {
    background: rgba(240, 242, 245, 0.98);
}

.light-theme .mobile-drawer.open {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80%;
    gap: 32px;
    padding: 40px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-btn {
    width: 100%;
    max-width: 280px;
}

/* HERO SECTION */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.light-theme .badge {
    background: rgba(16, 196, 0, 0.06);
    border-color: rgba(16, 196, 0, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

.badge-text {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 0 40px 0;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 60px;
}

/* HERO MOCKUP & LIVE INTERACTIVE WIDGET */
.hero-visual-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.hero-visual {
    background: #09090b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.03);
    text-align: left;
}

.visual-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.visual-dot.red { background-color: #ff5f56; }
.visual-dot.yellow { background-color: #ffbd2e; }
.visual-dot.green { background-color: #27c93f; }

.visual-title {
    margin-left: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.visual-body {
    padding: 24px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-card.main-metric {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.02) 0%, rgba(255,255,255,0.01) 100%);
    border-color: rgba(0, 242, 254, 0.15);
}

.card-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.metric-value .unit {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.metric-text {
    font-size: 1.4rem;
    font-weight: 600;
}

.sub-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-indicator.success {
    color: var(--accent-success);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-success);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--accent-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.chart-card {
    grid-column: span 2;
}

.mock-chart {
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-top: 10px;
}

.mock-chart .bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px 4px 0 0;
    transition: var(--transition-smooth);
}

.mock-chart .bar.animate-bar {
    background: var(--accent-gradient);
    animation: barHeight 3s infinite ease-in-out alternate;
}

@keyframes barHeight {
    0% { height: 40%; }
    50% { height: 90%; }
    100% { height: 60%; }
}

/* NEW FEATURES SECTION (3-COLUMN LAYOUT) */
.features-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 480px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-glow);
    box-shadow: 0 15px 40px var(--glow-color);
}

.feature-visual {
    flex: 3;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.light-theme .feature-visual {
    background: rgba(240, 240, 240, 0.5);
}

.animation-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-success);
    opacity: 0.8;
}

.phone-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 0;
    padding: 12px 0;
}

/* Card state mockup scale */
.feature-card .phone-mockup-wrapper {
    transform: scale(0.7);
    transform-origin: center center;
}

/* Modal state mockup scale */
.modal-visual .phone-mockup-wrapper {
    transform: scale(1.2) !important;
    transform-origin: center center;
}

/* Feature Phone Mockup Animation */
.feature-phone-mockup {
    width: 200px;
    height: 400px;
    background: #111;
    border-radius: 30px;
    border: 5px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
    z-index: 5;
    animation: phoneVibrate 12s infinite ease-in-out;
}

@keyframes phoneVibrate {
    0%, 17% { transform: translateX(0); }
    /* Vibration right before notification fully drops */
    18% { transform: translateX(-4px) rotate(-2deg); }
    19% { transform: translateX(4px) rotate(2deg); }
    20% { transform: translateX(-4px) rotate(-2deg); }
    21% { transform: translateX(3px) rotate(1deg); }
    22%, 100% { transform: translateX(0); }
}

.light-theme .feature-phone-mockup {
    background: #fff;
    border-color: #ddd;
}

.feature-phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.light-theme .feature-phone-screen {
    background: #f8f9fa;
}

/* Feed Scrolling */
.scrolling-feed {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 24px;
    box-sizing: border-box;
    animation: scrollFeed 12s infinite;
}

@keyframes scrollFeed {
    0%, 10% { transform: translateY(0); } /* Post 1 */
    12%, 35% { transform: translateY(-20%); } /* Post 2 */
    38%, 60% { transform: translateY(-40%); } /* Post 3 */
    62%, 85% { transform: translateY(-60%); } /* Post 4 */
    88%, 100% { transform: translateY(-80%); } /* Post 5 (Clone of 1) - loops perfectly to 0% */
}

/* Instagram Style Mock Post */
.mock-insta-post {
    display: flex;
    flex-direction: column;
    height: 390px; /* Exactly fits the phone screen */
    flex-shrink: 0;
    box-sizing: border-box;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.light-theme .mock-insta-post { border-bottom-color: rgba(0,0,0,0.05); }

.mock-insta-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
}

.mock-insta-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #444;
    border: 1px solid #666;
}
.light-theme .mock-insta-avatar { background: #ddd; border-color: #bbb; }

.mock-insta-title {
    height: 8px;
    width: 80px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}
.light-theme .mock-insta-title { background: rgba(0, 0, 0, 0.3); }

.mock-insta-image {
    width: 100%;
    height: 200px; /* Square/Rectangle image */
    background: #333;
}

.mock-insta-actions {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
}

.mock-icon.circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
}
.light-theme .mock-icon.circle { border-color: rgba(0,0,0,0.4); }

.mock-insta-caption {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px 12px 12px;
}

.mock-line {
    height: 8px;
    width: 90%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.mock-line.short {
    width: 40px;
    background: rgba(255, 255, 255, 0.4);
}
.light-theme .mock-line { background: rgba(0, 0, 0, 0.1); }
.light-theme .mock-line.short { background: rgba(0, 0, 0, 0.3); }

.mock-content-line.animated {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: shimmerText 2s infinite linear;
}

.light-theme .mock-content-line.animated {
    background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.05) 75%);
    background-size: 200% 100%;
}

.mock-content-line.short.animated {
    width: 70%;
}

@keyframes pulseAvatar {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); box-shadow: 0 0 10px rgba(255, 154, 158, 0.5); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmerText {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.push-notification {
    position: absolute;
    top: 26px;
    left: 10px;
    right: 10px;
    background: rgba(30, 30, 30, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8) !important;
    border: none !important;
    transform: translateY(-150%);
    animation: pushDropdown 6s infinite ease-in-out;
}

.light-theme .push-notification {
    background: rgba(230, 230, 230, 1) !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

.light-theme .push-text strong {
    color: #000 !important;
}

.light-theme .push-text span {
    color: #333 !important;
}

.push-icon {
    width: 24px;
    height: 24px;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.push-icon img {
    width: 18px;
    height: 18px;
}

.push-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
}

.push-text strong {
    font-size: 0.8rem;
    color: #fff !important;
}

.push-text span {
    font-size: 0.7rem;
    color: #ccc !important;
    line-height: 1.2;
}

@keyframes pushDropdown {
    /* 0-15%: Feed kaydırılıyor, bildirim gizli */
    0%, 15% { transform: translateY(-150%); opacity: 0; }
    /* 20%: Bildirim düşüyor */
    20%, 27% { transform: translateY(0) scale(1); opacity: 1; }
    /* 29%: Kullanıcı bastı - hızlı press efekti */
    30% { transform: translateY(0) scale(0.93); opacity: 0.8; }
    31% { transform: translateY(0) scale(0.97); opacity: 0.9; }
    /* 33%: Bildirim hızla kaybolur */
    35%, 100% { transform: translateY(-120%); opacity: 0; }
}

@keyframes shakePhone {
    /* Bildirim gelince titresin */
    0%, 17% { transform: translateX(0); }
    18% { transform: translateX(-3px) rotate(-1.5deg); }
    19% { transform: translateX(3px) rotate(1.5deg); }
    20% { transform: translateX(-3px) rotate(-1.5deg); }
    21% { transform: translateX(3px) rotate(1.5deg); }
    22%, 100% { transform: translateX(0) rotate(0deg); }
}

/* Route Animation for Feature 2 */
.route-animation {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 200px;
    padding: 20px;
}

.pin {
    width: 32px;
    height: 32px;
}

.start-pin {
    color: var(--accent-success);
}

.end-pin {
    color: var(--accent-danger);
}

.route-line {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.light-theme .route-line {
    background: rgba(0, 0, 0, 0.1);
}

.route-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--accent-gradient);
    transform-origin: left;
    transform: scaleX(0);
    animation: drawRoute 2.5s infinite ease-in-out;
}

@keyframes drawRoute {
    0% { transform: scaleX(0); }
    50%, 100% { transform: scaleX(1); }
}

.feature-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* FEATURES SECTION & BENTO GRID */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-border-glow);
    box-shadow: 0 10px 30px var(--glow-color);
}

.card-content {
    padding: 32px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.col-span-2 { grid-column: span 2; }
.row-span-2 { grid-row: span 2; }

/* Bento inner interactive visuals */
.card-interactive-element {
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.tracker-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    color: var(--text-secondary);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    animation: scanAnimation 3s infinite ease-in-out;
}

@keyframes scanAnimation {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.row-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.flex-text {
    flex: 1.5;
}

.flex-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.calibration-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent-color) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotate 6s linear infinite;
}

.ring-core {
    width: 90px;
    height: 90px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* HOW IT WORKS SECTION */
.how-it-works {
    padding: 100px 0;
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-4px);
}

.light-theme .step-card {
    background: rgba(255, 255, 255, 0.80);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.light-theme .step-card:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 24px;
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* WAITLIST & FORM */
.waitlist {
    padding: 100px 0;
    position: relative;
}

.waitlist-glow {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, rgba(0,0,0,0) 80%);
    z-index: -1;
    pointer-events: none;
}

.glass {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.light-theme .glass {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 40px 80px rgba(0,0,0,0.10);
}

.waitlist-wrapper {
    max-width: 680px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 60px 48px;
}

.waitlist-header {
    text-align: center;
    margin-bottom: 40px;
}

.waitlist-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.waitlist-header p {
    color: var(--text-secondary);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-fast);
}

.waitlist-form input,
.waitlist-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px 14px 48px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.waitlist-form select {
    appearance: none;
    cursor: pointer;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 12px rgba(16, 196, 0, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.waitlist-form input:focus + .input-icon,
.waitlist-form select:focus + .input-icon {
    color: var(--accent-color);
}

.light-theme .waitlist-form input,
.light-theme .waitlist-form select {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.10);
    color: var(--text-primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.light-theme .waitlist-form input:focus,
.light-theme .waitlist-form select:focus {
    background: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 0 12px rgba(16, 196, 0, 0.18);
}

.light-theme .waitlist-form select option {
    background: #ffffff;
    color: #1c1e21;
}

.light-theme .waitlist-stats {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.07);
}

/* Waitlist success state */
.waitlist-success-card {
    text-align: center;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--accent-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-icon i {
    width: 32px;
    height: 32px;
}

.waitlist-success-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.waitlist-success-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.waitlist-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* FAQ SECTION */
.faq {
    padding: 100px 0;
}

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

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.light-theme .faq-item {
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    width: 20px;
    height: 20px;
}

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

.faq-content p {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.15);
}

.light-theme .faq-item.active {
    border-color: rgba(16, 196, 0, 0.3);
}

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

/* CREATOR CONSOLE & MODAL */
.creator-console-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    transition: var(--transition-fast);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.creator-console-trigger:hover {
    color: var(--accent-color);
    background: rgba(0, 242, 254, 0.05);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.creator-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.creator-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.creator-modal {
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

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

.table-container {
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 8px;
    max-height: 400px;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.leads-table th,
.leads-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.leads-table th {
    background: rgba(255,255,255,0.02);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
}

.leads-table tr:hover td {
    background: rgba(255,255,255,0.01);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 40px 0;
}

.light-theme .footer {
    border-top-color: rgba(0, 0, 0, 0.08);
    background: rgba(255,255,255,0.5);
}

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

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--text-primary);
}

/* SCROLL REVEAL ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

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

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto 40px auto;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .row-span-2 {
        grid-row: span 1;
    }
    
    .row-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .waitlist-wrapper {
        padding: 40px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-card.main-metric {
        grid-row: span 1;
    }
    
    .chart-card {
        grid-column: span 1;
    }
}

/* APP SCREENSHOT SECTION */
.app-screenshot-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.screenshot-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.phone-container-3d {
    position: relative;
    width: 320px;
    height: 600px;
    margin: 0 auto;
    perspective: 1500px;
}

.iphone-3d-mockup {
    width: 260px;
    height: 530px;
    background: #1c1c1e;
    border-radius: 38px;
    padding: 6px;
    box-shadow: 
        0px 30px 60px rgba(0,0,0,0.85), 
        inset 0 0 3px rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.12);
    transform: rotateY(-20deg) rotateX(15deg) rotateZ(5deg);
    transform-style: preserve-3d;
    transition: var(--transition-smooth);
    position: relative;
}

.iphone-3d-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 38px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.iphone-3d-mockup:hover {
    transform: rotateY(-10deg) rotateX(8deg) rotateZ(2deg);
    box-shadow: 
        0px 40px 80px rgba(0, 0, 0, 0.95), 
        inset 0 0 5px rgba(255,255,255,0.3);
}

.iphone-bezel {
    width: 100%;
    height: 100%;
    background: #09090b;
    border-radius: 32px;
    padding: 2px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #030303;
    position: relative;
}

.dynamic-island {
    width: 75px;
    height: 18px;
    background: #000;
    border-radius: 9px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.05);
}

/* THEME TOGGLE BUTTON */
.theme-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

.light-theme .theme-toggle {
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Toggle Sun/Moon icon visibility */
.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

.light-theme .theme-toggle .sun-icon {
    display: none;
}

.light-theme .theme-toggle .moon-icon {
    display: block;
}

/* HTML PHONE SCREEN CUSTOM RULES */
.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: #0f0f12;
    color: #f5f5f7;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font-body);
    user-select: none;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Phone Status Bar */
.phone-status-bar {
    height: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px 0 14px;
    font-size: 0.62rem;
    font-weight: 600;
    color: inherit;
    z-index: 11;
}

.phone-status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.phone-status-icons i,
.phone-status-icons svg.lucide {
    width: 12px !important;
    height: 12px !important;
    opacity: 1;
    display: inline-block;
}

/* Phone App Container */
.phone-app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 10px 10px 10px;
    position: relative;
    overflow: hidden;
}

.app-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.city-selector {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

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

.phone-app-logo {
    width: 22px;
    height: 22px;
    display: block;
}

/* Search Box Layout */
.app-search-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.search-box-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.72rem;
    transition: all 0.3s ease;
}

.search-box-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.search-box-row .search-box-item {
    flex: 1;
}

.search-pin {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

.search-text {
    font-weight: 500;
}

.search-text.placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-clear {
    margin-left: auto;
    width: 10px;
    height: 10px;
    opacity: 0.4;
    cursor: pointer;
}

.phone-map-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: inherit;
    transition: all 0.3s ease;
}

.phone-map-btn i,
.phone-map-btn svg.lucide {
    width: 14px !important;
    height: 14px !important;
}

/* transit items */
.app-transit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-bottom: 45px;
}

/* hide scrollbar */
.app-transit-content::-webkit-scrollbar {
    display: none;
}

.content-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.group-title {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-bottom: 2px;
}

.transit-line-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 8px;
    transition: all 0.3s ease;
}

.line-badge {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}

.line-badge.badge-m2 { background-color: #ff9500; }
.line-badge.badge-30m { background-color: #2979ff; }
.line-badge.badge-f1 { background-color: #af52de; }

.route-badges-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-separator,
.badge-separator.lucide {
    width: 10px !important;
    height: 10px !important;
    opacity: 0.6;
    color: var(--text-secondary);
}

.route-details-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.transit-line-card.route-option-card {
    position: relative;
    padding: 8px 8px 24px 8px;
    min-height: 56px;
    align-items: flex-start;
}

.route-option-card .line-eta {
    position: absolute;
    bottom: 4px;
    right: 8px;
}

.route-option-card .line-status {
    position: absolute;
    bottom: 4px;
    left: 8px;
    padding-right: 40px;
}

.route-flow {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.route-flow .line-badge {
    width: 20px !important;
    height: 14px !important;
    font-size: 0.5rem !important;
    border-radius: 3px !important;
}

.walk-dist {
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.95;
}

.flow-arrow,
.flow-arrow.lucide {
    width: 6px !important;
    height: 6px !important;
    opacity: 0.8;
    color: var(--text-primary);
}

.walk-icon,
.walk-icon.lucide {
    width: 7px !important;
    height: 7px !important;
    opacity: 0.85;
    color: var(--text-primary);
}

.status-icon,
.status-icon.lucide {
    width: 10px !important;
    height: 10px !important;
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
    margin-top: -2px;
}

.line-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.line-name {
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.line-status {
    font-size: 0.55rem;
    font-weight: 500;
}

.line-status.warning-text {
    color: #ffa726;
}

.line-eta {
    text-align: right;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.eta-num {
    font-size: 0.95rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.eta-lbl {
    font-size: 0.58rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Stop Card Items */
.stop-card-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 8px;
    transition: all 0.3s ease;
}

.stop-icon {
    width: 10px;
    height: 10px;
    opacity: 0.6;
}

.stop-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.stop-name {
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.stop-distance {
    font-size: 0.55rem;
    opacity: 0.7;
}

.stop-indicator {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2px 4px;
    transition: all 0.3s ease;
}

.density-label {
    font-size: 0.55rem;
    font-weight: 700;
    opacity: 0.8;
    white-space: nowrap;
}

/* Tab Bar */
.phone-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 0;
    z-index: 5;
    transition: background 0.3s ease, border-top 0.3s ease;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.55rem;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
}

.tab-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.tab-item.active .tab-icon-wrapper {
    background-color: var(--accent-success);
}

.tab-item i {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.tab-icon-svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.light-theme .tab-icon-svg {
    filter: invert(0.2);
    opacity: 1;
}

.tab-item.active {
    color: var(--accent-success);
}

.tab-item.active .tab-icon-svg {
    filter: brightness(0) invert(1) !important;
    opacity: 1;
}

/* PHONE LIGHT THEME OVERRIDES */
.light-theme .iphone-screen {
    background: #f5f6f8;
    color: #1f2328;
}

.light-theme .city-selector,
.light-theme .search-box-item,
.light-theme .phone-map-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.light-theme .transit-line-card,
.light-theme .stop-card-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.light-theme .stop-indicator {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

.light-theme .phone-tab-bar {
    background: rgba(255, 255, 255, 0.96);
    border-top-color: rgba(0, 0, 0, 0.06);
}

/* Background Shadow and 3D Mockup adjustments */
.phone-shadow-3d {
    position: absolute;
    bottom: -10px;
    left: 5%;
    width: 90%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(16,196,0,0.08) 0%, transparent 70%);
    filter: blur(10px);
    transform: rotateZ(5deg) scaleX(0.85);
    pointer-events: none;
    z-index: -1;
}

.light-theme .navbar {
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.light-theme .iphone-3d-mockup {
    background: #d1d1d6;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 
        0px 30px 60px rgba(16, 196, 0, 0.2), 
        inset 0 0 3px rgba(255,255,255,0.6);
}

.light-theme .iphone-3d-mockup:hover {
    box-shadow: 
        0px 40px 80px rgba(16, 196, 0, 0.3), 
        inset 0 0 5px rgba(255,255,255,0.75);
}

.light-theme .iphone-bezel {
    background: #f2f2f2;
    border-color: rgba(0, 0, 0, 0.06);
}

.light-theme .phone-shadow-3d {
    background: radial-gradient(ellipse at center, rgba(16,196,0,0.3) 0%, transparent 70%);
}

.light-theme .hero-glow {
    background: radial-gradient(circle, rgba(16, 196, 0, 0.06) 0%, rgba(0,0,0,0) 70%);
}

.light-theme .waitlist-glow {
    background: radial-gradient(circle, rgba(16, 196, 0, 0.08) 0%, rgba(255,255,255,0) 80%);
}

.light-theme .creator-console-trigger {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.light-theme .creator-console-trigger:hover {
    background: rgba(16, 196, 0, 0.08);
    border-color: var(--accent-color);
}

.light-theme .creator-modal-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.light-theme .table-container {
    background: rgba(255,255,255,0.6);
    border-color: rgba(0,0,0,0.06);
}

.light-theme .leads-table th {
    background: rgba(0,0,0,0.03);
}

.light-theme .leads-table th,
.light-theme .leads-table td {
    border-bottom-color: rgba(0,0,0,0.05);
}

.light-theme .leads-table tr:hover td {
    background: rgba(0,0,0,0.02);
}

.light-theme .modal-header {
    border-bottom-color: rgba(0,0,0,0.07);
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text-col {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center !important;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .phone-container-3d {
        scale: 0.85;
        margin-top: 10px;
    }
}

/* =========================================
   FEATURE CARDS & MODAL CSS 
   ========================================= */

/* Stop feature animations by default and snap to 0 */
.feature-card .scrolling-feed,
.feature-card .feature-phone-mockup,
.feature-card .push-notification,
.feature-card .route-progress,
.feature-card .pin,
.feature-card .bounce,
.feature-card .app-arrival-screen,
.feature-card .arrival-progress-fill,
.feature-card .arrival-pulse-ring,
.feature-card .notif-tap-cursor,
.feature-card .tap-dot,
.feature-card .tap-ripple {
    animation: none !important;
}

/* Play animations on hover and unconditionally inside the expanded modal */
.feature-card:hover .scrolling-feed, 
.modal-visual .scrolling-feed {
    animation: scrollFeed 24s infinite !important;
}

/* App Arrival Screen */
.feature-card:hover .app-arrival-screen,
.modal-visual .app-arrival-screen {
    animation: arrivalScreenShow 24s infinite ease-in-out !important;
}

.feature-card:hover .arrival-progress-fill,
.modal-visual .arrival-progress-fill {
    animation: arrivalFillProgress 24s infinite !important;
}

.feature-card:hover .arrival-pulse-ring,
.modal-visual .arrival-pulse-ring {
    animation: arrivalPulse 1.5s infinite ease-out !important;
}

.feature-card:hover .arrival-pulse-ring.delay,
.modal-visual .arrival-pulse-ring.delay {
    animation-delay: 0.75s !important;
}

.feature-card:hover .feature-phone-mockup, 
.modal-visual .feature-phone-mockup {
    animation: shakePhone 24s infinite ease-in-out !important;
}

.feature-card:hover .push-notification, 
.modal-visual .push-notification {
    animation: pushDropdown 24s infinite ease-in-out !important;
}

.feature-card:hover .route-progress, 
.modal-visual .route-progress {
    animation: drawRoute 2.5s infinite ease-in-out !important;
}

.feature-card:hover .pin, 
.modal-visual .pin {
    animation: bouncePin 2s infinite ease-in-out !important;
}

.feature-card:hover .bounce, 
.modal-visual .bounce {
    animation: bounceNotification 2s infinite ease-in-out !important;
}

/* Cursor pointer for clickable cards */
.feature-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Feature Details Modal Styles */
.feature-modal {
    border: 2px solid #ffffff;
    border-radius: 24px;
    background: #121212;
    color: var(--text-primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 900px;
    padding: 0;
    margin: auto; /* Centers the dialog */
    outline: none;
}

.light-theme .feature-modal {
    border: 2px solid #000000;
    background: #ffffff;
}

.feature-modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.light-theme .modal-close {
    background: rgba(0, 0, 0, 0.05);
}
.light-theme .modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
}

.modal-visual {
    background: transparent;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    overflow: hidden;
    flex: 1;
}

.modal-info {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.modal-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-extra-content {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-extra-content p {
    margin-bottom: 10px;
}

.modal-extra-content li {
    margin-bottom: 8px;
}

/* Alt Routes Animation */
.alt-routes-animation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    padding: 0;
}

.routes-map {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.map-bg {
    fill: #111216;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1px;
    transition: var(--transition-smooth);
}

.light-theme .map-bg {
    fill: #ffffff;
    stroke: rgba(0, 0, 0, 0.1);
}

.map-buildings rect {
    fill: rgba(255, 255, 255, 0.035);
    stroke: rgba(255, 255, 255, 0.02);
    stroke-width: 0.5px;
    transition: var(--transition-smooth);
}

.light-theme .map-buildings rect {
    fill: rgba(0, 0, 0, 0.04);
    stroke: rgba(0, 0, 0, 0.02);
}

.map-water {
    fill: #1a233a;
    opacity: 1;
    transition: var(--transition-smooth);
}

.light-theme .map-water {
    fill: #d0e1fd;
}

.map-water-label {
    fill: rgba(41, 121, 255, 0.35);
    font-size: 10px;
    font-weight: 600;
    text-anchor: middle;
}

.map-streets path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 2.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-smooth);
}

.light-theme .map-streets path {
    stroke: rgba(0, 0, 0, 0.05);
}

.base-road {
    stroke: rgba(255, 255, 255, 0.12) !important;
    stroke-width: 4px !important;
}

.light-theme .base-road {
    stroke: rgba(0, 0, 0, 0.09) !important;
}

.map-bridge {
    stroke: rgba(255, 255, 255, 0.15) !important;
    stroke-width: 3.5px !important;
}

.light-theme .map-bridge {
    stroke: rgba(0, 0, 0, 0.15) !important;
}

/* Vector Map Styling */
.map-land {
    fill: #121316;
    transition: var(--transition-smooth);
}

.light-theme .map-land {
    fill: #f5f6f8;
}

.map-park {
    fill: #14271c;
    stroke: rgba(16, 196, 0, 0.05);
    stroke-width: 0.5px;
    transition: var(--transition-smooth);
}

.light-theme .map-park {
    fill: #e2f3e5;
    stroke: rgba(16, 196, 0, 0.1);
}

.map-water {
    fill: #151e33;
    transition: var(--transition-smooth);
}

.light-theme .map-water {
    fill: #cfe2fe;
}

.map-highway {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-smooth);
}

.light-theme .map-highway {
    stroke: rgba(0, 0, 0, 0.1);
}

.map-highway-inner {
    fill: none;
    stroke: #1a1a1f;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-smooth);
}

.light-theme .map-highway-inner {
    stroke: #ffffff;
}

.map-avenue {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 2.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-smooth);
}

.light-theme .map-avenue {
    stroke: rgba(0, 0, 0, 0.08);
}

.map-street {
    fill: none;
    stroke: rgba(255, 255, 255, 0.035);
    stroke-width: 1.2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-smooth);
}

.light-theme .map-street {
    stroke: rgba(0, 0, 0, 0.04);
}

.route-path {
    fill: none;
    stroke-width: 4px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawRoute 10s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.route-fast {
    stroke: #2979ff; /* Mavi - Hızlı */
    filter: drop-shadow(0 0 4px rgba(41, 121, 255, 0.5));
}

.route-transfer {
    stroke: #ff9100; /* Turuncu - Aktarmalı */
    filter: drop-shadow(0 0 4px rgba(255, 145, 0, 0.5));
}

.route-walk {
    stroke: #af52de; /* Mor - Az Yürüme */
    filter: drop-shadow(0 0 4px rgba(175, 82, 222, 0.5));
}

@keyframes drawRoute {
    0%, 15% { stroke-dashoffset: 800; opacity: 0; }
    16% { opacity: 1; }
    60% { stroke-dashoffset: 0; opacity: 1; }
    85% { stroke-dashoffset: 0; opacity: 1; }
    95%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

.transfer-group {
    transform-box: fill-box;
    transform-origin: center;
}

.transfer-node {
    fill: #ff9100;
    stroke: #fff;
    stroke-width: 1.5px;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.transfer-group:nth-of-type(1) .transfer-node,
.transfer-group:nth-of-type(1) .node-label {
    animation: showNode1 10s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.transfer-group:nth-of-type(2) .transfer-node,
.transfer-group:nth-of-type(2) .node-label {
    animation: showNode2 10s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.node-label {
    fill: #ff9100;
    font-size: 9px;
    font-weight: 700;
    text-anchor: middle;
    opacity: 0;
}

.light-theme .node-label {
    fill: #e65100;
}

@keyframes showNode1 {
    0%, 22% { opacity: 0; transform: scale(0); }
    26%, 85% { opacity: 1; transform: scale(1); }
    95%, 100% { opacity: 0; transform: scale(0); }
}

@keyframes showNode2 {
    0%, 38% { opacity: 0; transform: scale(0); }
    42%, 85% { opacity: 1; transform: scale(1); }
    95%, 100% { opacity: 0; transform: scale(0); }
}

/* Markers */
.start-pin {
    fill: var(--accent-success);
    stroke: #fff;
    stroke-width: 1.5px;
}

.start-pin-glow {
    fill: var(--accent-success);
    opacity: 0.3;
    transform-box: fill-box;
    transform-origin: center;
    animation: markerPulse 2s infinite ease-out;
}

.end-pin {
    fill: #ff1744;
    stroke: #fff;
    stroke-width: 1.5px;
}

.end-pin-glow {
    fill: #ff1744;
    opacity: 0.3;
    transform-box: fill-box;
    transform-origin: center;
    animation: markerPulse 2s infinite ease-out 1s;
}

@keyframes markerPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
}

.map-label {
    fill: #fff;
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
}

.light-theme .map-label {
    fill: #000;
}

/* Map Background Image & Border Styles */
.map-bg-img {
    filter: invert(0.9) contrast(1.1) brightness(0.65) grayscale(0.2); /* Koyu Tema uyumu */
    transition: var(--transition-smooth);
}

.light-theme .map-bg-img {
    filter: contrast(1) brightness(0.95) grayscale(0.1); /* Açık Tema uyumu */
}

.map-border-overlay {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1.5px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.light-theme .map-border-overlay {
    stroke: rgba(0, 0, 0, 0.1);
}

/* Alt Routes Animation */
.alt-routes-animation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}



.alt-arrival-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #0a0a0f 0%, #0d1a0d 60%, #0a0a0f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 14px 14px 14px;
    z-index: 20;
    box-sizing: border-box;
}

.light-theme .alt-arrival-screen {
    background: linear-gradient(160deg, #f0f4ff 0%, #e8f5e9 60%, #f0f4ff 100%);
}

.alt-map-container {
    width: calc(100% - 12px);
    margin: 4px 6px;
    height: 140px;
    background: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.light-theme .alt-map-container {
    background: #f1f3f5;
    border-color: rgba(0, 0, 0, 0.08);
}

.alt-route-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    box-sizing: border-box;
}

.alt-route-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 3px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.light-theme .alt-route-item {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.alt-route-skeleton-text {
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.light-theme .alt-route-skeleton-text {
    background: rgba(0, 0, 0, 0.15);
}

.alt-route-skeleton-badge {
    width: 32px;
    height: 14px;
    border-radius: 4px;
}

.alt-route-arrow {
    width: 16px !important;
    height: 16px !important;
    color: var(--text-secondary);
    margin: 0 4px;
}

.route-top-row {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: var(--text-secondary);
    font-weight: 600;
}

.route-icon {
    width: 10px !important;
    height: 10px !important;
    color: var(--text-secondary);
}

.route-chevron {
    width: 10px !important;
    height: 10px !important;
    color: var(--text-secondary);
    opacity: 0.5;
}

.route-badge {
    border-radius: 3px;
    padding: 1px 4px;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
}

.badge-blue { background: #3b82f6; }
.badge-orange { background: #f97316; }
.badge-purple { background: #a855f7; }

.route-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-type {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 600;
}

.route-type-icon {
    width: 10px !important;
    height: 10px !important;
}

.route-fastest { color: #3b82f6; }
.route-cheapest { color: #22c55e; }
.route-minwalk { color: #a855f7; }

.route-duration {
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: var(--text-primary);
}

.route-duration-val {
    font-size: 15px;
    font-weight: 800;
}

.route-duration-unit {
    font-size: 9px;
    font-weight: 600;
}

.no-shake {
    animation: none !important;
}

.feature-card:hover .no-shake,
.modal-visual .no-shake {
    animation: none !important;
}


/* Routes Overlay & Animation */
.routes-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}

.route-path {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    opacity: 0.9;
}

.route-blue { stroke: #3b82f6; }
.route-orange { stroke: #f97316; }
.route-purple { stroke: #a855f7; }

.start-pin-svg { fill: #22c55e; }
.end-pin-svg { fill: #ef4444; }

.route-pin {
    opacity: 0;
}

/* Play animations on hover of the feature card */
.feature-card:hover .route-path,
.modal-visual .route-path {
    animation: drawAltRoute 4s forwards cubic-bezier(0.25, 1, 0.5, 1) !important;
    animation-delay: 0.5s !important; 
}

.feature-card:hover .route-pin,
.modal-visual .route-pin {
    animation: fadeInPin 0.5s forwards ease-out !important;
}

.feature-card:hover .end-pin-svg,
.modal-visual .end-pin-svg {
    animation-delay: 4.5s !important; 
}


@keyframes drawAltRoute {
    0% { stroke-dashoffset: 2000; }
    100% { stroke-dashoffset: 0; }
}

@keyframes fadeInPin {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* =========================================
   APP ARRIVAL SCREEN (Akıllı Durak Uyarısı - App Opens)
   ========================================= */

/* The arrival screen slides up from the bottom after notification is tapped */
.app-arrival-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #0a0a0f 0%, #0d1a0d 60%, #0a0a0f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 14px 14px 14px;
    z-index: 20;
    /* Hidden by default */
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.light-theme .app-arrival-screen {
    background: linear-gradient(160deg, #f0f4ff 0%, #e8f5e9 60%, #f0f4ff 100%);
}

/* Animation: app launch zoom-in after tap (~35% of 12s = 4.2s) */
@keyframes arrivalScreenShow {
    /* Hidden during feed + notification + tap */
    0%, 34% { opacity: 0; transform: scale(0.9); }
    /* Zoom in - app launch feel */
    38% { opacity: 1; transform: scale(1.04); }
    /* Settle */
    43%, 93% { opacity: 1; transform: scale(1); }
    /* Fade out at end */
    97%, 100% { opacity: 0; transform: scale(0.94); }
}

/* Status bar */
.arrival-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    z-index: 30;
    box-sizing: border-box;
    pointer-events: none;
}

.arrival-time {
    font-size: 0.58rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: #fff;
}

.light-theme .arrival-time {
    color: #1c1e21;
}

.arrival-status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.light-theme .arrival-status-icons {
    color: rgba(0, 0, 0, 0.7);
}

.arrival-status-icons i,
.arrival-status-icons svg.lucide {
    width: 10px !important;
    height: 10px !important;
    display: inline-block;
    opacity: 0.95;
}

/* App Header */
.arrival-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    padding: 0 6px;
}

.arrival-city-mock {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    width: 56px;
    height: 18px;
}

.light-theme .arrival-city-mock {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

.arrival-city-skeleton {
    background: rgba(255, 255, 255, 0.2);
    height: 6px;
    width: 100%;
    border-radius: 3px;
}

.light-theme .arrival-city-skeleton {
    background: rgba(0, 0, 0, 0.15);
}

.arrival-logo {
    width: 20px;
    height: 20px;
}


/* Main Arrival Card */
.arrival-main-card {
    background: rgba(16, 196, 0, 0.08);
    border: 1px solid rgba(16, 196, 0, 0.25);
    border-radius: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.light-theme .arrival-main-card {
    background: rgba(16, 196, 0, 0.06);
    border-color: rgba(16, 196, 0, 0.3);
}

/* Pulsing Icon */
.arrival-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
}

.arrival-pulse-ring {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(16, 196, 0, 0.6);
    opacity: 0;
    transform: scale(0.8);
}

.arrival-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 12px rgba(16, 196, 0, 0.5);
}

.arrival-icon-circle svg,
.arrival-icon-circle i {
    width: 20px !important;
    height: 20px !important;
}
@keyframes arrivalPulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    80% { transform: scale(2); opacity: 0; }
    100% { transform: scale(2); opacity: 0; }
}

/* Text elements */
.arrival-main-text {
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #ff6b60; /* Soft warning red */
    line-height: 1.3;
    text-align: center;
    padding: 2px 4px;
}

.light-theme .arrival-main-text {
    color: #d32f2f; /* Darker red for light theme contrast */
}


/* Live Map Container & SVG styles */
.arrival-map-container {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: -16px;
    margin-top: 12px;
    background: #0d0f14;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.light-theme .arrival-map-container {
    background: #f1f3f5;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.arrival-map-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Faint Grid Lines representing streets */
.arrival-map-street {
    fill: none;
    stroke: rgba(255, 255, 255, 1);
    stroke-width: 2.4px;
}

.light-theme .arrival-map-street {
    stroke: rgba(0, 0, 0, 1);
}

/* Purple Route Lines */
.arrival-map-route-glow {
    fill: none;
    stroke: #8b5cf6;
    stroke-width: 4px;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    filter: blur(2px);
}

.arrival-map-route {
    fill: none;
    stroke: #8b5cf6;
    stroke-width: 2.2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Red Destination Target */
.arrival-map-dest {
    fill: #ef4444;
}

.arrival-map-dest-pulse {
    fill: #ef4444;
    opacity: 0;
    transform-origin: 145px 65px;
    animation: destPulse 1.8s infinite ease-out;
}

@keyframes destPulse {
    0% { transform: scale(0.5); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Green start and middle dots on map route */
.arrival-map-start-dot,
.arrival-map-mid-dot {
    fill: #22c55e;
    stroke: #ffffff;
    stroke-width: 1px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.arrival-exit-alert svg {
    flex-shrink: 0;
    color: #ff6b60;
}

.light-theme .arrival-exit-alert {
    background: rgba(255, 59, 48, 0.10);
    border-color: rgba(255, 59, 48, 0.3);
    color: #d32f2f;
}

.light-theme .arrival-exit-alert svg {
    color: #d32f2f;
}

@keyframes exitAlertPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
    50% { box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.2); }
}

/* Progress Section */
.arrival-progress-section {
    width: 100%;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.arrival-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.arrival-progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    position: relative;
    overflow: visible;
}

.light-theme .arrival-progress-track {
    background: rgba(0, 0, 0, 0.08);
}

.arrival-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    width: 0%;
    box-shadow: 0 0 6px rgba(16, 196, 0, 0.5);
}

@keyframes arrivalFillProgress {
    /* stays at 0 while screen is hidden */
    0%, 59% { width: 0%; }
    /* animates fill when screen is visible */
    68%, 93% { width: 75%; }
    /* resets */
    97%, 100% { width: 0%; }
}

.arrival-progress-dot {
    position: absolute;
    top: 50%;
    left: 75%;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #0a0a0f;
    box-shadow: 0 0 6px rgba(16, 196, 0, 0.8);
    z-index: 2;
}

.light-theme .arrival-progress-dot {
    border-color: #f0f4ff;
}

/* Bottom info row */
.arrival-info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    width: 100%;
    padding: 8px 0;
    flex-shrink: 0;
}

.light-theme .arrival-info-row {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.arrival-info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.arrival-info-val {
    font-size: 0.9rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1;
}

.light-theme .arrival-info-val {
    color: #1c1e21;
}

.arrival-info-lbl {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.8;
}

.arrival-info-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.light-theme .arrival-info-divider {
    background: rgba(0, 0, 0, 0.08);
}

/* =========================================
   NOTIFICATION TAP CURSOR ANIMATION
   ========================================= */

/* Tap cursor container - positioned over the notification */
.notif-tap-cursor {
    position: absolute;
    /* Center horizontally, positioned at notification area */
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    z-index: 35;
    opacity: 0;
    pointer-events: none;
}

/* The solid tap dot (finger press indicator) */
.tap-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Ripple waves that spread out from tap point */
.tap-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

/* Keyframes: tap cursor container fades in/out */
@keyframes tapCursorAppear {
    /* Hidden until just before tap */
    0%, 25% { opacity: 0; }
    /* Appear at tap moment */
    27%, 33% { opacity: 1; }
    /* Fade out when notification is gone */
    36%, 100% { opacity: 0; }
}

/* Keyframes: the tap dot (press down → hold → release) */
@keyframes tapDotPress {
    0%, 25% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    /* Appear */
    27% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    /* Press down */
    29% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    /* Hold */
    30.5% { transform: translate(-50%, -50%) scale(0.85); opacity: 1; }
    /* Release */
    32% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
    /* Fade */
    35%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* Keyframes: first ripple ring spreads out */
@keyframes tapRipple1 {
    0%, 28% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    29% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
    35% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* Keyframes: second ripple ring (delayed) */
@keyframes tapRipple2 {
    0%, 29% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    31% { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
    38% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* Apply tap cursor animations on card hover */
.feature-card:hover .notif-tap-cursor,
.modal-visual .notif-tap-cursor {
    animation: tapCursorAppear 24s infinite ease-in-out !important;
}

.feature-card:hover .tap-dot,
.modal-visual .tap-dot {
    animation: tapDotPress 24s infinite ease-in-out !important;
}

.feature-card:hover .tap-ripple:not(.tap-ripple-2),
.modal-visual .tap-ripple:not(.tap-ripple-2) {
    animation: tapRipple1 24s infinite ease-out !important;
}

.feature-card:hover .tap-ripple-2,
.modal-visual .tap-ripple-2 {
    animation: tapRipple2 24s infinite ease-out !important;
}

/* Stop by default */
.feature-card .notif-tap-cursor,
.feature-card .tap-dot,
.feature-card .tap-ripple,
.feature-card .map-moving-tracker {
    animation: none !important;
}

/* Play tracking animation on hover or inside the modal */
.feature-card:hover .map-moving-tracker,
.modal-visual .map-moving-tracker {
    animation: moveTracker 48s infinite linear !important;
}

/* App arrival screen: transform-origin center for zoom effect */
.app-arrival-screen {
    transform-origin: center center;
}

/* ==========================================================================
   MODAL SPECIFIC OVERRIDES (Enlarged phone inside the modal visual area)
   ========================================================================== */
/* Redundant overrides removed. Phone mockup is scaled proportionally via wrapper scale. */

/* ==========================================================================
   ALTERNATIF ROTALAR ANIMATIONS
   ========================================================================== */

/* Alt Route Click Cursor */
.alt-tap-cursor {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    z-index: 35;
    opacity: 0;
    pointer-events: none;
}

@keyframes altTapCursorAppear {
    0%, 10% { opacity: 0; transform: translate(-50%, 20px); }
    12% { opacity: 1; transform: translate(-50%, 0); }
    14% { opacity: 1; }
    15% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes altTapDotPress {
    0%, 12% { transform: scale(1); }
    13% { transform: scale(0.7); }
    14% { transform: scale(1); }
    100% { transform: scale(1); }
}

@keyframes altTapRipple {
    0%, 12% { transform: scale(0.5); opacity: 0; }
    13% { opacity: 1; }
    15% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(0.5); opacity: 0; }
}

@keyframes altRouteItemPress {
    0%, 12% { transform: scale(1); background: rgba(255,255,255,0.03); padding-bottom: 3px; }
    13% { transform: scale(0.95); background: rgba(255,255,255,0.08); padding-bottom: 3px; }
    15% { transform: scale(1); background: rgba(255,255,255,0.03); padding-bottom: 3px; }
    18%, 85% { transform: scale(1); background: rgba(255,255,255,0.05); padding-bottom: 220px; }
    90%, 100% { transform: scale(1); background: rgba(255,255,255,0.03); padding-bottom: 3px; }
}

@keyframes altRouteItemPressLight {
    0%, 12% { transform: scale(1); background: #fff; padding-bottom: 3px; }
    13% { transform: scale(0.95); background: #f0f0f0; padding-bottom: 3px; }
    15% { transform: scale(1); background: #fff; padding-bottom: 3px; }
    18%, 85% { transform: scale(1); background: #f9f9f9; padding-bottom: 220px; }
    90%, 100% { transform: scale(1); background: #fff; padding-bottom: 3px; }
}

@keyframes altRouteBasicFade {
    0%, 15% { opacity: 1; pointer-events: auto; }
    18%, 85% { opacity: 0; pointer-events: none; }
    90%, 100% { opacity: 1; pointer-events: auto; }
}

@keyframes altOtherItemsFade {
    0%, 15% { opacity: 1; transform: translateY(0); }
    18%, 85% { opacity: 0; transform: translateY(15px); pointer-events: none; }
    90%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes altExpandedDetailsFade {
    0%, 16% { opacity: 0; }
    19%, 85% { opacity: 1; }
    88%, 100% { opacity: 0; }
}

.alt-route-expanded-details {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
}

.expanded-timeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.timeline-step .step-icon {
    width: 12px;
    height: 12px;
    color: #a8a8a8;
}

.timeline-arrow {
    width: 10px;
    height: 10px;
    color: rgba(255,255,255,0.4);
    margin-left: 1px;
}

.expanded-right-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.expanded-right-info .route-duration {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.expanded-right-info .route-duration-val {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.expanded-right-info .route-duration-unit {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

.expanded-right-info .route-type {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #3b82f6;
}

.expanded-right-info .route-type-icon {
    width: 12px;
    height: 12px;
}

.light-theme .timeline-step {
    color: rgba(0,0,0,0.8);
}
.light-theme .timeline-step .step-icon {
    color: #666;
}
.light-theme .timeline-arrow {
    color: rgba(0,0,0,0.4);
}
.light-theme .expanded-right-info .route-duration-val {
    color: #111;
}
.light-theme .expanded-right-info .route-duration-unit {
    color: rgba(0,0,0,0.7);
}

.alt-route-item:first-child {
    position: relative;
}

/* Apply animations */
.feature-card:hover .alt-tap-cursor,
.modal-visual .alt-tap-cursor {
    animation: altTapCursorAppear 16s infinite ease-in-out !important;
}

.feature-card:hover .alt-tap-cursor .tap-dot,
.modal-visual .alt-tap-cursor .tap-dot {
    animation: altTapDotPress 16s infinite ease-in-out !important;
}

.feature-card:hover .alt-tap-cursor .tap-ripple,
.modal-visual .alt-tap-cursor .tap-ripple {
    animation: altTapRipple 16s infinite ease-out !important;
}
.feature-card:hover .alt-tap-cursor .tap-ripple-2,
.modal-visual .alt-tap-cursor .tap-ripple-2 {
    animation: altTapRipple 16s infinite ease-out 0.2s !important;
}

.feature-card:hover .alt-route-list .alt-route-item:first-child,
.modal-visual .alt-route-list .alt-route-item:first-child {
    animation: altRouteItemPress 16s infinite ease-in-out !important;
}

.light-theme .feature-card:hover .alt-route-list .alt-route-item:first-child,
.light-theme .modal-visual .alt-route-list .alt-route-item:first-child {
    animation: altRouteItemPressLight 16s infinite ease-in-out !important;
}

.feature-card:hover .alt-route-list .alt-route-item:not(:first-child),
.modal-visual .alt-route-list .alt-route-item:not(:first-child) {
    animation: altOtherItemsFade 16s infinite ease-in-out !important;
}

.feature-card:hover .alt-route-expanded-details,
.modal-visual .alt-route-expanded-details {
    animation: altExpandedDetailsFade 16s infinite ease-in-out !important;
}

.feature-card:hover .alt-route-list .alt-route-item:first-child .route-top-row,
.feature-card:hover .alt-route-list .alt-route-item:first-child .route-bottom-row,
.modal-visual .alt-route-list .alt-route-item:first-child .route-top-row,
.modal-visual .alt-route-list .alt-route-item:first-child .route-bottom-row {
    animation: altRouteBasicFade 16s infinite ease-in-out !important;
}

/* Pause by default */
.feature-card .alt-tap-cursor,
.feature-card .alt-tap-cursor .tap-dot,
.feature-card .alt-tap-cursor .tap-ripple,
.feature-card .alt-route-list .alt-route-item:first-child,
.feature-card .alt-route-list .alt-route-item:first-child .route-top-row,
.feature-card .alt-route-list .alt-route-item:first-child .route-bottom-row,
.feature-card .alt-route-list .alt-route-item:not(:first-child),
.feature-card .alt-route-expanded-details,
.feature-card .alt-map-container {
    animation: none !important;
}

@keyframes altRouteReveal {
    0%, 15% { opacity: 0; }
    18%, 85% { opacity: 1; }
    88%, 100% { opacity: 0; }
}

.feature-card:hover .alt-map-container .arrival-map-route,
.feature-card:hover .alt-map-container .arrival-map-route-glow,
.feature-card:hover .alt-map-container .arrival-map-mid-dot,
.feature-card:hover .alt-map-container .arrival-map-svg > g,
.modal-visual .alt-map-container .arrival-map-route,
.modal-visual .alt-map-container .arrival-map-route-glow,
.modal-visual .alt-map-container .arrival-map-mid-dot,
.modal-visual .alt-map-container .arrival-map-svg > g {
    animation: altRouteReveal 16s infinite ease-in-out !important;
}

/* Ensure they are hidden initially */
.alt-map-container .arrival-map-route,
.alt-map-container .arrival-map-route-glow,
.alt-map-container .arrival-map-mid-dot,
.alt-map-container .arrival-map-svg > g {
    opacity: 0;
}
