/* =====================================================
   THEME: NAVY (App-consistent)
   Primary: Navy #1e3a5f
   Accent: Cyan #7dd3e8
   ===================================================== */

:root {
    /* Brand colors from app design system */
    --navy: #1e3a5f;
    --navy-light: #2d4a6f;
    --blue: #2d6a9f;
    --blue-light: #3d7ab0;
    --cyan: #7dd3e8;
    --cyan-light: #a8e4f2;
    --cyan-pale: #e8f7fb;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic */
    --primary: var(--navy);
    --primary-hover: var(--navy-light);
    --accent: var(--cyan);
    --accent-hover: var(--cyan-light);
    --accent-pale: var(--cyan-pale);
    --text: var(--gray-800);
    --text-muted: var(--gray-500);
    --bg: var(--white);
    --bg-alt: var(--gray-50);
}

/* =====================================================
   BASE STYLES
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

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

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

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

a:hover {
    color: var(--blue-light);
}

/* =====================================================
   HEADER
   ===================================================== */

.site-header {
    background: var(--navy);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-nav {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-header {
    background: var(--cyan);
    color: var(--navy);
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-header:hover {
    background: var(--cyan-light);
    color: var(--navy);
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--navy-light);
    padding: 1rem 2rem;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--white);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-mobile {
    background: var(--cyan);
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
    background: linear-gradient(180deg, var(--cyan-pale) 0%, var(--white) 100%);
    padding: 8rem 2rem 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tagline {
    display: inline-block;
    background: var(--white);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--cyan);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero h1 span {
    color: var(--navy);
}

.hero-content > p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.3);
}

.btn-primary:hover {
    background: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--gray-200);
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--cyan);
    background: var(--cyan-pale);
    color: var(--navy);
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 3rem;
    text-decoration: none;
    transition: all 0.2s;
}

.scroll-indicator:hover {
    color: var(--navy);
}

.scroll-indicator:hover .scroll-arrow {
    transform: translateY(4px);
    background: var(--navy);
}

.scroll-arrow {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(45, 106, 159, 0.3);
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

/* Hero features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

/* NOTE: .hero-feature:hover intentionally removed — no hover effect on hero feature cards */

.hero-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--cyan-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}

.hero-feature-icon svg {
    width: 24px;
    height: 24px;
}

.hero-feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.hero-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =====================================================
   PRODUCTS SECTION
   ===================================================== */

.products {
    background: var(--bg-alt);
    padding: 5rem 2rem;
}

.products-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.products-grid > * {
    flex: 0 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 10px 30px rgba(125, 211, 232, 0.15);
    transform: translateY(-2px);
    color: inherit;
}

.product-icon {
    width: 44px;
    height: 44px;
    background: var(--cyan-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    color: var(--navy);
}

.product-icon svg {
    width: 22px;
    height: 22px;
}

.product-card h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
    color: var(--gray-900);
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* =====================================================
   USP SECTION
   ===================================================== */

.usp-section {
    background: var(--white);
    padding: 5rem 2rem;
}

.usp-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.usp-item {
    text-align: center;
    padding: 1.5rem;
}

.usp-icon {
    width: 64px;
    height: 64px;
    background: var(--cyan-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--navy);
}

.usp-icon svg {
    width: 28px;
    height: 28px;
}

.usp-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.usp-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =====================================================
   CTA BANNER
   ===================================================== */

.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 2.5rem 2rem;
    margin: 0 2rem 3rem;
    border-radius: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.2s;
}

.video-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.video-icon {
    width: 28px;
    height: 28px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 0.75rem;
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--navy);
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
    background: var(--gray-50);
    padding: 3rem 2rem;
    border-top: 1px solid var(--gray-200);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.disclaimer {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.disclaimer strong {
    color: var(--gray-600);
}

.disclaimer a {
    color: var(--blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.footer-brand .logo-icon {
    background: var(--white);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links-group h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: var(--navy);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--navy);
}

/* =====================================================
   CONTENT PAGES
   ===================================================== */

.content-section {
    background: var(--white);
    padding: 2rem 2rem 5rem;
}

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

.content-inner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--gray-900);
}

.content-inner h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--gray-900);
}

.content-inner p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-inner ul, .content-inner ol {
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    line-height: 1.8;
}

.content-inner li {
    margin-bottom: 0.5rem;
}

.content-inner a {
    color: var(--blue);
}

.content-inner a:hover {
    color: var(--blue-light);
}

.example-callout {
    background: var(--cyan-pale);
    border-left: 4px solid var(--cyan);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.example-callout strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.example-callout p {
    margin: 0;
    color: var(--gray-800);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-features {
        max-width: 500px;
        margin: 0 auto;
    }

    .products-grid > * {
        flex: 0 1 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-icon {
        width: 48px;
        height: 48px;
    }

    .product-icon svg {
        width: 24px;
        height: 24px;
    }

    .product-card h3 {
        font-size: 1.05rem;
    }

    .product-card p {
        font-size: 0.9rem;
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn-header {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }

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

    .products-grid > * {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .usp-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-banner {
        margin: 0 1rem 3rem;
        padding: 2.5rem 1.5rem;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0.75rem 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */

.faq-container {
    max-width: 800px;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cyan-pale);
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.08);
}

.faq-item[open] {
    border-color: var(--cyan);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.1);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cyan);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: var(--gray-50);
}

.faq-item[open] summary {
    background: var(--cyan-pale);
    color: var(--navy);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: var(--blue);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--navy);
}

/* =====================================================
   TABLES
   ===================================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

thead {
    background: var(--navy);
    color: var(--white);
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: top;
}

tbody tr:hover {
    background: var(--gray-50);
}

tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }
}

/* =====================================================
   FAQ RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .faq-item summary {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    .faq-category h2 {
        font-size: 1.25rem;
    }
}
