/* DESIGN SYSTEM & VARIABLES */
:root {
    --bg-color: #f2f7fd;
    --body-bg: #e6f4ea;
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(10, 25, 48, 0.10);
    --card-border-glow: rgba(10, 25, 48, 0.08);
    --text-primary: #0f3d82;
    --text-secondary: #1c3150;
    --accent-color: #00b047;
    --accent-gradient: linear-gradient(135deg, #00e676 0%, #00a040 100%);
    --accent-success: #00b047;
    --accent-danger: #ff1744;
    --glow-color: rgba(10, 25, 48, 0.06);
    --nav-link-color: #00b047;
    --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;
}



.logo-text {
    color: #00b047 !important;
}

.logo-text-hero {
    color: #00b047 !important;
    font-weight: 800;
}

.logo-app-box {
    background: #00b047 !important;
}

.logo-app-icon {
    color: var(--body-bg) !important;
}

.nav-link,
.lang-toggle-text,
.dropdown-arrow-icon,
.theme-toggle,
.mobile-menu-toggle {
    color: #00b047 !important;
}

.hero-title {
    color: #00b047 !important;
}

.hero-subtitle {
    color: #00b047 !important;
    font-weight: 500 !important;
}

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

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

/* HEADINGS & DESCRIPTIONS TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.waitlist-header h2,
.faq-question h3 {
    font-family: var(--font-heading) !important;
    font-weight: 400 !important;
    color: var(--text-primary);
}

.section-subtitle,
p,
.waitlist-header p,
.badge-text {
    font-family: var(--font-body) !important;
    font-weight: 400;
    color: var(--text-secondary);
}

/* 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);
}

#mockup-budget-friendly {
    color: #22c55e !important;
}

.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: #00b047;
    color: #ffffff;
    font-weight: 700;
    border-radius: 50px;
    padding: 14px 32px;
    border: 2px solid #00b047;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: transparent;
    color: #00b047;
    border-color: #00b047;
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-primary:active {
    background: rgba(0, 200, 83, 0.1);
    color: #00b047;
    border-color: #00b047;
    transform: none;
}

.hero-waitlist-btn {
    background: #00b047 !important;
    color: #ffffff !important;
    border: 2px solid #00b047 !important;
    border-radius: 50px !important;
    padding: 12px 44px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transform: none !important;
    display: inline-flex !important;
    transition: var(--transition-smooth) !important;
}

.hero-waitlist-btn:hover {
    background: transparent !important;
    color: #00b047 !important;
    border-color: #00b047 !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.hero-waitlist-btn:active {
    background: rgba(0, 200, 83, 0.1) !important;
    color: #00b047 !important;
    border-color: #00b047 !important;
    transform: none !important;
}

.btn-secondary {
    background: #ffffff;
    border: 1.5px solid rgba(10, 25, 48, 0.2);
    color: #0a1930;
    font-weight: 700;
    border-radius: 50px;
}

.btn-secondary:hover {
    background: #0a1930;
    color: #ffffff;
    border-color: #0a1930;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 25, 48, 0.2);
}

.btn-secondary {
    background: #ffffff;
    border: 1.5px solid rgba(10, 25, 48, 0.2);
    color: #0a1930;
}

.btn-secondary:hover {
    background: #0a1930;
    color: #ffffff;
    border-color: #0a1930;
}

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

.btn-block {
    width: 100%;
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    display: none;
}

.btn-glow:hover::after {
    display: none;
}

.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: 110px;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    transition: var(--transition-smooth);
    padding-top: 10px;
}

.nav-container {
    position: relative;
    z-index: 10;
    max-width: 1600px;
    width: 95%;
    height: 80px;
    margin: 45px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

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

/* Route finding logo inside a green box (App logo style) */
.logo-app-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: 11px;
    padding: 7px;
}

.logo-app-icon {
    width: 100%;
    height: 100%;
    color: var(--body-bg);
    display: block;
}

.logo-app-icon {
    color: var(--body-bg);
}

.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;
}

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

.logo-text-wrapper {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: #00b047;
}

.logo-letters-row {
    display: flex;
    align-items: flex-end;
    gap: -2px;
    direction: ltr;
}

.logo-letter {
    height: 10px;
    width: auto;
    display: inline-block;
}

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

.logo-letters-row .logo-letter:nth-child(7),
.logo-letters-row .logo-letter:nth-child(8) {
    margin-left: -3.6px;
}

.logo-letter.logo-mart-letter {
    height: 14px;
    width: auto;
    opacity: 0.9;
    margin-bottom: 2px;
}

.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;
    justify-content: center;
    gap: 40px;
    flex: 1;
}

.nav-link {
    font-family: 'Nunito', var(--font-heading) !important;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nav-link-color);
    text-decoration: none;
    transition: var(--transition-smooth) !important;
    padding: 8px 20px;
    border-radius: 30px;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.45) !important;
    color: #00b047 !important;
}

.nav-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1;
}

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

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 144px;
    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 - 144px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.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: 60px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #e6f4ea 0%, #e6f4ea 25%, #daf4e7 100%);
}

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

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-text-col::before {
    display: none;
}

.hero-text-col::before {
    display: none;
}

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

.hero-glow {
    display: 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;
}

.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);
}

.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) !important;
    font-size: clamp(2.8rem, 4.3vw, 4.2rem) !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    word-spacing: 0px !important;
    color: #00b047 !important;
    margin-bottom: 22px !important;
    text-shadow: none;
}



.upside-down {
    display: inline-block;
    transform: rotate(180deg);
}

.gradient-text .upside-down {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-body) !important;
    font-size: clamp(1.1rem, 1.3vw, 1.25rem) !important;
    font-weight: 500 !important;
    color: #00b047 !important;
    max-width: clamp(260px, 30vw, 520px) !important;
    margin: 0 0 32px 0 !important;
    line-height: 1.65 !important;
    letter-spacing: -0.01em !important;
    opacity: 0.95;
}

.hero-mobile-only {
    display: none;
}

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

