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

:root {
    --primary-color: #ffd000;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6b6b;
    --text-primary: #1a1a1a;
    --text-secondary: #2d2d2d;
    --text-light: #4a4a4a;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e1e5e9;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Prevent horizontal scrolling on touch devices */
html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Roboto', 'Sansation', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Touch device specific controls */
@media (hover: none) and (pointer: coarse) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }
    
    body {
        touch-action: pan-y pinch-zoom;
    }
    
    * {
        max-width: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Navigation */
.header-nav {
    position: absolute;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
}

/* Solid header background when mobile menu is open */
.header-nav.solid {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.header-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.header-link:hover {
    color: var(--text-secondary);
}

.header-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd000;
    transition: var(--transition);
}

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

.download-link {
    background: #ffd000;
    color: #1a1a1a !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 1rem;
}

.download-link:hover {
    background: #E6C200;
    color: #1a1a1a !important;
}

.download-link::after {
    display: none;
}

/* Desktop Download Button */
.desktop-download-btn {
    display: inline-block;
    background: #ffd000;
    color: #1a1a1a !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.desktop-download-btn:hover {
    background: #E6C200;
    color: #1a1a1a !important;
}

/* Mobile Download Button */
.mobile-download-btn {
    display: none;
    background: #ffd000;
    color: #1a1a1a !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-download-btn:hover {
    background: #E6C200;
    color: #1a1a1a !important;
}

/* Header Mobile Controls */
.header-mobile-controls {
    display: none;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--background-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Hero background map with radial edge fade */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    /* Radial transparency at margins */
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 95%);
            mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 95%);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.header-logo .logo {
    height: 40px;
    width: auto;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Utilities */
.highlight-yellow {
    color: var(--primary-color);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Subtle contrast panel behind hero text */
.hero-content {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.84) 40%, rgba(255,255,255,0) 100%);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.16);
}

.hero-note {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

.app-store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-block;
    transition: var(--transition);
}

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

.store-btn img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.store-btn:hover img {
    box-shadow: var(--shadow-medium);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #ffd000;
    color: #1a1a1a;
    border-color: #ffd000;
    font-weight: 700;
}

.btn-primary:hover {
    background: #E6C200;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: var(--text-primary);
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow-heavy);
    margin: 0 auto;
}

.hero-image {
    position: relative;
}

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

.floating-card {
    position: absolute;
    background: var(--background-white);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 30%;
    left: -20px;
    animation-delay: 1.5s;
}

.card-icon {
    font-size: 1.2rem;
    color: #ffd000;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.card-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background-white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 10px;
    background: var(--background-white);
    border-bottom: 1px solid var(--border-color);
}

.time {
    font-weight: 600;
    font-size: 0.9rem;
}

.battery {
    width: 20px;
    height: 10px;
    border: 1px solid var(--text-primary);
    border-radius: 2px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 2px;
    width: 2px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 0 1px 1px 0;
}

.app-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn.emergency {
    background: var(--accent-color);
    color: white;
}

.action-btn.check-in {
    background: var(--primary-color);
    color: var(--text-primary);
}

.location-info {
    background: var(--background-light);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.location-info p {
    margin-bottom: 5px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

.feature-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.features-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-visual {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.visual-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

.card-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.card-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn.primary {
    background: var(--accent-color);
    color: white;
}

.action-btn.secondary {
    background: var(--primary-color);
    color: var(--text-primary);
}

/* Simple but Powerful Section */
.simple-powerful {
    padding: 100px 0;
    background: var(--background-white);
}

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

.feature-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: #ffd000;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #ffd000;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: var(--background-light);
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: var(--background-white);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #ffd000;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--background-white);
}

.testimonials .section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

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

.testimonial-card {
    background: var(--secondary-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.testimonial-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.testimonial-content p {
    color: var(--background-white);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--background-white);
    margin-bottom: 0.25rem;
}

.author-rating {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--text-primary);
    text-align: center;
}

.download-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.download-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 400;
}

.download-content p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    background: var(--background-white);
    color: var(--text-primary);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-icon {
    font-size: 2rem;
    color: #ffd000;
}

.btn-text {
    text-align: left;
}

.btn-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}

.download-info p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Email Collection Section */
.email-collection {
    padding: 80px 0;
    background: var(--background-light);
}

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

.email-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.email-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.email-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.email-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.email-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.email-input-group .btn {
    padding: 15px 30px;
    white-space: nowrap;
}

.email-disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--background-white);
    padding: 60px 0 20px;
}

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

.footer-logo h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-light);
}

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

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--background-white);
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: var(--text-light);
}

/* Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-container {
        gap: 6rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .features-content {
        gap: 3rem;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-image {
        order: 2;
        margin: 0;
        min-width: auto;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .feature-step {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) {
    .header-nav.solid {
        box-shadow: none;
    }
    
    .header-mobile-controls {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex; /* inline within header again */
        position: static;
        top: auto;
        right: auto;
        z-index: 1001;
    }
    
    .mobile-download-btn {
        display: inline-block;
    }
    
    .desktop-download-btn {
        display: none;
    }
    
    .header-links {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .header-links.active {
        left: 0;
    }
    
    .header-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .app-store-buttons {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .hero-cta {
        align-items: center;
    }

    /* Add transparent container to mobile hero content */
    .hero-content {
        background: linear-gradient(180deg, rgba(255,255,255,0.5) 80%, rgba(255,255,255,0.6) 50%) !important;
        border-radius: 16px !important;
        padding: 20px 24px !important;
        box-shadow: 0 14px 40px rgba(0,0,0,0.16) !important;
    }

    /* Mobile map background opacity */
    .hero::before {
        opacity: 0.8 !important;
    }

    /* Hide phone mockup and floating elements on mobile */
    .hero-image,
    .phone-mockup,
    .floating-elements {
        display: none !important;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    /* Keep phone mockup positioned properly on mobile */
    .hero-image {
        position: relative;
        margin-top: 2rem;
    }
    
    .phone-mockup {
        position: relative;
        margin: 0 auto;
        z-index: 1;
    }
    
    .floating-card {
        animation: none;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .features-content {
        gap: 2rem;
    }
    
    .feature-steps {
        gap: 2rem;
    }
    
    .feature-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .download-btn {
        min-width: 250px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .download-btn .btn-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .download-btn .btn-icon {
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .download-btn .btn-icon img {
        height: 100px;
        width: auto;
    }
    
    .download-btn .btn-text {
        text-align: center;
        margin-left: 0;
    }
    
    .email-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    /* Download section - improved mobile buttons and containers */
    .download-buttons {
        gap: 1.25rem;
        padding: 0 6px;
        align-items: center;
    }

    .download-btn {
        border-radius: 16px;
        padding: 14px 16px;
        max-width: 360px;
        min-height: 88px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        border: 1px solid var(--border-color);
        margin: 8px 0 !important; /* override asymmetric inline margins */
        align-self: center;
    }

    .download-btn .btn-content {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }


    .download-btn .btn-text {
        text-align: left;
    }

    .download-btn .btn-title {
        font-size: 0.95rem;
    }

    .download-btn .btn-subtitle {
        font-size: 1.4rem;
        line-height: 1.1;
    }
    
    .email-input-group .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Make header logo smaller on mobile */
    .header-logo .logo {
        width: 30px !important;
        height: 30px !important;
    }
    
    .header-logo .logo-text {
        width: 80px !important;
        height: 80px !important;
    }
    
    .simple-powerful {
        padding: 80px 0;
    }
    
    .stats-section {
        padding: 80px 0;
    }
    
    .testimonials {
        padding: 80px 0;
    }
    
    .download {
        padding: 80px 0;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Adjust transparent container padding for smaller screens */
    .hero-content {
        padding: 16px 20px !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2rem;
        color: #ffd000;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .download-btn {
        min-width: 200px;
        padding: 15px 20px;
        width: 100%;
        max-width: 280px;
    }
    
    .download-btn .btn-icon {
        width: 100px;
        height: 35px;
    }
    
    .download-btn .btn-icon img {
        height: 35px;
    }
    
    .btn-icon {
        font-size: 1.5rem;
        color: #ffd000;
    }
    
    .btn-text {
        font-size: 0.9rem;
    }
    
    .btn-title {
        font-size: 0.8rem;
    }
    
    .btn-subtitle {
        font-size: 1rem;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .store-btn img {
        height: 40px;
    }
}

/* Legal Page Styles */
.legal-toc {
    background: var(--secondary-color) !important;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.legal-toc h2 {
    color: var(--background-white) !important;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.toc-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.toc-link {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #333 !important;
    transition: var(--transition) !important;
    display: block !important;
}

.toc-link:hover {
    color: #FFF59D !important;
    border-bottom-color: var(--primary-color) !important;
}

.toc-link:last-child {
    border-bottom: none !important;
}

/* Legal Content Centering - Web View Only */
@media (min-width: 1024px) {
    .legal-content-wrapper {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .legal-section {
        text-align: center;
    }
    
    .legal-section h2 {
        text-align: center !important;
    }
    
    .legal-text {
        text-align: center !important;
    }
    
    .legal-text h3 {
        text-align: center !important;
    }
    
    .legal-text p {
        text-align: center !important;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .legal-text ul {
        text-align: left;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }
    
    .legal-text li {
        text-align: left;
    }
}

/* Tablet and Desktop: enlarge store badge icons in Download section */
@media (min-width: 768px) {
    /* Subtle float animation for download containers on tablet/desktop */
    @keyframes downloadFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-4px); }
    }

    .download .download-btn {
        animation: downloadFloat 4.5s ease-in-out infinite;
        will-change: transform;
    }

    .download .btn-icon {
        width: 160px !important;
        height: 80px !important;
    }
    .download .btn-icon img {
        height: 80px !important;
        width: auto;
    }
}
