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

:root {
    --primary-color: #103051;
    --secondary-color: #3399ff;
    --text-dark: #103051;
    --text-light: #5a6c7d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --accent-color: #6cbe4e;
    --accent-yellow: #fff84c;
    --border-color: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    display: inline-block;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links .download-link {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 24px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.nav-links .download-link:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: #f5f5f7;
}

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

.hero-left {
    max-width: 600px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.highlight-text {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 1.6;
}

.stats-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.btn-download {
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-download:hover {
    transform: scale(1.05);
}

.btn-download img {
    height: 54px;
    width: auto;
}

.btn-download-hero {
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-download-hero:hover {
    transform: scale(1.05);
}

.btn-download-hero img {
    height: 54px;
    width: auto;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-app-icon {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.feature-card {
    text-align: center;
    padding: 40px 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* How Section */
.how-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.how-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

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

.step-badge {
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.how-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.how-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.view-all {
    text-align: center;
}

.view-all a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.view-all a:hover {
    color: var(--accent-color);
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background-color: var(--bg-white);
    text-align: center;
}

.final-cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

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

.footer-brand {
    max-width: 400px;
}

.footer-brand a {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 14px;
    color: #999999;
    line-height: 1.5;
}

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

.footer-links a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #cccccc;
}

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

.footer-bottom p {
    font-size: 14px;
    color: #999999;
}

/* Disclaimer Bar */
.disclaimer-bar {
    background-color: var(--bg-light);
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
}

.disclaimer-bar p {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

/* Secondary Pages Styles */

/* Hero variations */
.hero-secondary {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-secondary h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    text-align: center;
}

.hero-secondary .hero-subtitle {
    font-size: 20px;
    margin-bottom: 0;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background-color: var(--bg-light);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.content-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--text-dark);
}

.content-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 24px;
    color: var(--text-dark);
}

.content-section p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
    margin: 16px 0 16px 32px;
    color: var(--text-light);
}

.content-section li {
    margin: 8px 0;
    line-height: 1.6;
}

.large-text {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Info Boxes */
.example-box,
.formula-box,
.key-insight,
.features-box,
.reality-box,
.info-box {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid var(--accent-color);
}

.content-section:nth-child(even) .example-box,
.content-section:nth-child(even) .formula-box,
.content-section:nth-child(even) .key-insight,
.content-section:nth-child(even) .features-box,
.content-section:nth-child(even) .reality-box,
.content-section:nth-child(even) .info-box {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.formula-box code,
.calculation code {
    display: block;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 16px;
    border-radius: 8px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    margin: 12px 0;
    overflow-x: auto;
}

.highlight {
    background-color: #fffbea;
    border-left: 4px solid var(--accent-yellow);
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.calculation {
    margin: 16px 0;
}

/* Process Steps */
.process-steps {
    margin-top: 40px;
}

.process-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.process-number {
    min-width: 48px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.process-content {
    flex: 1;
}

.process-content h3 {
    margin-top: 0;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.result-card {
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid;
}

.result-card.positive {
    background-color: #e8f5e3;
    border-color: var(--accent-color);
}

.result-card.negative {
    background-color: #f8d7da;
    border-color: #dc3545;
}

.result-card.neutral {
    background-color: #e2e3e5;
    border-color: #6c757d;
}

.result-card h4 {
    margin: 0 0 12px 0;
}

/* Lists */
.constraint-list {
    list-style: none;
    margin: 32px 0;
}

.constraint-list li {
    padding: 16px;
    margin: 16px 0;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 32px 0;
}

.ev-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ev-table thead {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.ev-table th,
.ev-table td {
    padding: 16px;
    text-align: left;
}

.ev-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.ev-table tbody tr:last-child {
    border-bottom: none;
}

.ev-table tbody tr:hover {
    background-color: var(--bg-light);
}

.table-note {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    margin-top: 12px;
}

/* Limitations Grid */
.limitations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.limitation-card {
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid;
}

.limitation-card.can-do {
    background-color: #e8f5e3;
    border-color: var(--accent-color);
}

.limitation-card.cannot-do {
    background-color: #f8d7da;
    border-color: #dc3545;
}

.limitation-card h4 {
    margin-top: 0;
}

.limitation-card ul {
    list-style: none;
    margin-left: 0;
}

/* Modes Detailed */
.modes-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.mode-detailed {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mode-detailed h3 {
    margin-top: 0;
}

.mode-detailed ul {
    list-style: none;
    margin-left: 0;
}

.center-text {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-top: 24px;
}

/* Application Steps */
.application-steps {
    margin-top: 32px;
}

.app-step {
    background-color: var(--bg-white);
    padding: 24px;
    margin: 16px 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-color);
}

.app-step h4 {
    margin: 0 0 8px 0;
    color: var(--accent-color);
}

/* FAQ Styles */
.faq-hero {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.faq-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.faq-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.contact-info {
    font-size: 16px;
    color: var(--text-light);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

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

.faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.faq-item {
    background-color: var(--bg-white);
    padding: 32px;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

.faq-item ul,
.faq-item ol {
    margin: 16px 0 16px 32px;
    line-height: 1.7;
    color: var(--text-light);
}

.faq-item li {
    margin: 8px 0;
}

.faq-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

.mode-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.mode-box {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.mode-box h4 {
    margin-top: 0;
    color: var(--text-dark);
}

.mode-box ul {
    list-style: none;
    margin-left: 0;
}

.example-highlight {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin: 16px 0;
    border-left: 4px solid var(--accent-color);
}

.example-highlight h4 {
    margin-top: 0;
    color: var(--text-dark);
}

.checkmark-list {
    list-style: none;
    margin-left: 0;
}

/* Quick Navigation */
.quick-nav {
    background-color: var(--bg-white);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.quick-nav h3 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: 600;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.quick-links a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.quick-links a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.tagline {
    font-size: 16px;
    margin-top: 16px;
    color: var(--text-light);
}

/* Privacy Policy Styles */
.privacy-policy-section {
    padding: 60px 0 80px;
    background-color: var(--bg-light);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-container h1 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 48px;
}

.privacy-content {
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.privacy-content h2 {
    font-size: 32px;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 8px;
}

.privacy-content h2:first-of-type {
    margin-top: 0;
}

.privacy-content h3 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.privacy-content h4 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.privacy-content p {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

.privacy-content ul,
.privacy-content ol {
    margin: 16px 0 16px 32px;
    line-height: 1.7;
    color: var(--text-light);
}

.privacy-content li {
    margin: 8px 0;
}

.privacy-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.no-collect-list {
    list-style: none;
    margin-left: 16px;
}

.closing-message {
    text-align: center;
    margin: 48px 0;
    padding: 32px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--bg-white);
    border-radius: 12px;
}

.closing-message p {
    color: var(--bg-white);
    margin: 8px 0;
    font-size: 18px;
}

.summary-box {
    background-color: var(--primary-color);
    padding: 32px;
    border-radius: 16px;
    margin-top: 48px;
    color: var(--bg-white);
}

.summary-box h2 {
    color: var(--bg-white);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.summary-box ul {
    list-style: none;
    margin-left: 0;
}

.summary-box li {
    color: var(--bg-white);
    font-size: 16px;
    margin: 16px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .stats-badges {
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
        min-width: 120px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-app-icon {
        max-width: 300px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .feature-grid,
    .how-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .how-section h2,
    .final-cta h2 {
        font-size: 36px;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .hero-secondary h1 {
        font-size: 36px;
    }

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

    .privacy-container h1,
    .faq-hero h1 {
        font-size: 36px;
    }

    .privacy-content {
        padding: 32px 24px;
    }

    .faq-item {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stats-badges {
        flex-direction: column;
        gap: 12px;
    }

    .stat-card {
        min-width: 100%;
    }

    .btn-download img,
    .btn-download-hero img {
        height: 48px;
    }

    .hero-app-icon {
        max-width: 250px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .how-section h2,
    .final-cta h2 {
        font-size: 28px;
    }

    .process-step {
        flex-direction: column;
    }

    .quick-links {
        flex-direction: column;
    }

    .disclaimer-bar p {
        font-size: 11px;
    }
}

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

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

.hero {
    animation: fadeIn 0.6s ease-out;
}
