/* Parentigo Landing Page Styles */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #4F46E5;
    --primary-hover: #4338CA;
    --secondary-color: #10B981;
    --secondary-hover: #059669;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --background-color: #FFFFFF;
    --background-light: #F9FAFB;
    --background-section: #F3F4F6;
    --border-color: #E5E7EB;
    --shadow: 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);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --container-max-width: 1200px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

/* Utility Classes */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), #3730A3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 80px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav a:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-family: var(--font-family);
    font-size: 14px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-light) 0%, white 100%);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 450px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.badge {
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.hero-features {
    display: flex;
    gap: 32px;
    margin: 32px 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.store-badge img {
    height: auto;
    width: 160px;
    display: block;
    max-width: 100%;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.6s both;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    transition: var(--transition);
    width: 280px; /* Fixed width for the container */
    margin: 0 auto; /* Center the mockup */
}

.phone-mockup img {
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Phone Frame Styles */
.phone-frame {
    position: relative;
    width: 100%;
    max-width: inherit;
    aspect-ratio: 9/19;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 8px;
    box-shadow:
        0 0 0 3px #333,
        0 0 0 6px #1a1a1a,
        0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.phone-frame:hover {
    transform: scale(1.02);
    box-shadow:
        0 0 0 3px #333,
        0 0 0 6px #1a1a1a,
        0 15px 40px rgba(0, 0, 0, 0.4);
}

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

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

.phone-button {
    position: absolute;
    right: -3px;
    top: 120px;
    width: 4px;
    height: 60px;
    background: #333;
    border-radius: 2px;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.baby-image {
    position: absolute;
    right: -15px;
    bottom: -15px;
    z-index: 1;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
    max-width: 120px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Problem & Market Section */
.problem-market {
    padding: 80px 0;
    background: var(--background-section);
}

.problem-market h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.problem-content p {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: white;
}

.solution h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

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

.module-item {
    background: var(--background-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.module-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.module-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.module-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Global Reach Section - Truly Minimalist */
.global-reach {
    padding: 60px 0;
    background: var(--background-light);
    text-align: center;
}

.global-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.global-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 48px;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.language-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.language-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.global-trust {
    max-width: 600px;
    margin: 0 auto;
}

.global-trust p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
}

/* Trust & Social Proof Section */
.trust-proof {
    padding: 80px 0;
    background: var(--background-light);
}

.trust-proof h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

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

.proof-item {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.proof-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.proof-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Investor Section - Premium Design */
.investor {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.investor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.investor-hero {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 3;
}

.investor-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.investor-hero h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.investor-lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.investor-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 100px;
    position: relative;
    z-index: 3;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.8s ease;
}

.metric-card:hover::before {
    left: 100%;
}

.metric-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.metric-label {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.investor-showcase {
    margin-bottom: 100px;
    position: relative;
    z-index: 3;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.showcase-text h3 {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 32px;
    line-height: 1.2;
}

.showcase-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-point {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.feature-point:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.feature-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.showcase-visual {
    display: flex;
    justify-content: center;
}

.growth-projection {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.projection-header {
    text-align: center;
    margin-bottom: 32px;
}

.projection-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.projection-header p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.projection-chart {
    position: relative;
    height: 200px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
}

.projection-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), rgba(120, 219, 255, 0.6), var(--primary-color));
}

.chart-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.chart-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.chart-point:hover::before {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.point-value {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

.point-year {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.investor-cta {
    text-align: center;
    position: relative;
    z-index: 3;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 300;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.investor-text p {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text-color);
    line-height: 1.7;
}

.investor-text ul {
    margin-bottom: 32px;
    padding-left: 0;
    list-style: none;
}

.investor-text li {
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.investor-text li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.investor-visual img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

.footer-brand p {
    opacity: 0.8;
    margin-top: 16px;
}

.footer-logo {
    height: 120px;
    width: auto;
    max-width: 200px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-column a {
    display: block;
    margin-bottom: 8px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-social {
    text-align: center;
}

.footer-social a {
    display: inline-block;
    margin: 0 8px;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-social p {
    margin-top: 16px;
    opacity: 0.7;
    font-size: 0.9rem;
}

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

.footer-legal-links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-legal-links a {
    opacity: 0.7;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.separator {
    opacity: 0.5;
    font-weight: 300;
}

/* Mobile-First Responsive Design - Works perfectly on Android & iOS */

/* Base mobile styles (320px and up) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    /* Header optimizations for small screens */
    .header {
        padding: 12px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .logo-img {
        height: 32px;
        width: auto;
    }

    .nav {
        display: none; /* Hide navigation on very small screens */
    }

    .language-selector select {
        padding: 6px 8px;
        font-size: 12px;
        border-radius: 6px;
        background: white;
        border: 1px solid var(--border-color);
    }

    /* Hero section mobile optimization */
    .hero {
        padding: 40px 0;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-badge {
        justify-content: center;
        gap: 6px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

    .badge {
        padding: 6px 12px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .hero-features {
        gap: 16px;
        margin: 20px 0;
        justify-content: center;
    }

    .feature {
        font-size: 0.9rem;
        gap: 8px;
        text-align: center;
        flex-direction: column;
    }

    .feature i {
        font-size: 1.25rem;
        margin-bottom: 4px;
    }

    .store-badges {
        gap: 12px;
        margin-top: 24px;
    }

    .store-badge img {
        width: 120px;
        height: auto;
    }

    /* Phone mockup mobile optimization */
    .hero-visual {
        order: -1; /* Show phone mockup first on mobile */
        margin-bottom: 20px;
    }

    .phone-mockup {
        width: 180px;
        margin: 0 auto;
        transform: rotate(0deg); /* Remove rotation on mobile for better UX */
    }

    .phone-frame {
        aspect-ratio: 9/19;
        border-radius: 20px;
        padding: 6px;
    }

    .phone-notch {
        width: 80px;
        height: 18px;
        border-radius: 0 0 12px 12px;
    }

    .phone-button {
        right: -2px;
        top: 80px;
        width: 3px;
        height: 40px;
    }

    /* Sections spacing optimization */
    .problem-market,
    .solution,
    .global-reach,
    .investor,
    .final-cta {
        padding: 40px 0;
    }

    .problem-market h2,
    .solution h2,
    .global-reach h2,
    .investor-hero h2,
    .final-cta h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    /* Stats grid mobile optimization */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-item h3 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .stat-item p {
        font-size: 0.9rem;
    }

    .problem-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Modules grid mobile */
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .module-item {
        padding: 24px 20px;
    }

    .module-icon {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .module-item h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .module-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Languages grid mobile */
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }

    .language-item {
        padding: 12px 8px;
        font-size: 0.8rem;
        text-align: center;
    }

    .global-trust p {
        font-size: 0.9rem;
        padding: 0 16px;
    }

    /* Investor section mobile optimization */
    .investor {
        padding: 60px 0;
        min-height: auto;
    }

    .investor-hero {
        margin-bottom: 40px;
    }

    .investor-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .investor-hero h2 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .investor-lead {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .investor-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .metric-card {
        padding: 24px 20px;
    }

    .metric-number {
        font-size: 2rem;
    }

    .metric-label {
        font-size: 0.9rem;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-text h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .showcase-text p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .showcase-features {
        gap: 20px;
    }

    .feature-point {
        padding: 16px;
        gap: 16px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
    }

    .feature-icon i {
        font-size: 1rem;
    }

    .feature-text h4 {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.85rem;
    }

    .growth-projection {
        padding: 24px;
        max-width: 100%;
    }

    .projection-header h4 {
        font-size: 1.25rem;
    }

    .projection-header p {
        font-size: 0.8rem;
    }

    .projection-chart {
        height: 150px;
        padding: 16px;
    }

    .point-value,
    .point-year {
        font-size: 0.7rem;
    }

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

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    /* Final CTA mobile */
    .final-cta {
        padding: 40px 0;
    }

    .final-cta h2 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .final-cta p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
        min-width: 200px;
        width: 100%;
        max-width: 280px;
    }

    /* Footer mobile optimization */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-logo {
        height: 80px;
        max-width: 150px;
        margin: 0 auto 16px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-column a {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-social {
        margin-top: 24px;
    }

    .footer-social a {
        margin: 0 12px;
        font-size: 1.25rem;
    }

    .footer-social p {
        font-size: 0.85rem;
        margin-top: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-top: 16px;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .footer-legal-links a {
        font-size: 0.85rem;
    }
}

/* Small mobile devices (376px to 480px) */
@media (min-width: 376px) and (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        gap: 40px;
    }

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

    .hero-badge {
        gap: 8px;
    }

    .badge {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .phone-mockup {
        width: 200px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .languages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .language-item {
        padding: 14px 10px;
        font-size: 0.85rem;
    }

    .investor-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Large mobile devices (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav {
        display: flex;
        gap: 1.5rem;
    }

    .nav a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .hero-visual {
        order: 0;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .phone-mockup {
        width: 240px;
        transform: rotate(-3deg);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .languages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .investor-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Tablet devices (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 24px;
        max-width: 768px;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav {
        display: flex;
        gap: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .phone-mockup {
        width: 260px;
        transform: rotate(-5deg);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .languages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .investor-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .showcase-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* Desktop devices (1024px and up) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 32px;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .phone-mockup {
        width: 280px;
        transform: rotate(-5deg);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

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

    .languages-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .investor-metrics {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 32px;
    }

    .showcase-content {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 80px;
    }

    .footer-content {
        grid-template-columns: 2fr 3fr 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Large desktop devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }

    .hero-content {
        gap: 80px;
    }

    .hero-text h1 {
        font-size: 4rem;
    }

    .phone-mockup {
        width: 320px;
    }

    .investor-metrics {
        gap: 40px;
    }

    .showcase-content {
        gap: 100px;
    }
}

/* Ultra-wide screens (1600px and up) */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }

    .hero-text h1 {
        font-size: 4.5rem;
    }

    .phone-mockup {
        width: 360px;
    }
}

/* Mobile-specific optimizations for iOS and Android */
@supports (-webkit-touch-callout: none) {
    /* iOS specific optimizations */
    .hero-text h1 {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .phone-mockup {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }

    /* Prevent zoom on input focus on iOS */
    .language-selector select {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 8px 12px;
    }
}

/* Android specific optimizations */
@supports not (-webkit-touch-callout: none) {
    /* Android specific styles */
    .phone-mockup {
        transform: rotate(-5deg);
    }

    .language-selector select {
        -webkit-appearance: none;
        appearance: none;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 8px 12px;
    }
}

/* Landscape orientation optimizations */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 20px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .phone-mockup {
        width: 140px;
        transform: rotate(0deg);
    }

    .problem-market,
    .solution,
    .global-reach,
    .investor,
    .final-cta {
        padding: 30px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .languages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .phone-frame {
        box-shadow:
            0 0 0 3px #333,
            0 0 0 6px #1a1a1a,
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 0, 0, 0.1);
    }

    .store-badge img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets for touch devices */
    .nav a,
    .btn,
    .store-badge,
    .language-item,
    .module-item,
    .stat-item,
    .feature-point {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav a {
        padding: 12px 16px;
        min-height: 44px;
    }

    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }

    .store-badge {
        min-height: 48px;
        padding: 12px;
    }

    .language-item {
        min-height: 48px;
        cursor: pointer;
    }

    .module-item {
        min-height: 120px;
        cursor: pointer;
    }

    .stat-item {
        min-height: 100px;
    }

    .feature-point {
        min-height: 60px;
    }

    /* Remove hover effects on touch devices */
    .nav a:hover,
    .btn:hover,
    .store-badge:hover,
    .language-item:hover,
    .module-item:hover,
    .stat-item:hover,
    .feature-point:hover {
        transform: none;
    }

    /* Optimize for touch scrolling */
    .hero,
    .problem-market,
    .solution,
    .global-reach,
    .investor,
    .final-cta {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .phone-mockup {
        transform: rotate(0deg) !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-color: #000000;
        --background-color: #FFFFFF;
        --border-color: #000000;
        --primary-color: #0000FF;
        --secondary-color: #008000;
    }

    .badge,
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #F9FAFB;
        --text-light: #D1D5DB;
        --background-color: #111827;
        --background-light: #1F2937;
        --background-section: #374151;
        --border-color: #4B5563;
    }
}

/* Print styles optimization */
@media print {
    .header,
    .nav,
    .language-selector,
    .store-badges,
    .btn,
    .cta-buttons,
    .footer-social {
        display: none !important;
    }

    .hero,
    .problem-market,
    .solution,
    .global-reach,
    .investor,
    .final-cta {
        padding: 20px 0 !important;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .phone-mockup {
        display: none !important;
    }

    * {
        color: #000 !important;
        background: #fff !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 767px) {
    /* Reduce animations on mobile for better performance */
    .hero-text h1,
    .hero-badge,
    .hero-features,
    .feature,
    .stat-item,
    .module-item,
    .language-item,
    .feature-point {
        animation-duration: 0.3s !important;
    }

    /* Optimize scrolling performance */
    .hero,
    .problem-market,
    .solution,
    .global-reach,
    .investor,
    .final-cta,
    .footer {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }

    /* Optimize font rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

/* iOS Safari specific optimizations */
@supports (-webkit-touch-callout: none) {
    /* Fix iOS Safari bounce scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }

    /* Fix iOS Safari input zoom */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }

    /* iOS Safari specific button fixes */
    .btn,
    .store-badge {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    /* Fix iOS Safari sticky positioning */
    .header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1000;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

/* Android Chrome specific optimizations */
@supports not (-webkit-touch-callout: none) {
    /* Android Chrome specific optimizations */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Fix Android Chrome input styling */
    .language-selector select {
        -webkit-appearance: none;
        appearance: none;
        background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") right 8px center / 16px no-repeat;
        background-size: 16px;
        padding-right: 32px;
    }

    /* Android Chrome button optimizations */
    .btn,
    .store-badge {
        -webkit-tap-highlight-color: rgba(79, 70, 229, 0.1);
    }
}

/* Optimize for different screen densities */
@media (-webkit-min-device-pixel-ratio: 1.5),
       (min-resolution: 144dpi) {
    /* Retina display optimizations */
    .phone-frame {
        box-shadow:
            0 0 0 3px #333,
            0 0 0 6px #1a1a1a,
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 10px rgba(0, 0, 0, 0.1);
    }

    .store-badge img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    /* High DPI display optimizations */
    .phone-frame {
        box-shadow:
            0 0 0 3px #333,
            0 0 0 6px #1a1a1a,
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 0, 0, 0.1);
    }
}

/* Optimize for foldable devices */
@media (max-width: 767px) and (min-height: 800px) {
    /* Portrait foldable devices */
    .hero {
        padding: 60px 0;
    }

    .hero-content {
        gap: 50px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 220px;
    }
}

@media (min-width: 768px) and (max-height: 500px) {
    /* Landscape foldable devices */
    .hero {
        padding: 30px 0;
    }

    .hero-content {
        gap: 30px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .phone-mockup {
        width: 200px;
        transform: rotate(0deg);
    }
}

/* Optimize for devices with notches and punch holes */
@supports (padding-top: env(safe-area-inset-top)) {
    /* Safe area optimizations */
    .header {
        padding-top: calc(12px + env(safe-area-inset-top));
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .hero {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .problem-market,
    .solution,
    .global-reach,
    .investor,
    .final-cta {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    /* Adjust phone mockup for notches */
    .phone-notch {
        top: calc(8px + env(safe-area-inset-top));
    }
}