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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a1a1a;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f8f9fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: white;
    color: #1a1a1a;
    border-color: #e5e5e5;
}

.btn-secondary:hover {
    border-color: #6366f1;
    color: #6366f1;
}

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

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-logo-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
}

.hero-app-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Problem Solution Section */
.problem-solution {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-side h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.comparison-side ul {
    list-style: none;
}

.comparison-side li {
    padding: 12px 0;
    font-size: 16px;
    color: #555;
}

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

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Rehabilitation Section */
.rehabilitation {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fcff 0%, #ffffff 50%, #f0f8ff 100%);
    border-top: 1px solid #e8f4fd;
}

.rehab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.rehab-text h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.rehab-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.rehab-benefits {
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 32px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-radius: 12px;
    margin-top: 5px;
}

.benefit-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.testimonial {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
    border-left: 4px solid #3b82f6;
    padding: 30px;
    border-radius: 12px;
    font-size: 18px;
    font-style: italic;
    color: #1e40af;
    line-height: 1.7;
    margin: 0;
}

.testimonial cite {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: #3b82f6;
}

.rehab-visual {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rehab-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    border: 1px solid #e0e7ff;
}

.stat-big {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 8px;
    font-family: 'SF Mono', 'Monaco', monospace;
}

.stat-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 14px;
    color: #666;
}

.rehab-phases {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    border: 1px solid #e0e7ff;
}

.rehab-phases h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

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

.phase {
    text-align: center;
    padding: 20px 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phase:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.phase-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 8px;
    font-family: 'SF Mono', 'Monaco', monospace;
}

.phase-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Tempo Patterns Section */
.tempo-patterns {
    padding: 100px 0;
    background: #f8f9fa;
}

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

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

.pattern-card:hover {
    transform: translateY(-5px);
}

.pattern-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.tempo-display {
    font-size: 36px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 20px;
    font-family: 'SF Mono', 'Monaco', monospace;
}

.pattern-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.download-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    margin-bottom: 40px;
}

.app-store-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-btn:hover img {
    transform: scale(1.05);
}

.download-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkmark {
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.1);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section h3 {
    margin: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a.active {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Privacy Policy Styles */
.privacy-page {
    padding: 140px 0 60px;
    min-height: 100vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.last-updated {
    color: #666;
    font-size: 16px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 50px;
}

.privacy-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.privacy-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #1a1a1a;
}

.privacy-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #1a1a1a;
}

.privacy-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
}

.privacy-section ul,
.privacy-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.privacy-section li {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 8px;
}

.privacy-highlight {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.privacy-highlight h3 {
    color: #4c51bf;
    margin-bottom: 15px;
}

.contact-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #6366f1;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

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

.nutrition-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
}

.nutrition-item h4 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 18px;
}

.nutrition-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nutrition-item li {
    padding: 5px 0;
    font-size: 14px;
    color: #666;
}

.privacy-footer {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
}

.privacy-footer p {
    font-size: 18px;
    line-height: 1.6;
    color: #4c51bf;
    margin: 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-title {
        font-size: 40px;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .hero-app-logo {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

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

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

    .patterns-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .rehab-text h2 {
        font-size: 32px;
    }

    .phase-breakdown {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .section-header h2,
    .section-title {
        font-size: 32px;
    }

    .privacy-header h1 {
        font-size: 36px;
    }

    .privacy-section h2 {
        font-size: 28px;
    }

    .privacy-nutrition {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

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

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

    .privacy-header h1 {
        font-size: 28px;
    }
}

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

.feature-card,
.pattern-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}