/**
 * Landing Page Styles
 * Professional, conversion-focused design for Gym Partners
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

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

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 600;
}

.btn-block {
    width: 100%;
}

.btn-google {
    background: white;
    color: #757575;
    border: 2px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.google-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 18px;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

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

.nav-brand h1 {
    font-size: 24px;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

.cta-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.cta-button:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 140px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-badge {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-badge span {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #3b82f6;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-social-proof {
    color: #6b7280;
    font-size: 14px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Apps Showcase */
.apps-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 500px;
}

.app-preview {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.app-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.app-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.app-preview h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.app-preview p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1f2937;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

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

.app-preview {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.app-header h3 {
    font-size: 18px;
    color: #1f2937;
}

.status {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
}

.workout-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.workout-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.workout-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.workout-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    opacity: 0.8;
}

.features-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: #6b7280;
}

/* Apps Section */
.apps-section {
    padding: 100px 0;
    background: #f8fafc;
}

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

.app-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 30px 20px;
}

.app-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.app-card-gym-partners .app-card-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.app-card-fitness .app-card-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.app-card-5x5 .app-card-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.app-card-title h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1f2937;
}

.app-card-title p {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.app-card-content {
    padding: 0 30px 30px;
}

.app-card-content > p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 24px;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card.featured {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    transform: scale(1.02);
}

.feature-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit {
    font-size: 14px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.feature-card:not(.featured) .benefit {
    background: #f3f4f6;
    color: #374151;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: #f8fafc;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.step h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.step p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
}

.step-visual {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-preview, .workout-preview, .progress-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field, .workout-item, .progress-item {
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    text-align: left;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: white;
}

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

.testimonial {
    background: #f8fafc;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
}

.author-meta {
    font-size: 14px;
    color: #6b7280;
}

.social-proof-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

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

.proof-number {
    font-size: 36px;
    font-weight: 700;
    color: #3b82f6;
    display: block;
}

.proof-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
}

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

.cta-card h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-card > p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 50px;
}

.cta-feature {
    padding: 12px 20px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-weight: 500;
}

.cta-actions {
    margin-bottom: 40px;
}

.cta-disclaimer {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 16px;
}

.trust-signals {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.trust-signal {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 500;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
}

.cookie-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
}

.cookie-text p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.cookie-text a {
    color: #3b82f6;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cookie-btn.accept {
    background: #3b82f6;
    color: white;
}

.cookie-btn.accept:hover {
    background: #2563eb;
}

.cookie-btn.decline {
    background: #f3f4f6;
    color: #374151;
}

.cookie-btn.decline:hover {
    background: #e5e7eb;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
.landing-footer {
    background: #111827;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
}

/* Auth Modals */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.auth-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s ease;
}

.close:hover {
    color: #1f2937;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-switch {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: #6b7280;
}

.auth-switch a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Google Auth Section Styles */
.google-auth-section {
    text-align: center;
    margin-bottom: 20px;
}

.auth-benefits,
.signup-benefits {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.benefit-item {
    padding: 8px 0;
    font-size: 14px;
    color: #374151;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.signup-benefits .benefit-item {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.3;
}

/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    background: white;
    padding: 0 16px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Auth Form Styles */
.auth-form {
    margin-bottom: 16px;
}

.validation-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.validation-error.show {
    display: block;
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        padding: 140px 30px 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        max-width: 800px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .nav-actions {
        gap: 16px;
    }
    
    .social-proof-stats {
        gap: 40px;
    }
    
    .trust-signals {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 24px 60px;
    }
    
    .hero-container {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .apps-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        gap: 40px;
    }
    
    .social-proof-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-card h2 {
        font-size: 32px;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .trust-signals {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 110px 20px 50px;
    }
    
    .hero-container {
        max-width: 500px;
    }
    
    .nav-brand h1 {
        font-size: 20px;
    }
    
    .nav-actions {
        gap: 12px;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-badge {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .apps-showcase {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 300px;
    }
    
    .app-preview {
        padding: 16px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 16px;
    }
    
    /* Better modal sizing on mobile */
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 10px;
    }
    
    .modal-header {
        padding: 20px 20px 12px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    /* Compact benefits on mobile */
    .signup-benefits .benefit-item {
        padding: 4px 0;
        font-size: 13px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #1d4ed8;
    }
    
    .gradient-text {
        color: #1d4ed8;
        background: none;
        -webkit-text-fill-color: initial;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .feature-card:hover,
    .btn:hover {
        transform: none;
    }
}