:root {
    /* Brand Colors */
    --primary: #103762;
    --primary-dark: #0a2545;
    --secondary: #009944;
    --secondary-light: #00b350;
    --accent-red: #E51C23;

    /* Neutral Colors */
    --background: #FFFFFF;
    --surface: #F5F6F9;
    --surface-dark: #e8ebf2;
    --text-primary: #212121;
    --text-secondary: #58677b;
    --white: #FFFFFF;

    /* UI Variables */
    --border-radius: 16px;
    --btn-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(16, 55, 98, 0.05), 0 2px 4px -1px rgba(16, 55, 98, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(16, 55, 98, 0.1), 0 4px 6px -2px rgba(16, 55, 98, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(16, 55, 98, 0.15), 0 10px 10px -5px rgba(16, 55, 98, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Noto Sans Sinhala', 'Noto Sans Tamil', 'Segoe UI', sans-serif;
    color: var(--text-primary);
    /* Extended Background Design */
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 153, 68, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(16, 55, 98, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, #f8faff 0%, #edf1f7 100%);
    background-attachment: fixed;
    /* Keeps the background static while scrolling */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.center {
    justify-content: center;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Language Selector */
.language-switch select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: var(--white);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.language-switch select:hover,
.language-switch select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(0, 153, 68, 0.1);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

header.scrolled .header-content {
    height: 70px;
}

.brand-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 72px;
    margin-bottom: 20px;
    display: block;
}

.how-it-works-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
}

nav a:not(.btn-nav):hover {
    color: var(--primary);
}

nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

nav a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(16, 55, 98, 0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 55, 98, 0.3);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    /* Background moved to body for continuity, or we keep it here and make next section transparent? */
    /* User wants it to continue. Let's make the background fixed on body or extend it. */
    /* Best approach: Move the complex gradient to body and make sections transparent where needed. */
    /* But body has simple background. Let's update body background. */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

/* Store Buttons */
.download-buttons {
    display: flex;
    gap: 16px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.store-btn {
    background-color: #000000;
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: var(--btn-radius);
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.store-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: var(--transition);
}

.store-btn:hover::before {
    opacity: 1;
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.store-btn i {
    font-size: 32px;
    margin-right: 14px;
}

.store-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.store-btn .small-text {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.store-btn .big-text {
    font-size: 20px;
    font-weight: 600;
}

/* Hero Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    perspective: 1500px;
    position: relative;
    z-index: 10;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background-color: #1a1a1a;
    border-radius: 44px;
    padding: 10px;
    box-shadow:
        0 0 0 2px #333,
        0 0 0 4px #555,
        0 20px 40px rgba(0, 0, 0, 0.3),
        20px 0 50px rgba(16, 55, 98, 0.15);
    /* Tinted shadow */
    position: relative;
    transform: rotateY(-12deg) rotateX(8deg);
    transition: var(--transition);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform-style: preserve-3d;
}

.map-view img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    /* Force hardware acceleration */
}

.hero-vehicle {
    position: absolute;
    bottom: -80px;
    right: -100px;
    width: 500px;
    z-index: 20;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    animation: driveIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
    opacity: 0;
    transform: translateX(50px);
}

.hero-bike {
    position: absolute;
    bottom: -50px;
    left: -120px;
    width: 400px;
    z-index: 15;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: driveInLeft 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
    opacity: 0;
    transform: translateX(-50px);
}

@keyframes driveIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes driveInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: rotateY(-12deg) rotateX(8deg) translateY(0);
    }

    50% {
        transform: rotateY(-12deg) rotateX(8deg) translateY(-20px);
    }
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0) translateY(0);
    animation: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.phone-mockup .screen {
    width: 100%;
    height: 100%;
    background-color: var(--surface);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* UI Inside Phone */
.app-header {
    background-color: var(--primary);
    color: white;
    padding: 0 20px;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 15px;
}

.notch {
    width: 120px;
    height: 25px;
    background-color: #1a1a1a;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.map-view {
    flex: 1;
    background-color: #e8ecf1;
    position: relative;
    overflow: hidden;
}

/* Simplified Map Design */
.map-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(#dbe0e8 2px, transparent 2px),
        linear-gradient(90deg, #dbe0e8 2px, transparent 2px);
    background-size: 40px 40px;
    opacity: 0.6;
}

.map-path {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 150px;
    border-left: 6px solid var(--secondary);
    border-bottom: 6px solid var(--secondary);
    transform: translate(-30%, -60%) rotate(45deg);
    border-radius: 0 0 0 20px;
    opacity: 0.5;
}

.car-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 20px;
    color: var(--white);
    background: var(--primary);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(16, 55, 98, 0.3);
    z-index: 5;
    animation: drive 8s infinite linear;
}

@keyframes drive {
    0% {
        transform: translate(-100px, -50px) rotate(45deg);
    }

    25% {
        transform: translate(-50px, 0) rotate(45deg);
    }

    50% {
        transform: translate(0, 0) rotate(90deg);
    }

    75% {
        transform: translate(50px, 0) rotate(90deg);
    }

    100% {
        transform: translate(100px, 50px) rotate(90deg);
    }
}

.pickup-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 10;
    transform: translateY(100%);
    animation: slideUp 0.8s 0.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.driver-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.driver-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--surface);
    border-radius: 50%;
    background-image: url('https://ui-avatars.com/api/?name=Kamal+P&background=009944&color=fff');
    background-size: cover;
}

.driver-details h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.driver-details p {
    font-size: 13px;
    margin: 0;
    color: var(--text-secondary);
}

.trip-actions {
    display: flex;
    gap: 12px;
}

.trip-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background-color: var(--surface);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.trip-actions button:first-child {
    background-color: var(--secondary);
    color: white;
}

.hero-shape {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    z-index: 1;
    opacity: 0.8;
}

/* Features - Google Sites Style */
.features {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
}

@media (min-width: 992px) {
    .features .container {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 40px;
        align-items: center;
        position: relative;
    }

    .section-title {
        text-align: left;
        margin: 0 0 40px 0;
        grid-column: 1;
    }

    .features-grid {
        grid-column: 1;
        grid-template-columns: 1fr;
        /* Stack cards vertically */
        margin-top: 0;
    }
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #202124;
    /* Google Dark Grey */
    font-weight: 500;
    /* Google Sans Medium */
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.125rem;
    color: #5f6368;
    /* Google Light Grey */
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    /* Material Grid Gap */
    margin-top: 40px;
}

.feature-card {
    padding: 40px 32px;
    border-radius: 12px;
    background: #ffffff;
    /* Material Elevation 1 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border: none;
    /* No border for Google style */
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    /* Material Elevation 4 */
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

/* Remove the top gradient line */
.feature-card::before {
    display: none;
}

.icon-box {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    transition: var(--transition);
}

.icon-safe {
    background: #e6f4ea;
    /* Google Green Light */
    color: #137333;
    /* Google Green Dark */
}

.icon-fast {
    background: #e8f0fe;
    /* Google Blue Light */
    color: #1967d2;
    /* Google Blue Dark */
}

.icon-affordable {
    background: #fce8e6;
    /* Google Red Light */
    color: #c5221f;
    /* Google Red Dark */
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 500;
    color: #202124;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 1rem;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 0;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    /* Clean background or slight glass effect if needed */
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    /* Removing gap to use relative positioning if needed, or keeping it clean */
    justify-content: space-between;
    margin-top: 60px;
}

.step {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

/* Connecting Line */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 45px;
    left: 60%;
    width: 80%;
    height: 2px;
    background-color: #d1d5db;
    z-index: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(16, 55, 98, 0.2);
    position: relative;
    z-index: 1;
    border: 4px solid var(--surface);
}

/* CTA */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #007a36 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.store-btn.reverse {
    background-color: var(--white);
    color: var(--primary);
    border: none;
}

.store-btn.reverse:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--surface);
}