/* HORIZONTAL STAT BAR STYLING */
.hero-stat-bar {
    display: none;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1050px;
    margin: 20px auto 0 auto;
    padding: 24px 0px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.hero-stat-bar {
    background: transparent;
    border: none;
}

.hero-stat-bar:hover {
    box-shadow: none;
}

.hero-stat-bar:hover {
    box-shadow: none;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

.stat-icon-wrapper {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.stat-icon-logo {
    width: 35px !important;
    height: 35px !important;
    color: #8ab4f8;
    /* Paler blue */
    margin-bottom: 0;
    stroke-width: 2.2px;
}

.stat-icon-logo.live-location-icon-big {
    width: 40px !important;
    height: 40px !important;
}

.stat-icon-logo {
    color: #6a9ce8;
    /* Paler blue for light theme */
}

.stat-main {
    font-family: var(--font-heading) !important;
    font-size: 1.4rem;
    font-weight: 700 !important;
    line-height: 1.2;
    color: #00b047;
    /* Deep solid transit blue from the screenshot */
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.stat-main {
    color: #0056d2;
}

.stat-sub {
    font-family: var(--font-body) !important;
    font-size: 0.88rem;
    font-weight: 700;
    color: #005cc5;
    /* Medium deep blue from the screenshot */
    line-height: 1.4;
    max-width: 220px;
}

.stat-sub {
    color: #004cbe;
}

.stat-divider {
    width: 1px;
    background: #cccccc;
    align-self: stretch;
    margin: 10px 0;
}

.stat-divider {
    background: #cccccc;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 768px) {
    .hero-stat-bar {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        padding: 24px 0;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
        background: #cccccc;
        margin: 8px 0;
    }

    .stat-divider {
        background: #cccccc;
    }

    .stat-item {
        padding: 0;
        width: 100%;
    }

    .stat-sub {
        max-width: 100%;
    }
}

/* HERO MOCKUP & LIVE INTERACTIVE WIDGET */
.hero-subtitle-mobile {
    display: none !important;
}

.hero-actions-mobile {
    display: none !important;
}

.hero-map-img {
    position: absolute;
    width: 240px;
    max-width: none;
    height: auto;
    left: 50%;
    top: 30%;
    transform: translate(-10px, -50%) rotate(-30deg);
    transform-origin: center;
    z-index: 1;
    opacity: 0.85;
    pointer-events: none;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.hero-tramway-img {
    position: absolute;
    width: 180px;
    height: auto;
    left: calc(50% + 85px);
    top: calc(65% + 40px);
    transform: translateY(-50%) rotate(60deg);
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    transition: var(--transition-smooth);
}

.hero-cats-img {
    position: absolute;
    width: 200px;
    height: auto;
    left: calc(50% - 290px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    transition: var(--transition-smooth);
}

.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;
    transition: background 0.6s ease;
    height: 250vh;
}

.features-section .container {
    max-width: 100%;
    position: sticky;
    top: 5vh;
}

.features-section.tab-0 {
    background: linear-gradient(to bottom, #ffffff 0%, #fffbeb 200px, #fffbeb calc(100% - 200px), #ffffff 100%);
}

.features-section.tab-1 {
    background: linear-gradient(to bottom, #ffffff 0%, #eff6ff 200px, #eff6ff calc(100% - 200px), #ffffff 100%);
}

.features-section.tab-2 {
    background: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 200px, #f1f5f9 calc(100% - 200px), #ffffff 100%);
}

.features-section.tab-3 {
    background: linear-gradient(to bottom, #ffffff 0%, #fef2f2 200px, #fef2f2 calc(100% - 200px), #ffffff 100%);
}

.features-showcase {
    position: relative;
    width: 1325px;
    max-width: 95vw;
    margin: 40px auto;
    border-radius: 72px;
    padding: 50px 50px;
    min-height: 720px;
    height: 720px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    border: none;
    overflow: hidden;
}

/* Theme states for the unified showcase container */
.features-showcase.tab-0 {
    background: radial-gradient(circle at center, #FFF176 0%, #F57F17 100%);
    box-shadow: 0 30px 100px rgba(245, 127, 23, 0.15);
}
.features-showcase.tab-0:hover {
    box-shadow: 0 40px 120px rgba(245, 127, 23, 0.25);
}

.features-showcase.tab-0 h3,
.features-showcase.tab-0 p,
.features-showcase.tab-0 .feature-extended-details p,
.features-showcase.tab-0 .feature-extended-details li {
    color: #4A148C !important;
}

.features-showcase.tab-1 {
    background: radial-gradient(circle at center, #54a0ff 0%, #0052cc 100%);
    box-shadow: 0 30px 100px rgba(0, 82, 204, 0.12);
}
.features-showcase.tab-1:hover {
    box-shadow: 0 40px 120px rgba(0, 82, 204, 0.22);
}

.features-showcase.tab-1 h3,
.features-showcase.tab-1 p,
.features-showcase.tab-1 .feature-extended-details p,
.features-showcase.tab-1 .feature-extended-details li {
    color: #FFB300 !important;
}

.features-showcase.tab-3 {
    background: radial-gradient(circle at center, #ff4d4d 0%, #b21f1f 100%);
    box-shadow: 0 30px 100px rgba(178, 31, 31, 0.12);
}
.features-showcase.tab-3:hover {
    box-shadow: 0 40px 120px rgba(178, 31, 31, 0.22);
}


.features-showcase.tab-2 {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 30px 100px rgba(15, 23, 42, 0.12);
}
.features-showcase.tab-2:hover {
    box-shadow: 0 40px 120px rgba(15, 23, 42, 0.22);
}

/* Icon Styles */
.feature-active-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px auto;
    display: block;
    color: #ffffff;
}

.features-showcase.tab-0 .feature-active-icon {
    color: #4A148C;
}

.features-showcase.tab-1 .feature-active-icon {
    color: #FFB300;
}

.feature-content h3 {
    text-align: center;
}

.features-showcase:hover {
    /* No vertical translation on hover */
}

.features-tabs-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.feature-tab-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

/* Specific styling for the tab button inside the yellow theme */
.features-showcase.tab-0 .feature-tab-btn {
    border-color: rgba(74, 20, 140, 0.15);
    background: rgba(74, 20, 140, 0.08);
    color: rgba(74, 20, 140, 0.7);
}

.features-showcase.tab-0 .feature-tab-btn.active {
    background: #4A148C;
    color: #ffffff;
    border-color: #4A148C;
    box-shadow: 0 10px 20px rgba(74, 20, 140, 0.2);
}

.features-showcase.tab-1 .feature-tab-btn.active {
    background: #FF9800;
    color: #ffffff;
    border-color: #FF9800;
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.2);
}

/* Default active tab button for blue/red themes */
.feature-tab-btn.active {
    background: #ffffff;
    color: var(--text-primary);
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.features-cards-container {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.features-cards-container .feature-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
    min-height: auto;
}

.features-cards-container .feature-card.active {
    position: relative;
    height: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.features-cards-container .feature-card.active {
    transform: none !important;
    box-shadow: none !important;
}

.feature-card {
    display: flex;
    flex-direction: row;
    transition: var(--transition-smooth);
    border: none;
    height: 100%;
}

.feature-card.active {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-visual {
    flex: 1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.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(1.0) !important;
    transform-origin: center center;
    animation: none !important;
}

.feature-card .feature-phone-mockup,
.feature-card.active .feature-phone-mockup {
    animation: none !important;
}

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

.modal-visual .alt-routes-phone-wrapper {
    transform: scale(1.1);
    transform-origin: center center;
}

/* Feature Phone Mockup Animation */
.feature-phone-mockup {
    width: 260px;
    height: 500px;
    background: #111;
    border-radius: 36px;
    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 - 4x faster */
    17.25% {
        transform: translateX(-4px) rotate(-2deg);
    }

    17.5% {
        transform: translateX(4px) rotate(2deg);
    }

    17.75% {
        transform: translateX(-4px) rotate(-2deg);
    }

    18% {
        transform: translateX(3px) rotate(1deg);
    }

    18.25%,
    100% {
        transform: translateX(0);
    }
}

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

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

.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);
}

.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;
}

.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;
}

.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);
}

.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);
}

.mock-line {
    background: rgba(0, 0, 0, 0.1);
}

.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;
}

.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;
}

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

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

.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 - 4x daha hızlı */
    0%,
    17% {
        transform: translateX(0);
    }

    17.25% {
        transform: translateX(-3px) rotate(-1.5deg);
    }

    17.5% {
        transform: translateX(3px) rotate(1.5deg);
    }

    17.75% {
        transform: translateX(-3px) rotate(-1.5deg);
    }

    18% {
        transform: translateX(3px) rotate(1.5deg);
    }

    18.25%,
    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;
}

.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: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card h3,
.feature-card p,
.feature-card .feature-extended-details p,
.feature-card .feature-extended-details li {
    color: #ffffff !important;
}

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

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800 !important;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.feature-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 992px) {
    .feature-card {
        flex-direction: column !important;
        border-radius: 72px;
    }

    .feature-content {
        padding: 40px 30px;
        text-align: center;
    }

    .feature-content h3 {
        font-size: 2.8rem;
    }

    .feature-visual {
        padding: 30px;
    }
}

@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) !important;
    font-size: 4rem;
    font-weight: 600 !important;
    line-height: 1.25;
    letter-spacing: 0px;
    word-spacing: 2px;
    margin-bottom: 16px;
}

.features-section .section-title {
    color: #4A148C !important;
}

.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);
    }
}


/* WAITLIST & FORM */
.waitlist {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, #daf4e7 0%, #daf4e7 50%, #e6f4ea 100%);
}

.waitlist-glow {
    display: 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);
}

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

.waitlist-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.waitlist-wrapper {
    max-width: 86%;
    margin: 40px auto;
    border-radius: 72px;
    padding: 80px;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at center, #00d656 0%, #008c37 100%) !important;
    border: none !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08) !important;
}

.waitlist-wrapper h2,
.waitlist-wrapper p {
    color: #ffffff !important;
}

/* Waitlist Multi-Step Grid columns */
.waitlist-columns {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Steps tabs navigation styling */
.waitlist-steps-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.step-tab {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    background: #1b7a43;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-tab.active {
    background: #FAF6EE;
    color: #124c2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Form column (Right Side - directly on green) */
.waitlist-form-col {
    width: 100%;
}

.waitlist-form-col label {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
}

.form-step {
    display: block;
}

.form-step.active {
    display: block;
    animation: waitlistFormFade 0.4s ease-in-out;
}

@keyframes waitlistFormFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 380px;
}

/* Next / Submit Button styling */
.btn-next {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #1b7a43;
    color: #ffffff !important;
    border: none;
    padding: 14px 24px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin-top: 15px;
    margin-left: 38px;
    width: calc(100% - 38px);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-next:disabled {
    cursor: default;
    opacity: 0.65;
}

.btn-next:not(:disabled) {
    background: #ffffff;
    color: #124c2a !important;
}

.btn-next:not(:disabled):hover {
    background: #124c2a;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: none;
}

.btn-next:not(:disabled):active {
    background: #008f4c;
    color: #ffffff !important;
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp-join {
    background: #00b047 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 28px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: var(--transition-smooth) !important;
    margin-top: 10px !important;
    margin-left: 0 !important;
}

.btn-whatsapp-join:hover {
    background: #ffffff !important;
    color: #00b047 !important;
    border-color: #ffffff !important;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.btn-whatsapp-join:active {
    background: #e6f4ea !important;
    color: #00b047 !important;
    border-color: #ffffff !important;
    transform: none !important;
}

.next-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.next-icon-circle svg,
.next-icon-circle i {
    width: 18px;
    height: 18px;
}

/* Left side Text column styling */
.waitlist-info-col {
    text-align: left;
    padding-left: 130px;
}

.waitlist-info-col h2 {
    font-size: 4.5rem;
    font-weight: 800 !important;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.waitlist-info-col p {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 1;
    max-width: 90%;
    font-weight: 500;
    color: #ffffff;
}

@media (max-width: 992px) {
    .waitlist-columns {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .waitlist-info-col {
        order: -1;
        text-align: center;
    }

    .waitlist-info-col h2 {
        font-size: 2.8rem;
    }

    .waitlist-steps-tabs {
        justify-content: center;
    }
}

.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;
    display: none;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.input-icon {
    position: static !important;
    left: auto !important;
    width: 22px;
    height: 22px;
    min-width: 22px;
    color: #ffffff !important;
    flex-shrink: 0;
}

.city-autocomplete-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

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

.waitlist-form textarea {
    resize: none;
    min-height: 100px;
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.25);
}

/* Fix for browser autofill (autocomplete) background color bug */
.waitlist-form input:-webkit-autofill,
.waitlist-form input:-webkit-autofill:hover, 
.waitlist-form input:-webkit-autofill:focus, 
.waitlist-form input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #ffffff !important;
}

.waitlist-form .input-icon {
    color: #ffffff !important;
}

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

/* KVKK Checkbox & Glass Input Row */
.kvkk-consent-row {
    padding-left: 38px;
    margin-top: 10px;
    width: 100%;
}

.kvkk-field-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    width: 100%;
    margin-bottom: 0 !important;
    cursor: pointer;
    user-select: none;
}

.kvkk-field-label input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.kvkk-custom-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.kvkk-custom-checkbox svg,
.kvkk-custom-checkbox i {
    width: 11px;
    height: 8px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.kvkk-field-label input[type="checkbox"]:checked + .kvkk-custom-checkbox {
    background: #ffffff;
    border-color: #ffffff;
}

.kvkk-field-label input[type="checkbox"]:checked + .kvkk-custom-checkbox svg,
.kvkk-field-label input[type="checkbox"]:checked + .kvkk-custom-checkbox i {
    opacity: 1;
    transform: scale(1);
}

.kvkk-label-text {
    font-size: 0.92rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.3;
}

.kvkk-label-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
}

/* KVKK Dedicated Modal Styling */
.kvkk-modal-dialog {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0f1d32;
    color: #ffffff;
    border-radius: 24px;
    padding: 0;
    max-width: 640px;
    width: 92%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.kvkk-modal-dialog::backdrop {
    background: rgba(10, 20, 35, 0.75);
    backdrop-filter: blur(8px);
}

.kvkk-modal-wrapper {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.kvkk-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.kvkk-modal-title-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kvkk-modal-icon-bg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(39, 174, 96, 0.2);
    border: 1px solid rgba(39, 174, 96, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008c37;
}

.kvkk-modal-header h3 {
    font-size: 1.35rem;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0;
}

.kvkk-modal-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 2px;
}

.kvkk-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

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

.kvkk-modal-body {
    padding: 28px;
    overflow-y: auto;
    max-height: 480px;
    scroll-behavior: smooth;
}

.kvkk-modal-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    white-space: pre-wrap;
    font-family: var(--font-body);
}

.modal-kvkk-check-box {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.modal-kvkk-check-box:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
}

.kvkk-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

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

.waitlist-error-card {
    background: rgba(255, 23, 68, 0.22);
    border: 1px solid rgba(255, 23, 68, 0.5);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 10px;
    margin-left: 38px;
    width: calc(100% - 38px);
    line-height: 1.4;
    text-align: center;
    animation: waitlistFormFade 0.3s ease-in-out;
}

.waitlist-error-card.hidden {
    display: none !important;
}

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

/* ============================================================
   CITY AUTOCOMPLETE DROPDOWN
   ============================================================ */

.city-autocomplete-wrapper,
.country-autocomplete-wrapper {
    position: relative;
    flex-direction: column;
    align-items: stretch;
}

/* Country select specific positioning */
#country-select-wrapper {
    position: relative;
}

/* Fixed positioning for input icons when autocomplete open */
.city-autocomplete-wrapper .input-icon,
.country-autocomplete-wrapper .input-icon {
    top: 24px;
    transform: translateY(-50%);
}

#country-select-wrapper.is-open #user-country {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

#country-select-wrapper.is-open #user-country {
    background: #ffffff;
    border-color: var(--accent-color);
}

