/* ============================================================
   AI Dionic — Company Website
   Enterprise-grade design system
   Navy #0A1628 · Steel #2B5C8A · Cyan #00B4D8
   Font: Inter
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1628;
    --navy-light: #0E1B2E;
    --navy-mid: #121F33;
    --navy-card: #0D1A2D;
    --steel: #2B5C8A;
    --steel-light: #3A6F9E;
    --cyan: #00B4D8;
    --cyan-muted: #0098B8;
    --cyan-glow: rgba(0, 180, 216, 0.12);
    --cyan-dim: rgba(0, 180, 216, 0.06);
    --white: #FFFFFF;
    --white-95: rgba(255, 255, 255, 0.95);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-08: rgba(255, 255, 255, 0.08);
    --white-04: rgba(255, 255, 255, 0.04);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1140px;
    --section-pad: 120px;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.75;
    color: var(--white-60);
    background: var(--navy);
    overflow-x: hidden;
}

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

a {
    color: var(--white-60);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--white); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.01em; }

/* Cyan highlight within headings */
.text-cyan { color: var(--cyan); }

.section-header {
    margin-bottom: 64px;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.section-header .section-title {
    margin-bottom: 16px;
}

.section-header .section-subtitle {
    color: var(--white-60);
    max-width: 540px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--cyan);
    color: var(--navy);
    border-color: var(--cyan);
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--cyan-muted);
    border-color: var(--cyan-muted);
    color: var(--navy);
}

.btn-secondary {
    background: transparent;
    color: var(--white-80);
    border-color: var(--white-15);
}
.btn-secondary:hover {
    border-color: var(--white-40);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border-color: rgba(0, 180, 216, 0.3);
}
.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.9rem;
    background: var(--cyan);
    color: var(--navy);
    border-color: var(--cyan);
    border-radius: 6px;
    font-weight: 600;
}
.btn-nav:hover {
    background: var(--cyan-muted);
    border-color: var(--cyan-muted);
    color: var(--navy);
}

/* --- Header / Nav --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo:hover { opacity: 0.85; }

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

.logo-img-footer {
    height: 30px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: #3A4553;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--navy); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg canvas {
    width: 100%;
    height: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--navy));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--cyan);
    margin-bottom: 24px;
}

.hero-headline {
    margin-bottom: 28px;
    color: var(--white);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--white-60);
    margin-bottom: 44px;
    line-height: 1.75;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Benefits --- */
.benefits {
    padding: var(--section-pad) 0;
}

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

.benefit-card {
    background: var(--navy-card);
    padding: 44px 40px;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.benefit-card:hover {
    background: var(--navy-mid);
}

.benefit-number {
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--cyan);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    line-height: 1.3;
}

.benefit-card p {
    color: var(--white-60);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Products --- */
.products {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--white-08);
}

.product-card {
    background: var(--navy-card);
    border: 1px solid var(--white-08);
    border-radius: var(--radius);
    padding: 56px;
    margin-bottom: 24px;
    transition: border-color var(--transition);
}
.product-card:hover {
    border-color: var(--white-15);
}
.product-card:last-child {
    margin-bottom: 0;
}

.product-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.product-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 4px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--cyan);
    margin-bottom: 20px;
}

.badge-early {
    background: rgba(255, 183, 77, 0.1);
    color: #F0A844;
}

