* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better touch targets for mobile */
button, a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

/* Prevent zoom on input focus on mobile */
input[type="email"] {
    font-size: 16px;
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.pop-in {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.pop-in.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(240, 240, 245, 0.8), rgba(230, 235, 240, 0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23e8eaed" width="1200" height="600"/></svg>');
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    line-height: 1.2;
}

.hero p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #000;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #000;
    padding: 14px 32px;
    border: 2px solid #000;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

@media (hover: none) {
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
    
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Section Styles */
section {
    padding: 80px 20px;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #000;
}

/* Struggle Section */
.struggle-section {
    background: #fff;
}

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

.struggle-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.struggle-item p {
    color: #555;
    line-height: 1.7;
}

/* Phone Preview Section */
.phone-section {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.phone-mockup {
    max-width: 400px;
}

.phone-mockup img {
    width: 100%;
    height: auto;
}

.phone-content {
    max-width: 500px;
}

.phone-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.phone-content p {
    color: #555;
    margin-bottom: 30px;
}

.feature-list {
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.2rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Features Grid Section */
.features-section {
    background: #2b2d42;
    color: #fff;
}

.features-section .section-title {
    color: #fff;
}

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

.feature-card {
    text-align: left;
}

.feature-card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: #ccc;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23e0e5ea" width="1200" height="600"/></svg>');
    background-size: cover;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.how-card {
    text-align: center;
}

.how-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.how-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.how-card p {
    color: #555;
    font-size: 0.95rem;
}

.how-footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    color: #333;
}

/* Testimonials */
.testimonials {
    background: #f5f5f5;
}

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

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.testimonial-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 700;
    color: #000;
}

/* Coverage Section */
.coverage-section {
    background: #2b2d42;
    color: #fff;
}

.coverage-section .section-title {
    color: #fff;
}

.coverage-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.coverage-list {
    flex: 1;
    min-width: 300px;
}

.coverage-list h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.coverage-list ul {
    list-style: none;
}

.coverage-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.coverage-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
    font-size: 1.5rem;
}

.coverage-map {
    flex: 1;
    min-width: 300px;
}

.coverage-map img {
    width: 100%;
    border-radius: 10px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: #ccc;
}

/* Waitlist Section */
.waitlist-section {
    background: #f8f9fa;
    text-align: center;
}

.waitlist-content {
    max-width: 700px;
    margin: 0 auto;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-number {
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
}

.timeline-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: #666;
}

/* FAQ Section */
.faq-section {
    background: #2b2d42;
    color: #fff;
}

.faq-section .section-title {
    color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-item p {
    color: #ccc;
    line-height: 1.7;
}

/* Final CTA */
.final-cta {
    background: #fff;
    text-align: center;
}

.cta-box {
    background: #f8f9fa;
    padding: 60px 40px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #000;
}

.cta-box p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 10px;
}

.benefit-icon {
    font-size: 1.3rem;
    margin-top: 2px;
}

.benefit-text {
    font-size: 0.95rem;
    color: #333;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.footer-note {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #888;
}

.footer-note a {
    color: #000;
    text-decoration: underline;
}

/* Waitlist Form Styles */
.waitlist-form {
    max-width: 500px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: #000;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
}

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

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

.form-group button {
    width: 100%;
}

/* Modal/Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: translateY(50px) scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.modal-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
}

.modal-close:active {
    transform: rotate(90deg) scale(0.9);
}

.modal-close-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.modal-close-icon::before,
.modal-close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #333;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background 0.3s ease;
}

.modal-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover .modal-close-icon::before,
.modal-close:hover .modal-close-icon::after {
    background: #000;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    font-size: 1rem;
}

.modal-form {
    width: 100%;
}

.modal-form .form-group {
    margin-bottom: 25px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 0.95rem;
}

.modal-form label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.modal-form input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.modal-form input[type="email"]:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.modal-form input[type="email"]:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.modal-form input[type="email"]:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

.modal-form .error-message {
    display: none;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 6px;
    margin-left: 4px;
}

.modal-form input[type="email"]:invalid:not(:placeholder-shown) + .error-message {
    display: block;
}

.modal-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

.modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-success.active {
    display: block;
}

.modal-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.modal-success-icon::after {
    content: '✓';
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.modal-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.modal-success p {
    color: #666;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 16px 24px;
    }

    .struggle-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .phone-section {
        flex-direction: column-reverse;
    }

    .phone-mockup svg {
        max-width: 250px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .how-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .coverage-content {
        flex-direction: column;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
    }

    section {
        padding: 60px 20px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .how-footer {
        padding: 20px;
        font-size: 0.95rem;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 2rem;
    }

    .phone-mockup svg {
        max-width: 200px;
    }

    .feature-card-icon,
    .how-icon {
        font-size: 2rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    input[type="email"] {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .footer-note {
        font-size: 0.8rem;
    }

    .modal-content {
        padding: 25px 15px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-form input[type="email"] {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