/* Pin icon stays fixed at input center when dropdown is open */
.city-autocomplete-wrapper .input-icon {
    top: 50%;
    transform: translateY(-50%);
}

/* The search icon on the right side */
.city-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 17px;
    height: 17px;
    color: #ffffff;
    pointer-events: none;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
    opacity: 0.6;
}

.city-autocomplete-wrapper.is-open .city-search-icon,
.country-autocomplete-wrapper.is-open .city-search-icon {
    opacity: 1;
    color: #ffffff;
    transform: translateY(-50%) rotate(180deg);
}

.city-search-icon.loading svg {
    animation: city-spin 0.8s linear infinite;
}

@keyframes city-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* When dropdown is open, expand the wrapper height to accommodate dropdown */
.city-autocomplete-wrapper.is-open #user-city,
.country-autocomplete-wrapper.is-open #user-country {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

/* Dropdown container — slides down from under the input */
.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: #008c37;
    border: 2px solid #ffffff;
    border-top: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;

    /* Closed state */
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.22s ease,
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-autocomplete-wrapper.is-open .city-dropdown,
.country-autocomplete-wrapper.is-open .city-dropdown {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.city-dropdown-inner {
    overflow-y: auto;
    max-height: 260px;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 196, 0, 0.3) transparent;
}

.city-dropdown-inner::-webkit-scrollbar {
    width: 4px;
}

.city-dropdown-inner::-webkit-scrollbar-track {
    background: transparent;
}

.city-dropdown-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

/* Each city option row */
.city-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.15s ease;
    user-select: none;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.city-option:hover,
.city-option.is-focused {
    background: rgba(255, 255, 255, 0.15);
}

.city-option-flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
    overflow: hidden;
    display: inline-block;
}

.city-option-name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    flex: 1;
}

.city-option-country {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* Highlight matched portion */
.city-option-name mark {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 800;
    border-radius: 4px;
    padding: 0 2px;
}

/* Empty / no results message */
.city-dropdown-empty {
    padding: 16px 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Removed light theme overrides that broke the styling */

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

.success-icon {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-icon i,
.success-icon svg {
    width: 96px;
    height: 96px;
}

.waitlist-success-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff !important;
}

.waitlist-success-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.waitlist-success-card p strong {
    color: #ffffff !important;
}

.waitlist-stats {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 20px;
    max-width: 300px;
    margin: 0 auto;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff !important;
}

.stat-lbl {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase;
    font-weight: 600;
}

/* FAQ SECTION */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #bbf7d0 100%);
}

.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);
}

.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);
}

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

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


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

.footer {
    border-top-color: rgba(0, 0, 0, 0.05);
    background: #e6f4ea;
}

.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.2rem;
    }

    .hero-grid {
        gap: 30px;
    }

}