/* Footer - Google Sites Style */
footer {
    background-color: #f8f9fa;
    /* Google Surface */
    color: #3c4043;
    /* Google Grey 800 */
    padding: 64px 0 32px;
    font-size: 0.95rem;
    border-top: 1px solid #dadce0;
    /* Google Border */
    position: relative;
}

/* Remove glow and lines */
footer::before,
footer::after {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}



.footer-brand p {
    color: #5f6368;
    /* Google Grey 600 */
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #5f6368;
    font-size: 18px;
    transition: all 0.2s ease;
    backdrop-filter: none;
}

.social-links a:hover {
    background: #f1f3f4;
    color: var(--primary);
    border-color: #dadce0;
    transform: none;
    box-shadow: none;
}

.footer-links h4 {
    color: #202124;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: uppercase;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #5f6368;
    transition: color 0.2s;
    display: inline-block;
    text-decoration: none;
    align-items: center;
}

/* Remove Chevron */
.footer-links a::before {
    display: none;
}

.footer-links a:hover {
    color: var(--primary);
    transform: none;
    text-decoration: underline;
}

.footer-links a:hover::before {
    display: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #dadce0;
    padding-top: 32px;
    color: #5f6368;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5f6368;
    line-height: 1.5;
}

.contact-list i {
    color: #5f6368;
    /* Icons same as text or brand */
    font-size: 1.1rem;
    width: 24px;
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-brand p {
        margin: 0 auto 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .hero-vehicle {
        width: 380px;
        right: -40px;
        bottom: -90px;
    }

    .hero-bike {
        width: 300px;
        left: -40px;
        bottom: -60px;
    }

    .hero-text {
        margin: 0 auto;
    }

    .download-buttons {
        justify-content: center;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}

/* Hamburger Menu Base Styles - Hidden on Desktop */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

/* Hamburger Active State */
.hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }

    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 40px;
        transition: var(--transition);
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        width: 100%;
    }

    nav a {
        font-size: 1.2rem;
        color: var(--primary);
        font-weight: 600;
        display: block;
        width: 100%;
    }

    .language-switch {
        margin-top: 20px;
        width: 100%;
    }

    .language-switch select {
        width: 100%;
        padding: 12px;
    }

    .btn-nav {
        text-align: center;
        width: 100%;
    }

    /* Mobile Menu Placeholder */

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .download-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 1rem;
    }

    /* Reset footer brand for mobile single column */
    .footer-brand {
        grid-column: span 1;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .hero-image {
        display: grid;
        grid-template-areas:
            "phone phone"
            "bike tuk";
        grid-template-columns: 1fr 1fr;
        gap: 0;
        justify-items: center;
        align-items: end;
        margin: 40px auto 10px;
        width: 100%;
        max-width: 380px;
    }

    .phone-mockup {
        grid-area: phone;
        width: 250px;
        height: 500px;
        margin-bottom: -50px;
        z-index: 10;
        transform: none !important;
        animation: none !important;
    }

    .phone-mockup .app-header {
        height: 65px;
        padding-bottom: 10px;
    }

    .phone-mockup .notch {
        width: 90px;
        height: 20px;
    }

    .phone-mockup .status-bar {
        font-size: 13px;
    }

    .hero-bike {
        grid-area: bike;
        position: relative;
        left: auto;
        bottom: auto;
        display: block;
        width: 190px;
        margin: 0 -30px 0 0;
        z-index: 5;
        opacity: 1;
        transform: scaleX(-1) !important;
        animation: none !important;
    }

    .hero-vehicle {
        grid-area: tuk;
        position: relative;
        right: auto;
        bottom: auto;
        display: block;
        width: 210px;
        margin: 0 0 0 -30px;
        z-index: 6;
        opacity: 1;
        transform: none !important;
        animation: none !important;
    }
}

/* --- Subpage Styles --- */
.subpage-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/main_logo.png') no-repeat center;
    background-size: 40%;
    opacity: 0.05;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.subpage-hero h1 {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    margin-bottom: 10px;
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.subpage-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.subpage-content {
    padding: 80px 0;
    background-color: var(--white);
    min-height: 400px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2 i {
    font-size: 1.25rem;
    color: var(--secondary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.focus-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--surface-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
    background: white;
}

.focus-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.focus-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.mission-box {
    background: linear-gradient(135deg, rgba(16, 55, 98, 0.05) 0%, rgba(0, 153, 68, 0.05) 100%);
    padding: 60px;
    border-radius: 32px;
    margin-bottom: 80px;
    text-align: center;
    border: 1px solid rgba(16, 55, 98, 0.1);
}

.mission-box h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.vision-tagline {
    font-style: italic;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 40px;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .subpage-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .subpage-hero h1 {
        font-size: 2.2rem;
    }

    .mission-box {
        padding: 40px 20px;
    }
}

/* --- Custom Modal Popup Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 55, 98, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.85) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    font-size: 35px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(16, 55, 98, 0.2);
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.modal-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.modal-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, #007a36 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 153, 68, 0.2);
}

.modal-btn:active {
    transform: translateY(0);
}