:root {
    --primary-gradient: linear-gradient(135deg, #0077cc 0%, #00BFA5 50%, #FFD700 100%);
    --dark-gradient: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    --text-primary: #0a0a0a;
    --text-secondary: #6b7280;
    --accent-blue: #0077cc;
    --accent-teal: #00BFA5;
    --surface: #fafafa;
    --surface-elevated: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0077CC;
    --primary-dark: #005A99;
    --primary-light: #33A3FF;
    --accent: #F59E0B;
    --dark: #1A1A1A;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --green: #10B981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Floating background elements */
.floating-element {
    position: absolute;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}

.floating-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 100%;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 204, 0.4);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    /* background: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?q=80&w=2070') center/cover; */
    opacity: 0.15;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 119, 204, 0.3);
}

.hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 119, 204, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 119, 204, 0.3);
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?q=80&w=800') center/cover;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.hero-image:hover {
    transform: rotateY(-10deg) rotateX(5deg);
}

.hero-image:hover::before {
    opacity: 0.5;
}

/* .hero-buttons { display: flex; justify-content: left; gap: 1rem; } */

/* About TRODDR Section */
.about-app { background: #fff; }
.about-app .section-title { text-align: left; margin-left: 0; }
.about-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; 
    gap: 2.5rem; 
    align-items: center; 
    margin-top: 2rem; 
}
.about-copy { max-width: 720px; }
.about-copy p { color: var(--gray); font-size: 1.05rem; margin-bottom: 1rem; }
.about-points { list-style: none; margin-top: 1rem; }
.about-points li { 
    display: flex; 
    align-items: flex-start; 
    gap: .75rem; 
    margin-bottom: .75rem; 
    color: var(--dark);
}
.about-points li .dot { 
    width: 28px; height: 28px; 
    border-radius: 999px; 
    background: linear-gradient(135deg, var(--primary), var(--primary-light)); 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    color: #fff; 
    flex: 0 0 28px;
}
.about-media {
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 20px 50px rgba(0,119,204,.25);
    min-height: 360px;
    position: relative;
    overflow: hidden;
}
.about-media::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?q=80&w=1200') center/cover no-repeat;
    opacity: .25;
}
.about-media .mock {
    position: absolute; inset: 24px; 
    border-radius: 20px; 
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600;
}
@media (max-width: 980px) {
    .about-app .section-title { text-align: center; }
    .about-grid { grid-template-columns: 1fr; }
    .about-copy { max-width: 100%; }
}

/* Founder / Story Section */
#founder.story-section {
    background: white;
}

#founder .section-container {
    display: flex;              /* Arrange elements in a row */
    justify-content: flex-end;  /* Push everything to the right */
    flex-direction: column;     /* Keep title above content */
    align-items: flex-end;      /* Align both title & text to right side */
}

#founder .section-title {
    text-align: left;
    width: min(100%, 600px);
}

#founder .story-content {
    max-width: 600px;
    margin: 0;
    text-align: left;
}

#founder .story-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--gray);
}

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Solution Section */
.solution-section {
    background: white;
    position: relative;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 119, 204, 0.15);
}

.solution-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.solution-features {
    list-style: none;
}