/* Hero görselleri: viewport kenarından 5px boşluk kalacak şekilde küçülme */
@media (max-width: 767px) {
    /* kedilifinal — sağ kenarı 50vw-90px'de sabit, sol kenardan 5px boşluk */
    .hero-cats-img {
        width: clamp(50px, calc(50vw - 95px), 200px) !important;
        left: auto !important;
        right: calc(50% + 90px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* metramap — sol kenarı 50vw'da sabit, görsel sağ kenardan 5px boşluk
       translate(-10px) + rotate(-30deg) görsel genişliği ~35px artırıyor: 50vw + 5 - 35 = 50vw - 30px */
    .hero-map-img {
        width: clamp(80px, calc(50vw - 30px), 240px) !important;
        left: 50% !important;
        transform: translate(-10px, -50%) rotate(-30deg) !important;
    }

    /* tramway — sol kenarı 50vw+85px'de sabit, sağ kenardan 5px boşluk */
    .hero-tramway-img {
        width: clamp(50px, calc(50vw - 90px), 180px) !important;
        left: calc(50% + 85px) !important;
        transform: translateY(-50%) rotate(60deg) !important;
    }
}

@media (max-width: 768px) {
    .hero-subtitle-mobile {
        display: block !important;
        text-align: center;
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto 20px auto !important;
        color: #00b047 !important;
        font-family: var(--font-heading) !important;
        font-weight: 600 !important;
        font-size: 1.25rem !important;
        line-height: 1.6;
        padding: 0 8px !important;
    }

    .hero-actions-mobile {
        display: none !important;
    }

    .hero-waitlist-btn-mobile {
        padding: 14px 32px !important;
        font-size: 1rem !important;
        border-radius: 50px !important;
        font-weight: 700 !important;
    }

    .nav-container {
        margin: 2px auto 0 !important;
        height: 48px !important;
        padding: 0 16px !important;
    }

    .logo-text-wrapper {
        display: none !important;
    }

    .logo-app-box {
        width: 32px !important;
        height: 32px !important;
        padding: 5px !important;
        border-radius: 8px !important;
    }

    .mobile-drawer {
        top: 50px !important;
    }

    .mobile-drawer.open {
        height: calc(100vh - 50px) !important;
    }

    .hero {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .waitlist {
        padding: 40px 0 !important;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle svg {
        width: 20px !important;
        height: 20px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.6rem !important;
        margin-bottom: 24px !important;
    }

    .hero-subtitle {
        display: none !important;
    }

    .hero-actions {
        display: none !important;
    }

    .hero-actions .store-btn {
        width: 100%;
        max-width: 220px;
        display: flex;
        justify-content: center;
    }

    .phone-container-3d {
        width: 290px;
        height: 570px;
    }

    .iphone-3d-mockup {
        width: 250px;
        height: 510px;
    }
}

.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: 630px;
    margin: 0 auto;
    perspective: 1500px;
}

.iphone-3d-mockup {
    width: 280px;
    height: 570px;
    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 DEFAULT FONT ENFORCEMENT */
.iphone-screen,
.iphone-screen *,
.feature-phone-screen,
.feature-phone-screen * {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.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: none;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    flex-shrink: 0;
    padding: 0;
}

.theme-toggle:hover {
    color: var(--text-primary);
    background: none;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle {
    border: none;
}

.theme-toggle:hover {
    background: none;
}

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

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

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

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

/* LANGUAGE SELECTOR CONTAINER */
.lang-selector-container {
    position: relative;
    display: inline-block;
}

.lang-toggle-text {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 20px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 30px;
}

.lang-toggle-text:hover {
    color: var(--text-primary);
}

.lang-toggle-text .dropdown-arrow {
    font-size: 0.8em;
    margin-top: 2px;
}

.lang-toggle {
    display: none;
}

/* DROP-DOWN MENU */
.lang-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 140px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.lang-dropdown {
    background: rgba(230, 244, 234, 0.85); /* semi-transparent header color */
    border-color: rgba(0, 200, 83, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lang-dropdown button {
    background: none;
    border: none;
    text-align: left;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
    background: var(--accent-color);
    color: #ffffff;
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
    background: var(--accent-color);
    color: #ffffff;
}

/* MOBILE LANG SELECTOR ROW */
.mobile-lang-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    justify-content: center;
}

.mobile-lang-row {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.mobile-lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.mobile-lang-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

/* 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-top: -5px; /* pulled upwards closer to status bar */
    margin-bottom: 4px;
}

.city-selector {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 8px; /* smaller padding */
    border-radius: 20px;
    font-size: 0.54rem; /* shrunken font size */
    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 {
    background: transparent;
    border-radius: 0;
    padding: 6px 12px;
    margin-left: 14px !important;
    margin-right: 14px !important;
    margin-top: 2px !important;
    margin-bottom: 29px !important;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    height: 76px;
    box-shadow: none;
}

.route-vertical-rect {
    position: absolute;
    left: 8px; /* shifted left to make room for wider inputs */
    top: 10px; /* extended to start higher */
    bottom: 10px; /* extended to end lower */
    width: 12px; /* narrowed capsule track */
    background: rgba(255, 255, 255, 0.25); /* white semi-transparent capsule track */
    border-radius: 6px; /* rounded capsule corners */
    box-sizing: border-box;
}

.route-rect-icon {
    display: block;
    position: absolute;
    left: 50%;
}

.route-rect-icon.start-icon {
    color: #ffffff !important; /* white triangle icon */
    fill: #ffffff;
    width: 7px; /* shrunken triangle (30% smaller) */
    height: 7px;
    top: 8px; /* sits exactly at the center of the first box */
    transform: translate(-50%, -50%);
}

.route-rect-icon.end-icon {
    color: #ffffff !important; /* white square icon */
    fill: #ffffff;
    width: 8px; /* shrunken square (30% smaller) */
    height: 8px;
    bottom: 8px; /* sits exactly at the center of the second box */
    transform: translate(-50%, 50%);
}

.route-inputs-col {
    position: absolute;
    left: 24px; /* widened inputs by shifting left edge */
    right: 24px; /* widened inputs by shifting right edge */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.route-swap-btn {
    position: absolute;
    right: 4px; /* shifted to the right edge to match wider inputs */
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff; /* white filled circle button */
    border: none;
    color: #00b047 !important; /* brand blue icon color inside the white circle */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 18px; /* circular button size */
    height: 18px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* highly visible shadow */
    transition: all 0.2s ease;
    z-index: 10;
}

.route-swap-btn i,
.route-swap-btn svg {
    width: 10px !important; /* smaller icon inside the circle */
    height: 10px !important;
}

.route-swap-btn:hover {
    opacity: 1;
}

.route-separator-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.15); /* semi-transparent white line on blue background */
    margin: 0 0 10px 0;
    box-sizing: border-box;
}

.search-box-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.12) !important; /* darker blue inside the blue card */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px; /* fully rounded pill shape */
    padding: 3px 12px; /* padding adjusted for pill shape */
    font-size: 0.72rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12) !important; /* inner shadow */
}

.search-box-item .search-text {
    color: #ffffff !important; /* white text inside inputs */
    font-weight: 500;
}

.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;
    justify-content: flex-end; /* Align elements to the bottom just above the navigation bar */
    gap: 6px;
    overflow-y: auto;
    padding-bottom: 46px; /* Shifted slightly lower */
}

/* 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;
}

/* New route badges */
.line-badge.badge-t1 {
    background-color: #e53935;
}

.line-badge.badge-m3 {
    background-color: #00897b;
}

.line-badge.badge-e5 {
    background-color: #43a047;
}

.line-badge.badge-m4 {
    background-color: #f4511e;
}

.line-badge.badge-t3 {
    background-color: #3949ab;
}

.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 {
    height: 14px !important;
    font-size: 0.5rem !important;
    border-radius: 3px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.route-flow .line-badge.badge-30m {
    width: 36px !important;
}

.route-flow .line-badge.badge-m2,
.route-flow .line-badge.badge-f1,
.route-flow .line-badge.badge-t1,
.route-flow .line-badge.badge-m3,
.route-flow .line-badge.badge-e5,
.route-flow .line-badge.badge-m4,
.route-flow .line-badge.badge-t3 {
    width: 26px !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 16px 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: 24px;
    height: 24px;
    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: 20px;
    height: 20px;
    opacity: 0.9;
}

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

.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 */
.iphone-screen {
    background: #00b047; /* solid premium blue theme for the entire screen */
    color: #ffffff; /* white text color for high contrast */
}

.phone-app-logo {
    filter: brightness(0) invert(1) !important; /* use white version of the logo */
}

.city-selector {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

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

.search-box-item {
    background: rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.transit-line-card,
.stop-card-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    color: #1f2328; /* keep transit cards dark text for readability */
}

.group-title {
    color: rgba(255, 255, 255, 0.8) !important;
}

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

.phone-tab-bar {
    background: #00b047 !important; /* Premium brand solid blue */
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 6px 0 10px 0 !important;
}

.tab-icon-wrapper {
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tab-item {
    color: rgba(255, 255, 255, 0.9) !important; /* Bright white unselected text */
}

.tab-item.active {
    color: #ffffff !important; /* Bright white selected text */
}

.tab-icon-svg {
    filter: invert(1) brightness(2) !important; /* Bright white unselected icons */
    opacity: 1 !important;
    width: 22px !important;
    height: 22px !important;
}

.tab-item.active .tab-icon-svg {
    filter: brightness(0) saturate(100%) invert(45%) sepia(86%) saturate(474%) hue-rotate(91deg) brightness(96%) contrast(104%) !important; /* Matches exactly #00b047 */
    opacity: 1 !important;
}

.tab-item.active .tab-icon-wrapper {
    background-color: #ffffff !important; /* White box background */
    border-radius: 6px !important;
}

/* Gesture Navigation Bar */
.iphone-screen::after,
.feature-phone-screen::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    z-index: 100;
    pointer-events: none;
}

.iphone-screen::after,
.feature-phone-screen::after {
    background-color: rgba(0, 0, 0, 0.3);
}

/* 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(0, 0, 0, 0.4) 0%, transparent 70%);
    filter: blur(10px);
    transform: rotateZ(5deg) scaleX(0.85);
    pointer-events: none;
    z-index: -1;
}

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

.iphone-3d-mockup {
    background: #1c1c1e !important; /* premium space grey/black body */
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow:
        0px 30px 60px rgba(0, 0, 0, 0.45),
        inset 0 0 3px rgba(255, 255, 255, 0.2) !important;
}

.iphone-3d-mockup:hover {
    box-shadow:
        0px 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 5px rgba(255, 255, 255, 0.3) !important;
}

.iphone-bezel {
    background: #09090b !important; /* solid black inner bezel */
    border-color: rgba(255, 255, 255, 0.08) !important;
}

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

.hero-glow {
    display: none;
}

.waitlist-glow {
    display: none;
}



@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .hero-text-col {
        align-items: center;
        text-align: center;
        margin-left: 0;
        width: 100%;
        padding: 0;
    }

    .hero-text-col::before {
        top: -60px;
        left: -30px;
        right: -30px;
        bottom: -60px;
        -webkit-mask-image: radial-gradient(circle at center, black 25%, rgba(0, 0, 0, 0.7) 60%, transparent 95%);
        mask-image: radial-gradient(circle at center, black 25%, rgba(0, 0, 0, 0.7) 60%, transparent 95%);
    }

    .hero-actions {
        display: none !important;
    }

    .hero-title {
        font-size: 2.8rem !important;
        margin-bottom: 8px !important;
    }

    .hero-visual-col {
        padding: 5px 20px 20px 20px !important;
    }

    .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.active .scrolling-feed,
.modal-visual .scrolling-feed {
    animation: scrollFeed 24s infinite !important;
}

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

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

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

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

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

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

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

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

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

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

.feature-card.active {
    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;
}

.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);
}

.modal-close {
    background: rgba(0, 0, 0, 0.05);
}

.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);
}

.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);
}

.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);
}

.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);
}

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

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

.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;
}

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

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

.map-land {
    fill: #f5f6f8;
}

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

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

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

.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);
}

.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);
}

.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);
}

.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);
}

.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ı */
}

.route-transfer {
    stroke: #ff9100;
    /* Turuncu - Aktarmalı */
}

.route-walk {
    stroke: #af52de;
    /* Mor - Az Yürüme */
}

@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;
}

.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 {
    display: none;
}

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

.end-pin-glow {
    display: none;
}

@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;
}

.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);
}

.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);
}

.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: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 14px 14px 14px;
    z-index: 20;
    box-sizing: border-box;
    overflow: hidden;
}

.alt-arrival-screen {
    background: transparent;
}

/* Feature 1 (Smart Directions) Phone Screen Layout & Styles */
.dir-arrival-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 14px 14px 14px;
    z-index: 20;
    box-sizing: border-box;
    overflow: hidden;
}

.dir-arrival-screen {
    background: transparent;
}

.dir-search-section {
    position: absolute;
    top: 28px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 25;
    opacity: 1;
}

.feature-card.active .dir-search-section,
.modal-visual .dir-search-section {
    animation: dirSearchSectionAnim16s 16s infinite;
}