.product-name {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.product-oneliner {
    font-size: 1.05rem;
    color: var(--white-80);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-description {
    color: var(--white-60);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.product-audience {
    color: var(--white-60);
    margin-bottom: 32px;
    font-size: 0.9rem;
    line-height: 1.6;
}
.product-audience strong {
    color: var(--white-80);
    font-weight: 600;
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.features-heading {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white-40);
    font-weight: 600;
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    display: grid;
    gap: 16px;
}

.product-features li {
    position: relative;
    padding-left: 20px;
    color: var(--white-60);
    font-size: 0.92rem;
    line-height: 1.6;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--steel-light);
}

.product-features-col {
    padding-top: 4px;
}

/* --- Partners --- */
.partners {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--white-08);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.partner-card {
    background: var(--navy-card);
    border: 1px solid var(--white-08);
    border-radius: var(--radius);
    padding: 40px;
    transition: border-color var(--transition);
}
.partner-card:hover {
    border-color: var(--white-15);
}

.partner-card-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.partner-card-header h3 {
    font-size: 1.25rem;
}

.partner-url {
    color: var(--white-40);
    font-size: 0.82rem;
}

.partner-card > p {
    color: var(--white-60);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.partner-why {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 24px;
}

.partner-why h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white-40);
    margin-bottom: 10px;
    font-weight: 600;
}

.partner-why p {
    color: var(--white-60);
    font-size: 0.9rem;
    line-height: 1.65;
}

.partner-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.partner-stats span {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
    background: var(--white-04);
    color: var(--white-60);
    border: 1px solid var(--white-08);
}

.partners-cta-block {
    text-align: center;
    padding: 48px 40px;
    background: var(--navy-card);
    border: 1px solid var(--white-08);
    border-radius: var(--radius);
}

.partners-cta-block p {
    color: var(--white-60);
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
}

/* --- Leadership --- */
.leadership {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--white-08);
}

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

.team-card {
    background: var(--navy-card);
    border: 1px solid var(--white-08);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: border-color var(--transition);
}
.team-card:hover {
    border-color: var(--white-15);
}

.team-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    display: block;
    color: var(--cyan);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.team-card p {
    color: var(--white-60);
    font-size: 0.92rem;
    line-height: 1.75;
}

.team-card p strong {
    color: var(--white-95);
    font-weight: 600;
}

/* --- FAQ --- */
.faq {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--white-08);
}

.faq-list {
    max-width: 720px;
}

.faq-item {
    border-bottom: 1px solid var(--white-08);
}

.faq-item:first-child {
    border-top: 1px solid var(--white-08);
}

.faq-item summary {
    padding: 28px 48px 28px 0;
    font-family: var(--font);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--white-80);
    cursor: pointer;
    position: relative;
    list-style: none;
    transition: color var(--transition);
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--white-40);
    transition: color var(--transition);
}

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

.faq-item summary:hover {
    color: var(--white);
}

.faq-item summary:hover::after {
    color: var(--white-60);
}

.faq-answer {
    padding: 0 0 28px;
}

.faq-answer p {
    color: var(--white-60);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* --- Closing CTA --- */
.closing-cta {
    padding: 140px 0;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--white-08);
}

.closing-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan-dim), transparent 70%);
    pointer-events: none;
}

.closing-headline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.closing-sub {
    color: var(--white-60);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 44px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.closing-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* --- Footer --- */
.site-footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--white-08);
}

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

.footer-brand .nav-logo {
    margin-bottom: 14px;
}

.footer-tagline {
    color: var(--white-40);
    font-size: 0.88rem;
}

.footer-nav h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    color: var(--white-40);
    font-weight: 600;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav ul li,
.footer-nav ul li a {
    color: var(--white-40);
    font-size: 0.88rem;
}

.footer-nav ul li a:hover {
    color: var(--white-80);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--white-08);
    color: var(--white-40);
    font-size: 0.82rem;
}

.footer-legal {
    display: flex;
    gap: 28px;
}

.footer-legal a {
    color: var(--white-40);
}
.footer-legal a:hover {
    color: var(--white-80);
}

/* --- Scroll Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .product-card-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
    }

    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right var(--transition);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .nav-links.open {
        right: 0;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-headline br {
        display: none;
    }

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

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

    .product-card {
        padding: 32px 28px;
    }

    .product-card-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

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

    .closing-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .product-ctas {
        flex-direction: column;
    }

    .partner-stats {
        flex-direction: column;
        align-items: flex-start;
    }
}
