/* StraatVeilig Landing Page Styles */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Improve focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Better touch targets */
button,
input[type="submit"],
input[type="button"],
.btn {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

/* Improved link styles */
a {
    color: inherit;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    /* StraatVeilig Color Palette - Based on Bitvavo Style */
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --secondary-color: #6366F1;
    
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --emergency-color: #DC2626;
    
    --background: #FFFFFF;
    --surface: #F8F9FA;
    --surface-variant: #F1F3F4;
    
    --text-primary: #000000;
    --text-secondary: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    --gradient-cta: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Breakpoints */
    --mobile: 640px;
    --tablet: 768px;
    --desktop: 1024px;
    --wide: 1280px;
}

html {
    scroll-behavior: smooth;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.hidden {
    display: none !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust {
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: slideInRight 0.8s ease-out;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
}

.app-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.app-screenshot.active {
    opacity: 1;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 50px;
    filter: blur(40px);
    animation: glow 3s ease-in-out infinite alternate;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-element.emergency {
    background: var(--emergency-color);
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.floating-element.community {
    background: var(--success-color);
    top: 60%;
    right: -10%;
    animation-delay: 1s;
}

.floating-element.location {
    background: var(--secondary-color);
    bottom: 20%;
    left: -15%;
    animation-delay: 2s;
}

/* Section Base Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Features Section */
.features {
    background: var(--surface);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.emergency-icon {
    background: var(--emergency-color);
}

.community-icon {
    background: var(--success-color);
}

.location-icon {
    background: var(--secondary-color);
}

.analytics-icon {
    background: var(--warning-color);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.benefit i {
    color: var(--success-color);
    font-size: 0.75rem;
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.solution-card.primary {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.solution-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.solution-features {
    margin-bottom: 2rem;
}

.solution-features .feature {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.solution-pricing {
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
}

/* Pricing Section */
.pricing {
    background: var(--surface);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.toggle-label {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
}

.discount {
    color: var(--success-color);
    font-weight: var(--font-weight-bold);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: var(--primary-color);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-description {
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features .feature {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.pricing-features .feature:last-child {
    border-bottom: none;
}

.pricing-features .feature.disabled {
    color: var(--text-light);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--font-weight-bold);
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #FFC107;
}

/* App Walkthrough Section */
.app-walkthrough {
    background: var(--background);
    padding: 5rem 0;
}

.walkthrough-container {
    margin-top: 4rem;
}

.walkthrough-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
}

.walkthrough-step.reverse {
    direction: rtl;
}

.walkthrough-step.reverse > * {
    direction: ltr;
}

.walkthrough-step:last-child {
    margin-bottom: 0;
}

.step-content {
    position: relative;
}

.step-number {
    position: absolute;
    top: -2rem;
    left: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-lg);
}

.step-info {
    padding-left: 5rem;
}

.step-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-medium);
}

.step-subtitle .highlight {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.step-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.safe-spots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.emergency-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.emergency-type-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.emergency-type-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--error-color);
}

.emergency-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.emergency-type-icon.intimidation {
    background: var(--error-color);
}

.emergency-type-icon.followed {
    background: var(--warning-color);
}

.emergency-type-icon.unsafe {
    background: var(--primary-color);
}

.emergency-type-icon.general {
    background: var(--secondary-color);
}

.emergency-type-item span {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.community-help-options {
    margin-top: 2rem;
}

.help-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.help-option:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.help-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.help-icon.direct {
    background: var(--success-color);
}

.help-icon.coming {
    background: var(--primary-color);
}

.help-icon.police {
    background: var(--error-color);
}

.help-icon.location {
    background: var(--secondary-color);
}

.help-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.help-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 1.1rem;
}

.help-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.map-features {
    margin-top: 2rem;
}

.map-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.map-feature:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.map-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.map-feature-text {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    font-size: 1rem;
}

.safe-spot-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.safe-spot-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.safe-spot-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.safe-spot-icon.restaurant {
    background: var(--success-color);
}

.safe-spot-icon.police {
    background: var(--primary-color);
}

.safe-spot-icon.fuel {
    background: var(--warning-color);
}

.safe-spot-icon.volunteer {
    background: var(--secondary-color);
}

.safe-spot-item span {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.community-features {
    margin-top: 2rem;
}

.community-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.feature-icon-small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-icon-small.error {
    background: var(--error-color);
}

.feature-icon-small.info {
    background: var(--primary-color);
}

.feature-icon-small.success {
    background: var(--success-color);
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 1rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.emergency-flow {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--surface);
    border-radius: 16px;
    border: 2px solid var(--error-color);
}

.emergency-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    text-align: center;
}

.emergency-icon {
    width: 50px;
    height: 50px;
    background: var(--error-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.emergency-text {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    line-height: 1.4;
}

.flow-arrow {
    color: var(--error-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.safety-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    color: var(--success-color);
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
}

.safety-note i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-visual {
    position: relative;
}

.app-preview {
    background: var(--surface);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    opacity: 0.7;
}

.preview-header {
    position: relative;
    z-index: 2;
}

.preview-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.preview-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* GIF Container Styling for App Walkthrough */
.gif-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 320px;
    margin: 1.5rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border: 8px solid #000000;
    aspect-ratio: 9/16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gif-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #000000;
    border-radius: 0 0 4px 4px;
    z-index: 3;
}

.gif-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gif-container:hover img {
    transform: scale(1.02);
}

/* Responsive Design for App Walkthrough */
@media (max-width: 1024px) {
    .walkthrough-step {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .walkthrough-step.reverse {
        direction: ltr;
    }
    
    .step-info {
        padding-left: 0;
    }
    
    .step-number {
        position: relative;
        top: 0;
        margin: 0 auto 2rem auto;
    }
    
    .safe-spots-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto 0 auto;
    }
    
    .emergency-types-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto 0 auto;
    }
    
    .emergency-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .app-walkthrough {
        padding: 3rem 0;
    }
    
    .walkthrough-step {
        margin-bottom: 4rem;
    }
    
    .step-title {
        font-size: 1.75rem;
    }
    
    .step-subtitle {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 1rem;
    }
    
    .community-feature {
        padding: 1rem;
    }
    
    .emergency-flow {
        padding: 1.5rem;
    }
    
    .app-preview {
        padding: 2rem;
        min-height: 200px;
    }
}

/* CTA Section */
.cta {
    position: relative;
    background: var(--text-primary);
    color: white;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-gradient {
    background: var(--gradient-primary);
    opacity: 0.9;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.8;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.method-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.method-value {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--background);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-title {
    color: white;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    from {
        opacity: 0.2;
    }
    to {
        opacity: 0.4;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px); /* Dynamic viewport height for mobile browsers */
        max-height: calc(100vh - 80px); /* Fallback for older browsers */
        background: var(--background);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        z-index: 9998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 1.5rem 0;
        font-size: 1.125rem;
        font-weight: 500;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
        display: block;
        color: var(--text-primary);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-cta {
        margin-top: 1rem;
        align-self: center;
        width: auto;
        min-width: 150px;
    }
    
    /* Prevent body scroll when menu is open */
    body.nav-open {
        overflow: hidden;
        height: 100vh;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .hero-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .cta-title {
        font-size: 1.875rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .stat {
        min-width: auto;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .stat-divider {
        width: 60%;
        height: 1px;
        margin: 0 auto;
        display: block;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .early-access-form {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .early-access-form h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .early-access-form p {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .trust-logos {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .trust-item {
        min-width: auto;
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .trust-item i {
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-feature {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .phone-mockup {
        transform: scale(0.8);
    }
    
    .floating-elements {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: calc(100vh - 80px);
    }
    
    .hero-title {
        font-size: 1.875rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .phone-mockup {
        transform: scale(0.7);
        margin: -2rem 0;
    }
    
    .phone-frame {
        width: 180px;
        height: 360px;
    }
    
    .floating-elements {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .cta-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .cta-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .hero-stats {
        padding: 1rem;
        margin: 1.5rem 0;
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .early-access-form h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .early-access-form p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .email-input,
    .email-input-cta {
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.875rem 1.5rem;
    }
    
    .trust-item {
        padding: 0.5rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .trust-item i {
        font-size: 0.875rem;
    }
    
    .cta-feature {
        font-size: 0.875rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-column {
        margin-bottom: 1.5rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-brand .logo-text {
        font-size: 1.125rem;
    }
    
    .contact-info {
        padding: 1.25rem;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-description {
        font-size: 0.875rem;
    }
    
    .contact-method {
        padding: 0.75rem 0;
    }
    
    .method-label {
        font-size: 0.75rem;
    }
    
    .method-value {
        font-size: 0.875rem;
    }
}

/* Email Signup Styles */
.early-access-form {
    text-align: center;
    margin-bottom: 2rem;
}

.early-access-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.early-access-form p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.email-signup-form,
.email-signup-form-cta {
    margin-bottom: 1rem;
}

.email-input-group,
.email-input-group-cta {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    align-items: stretch;
}

.email-input,
.email-input-cta {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: var(--background);
    color: var(--text-primary);
    transition: all 0.3s ease;
    min-height: 48px; /* Better touch target */
}

.email-input:focus,
.email-input-cta:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.email-input::placeholder,
.email-input-cta::placeholder {
    color: var(--text-muted);
}

.cta-signup {
    margin: 2rem 0;
}

.email-input-group-cta .btn {
    white-space: nowrap;
    padding: 1rem 2rem;
    min-height: 48px; /* Better touch target */
}

/* Mobile-first improvements */
.btn {
    min-height: 44px; /* iOS recommended touch target */
    touch-action: manipulation; /* Prevent double-tap zoom */
    -webkit-tap-highlight-color: transparent; /* Remove iOS tap highlight */
}

/* Signup message styles */
.signup-message {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    animation: fadeInUp 0.3s ease;
}

.signup-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.signup-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.signup-message-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

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

.nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Improved text readability on mobile */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%; /* Prevent iOS font scaling */
        text-size-adjust: 100%;
    }
    
    /* Larger touch targets on mobile */
    .btn {
        min-height: 48px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .nav-link {
        min-height: 48px;
        padding: 1rem 0;
    }
    
    .hamburger {
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
        align-items: center;
        padding: 0.5rem;
    }
}

/* Responsive email forms */
@media (max-width: 768px) {
    .email-input-group,
    .email-input-group-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .email-input-group-cta .btn {
        padding: 1rem;
        width: 100%;
    }
    
    .early-access-form h3 {
        font-size: 1.25rem;
    }
    
    .email-input,
    .email-input-cta {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .nav-menu {
        padding: 1.5rem;
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px); /* Dynamic viewport height for mobile browsers */
    }
    
    .nav-link {
        padding: 1.25rem 0;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-top: 1.5rem;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        min-width: 140px;
    }
    
    .email-input,
    .email-input-cta {
        padding: 0.875rem 1rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .early-access-form h3 {
        font-size: 1.125rem;
    }
    
    .early-access-form p {
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-elements,
    .cta,
    .contact {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