@keyframes dirSearchSectionAnim16s {

    0%,
    14% {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    15%,
    92.5% {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    93%,
    100% {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.dir-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    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;
    height: 28px;
    box-sizing: border-box;
}

.dir-search-box {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

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

.dir-search-text-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.dir-skeleton-text {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 0;
    opacity: 0;
    transition: width 0.1s ease;
}

.dir-skeleton-text {
    background: rgba(0, 0, 0, 0.15);
}

.dir-box-home .dir-skeleton-text {
    /* no animation by default */
}

.feature-card.active .dir-box-home .dir-skeleton-text,
.modal-visual .dir-box-home .dir-skeleton-text {
    animation: dirHomeTextAnim16s 16s infinite;
}

.dir-box-work {
    opacity: 0;
    pointer-events: none;
}

.feature-card.active .dir-box-work,
.modal-visual .dir-box-work {
    animation: dirWorkBoxAnim16s 16s infinite;
}

@keyframes dirWorkBoxAnim16s {

    0%,
    5% {
        opacity: 0;
        transform: translateY(5px);
        pointer-events: none;
    }

    7%,
    14% {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    15%,
    92.5% {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    93%,
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

.dir-box-work .dir-skeleton-text {
    /* no animation by default */
}

.feature-card.active .dir-box-work .dir-skeleton-text,
.modal-visual .dir-box-work .dir-skeleton-text {
    animation: dirWorkTextAnim16s 16s infinite;
}

@keyframes dirWorkTextAnim16s {

    0%,
    10% {
        width: 0;
        opacity: 0;
    }

    14%,
    92.5% {
        width: 80px;
        opacity: 1;
    }

    93%,
    100% {
        width: 0;
        opacity: 0;
    }
}

@keyframes dirHomeTextAnim16s {
    0% {
        width: 0;
        opacity: 0;
    }

    2%,
    92.5% {
        width: 60px;
        opacity: 1;
    }

    93%,
    100% {
        width: 0;
        opacity: 0;
    }
}

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

.dir-search-go-btn-wide {
    width: 40px;
    height: 6px;
    background: #00b047;
    border-radius: 3px;
    margin: 8px auto 0 auto;
    opacity: 0;
    pointer-events: none;
}

.feature-card.active .dir-search-go-btn-wide,
.modal-visual .dir-search-go-btn-wide {
    animation: dirGoBtnWideAnim16s 16s infinite;
}



/* Skeleton Loader for Feature 1 (positioned below the map) */
.dir-below-map-skeleton {
    position: absolute;
    top: 208px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    z-index: 22;
}

.skeleton-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;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

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

/* Premium Shimmering effect */
.skeleton-shimmer {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 37%,
            rgba(255, 255, 255, 0.03) 63%);
    background-size: 400% 100%;
    animation: skeletonShimmerAnim 1.4s ease infinite;
}

.skeleton-shimmer {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 25%,
            rgba(0, 0, 0, 0.06) 37%,
            rgba(0, 0, 0, 0.02) 63%);
    background-size: 400% 100%;
}

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

    100% {
        background-position: 0% 50%;
    }
}

/* Suggested Route Results Styles for Feature 1 */
/* Full-bleed background map — always visible, fills the phone screen */
.dir-map-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    background: #dae1e7;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    transform: translateY(0);
}

/* Gradient overlay so content is readable over the map */
.dir-map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(218, 225, 231, 0.95) 0%,
        rgba(218, 225, 231, 0.05) 25%,
        rgba(218, 225, 231, 0.05) 60%,
        rgba(218, 225, 231, 0.55) 80%,
        rgba(218, 225, 231, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.dir-route-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    box-sizing: border-box;
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.feature-card.active .dir-route-list,
.modal-visual .dir-route-list {
    animation: contentFadeAnim16s 16s infinite !important;
}

/* When card is not active, show route list statically */
.feature-card:not(.active) .dir-route-list {
    opacity: 1;
    pointer-events: none;
    animation: none !important;
}

/* Feature 1 Animation Keyframes (16s Loop) */
@keyframes dirSearchSectionAnim16s {

    0%,
    19% {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    23%,
    92.5% {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    93%,
    100% {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@keyframes dirHomeTextAnim16s {
    0% {
        width: 0;
        opacity: 0;
    }

    2%,
    19% {
        width: 60px;
        opacity: 1;
    }

    23%,
    100% {
        width: 0;
        opacity: 0;
    }
}

@keyframes dirWorkBoxAnim16s {

    0%,
    5% {
        opacity: 0;
        transform: translateY(5px);
        pointer-events: none;
    }

    7%,
    19% {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    23%,
    92.5% {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    93%,
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

@keyframes dirWorkTextAnim16s {

    0%,
    7% {
        width: 0;
        opacity: 0;
    }

    9%,
    19% {
        width: 80px;
        opacity: 1;
    }

    23%,
    100% {
        width: 0;
        opacity: 0;
    }
}

@keyframes dirGoBtnWideAnim16s {

    0%,
    5% {
        opacity: 0;
        transform: translateY(5px) scale(1);
        pointer-events: none;
    }

    7%,
    16% {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        background: #00b047;
    }

    16.5%,
    19% {
        opacity: 1;
        transform: translateY(0) scale(0.96);
        background: #16a34a;
    }

    23%,
    92.5% {
        opacity: 0;
        transform: translateY(-10px) scale(1);
        pointer-events: none;
    }

    93%,
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

@keyframes dirSpinnerAnim16s {

    0%,
    18.9% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    19%,
    22.9% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    23%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes contentFadeAnim16s {

    0%,
    22.9% {
        opacity: 0;
        pointer-events: none;
    }

    23%,
    92.5% {
        opacity: 1;
        pointer-events: auto;
    }

    93%,
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

/* Map stays fixed as permanent background — no slide animation */
@keyframes dirMapMoveAnim16s {
    0%, 100% { transform: translateY(0); opacity: 1; }
}

/* Dots animations */
.route-start-dot-group {
    opacity: 0;
    transform-origin: 15.6px 90.0px;
    transform: scale(0.5);
}

.feature-card.active .dir-map-container .route-start-dot-group,
.modal-visual .dir-map-container .route-start-dot-group {
    animation: dirStartDotAnim 16s infinite;
}

@keyframes dirStartDotAnim {
    0%, 15% {
        opacity: 0;
        transform: scale(0.5);
    }
    16% {
        opacity: 1;
        transform: scale(1.6);
    }
    17%, 92.5% {
        opacity: 1;
        transform: scale(1);
    }
    93%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

.route-end-dot-group {
    opacity: 0;
    transform-origin: 146.9px -50.9px;
    transform: scale(0.5);
}

.feature-card.active .dir-map-container .route-end-dot-group,
.modal-visual .dir-map-container .route-end-dot-group {
    animation: dirEndDotAnim 16s infinite;
}

@keyframes dirEndDotAnim {
    0%, 27% {
        opacity: 0;
        transform: scale(0.5);
    }
    28% {
        opacity: 1;
        transform: scale(1.6);
    }
    29%, 92.5% {
        opacity: 1;
        transform: scale(1);
    }
    93%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Full-bleed background alt-map */
.alt-map-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    background: #dae1e7;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlay for alt map */
.alt-map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(218, 225, 231, 0.95) 0%,
        rgba(218, 225, 231, 0.05) 25%,
        rgba(218, 225, 231, 0.05) 60%,
        rgba(218, 225, 231, 0.55) 80%,
        rgba(218, 225, 231, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.alt-route-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    box-sizing: border-box;
    flex-grow: 1;
    position: relative;
    z-index: 10;
}

.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;
    position: relative;
    overflow: hidden;
}

.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;
}

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

.alt-route-skeleton-badge {
    height: 14px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    color: #fff !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.alt-route-skeleton-badge.badge-blue {
    width: 36px !important;
}

.alt-route-skeleton-badge.badge-orange,
.alt-route-skeleton-badge.badge-purple,
.alt-route-skeleton-badge.badge-red,
.alt-route-skeleton-badge.badge-teal,
.alt-route-skeleton-badge.badge-green,
.alt-route-skeleton-badge.badge-deeporange,
.alt-route-skeleton-badge.badge-indigo {
    width: 26px !important;
}

.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;
}

/* Varsayılan: dolu renkli kutu, metin görünmez */
.badge-blue {
    background: #3b82f6;
}

.badge-orange {
    background: #f97316;
}

.badge-purple {
    background: #a855f7;
}

/* New route badge colors */
.badge-red {
    background: #e53935;
}

.badge-teal {
    background: #00897b;
}

.badge-green {
    background: #43a047;
}

.badge-deeporange {
    background: #f4511e;
}

.badge-indigo {
    background: #3949ab;
}

/* Expanded timeline: metin görünür */
.expanded-timeline .alt-route-skeleton-badge {
    color: #fff;
}

.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.active .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: #00b047;
}

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

.route-pin {
    opacity: 0;
}

/* Play animations on hover of the feature card */
.feature-card.active .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.active .route-pin,
.modal-visual .route-pin {
    animation: fadeInPin 0.5s forwards ease-out !important;
}

.feature-card.active .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;
}

.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;
}

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

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

.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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: #11151d;
    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;
}

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

.arrival-map-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    transform: translateY(-20px);
}

/* Faint Grid Lines representing streets */
.arrival-map-street {
    fill: none;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1.2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arrival-map-street {
    stroke: #ffffff;
    stroke-width: 1.5px;
}

/* Purple Route Lines */
.arrival-map-route-glow {
    display: none !important;
}

.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 {
    display: none;
}

@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: #00b047;
    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;
}

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

.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;
}

.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%;
}

@keyframes arrivalFillProgress {

    /* stays at 0 while screen is hidden */
    0%,
    59% {
        width: 0%;
    }

    /* animates fill when screen is visible */
    68%,
    93% {
        width: 75%;
    }
}

.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;
}

.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;
}

.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: #11151d;
    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;
}

.arrival-map-container {
    background: #dae1e7;
    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, 0.22);
    stroke-width: 1.2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arrival-map-street {
    stroke: #ffffff;
    stroke-width: 1.5px;
}

/* Purple Route Lines */
.arrival-map-route-glow {
    display: none !important;
}

.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 {
    display: none;
}

@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: #00b047;
    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;
}

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

.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;
}

.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%;
}