.solution-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 119, 204, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Destinations Section */
.destinations-section {
    background: white;
    position: relative;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.destination-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.destination-card:hover {
    transform: translateY(-10px);
}

/* Correctly scoped hero button centering (global; mobile-first) */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.destination-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.destination-content {
    padding: 1.5rem;
}

.destination-category {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.destination-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.destination-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    line-height: 0.1;
    margin-right: 0.25rem;
    vertical-align: -0.4rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.testimonial-company {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    background: var(--dark);
    color: white;
    text-align: center;
}

.stats-section .section-title {
    color: white;
    background: linear-gradient(135deg, var(--primary-light), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #E5E7EB;
}

/* Ticker / Rolling CTA Section */
.ticker-section { background: var(--primary); color: white; overflow: hidden; }
.ticker-row { position: relative; border-top: 1px solid rgba(255,255,255,0.08); }
.ticker-inner { display: flex; gap: 2rem; padding: 0.25rem 0; }
.ticker-track { display: flex; gap: 2rem; white-space: nowrap; will-change: transform; animation: marquee 28s linear infinite; }
.ticker-row:hover .ticker-track { animation-play-state: paused; }
/* Download Ticker Variant */
.ticker-section.ticker-download { background: var(--primary); }
.ticker-section.ticker-download .ticker-inner { padding: 1.1rem 0; }
.ticker-section.ticker-download .ticker-track { gap: 8rem; }
.ticker-section.ticker-download .ticker-item { font-size: 1.1rem; line-height: 1.2; font-weight: 700; letter-spacing: 0.3px; }
.store-badge { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; background: white; color: var(--dark); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.social-link { color: white; text-decoration: none; font-weight: 600; opacity: 0.95; }
.social-link:hover { opacity: 1; text-decoration: underline; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Ensure the track is long enough by duplicating content */
.ticker-dup { margin-left: 2rem; }
@media (max-width: 768px) {
    .ticker-inner { padding: 0.75rem 0; }
    .store-badge { font-size: 0.85rem; }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.waitlist-section {
background: linear-gradient(135deg, var(--primary), #0077cc);
padding: 4rem 1rem;
text-align: center;
color: white;
}

.waitlist-container {
max-width: 700px;
margin: 0 auto;
}

.waitlist-container h2 {
font-size: 2rem;
margin-bottom: 0.5rem;
}

.waitlist-container p {
margin-bottom: 2rem;
font-size: 1.1rem;
}

#waitlist-form {
display: flex;
gap: 1rem;
flex-wrap: wrap;
text-align: center;
}

#waitlist-form input {
flex: 1 1 200px;
padding: 0.75rem;
border: none;
border-radius: 8px;
font-size: 1rem;
}

#waitlist-form button .waitlist-cta{
justify-content: center !important;
}

#waitlist-form button {
display: inline-block;
background: white;
color: var(--primary);
font-weight: bold;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 50px;
font-size: 1rem;
cursor: pointer;
transition: transform 0.2s ease, 0.2s ease;
}

#waitlist-form button:hover {
transform: scale(1.05);
background: #f8f8f8;
}

/* =======================================================================
   App Download Section Styles
   =======================================================================
   Add this to your main style.css file
   ======================================================================= */

/* App Download Section */
.app-download-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.download-btn {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.download-btn img {
    height: 60px;
    width: auto;
    display: block;
}

.download-btn-fallback {
    display: none;
    align-items: center;
    gap: 0.75rem;
    background: var(--dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.download-btn.app-store .download-btn-fallback {
    background: linear-gradient(135deg, #000, #333);
}

.download-btn.google-play .download-btn-fallback {
    background: linear-gradient(135deg, #01875f, #4285f4);
}

.download-btn:hover {
    transform: translateY(-3px);
}

.download-btn:hover img {
    filter: brightness(1.1);
}

.download-btn:hover .download-btn-fallback {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.download-icon {
    font-size: 1.8rem;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-label {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1;
}

.download-store {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
}

.preview-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
}

.preview-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 119, 204, 0.4);
}

/* Coming Soon Badge */
.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.app-download-section {
    position: relative;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .app-download-section {
        padding: 60px 0;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .download-btn img {
        height: 50px;
    }
    
    .download-btn-fallback {
        min-width: 160px;
        padding: 0.6rem 1.2rem;
    }
    
    .app-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .app-preview-text {
        text-align: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
        padding: 16px;
    }
    
    .app-interface {
        padding: 1.5rem 1rem;
    }
    
    .app-header {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 12px;
    }
    
    .app-interface {
        padding: 1rem 0.75rem;
    }
    
    .recommendation-card {
        padding: 0.75rem;
    }
    
    .rec-text {
        font-size: 0.85rem;
    }
}

/* Hover effects for interactive elements */
.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Contact */
.contact-section { background: #fff; }
.contact-form { max-width: 720px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.contact-field label { font-weight: 600; color: var(--dark); }
.contact-field input,
.contact-field textarea {
padding: .9rem 1rem;
border-radius: 12px;
border: 1px solid #e5e7eb;
background: var(--light-gray);
font-size: 1rem;
outline: none;
transition: border .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-field input:focus,
.contact-field textarea:focus {
background: #fff;
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(0,119,204,.12);
}
.contact-submit {
background: var(--primary);
color: #fff;
border: 0;
border-radius: 999px;
padding: .9rem 1.6rem;
font-weight: 700;
cursor: pointer;
box-shadow: 0 10px 30px rgba(0,119,204,.25);
transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,119,204,.35); }

@media (max-width: 768px) {
.contact-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-section p {
    color: #9CA3AF;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        background-color: #fff !important;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        width: 300px;
        height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
/*--------------------- */
/* PRIVACY POLICY PAGE */
/* ------------------- */
/* =======================================================================
   TRODDR Legal Pages Styles
   =======================================================================
   Styles for Privacy Policy, Terms & Conditions, and other legal pages
   Designed to work with the main style.css file
   ======================================================================= */

/* Legal Page Background Override */
body.legal-page {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    min-height: 100vh;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 100%;
}

/* Main Legal Container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 80px; /* Extra top padding for fixed header */
    background: var(--white);
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Legal Page Typography */
.legal-h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.legal-muted {
    color: var(--gray);
    margin: 0 0 2rem;
    text-align: center;
    font-size: 1.1rem;
}

.badge-updated {
    display: inline-block;
    background: rgba(0, 119, 204, 0.1);
    border: 1px solid rgba(0, 119, 204, 0.3);
    color: var(--primary);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Table of Contents */
.legal-toc {
    background: var(--light-gray);
    border: 1px solid rgba(0, 119, 204, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0 3rem;
    position: relative;
}

.legal-toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px 16px 0 0;
}

.legal-toc strong {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
    display: block;
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.legal-toc li {
    margin: 0;
}

.legal-toc a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
    border-radius: 8px;
    padding-left: 1rem;
    position: relative;
}

.legal-toc a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-toc a:hover {
    color: var(--primary);
    background: rgba(0, 119, 204, 0.05);
}

.legal-toc a:hover::before {
    opacity: 1;
}

/* Legal Sections */
.legal-section {
    margin: 3rem 0;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.legal-section p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-section li {
    color: var(--gray);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section strong {
    color: var(--dark);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Code styling */
code {
    background: var(--light-gray);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 204, 0.4);
}

/* Legal Page Header Adjustments */
.legal-page .header {
    background: rgba(255, 255, 255, 0.98);
}

/* Special styling for important notices */
.legal-notice {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border: 1px solid #F59E0B;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.legal-notice::before {
    content: '⚠️';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.2rem;
}

.legal-notice h3 {
    color: #92400E;
    margin: 0 0 0.5rem 2rem;
    font-weight: 600;
}

.legal-notice p {
    color: #92400E;
    margin: 0 0 0 2rem;
    font-size: 1rem;
}

/* Effective Date Styling */
.effective-date {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(0, 119, 204, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* Contact Information Styling */
.legal-contact {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    margin-top: 2rem;
}

.legal-contact h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.legal-contact p {
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .legal-container {
        margin: 20px;
        padding: 100px 20px 60px;
    }

    .legal-h1 {
        font-size: 2rem;
    }

    .legal-toc ul {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-notice {
        padding: 1rem;
    }

    .legal-notice h3,
    .legal-notice p {
        margin-left: 1.5rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .legal-container {
        margin: 10px;
        padding: 90px 15px 50px;
        border-radius: 16px;
    }

    .legal-toc {
        padding: 1rem;
    }

    .legal-section {
        margin: 2rem 0;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Print styles */
@media print {
    .header,
    .back-to-top,
    .floating-element {
        display: none !important;
    }

    .legal-container {
        box-shadow: none;
        margin: 0;
        padding: 20px;
        max-width: 100%;
    }

    .legal-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .legal-toc {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .legal-h1 {
        color: var(--dark) !important;
        -webkit-text-fill-color: var(--dark) !important;
    }

    .legal-section h2::after {
        background: var(--dark) !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .legal-toc {
        border: 2px solid var(--dark);
    }

    .legal-section h2::after {
        background: var(--dark);
    }

    .badge-updated {
        background: var(--dark);
        color: white;
        border-color: var(--dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .back-to-top,
    .legal-toc a,
    .floating-element {
        transition: none;
        animation: none;
    }
}

/* =======================================================================
   TRODDR Mobile-Responsive CSS Updates
   =======================================================================
   Add these styles to your existing CSS or replace the mobile sections
   ======================================================================= */

   :root {
    --primary: #0077CC;
    --primary-dark: #005A99;
    --primary-light: #33A3FF;
    --accent: #F59E0B;
    --dark: #1A1A1A;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --green: #10B981;
    
    /* CSS Custom Properties for dynamic viewport */
    --vh: 1vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
    z-index: 1001;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 204, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background: var(--light-gray);
}

.mobile-menu-btn.active {
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 119, 204, 0.3);
}

.hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 119, 204, 0.4);
}

/* ===== SECTIONS ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOUNDER STORY ===== */
.story-section {
    background: white;
}

.story-section .section-container {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
}

.story-section .section-title {
    text-align: left;
    width: 600px;
}

.story-content {
    max-width: 600px;
    margin: 0;
    text-align: left;
}

.story-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--gray);
}

.story-cta {
    text-align: left;
    margin-top: 2rem;
}

.story-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.story-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== ABOUT SECTION ===== */
.about-app {
    background: #fff;
}

.about-app .section-title {
    text-align: left;
    margin-left: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 2rem;
}

.about-copy {
    max-width: 720px;
}

.about-copy p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.about-points {
    list-style: none;
    margin-top: 1rem;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .75rem;
    color: var(--dark);
}

.about-points li .dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex: 0 0 28px;
}

/* ===== WAITLIST SECTION ===== */
.waitlist-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 4rem 1rem;
    text-align: center;
    color: white;
}

.waitlist-container {
    max-width: 700px;
    margin: 0 auto;
}

.waitlist-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.waitlist-container p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

#waitlist-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

#waitlist-form input {
    flex: 1 1 200px;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
}

#waitlist-form button {
    background: white;
    color: var(--primary);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 0 0 auto;
}

#waitlist-form button:hover {
    transform: scale(1.05);
    background: #f8f8f8;
}

/* ===== SOLUTION SECTION ===== */
.solution-section {
    background: white;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.solution-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 119, 204, 0.15);
}

.solution-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.solution-features {
    list-style: none;
}

.solution-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 119, 204, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== TICKER SECTION ===== */
.ticker-section {
    background: var(--primary);
    color: white;
    overflow: hidden;
}

.ticker-row {
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.ticker-inner {
    display: flex;
    gap: 2rem;
    padding: 0.75rem 0;
}

.ticker-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 28s linear infinite;
}

.ticker-item {
    font-weight: 600;
}

.social-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.95;
}

.social-link:hover {
    opacity: 1;
    text-decoration: underline;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: #fff;
}

.contact-form {
    max-width: 720px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1rem;
}

.contact-field label {
    font-weight: 600;
    color: var(--dark);
}

.contact-field input,
.contact-field textarea {
    padding: .9rem 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: var(--light-gray);
    font-size: 1rem;
    outline: none;
    transition: all .2s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,119,204,.12);
}

.contact-submit {
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .9rem 1.6rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,119,204,.25);
    transition: all .2s ease;
    width: 100%;
}

.contact-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0,119,204,.35);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-section p {
    color: #9CA3AF;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-btn {
        display: block;
        background-color: #fff !important;
        color: #0077cc;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: #fff !important; /* force opaque */
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        justify-content: flex-start;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 2001 !important; /* above .header (1000) */
      }
      
      .nav-links.mobile-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        background: #fff !important;
        color: #0077cc;
        display: flex !important;
      }
      
      /* Ensure header effects don't show through when menu is open */
      body.menu-open .header {
        background: #fff !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
      }
    
    .nav-item {
        font-size: 1.2rem;
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }
    
    .nav-cta {
        margin-top: 1rem;
        text-align: center;
        display: block;
        padding: 1rem 2rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: calc(var(--vh, 1vh) * 100);
        padding-top: 60px;
        text-align: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    /* Sections */
    .section-container {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Story Section */
    .story-section .section-container {
        align-items: center;
        text-align: center;
    }
    
    .story-section .section-title {
        width: 100%;
        text-align: center;
        padding: 0 1rem;
    }
    
    .story-content {
        max-width: 100%;
        text-align: left;
    }
    
    .story-cta {
        text-align: center;
        margin-top: 2rem;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-app .section-title {
        text-align: center;
    }
    
    .about-copy {
        max-width: 100%;
    }
    
    /* Waitlist Section */
    .waitlist-section {
        padding: 3rem 1rem;
    }
    
    .waitlist-container {
        padding: 0 1rem;
    }
    
    .waitlist-container h2 {
        font-size: 1.8rem;
    }
    
    #waitlist-form {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    #waitlist-form input {
        width: 100%;
        max-width: 400px;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    #waitlist-form button {
        width: 100%;
        max-width: 400px;
        padding: 1rem;
        font-size: 1.1rem;
        margin-top: 0.5rem;
    }
    
    /* Solution Section */
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solution-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .solution-card h3 {
        font-size: 1.2rem;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-field input,
    .contact-field textarea {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .contact-submit {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    /* Ticker Section */
    .ticker-inner {
        padding: 1rem 0;
    }
    
    .ticker-item {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 2rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-container {
        padding: 2rem 0.75rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .waitlist-container h2 {
        font-size: 1.6rem;
    }
    
    .solution-card,
    .feature-card {
        padding: 1.25rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        max-width: 250px;
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
    }
    
    #waitlist-form input,
    #waitlist-form button {
        max-width: 300px;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-container {
        padding: 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-container {
        padding: 2rem 1rem;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .solution-card,
    .feature-card {
        transform: none;
        transition: background-color 0.2s ease;
    }
    
    .solution-card:active,
    .feature-card:active {
        background-color: rgba(0, 119, 204, 0.1);
        transform: scale(0.98);
    }
    
    .hero-cta:active,
    .btn-primary:active,
    .btn-secondary:active,
    .nav-cta:active {
        transform: scale(0.95);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .solution-card,
    .feature-card {
        border: 2px solid var(--dark);
    }
    
    .hero-cta,
    .nav-cta,
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .ticker-track {
        animation: none;
    }
}

/* Focus styles for accessibility */
.nav-item:focus,
.hero-cta:focus,
.btn-primary:focus,
.btn-secondary:focus,
.contact-submit:focus,
.mobile-menu-btn:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.3);
}

/* Loading states */
.contact-submit.loading {
    position: relative;
    color: transparent;
}

.contact-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Notification system */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    font-weight: 500;
    text-align: center;
}

.notification.show {
    transform: translateY(0);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notification-icon {
    font-size: 1.2rem;
}

@media (min-width: 769px) {
    .notification {
        left: auto;
        right: 20px;
        max-width: 400px;
    }
}

/* Form message styles */
.form-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    text-align: center;
    max-width: 90%;
    width: 400px;
    display: none;
}

.form-message.success {
    border-left: 4px solid var(--green);
}

.form-message.error {
    border-left: 4px solid #ef4444;
}

.form-message-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-message-content p {
    color: var(--gray);
}

.form-message-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .form-message {
        padding: 1.5rem;
        max-width: 95%;
        border-radius: 16px;
    }
    
    .form-message-content h3 {
        font-size: 1.2rem;
    }
    
    .form-message-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }
    .hero-cta {
      display: inline-block;
      margin: 0 auto;
      text-align: center;
    }
  }

  /* Lock background scroll when mobile menu is open */
    body.menu-open { overflow: hidden; }

    /* Mobile baseline: hidden nav menu by default */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        background: #fff !important;
        color: #0077cc;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 2000 !important;
    }
    .nav-links.mobile-open {
        display: flex;
        background: #fff !important;
        color: #0077cc;
    }
    /* optional: lock scroll when open */
    body.menu-open { overflow: hidden; }
}

/* Hero CTA positioning */
.hero-buttons {
    display: flex;
    justify-content: center;  /* default mobile centering */
    align-items: center;
    width: 100%;
}

.hero-cta {
    margin: 0 auto;
}

/* Force center on small screens */
@media (max-width: 768px) {
    .hero-buttons { justify-content: center !important; }
    .hero-cta { margin-left: auto !important; margin-right: auto !important; }
}

/* Left-align on laptop+ screens */
@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
    .hero-cta {
        margin: 0; /* remove auto margins when left-aligned */
    }
}

    /* Close button for mobile nav */
    @media (max-width: 768px) {
        .nav-close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 999px;
        background: #f3f4f6; /* light grey */
        color: #111827;      /* near-black */
        font-size: 1.5rem;
        line-height: 1;
        display: none;       /* hidden until menu is open */
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 3000;       /* above menu content */
        }
        .nav-links.mobile-open .nav-close-btn { display: inline-flex; }
        .nav-close-btn:focus { outline: 2px solid #0077cc; outline-offset: 2px; }
    }

    @media (min-width: 769px) {
        /* Ensure desktop nav is inline and visible */
        .nav-links {
          position: static !important;
          transform: none !important;
          opacity: 1 !important;
          visibility: visible !important;
          display: flex !important;
          background: transparent !important;
          color: inherit !important;
          padding: 0 !important;
          gap: 2rem; /* keep your desktop spacing */
          z-index: auto !important;
        }
    }
    @media (min-width: 769px) {
        .nav-close-btn,
        .mobile-menu-btn {
          display: none !important;
        }
    }

.gform-embed iframe { width: 100%; max-width: 100%; border: 0; }
@media (max-width: 768px) {
  .gform-embed iframe { height: 1400px; } /* more room on mobile */
}