@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%;
    }
}



.store-buttons-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.store-btn {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.store-btn img {
    height: 48px;
    /* Based on the typical SVG size for these badges */
    width: auto;
}

.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;
    z-index: 2;
}

.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;
}

.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;
}

.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);
}

.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.active .notif-tap-cursor,
.modal-visual .notif-tap-cursor {
    animation: tapCursorAppear 24s infinite ease-in-out !important;
}

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

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

.feature-card.active .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.active .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;
}


/* ==========================================================================
   Hero Stats Bar (Key Features / Goals)
   ========================================================================== */
.hero-stats-bar {
    margin-top: 5rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: start;
}

.hero-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

/* Separator line for all except last */
.hero-stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: var(--card-border);
}

.stat-icon-wrapper {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.hero-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1);
}

.stat-icon {
    width: 36px;
    height: 36px;
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    max-width: 200px;
}

/* Responsive Styles for Hero Stats Bar */
@media (max-width: 1024px) {
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 3rem;
    }

    .hero-stat-card:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-stats-grid {
        grid-template-columns: 1fr;
        row-gap: 2.5rem;
    }

    .hero-stat-card::after {
        display: none !important;
    }

    .stat-title {
        font-size: 2rem;
    }
}

/* Pulsing waves animation for live location icons */
@keyframes liveWavePulse {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.live-wave {
    animation: liveWavePulse 2s infinite ease-in-out;
    transform-origin: 12px 14px;
}

.live-wave-1 {
    animation-delay: 0s;
}

.live-wave-2 {
    animation-delay: 0.5s;
}

.stat-icon-logo.turkey-map-icon {
    width: 52px !important;
    height: 24px !important;
    object-fit: contain;
    filter: drop-shadow(0px 1px 3px rgba(106, 156, 232, 0.3));
}

/* Custom Route and Dots Styling for Feature 2 Map */
.route-segment-walk {
    fill: none;
    stroke: #94a3b8;
    stroke-width: 3.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.light-theme .route-segment-walk {
    stroke: #64748b;
}

.route-segment-blue {
    fill: none;
    stroke: #3b82f6;
    stroke-width: 3.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.route-segment-orange {
    fill: none;
    stroke: #f97316;
    stroke-width: 3.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.route-start-dot {
    fill: #00b047;
    stroke: #ffffff;
    stroke-width: 1.2px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.route-end-dot {
    fill: #ef4444;
    stroke: #ffffff;
    stroke-width: 1.2px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* Route Segments Lengths and Initial Offsets */
.alt-map-container .route-walk-1 {
    stroke-dasharray: 18;
    stroke-dashoffset: 18;
    opacity: 0;
}
.alt-map-container .route-line-1 {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    opacity: 0;
}
.alt-map-container .route-walk-2 {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    opacity: 0;
}
.alt-map-container .route-line-2 {
    stroke-dasharray: 125;
    stroke-dashoffset: 125;
    opacity: 0;
}
.alt-map-container .route-walk-3 {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    opacity: 0;
}

/* Dots Group Initial Opacity */
.alt-map-container .route-start-dot-group,
.alt-map-container .route-end-dot-group {
    opacity: 1;
}

/* Keyframes for Sequential Route Drawing Animation */
@keyframes drawSegment1 {
    0%, 18% { stroke-dashoffset: 18; opacity: 0; }
    18.1% { opacity: 1; }
    28%, 90% { stroke-dashoffset: 0; opacity: 1; }
    93%, 100% { opacity: 0; }
}

@keyframes drawSegment2 {
    0%, 34% { stroke-dashoffset: 50; opacity: 0; }
    34.1% { opacity: 1; }
    41%, 90% { stroke-dashoffset: 0; opacity: 1; }
    93%, 100% { opacity: 0; }
}

@keyframes drawSegment3 {
    0%, 41% { stroke-dashoffset: 20; opacity: 0; }
    41.1% { opacity: 1; }
    49%, 90% { stroke-dashoffset: 0; opacity: 1; }
    93%, 100% { opacity: 0; }
}

@keyframes drawSegment4 {
    0%, 55% { stroke-dashoffset: 125; opacity: 0; }
    55.1% { opacity: 1; }
    63%, 90% { stroke-dashoffset: 0; opacity: 1; }
    93%, 100% { opacity: 0; }
}

@keyframes drawSegment5 {
    0%, 63% { stroke-dashoffset: 20; opacity: 0; }
    63.1% { opacity: 1; }
    70%, 90% { stroke-dashoffset: 0; opacity: 1; }
    93%, 100% { opacity: 0; }
}



/* Trigger Drawing and Reveal Animations on Hover or inside Modal */
.feature-card.active .alt-map-container .route-walk-1,
.modal-visual .alt-map-container .route-walk-1 {
    animation: drawSegment1 16s infinite ease-in-out !important;
}

.feature-card.active .alt-map-container .route-line-1,
.modal-visual .alt-map-container .route-line-1 {
    animation: drawSegment2 16s infinite ease-in-out !important;
}

.feature-card.active .alt-map-container .route-walk-2,
.modal-visual .alt-map-container .route-walk-2 {
    animation: drawSegment3 16s infinite ease-in-out !important;
}

.feature-card.active .alt-map-container .route-line-2,
.modal-visual .alt-map-container .route-line-2 {
    animation: drawSegment4 16s infinite ease-in-out !important;
}

.feature-card.active .alt-map-container .route-walk-3,
.modal-visual .alt-map-container .route-walk-3 {
    animation: drawSegment5 16s infinite ease-in-out !important;
}

/* Keyframes for Zooming & Centering the Map in the Phone Mockup */
@keyframes altPhoneMockupZoom {
    0%, 15% { transform: scale(0.7) translateY(0); }
    22%, 83% { transform: scale(1.65) translateY(0); }
    88%, 100% { transform: scale(0.7) translateY(0); }
}

@keyframes altPhoneMockupZoomModal {
    0%, 15% { transform: scale(1.1) translateY(0); }
    22%, 83% { transform: scale(2.1) translateY(0); }
    88%, 100% { transform: scale(1.1) translateY(0); }
}

/* Bind Animations on Hover/Modal Active */
.feature-card.active .alt-routes-phone-wrapper {
    animation: altPhoneMockupZoom 16s infinite ease-in-out !important;
}

.modal-visual .alt-routes-phone-wrapper {
    animation: altPhoneMockupZoomModal 16s infinite ease-in-out !important;
}


/* Moving Tracker - offset-path yerine do─şrudan SVG koordinat translate */
.alt-map-container .moving-tracker {
    opacity: 0;
    /* offset-path kald─▒r─▒ld─▒ - transform: translate ile SVG koordinatlar─▒ kullan─▒l─▒yor */
}

.alt-map-container .tracker-walk-dot {
    opacity: 0;
}

.alt-map-container .tracker-bus-icon {
    opacity: 0;
}

.alt-map-container .tracker-metro-icon {
    opacity: 0;
}

/*
 * trackerMove: SVG koordinatlar─▒yla ├ğizginin ucunu takip eder
 * Segment zamanlamas─▒ (16s toplamda):
 *   walk-1 ├ğizilir:  18% ÔåÆ 28%  (start: 15.6,82.4  end: 27.8,70.5)
 *   bus ├ğizilir:     34% ÔåÆ 48%  (start: 27.8,70.5  end: 61.0,63.1)
 *   walk-2 ├ğizilir:  48% ÔåÆ 56%  (start: 61.0,63.1  end: 70.2,47.5)
 *   metro ├ğizilir:   62% ÔåÆ 78%  (start: 70.2,47.5  end: 144.8,-22.2)
 *   walk-3 ├ğizilir:  78% ÔåÆ 85%  (start: 144.8,-22.2 end: 146.9,-50.9)
 */
@keyframes trackerMove {
    /* Ba┼şlamadan ├Ânce: ba┼şlang─▒├ğ konumunda g├Âr├╝nmez */
    0%, 17.9% { transform: translate(15.6px, 82.4px); opacity: 0; }
    /* walk-1 ├ğizimi: yaya ikonu y├╝r├╝yerek ilerler */
    18%        { transform: translate(15.6px, 82.4px); opacity: 1; }
    28%        { transform: translate(27.8px, 70.5px); opacity: 1; }
    /* otob├╝s dura─ş─▒nda bekliyor (28ÔåÆ34): pozisyon sabit */
    34%        { transform: translate(27.8px, 70.5px); opacity: 1; }
    /* bus ├ğizimi: otob├╝s ikonu hatt─▒ boyunca ilerler */
    48%        { transform: translate(61.0px,  63.1px); opacity: 1; }
    /* walk-2 ├ğizimi: yaya ikonu aktarma noktas─▒na y├╝r├╝r */
    56%        { transform: translate(70.2px,  47.5px); opacity: 1; }
    /* metro dura─ş─▒nda bekliyor (56ÔåÆ62): pozisyon sabit */
    62%        { transform: translate(70.2px,  47.5px); opacity: 1; }
    /* metro ├ğizimi: metro ikonu hatt─▒ boyunca ilerler */
    78%        { transform: translate(144.8px, -22.2px); opacity: 1; }
    /* walk-3 ├ğizimi: yaya ikonu hedefe y├╝r├╝r */
    85%        { transform: translate(146.9px, -50.9px); opacity: 1; }
    /* kaybol ve s─▒f─▒rla */
    90%        { transform: translate(146.9px, -50.9px); opacity: 0; }
    93%, 100%  { transform: translate(15.6px,   82.4px); opacity: 0; }
}

/* Yaya ikonu: yaln─▒zca walk segmentleri ├ğizilirken g├Âr├╝n├╝r */
@keyframes showWalkDot {
    0%, 17.9%  { opacity: 0; }
    18%, 27.9% { opacity: 1; }    /* walk-1 ├ğizimi */
    28%, 47.9% { opacity: 0; }    /* otob├╝s dura─ş─▒ + otob├╝s yolculu─şu */
    48%, 55.9% { opacity: 1; }    /* walk-2 ├ğizimi */
    56%, 77.9% { opacity: 0; }    /* metro dura─ş─▒ + metro yolculu─şu */
    78%, 85%   { opacity: 1; }    /* walk-3 ├ğizimi */
    85.1%, 100%{ opacity: 0; }
}

/* Otob├╝s ikonu: YALNIZCA bus hatt─▒ ├ğizilirken (34ÔåÆ48%) g├Âr├╝n├╝r */
@keyframes showBusIcon {
    0%, 33.9%  { opacity: 0; }
    34%, 47.9% { opacity: 1; }    /* bus segment ├ğizimi - ├ğizginin ucundan ├ğ─▒kar */
    48%, 100%  { opacity: 0; }
}

/* Metro ikonu: YALNIZCA metro hatt─▒ ├ğizilirken (62ÔåÆ78%) g├Âr├╝n├╝r */
@keyframes showMetroIcon {
    0%, 61.9%  { opacity: 0; }
    62%, 77.9% { opacity: 1; }    /* metro segment ├ğizimi - ├ğizginin ucundan ├ğ─▒kar */
    78%, 100%  { opacity: 0; }
}


/* NOT: tracker-walk-dot, tracker-bus-icon, tracker-metro-icon opacity'leri
   art─▒k index.js i├ğindeki SVG animator taraf─▒ndan y├Ânetiliyor.
   CSS hover binding'leri kald─▒r─▒ld─▒ - JS setAttribute('transform') kullan─▒yor. */


/* --- New Directions Animations (Typing & Keyboard) --- */
.dir-search-box-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    width: 100%;
}
.dir-search-box-row .dir-search-box {
    flex: 1;
}
.dir-search-go-btn-square {
    width: 28px;
    height: 28px;
    background: #00b047;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    opacity: 0;
    pointer-events: none;
}
.dir-search-box, .dir-search-go-btn-square {
    position: relative;
}
.dir-keyboard {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #e2e4e7;
    padding: 6px 4px 20px 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 12px 12px 0 0;
    z-index: 30;
    transform: translateY(100%);
}
.light-theme .dir-keyboard { background: #d1d5db; }
.kb-row {
    display: flex;
    justify-content: center;
    gap: 4px;
}
.kb-key {
    background: #ffffff;
    height: 12px;
    border-radius: 2px;
    flex: 1;
    box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.kb-key.spec { flex: 1.5; background: #b4bcc6; }
.kb-key.space { flex: 5; max-width: 60%; }

.dir-tap-cursor {
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
}
.dir-tap-cursor.tap-home { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.dir-tap-cursor.tap-work { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.dir-tap-cursor.tap-go { top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Attach animations */
.feature-card.active .dir-tap-cursor.tap-home, .modal-visual .dir-tap-cursor.tap-home { animation: tapCursorHome 16s infinite ease-in-out !important; }
.feature-card.active .dir-tap-cursor.tap-home .tap-dot, .modal-visual .dir-tap-cursor.tap-home .tap-dot { animation: tapDotHome 16s infinite ease-in-out !important; }
.feature-card.active .dir-tap-cursor.tap-home .tap-ripple:not(.tap-ripple-2), .modal-visual .dir-tap-cursor.tap-home .tap-ripple:not(.tap-ripple-2) { animation: tapRippleHome 16s infinite ease-out !important; }
.feature-card.active .dir-tap-cursor.tap-home .tap-ripple-2, .modal-visual .dir-tap-cursor.tap-home .tap-ripple-2 { animation: tapRippleHome 16s infinite ease-out 0.2s !important; }

.feature-card.active .dir-tap-cursor.tap-work, .modal-visual .dir-tap-cursor.tap-work { animation: tapCursorWork 16s infinite ease-in-out !important; }
.feature-card.active .dir-tap-cursor.tap-work .tap-dot, .modal-visual .dir-tap-cursor.tap-work .tap-dot { animation: tapDotWork 16s infinite ease-in-out !important; }
.feature-card.active .dir-tap-cursor.tap-work .tap-ripple:not(.tap-ripple-2), .modal-visual .dir-tap-cursor.tap-work .tap-ripple:not(.tap-ripple-2) { animation: tapRippleWork 16s infinite ease-out !important; }
.feature-card.active .dir-tap-cursor.tap-work .tap-ripple-2, .modal-visual .dir-tap-cursor.tap-work .tap-ripple-2 { animation: tapRippleWork 16s infinite ease-out 0.2s !important; }

.feature-card.active .dir-tap-cursor.tap-go, .modal-visual .dir-tap-cursor.tap-go { animation: tapCursorGo 16s infinite ease-in-out !important; }
.feature-card.active .dir-tap-cursor.tap-go .tap-dot, .modal-visual .dir-tap-cursor.tap-go .tap-dot { animation: tapDotGo 16s infinite ease-in-out !important; }
.feature-card.active .dir-tap-cursor.tap-go .tap-ripple:not(.tap-ripple-2), .modal-visual .dir-tap-cursor.tap-go .tap-ripple:not(.tap-ripple-2) { animation: tapRippleGo 16s infinite ease-out !important; }
.feature-card.active .dir-tap-cursor.tap-go .tap-ripple-2, .modal-visual .dir-tap-cursor.tap-go .tap-ripple-2 { animation: tapRippleGo 16s infinite ease-out 0.2s !important; }

.feature-card.active .dir-keyboard, .modal-visual .dir-keyboard { animation: keyboardAnim 16s infinite ease-in-out; }

/* Keyboard key press animations */
.feature-card.active .kb-row:nth-child(2) .kb-key:nth-child(3), .modal-visual .kb-row:nth-child(2) .kb-key:nth-child(3) { animation: keyPress1 16s infinite; }
.feature-card.active .kb-row:nth-child(1) .kb-key:nth-child(7), .modal-visual .kb-row:nth-child(1) .kb-key:nth-child(7) { animation: keyPress2 16s infinite; }
.feature-card.active .kb-row:nth-child(3) .kb-key:nth-child(5), .modal-visual .kb-row:nth-child(3) .kb-key:nth-child(5) { animation: keyPress3 16s infinite; }
.feature-card.active .kb-row:nth-child(2) .kb-key:nth-child(8), .modal-visual .kb-row:nth-child(2) .kb-key:nth-child(8) { animation: keyPress4 16s infinite; }

@keyframes keyPress1 {
    0%, 4.5%, 5.5%, 16.5%, 17.5%, 100% { box-shadow: 0 1px 1px rgba(0,0,0,0.2); transform: translateY(0); background: #ffffff; }
    5%, 17% { box-shadow: 0 0px 0px rgba(0,0,0,0); transform: translateY(1px); background: #f0f0f0; }
}
@keyframes keyPress2 {
    0%, 6.5%, 7.5%, 18.5%, 19.5%, 100% { box-shadow: 0 1px 1px rgba(0,0,0,0.2); transform: translateY(0); background: #ffffff; }
    7%, 19% { box-shadow: 0 0px 0px rgba(0,0,0,0); transform: translateY(1px); background: #f0f0f0; }
}
@keyframes keyPress3 {
    0%, 8.5%, 9.5%, 20.5%, 21.5%, 100% { box-shadow: 0 1px 1px rgba(0,0,0,0.2); transform: translateY(0); background: #ffffff; }
    9%, 21% { box-shadow: 0 0px 0px rgba(0,0,0,0); transform: translateY(1px); background: #f0f0f0; }
}
@keyframes keyPress4 {
    0%, 10.5%, 11.5%, 22.5%, 23.5%, 100% { box-shadow: 0 1px 1px rgba(0,0,0,0.2); transform: translateY(0); background: #ffffff; }
    11%, 23% { box-shadow: 0 0px 0px rgba(0,0,0,0); transform: translateY(1px); background: #f0f0f0; }
}

@keyframes keyboardAnim {
    0%, 3% { transform: translateY(100%); }
    4%, 25% { transform: translateY(0); }
    26%, 100% { transform: translateY(100%); }
}

@keyframes tapCursorHome {
    0%, 0.5% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
    1% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    3%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes tapDotHome {
    0%, 1.2% { transform: scale(1); opacity: 0.6; }
    1.5% { transform: scale(0.8); opacity: 1; }
    1.8%, 100% { transform: scale(1); opacity: 0.6; }
}
@keyframes tapRippleHome {
    0%, 1.4% { transform: scale(0.5); opacity: 0; }
    1.5% { transform: scale(0.5); opacity: 0.8; }
    2.5% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes tapCursorWork {
    0%, 13.5% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
    14% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    16%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes tapDotWork {
    0%, 14.7% { transform: scale(1); opacity: 0.6; }
    15.0% { transform: scale(0.8); opacity: 1; }
    15.3%, 100% { transform: scale(1); opacity: 0.6; }
}
@keyframes tapRippleWork {
    0%, 14.9% { transform: scale(0.5); opacity: 0; }
    15.0% { transform: scale(0.5); opacity: 0.8; }
    16.0% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes tapCursorGo {
    0%, 29.5% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
    30% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    32.5%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes tapDotGo {
    0%, 30.2% { transform: scale(1); opacity: 0.6; }
    30.5% { transform: scale(0.8); opacity: 1; }
    30.8%, 100% { transform: scale(1); opacity: 0.6; }
}
@keyframes tapRippleGo {
    0%, 30.4% { transform: scale(0.5); opacity: 0; }
    30.5% { transform: scale(0.5); opacity: 0.8; }
    31.5% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Overriding the 16s keyframes for synced slow animation */
.feature-card.active .dir-search-section, .modal-visual .dir-search-section {
    animation: dirSearchSectionAnim16sNew 16s infinite !important;
}
@keyframes dirSearchSectionAnim16sNew {
    /* Visible while typing, vanishes instantly when button is pressed */
    0%, 30% { opacity: 1; transform: translateY(0); pointer-events: auto; }
    31%, 92.5% { opacity: 0; transform: translateY(-8px); pointer-events: none; }
    93%, 100% { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

.feature-card.active .dir-box-home .dir-skeleton-text, .modal-visual .dir-box-home .dir-skeleton-text {
    animation: dirHomeTextAnim16sNew 16s infinite !important;
}
@keyframes dirHomeTextAnim16sNew {
    0%, 4% { width: 0; opacity: 0; }
    13%, 30% { width: 60px; opacity: 1; }
    31%, 100% { width: 0; opacity: 0; }
}

.feature-card.active .dir-box-work, .modal-visual .dir-box-work {
    animation: dirWorkBoxAnim16sNew 16s infinite !important;
}
@keyframes dirWorkBoxAnim16sNew {
    0%, 12.5% { opacity: 0; transform: translateY(5px); pointer-events: none; }
    13%, 30% { opacity: 1; transform: translateY(0); pointer-events: auto; }
    31%, 92.5% { opacity: 0; transform: translateY(-8px); pointer-events: none; }
    93%, 100% { opacity: 0; pointer-events: none; }
}

.feature-card.active .dir-box-work .dir-skeleton-text, .modal-visual .dir-box-work .dir-skeleton-text {
    animation: dirWorkTextAnim16sNew 16s infinite !important;
}
@keyframes dirWorkTextAnim16sNew {
    0%, 16% { width: 0; opacity: 0; }
    25%, 30% { width: 80px; opacity: 1; }
    31%, 100% { width: 0; opacity: 0; }
}

.feature-card.active .dir-search-go-btn-square, .modal-visual .dir-search-go-btn-square {
    animation: dirGoBtnAnim16sNew 16s infinite !important;
}
@keyframes dirGoBtnAnim16sNew {
    0%, 25% { opacity: 0; transform: translateY(5px) scale(1); pointer-events: none; }
    26%, 30% { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; background: #00b047; }
    /* Button pressed ÔÇö scale down, then vanishes with search boxes at 31% */
    30.5% { opacity: 1; transform: translateY(0) scale(0.88); background: #16a34a; }
    31%, 92.5% { opacity: 0; transform: translateY(-8px) scale(1); pointer-events: none; }
    93%, 100% { opacity: 0; pointer-events: none; }
}

/* Map is always visible as full-bleed background — no slide in/out */
.feature-card.active .dir-map-container, .modal-visual .dir-map-container {
    animation: none !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Skeleton shows BELOW the map after it arrives, then hides when results appear */
.feature-card.active .dir-below-map-skeleton, .modal-visual .dir-below-map-skeleton {
    animation: dirSpinnerAnim16sNew 16s infinite !important;
}
@keyframes dirSpinnerAnim16sNew {
    0%, 37.9% { opacity: 0; }
    38.5%, 46.9% { opacity: 1; }
    47%, 100% { opacity: 0; }
}

/* Results fade in AFTER spinner finishes */
.feature-card.active .dir-route-list, .modal-visual .dir-route-list {
    animation: contentFadeAnim16sNew 16s infinite !important;
}
@keyframes contentFadeAnim16sNew {
    0%, 46.9% { opacity: 0; pointer-events: none; }
    48%, 92.5% { opacity: 1; pointer-events: auto; }
    93%, 100% { opacity: 0; pointer-events: none; }
}


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

.feature-tab-btn svg { width: 18px; height: 18px; }

/* Route Schedule Timeline Table Styles */
.timeline-table-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px 4px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff; /* Bright white headers */
    opacity: 0.9;
    font-family: var(--font-body);
}

.timeline-rows {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.timeline-row {
    display: flex;
    flex-direction: column;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* High contrast separator */
    position: relative;
}

.timeline-row:last-child {
    border-bottom: none;
}

.timeline-col-track {
    display: flex;
    align-items: center;
    gap: 1px; /* Badges almost touch each other */
    height: 32px;
    position: relative;
    width: 100%;
}

.dot-track-left,
.dot-track-right {
    color: rgba(255, 255, 255, 0.5); /* Higher visibility dots */
    font-size: 0.9rem;
    letter-spacing: 2px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.timeline-badge-main {
    height: 28px;
    padding: 0 12px;
    border-radius: 6px; /* Straight edges with slight rounding */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    flex-grow: 0;
    min-width: auto;
    white-space: nowrap;
    letter-spacing: 0.8px;
}

/* Width overrides based on duration proportion (Cleaned up for inline percentages) */

.timeline-walk-dashed {
    height: 2px;
    border-top: 2.2px dotted rgba(255, 255, 255, 0.45); /* High-contrast dotted timeline path */
    display: inline-block;
    align-self: center;
    flex-shrink: 0;
}

.timeline-transfer-rect {
    height: 14px;
    border: none;
    background: #cbd5e1; /* Light grey */
    border-radius: 2px;
    display: inline-block;
    align-self: center;
    box-sizing: border-box;
    margin: 0; /* no margins to ensure exact edge alignment */
    flex-shrink: 0;
}

.timeline-badge-main.badge-green {
    background-color: #22c55e;
}

.timeline-badge-main.badge-orange {
    background-color: #ff7300;
}

.timeline-badge-main.badge-blue {
    background-color: #007aff;
}

.timeline-badge-main.badge-red {
    background-color: #ff3b30;
}

.timeline-badge-main.badge-purple {
    background-color: #af52de;
}

.timeline-badge-main.badge-gray {
    background-color: #64748b; /* Gray rectangle for walking */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
}

.timeline-badge-main.badge-yellow {
    background-color: #ffcc00;
    color: #1a1a1a;
}

.timeline-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #ffffff; /* Fully white text for actions */
}

.timeline-meta-row .green-text {
    color: #4ef054 !important; /* Brighter neon green for readability */
}

.rss-icon {
    width: 8px !important;
    height: 8px !important;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    color: #4ef054;
}

.timeline-meta-row .meta-duration {
    color: rgba(255, 255, 255, 0.8); /* Brighter duration text */
}

/* Organic Spinning Blob Animation */
@keyframes morph-rotate {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
        transform: translate(-50%, -50%) rotate(180deg) scale(1.05);
    }
    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

.spinning-blob-blue {
    position: absolute;
    width: 440px;
    height: 440px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(76, 215, 117, 0.2); /* Soft pale green */
    z-index: 0;
    pointer-events: none;
    animation: morph-rotate 25s linear infinite;
}

/* Universal Premium Green Gradient Theme for all Modals */
.feature-modal {
    border: none !important;
    background: radial-gradient(circle at center, #00d656 0%, #008c37 100%) !important;
    color: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
}

.feature-modal::backdrop {
    background: rgba(10, 20, 35, 0.75) !important;
    backdrop-filter: blur(8px) !important;
}

.feature-modal .modal-close {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

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

.feature-modal .modal-info h3,
.feature-modal h3 {
    color: #ffffff !important;
}

.feature-modal .modal-info p,
.feature-modal p,
.feature-modal .modal-extra-content {
    color: rgba(255, 255, 255, 0.8) !important;
}

.feature-modal .modal-extra-content li {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Custom Sleek Scrollbar for Popups */
.modal-scroll-area::-webkit-scrollbar {
    width: 6px !important;
}

.modal-scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
    background: #ffffff !important;
    border-radius: 10px !important;
    transition: background 0.2s ease !important;
}

.modal-scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Firefox scrollbar support */
.modal-scroll-area {
    scrollbar-width: thin !important;
    scrollbar-color: #ffffff rgba(255, 255, 255, 0.08) !important;
}

/* Mobile-only waitlist layout changes */
@media (max-width: 768px) {
    .waitlist-wrapper {
        padding: 20px 16px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        min-height: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        max-width: 100% !important;
        margin: 20px auto !important;
    }

    .waitlist-form-col {
        order: 1 !important;
        margin-top: 40px !important;
    }

    .waitlist-info-col {
        order: -1 !important;
        margin-top: -40px !important;
    }

    .waitlist-info-col h2 {
        display: none !important;
    }

    .waitlist-wrapper h2 {
        color: var(--text-secondary) !important;
    }

    .waitlist-info-col p {
        font-family: var(--font-heading) !important;
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        color: #00b047 !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }

    .btn-whatsapp-join {
        background: #00b047 !important;
        border: 2px solid #00b047 !important;
        color: #ffffff !important;
    }

    .btn-whatsapp-join:hover {
        background: transparent !important;
        color: #00b047 !important;
        border-color: #00b047 !important;
    }

    .waitlist-success-card h3 {
        color: var(--text-primary) !important;
    }

    .waitlist-success-card p {
        color: var(--text-secondary) !important;
    }

    .waitlist-success-card p strong {
        color: var(--text-primary) !important;
    }

    .success-icon {
        color: var(--accent-color) !important;
    }

    .waitlist-stats {
        background: rgba(0, 176, 71, 0.1) !important;
        border: 1px solid rgba(0, 176, 71, 0.2) !important;
    }

    .stat-num {
        color: var(--text-primary) !important;
    }

    .stat-lbl {
        color: var(--text-secondary) !important;
    }
}

