/* =============================================================
   CSS Custom Properties
   ============================================================= */
:root {
    --indigo:      #5464AE;
    --indigo-mid:  #5F6EB4;
    --indigo-soft: #909ECE;
    --indigo-pale: #EBEEF6;
    --white:       #FFFFFF;
    --ink:         #1E1E1E;
    --ink-soft:    #4a4a5a;
    --ink-faint:   #8a8a9a;
    --border:      rgba(84,100,174,0.15);
    --border-mid:  rgba(84,100,174,0.25);
}

/* =============================================================
   Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Barlow', sans-serif;
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
    font-weight: 400;
}

/* =============================================================
   Logo Accent
   ============================================================= */
.logo-accent { color: var(--indigo-soft); }

/* =============================================================
   Navigation
   ============================================================= */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.2rem 5rem;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.nav-brand { display: flex; flex-direction: column; }

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

.nav-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--indigo-soft);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--indigo); }

.nav-btn {
    display: inline-block;
    padding: 0.55rem 1.6rem;
    background: var(--indigo);
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s;
}

.nav-btn:hover { background: var(--indigo-mid); }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 4px 0;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-hamburger-bar {
    display: block;
    height: 2px;
    background: var(--indigo);
    transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.is-open .nav-hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   Shared Buttons
   ============================================================= */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--indigo);
    color: var(--white);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover { background: var(--indigo-mid); transform: translateY(-2px); }

.btn-outline {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1.5px solid var(--indigo);
    color: var(--indigo);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s;
}

.btn-outline:hover { background: var(--indigo-pale); }

/* =============================================================
   Hero
   ============================================================= */
.hero {
    min-height: 70vh;
    padding: 3rem 5rem 0;
    background: var(--white);
}

.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: calc(70vh - 3rem);
}

.hero-image-wrap {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 2rem 2rem;
}

.hero-image {
    max-width: 95%;
    height: auto;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-right: 3rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--indigo);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeUp 0.9s ease both;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--indigo);
}

.hero-h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    animation: fadeUp 0.9s 0.1s ease both;
}

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

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s 0.2s ease both;
}

.hero-brand-line {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--indigo-soft);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 3rem;
    animation: fadeUp 0.9s 0.25s ease both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    animation: fadeUp 0.9s 0.3s ease both;
}

.hero-ctas--centered { justify-content: center; }

/* =============================================================
   Stats Strip
   ============================================================= */
.stats-strip {
    background: var(--indigo);
    display: flex;
    justify-content: center;
}

.stat {
    padding: 3rem 6rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    flex: 1;
}

.stat:last-child { border-right: none; }

.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

/* =============================================================
   Section Base
   ============================================================= */
.section { padding: 4.2rem 5rem; }

.section-inner { max-width: 1080px; margin: 0 auto; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--indigo);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--indigo);
}

.section-h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--ink);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}

.section-h2 span { color: var(--indigo); }

.section-intro {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.75;
    font-weight: 300;
    max-width: 580px;
    margin-bottom: 4rem;
}

/* =============================================================
   Problem Section
   ============================================================= */
.section--problem {
    background: var(--indigo-pale);
    position: relative;
    overflow: hidden;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border-mid);
}

.problem-card {
    background: var(--white);
    padding: 3rem;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.problem-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--indigo);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.problem-card:hover { background: #f7f8fc; }
.problem-card:hover::after { transform: scaleX(1); }

.problem-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--indigo-pale);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.problem-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--indigo);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
}

.problem-desc {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.7;
    font-weight: 300;
}

/* =============================================================
   Platform / Stages Section
   ============================================================= */
.section--platform {
    background-color: var(--white);
    background-image: url('/images/bg-solutions1.png');
    background-position: right top;
    background-repeat: repeat-y;
    position: relative;
}

.stages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
}

.stage {
    background: var(--white);
    padding: 3rem;
    transition: background 0.25s;
}

.stage:hover { background: var(--indigo-pale); }

.stage-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--indigo-pale);
    margin-bottom: 0.3rem;
    transition: color 0.25s;
}

.stage:hover .stage-num { color: rgba(84,100,174,0.2); }

.stage-label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--indigo);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.stage-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stage-items li {
    font-size: 0.88rem;
    color: var(--ink-soft);
    font-weight: 300;
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}

.stage-items li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.6em;
    width: 6px; height: 6px;
    background: var(--indigo-soft);
    transform: rotate(45deg);
}

/* =============================================================
   Modules Section
   ============================================================= */
.section--modules { background: var(--indigo-pale); }

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border-mid);
}

.module {
    background: var(--white);
    padding: 2.8rem;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.module:hover { background: var(--indigo); }
.module:hover .module-name { color: var(--white); }
.module:hover .module-tag { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.25); }
.module:hover .module-desc { color: rgba(255,255,255,0.8); }

.module-tag {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--indigo-soft);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.6rem;
    margin-bottom: 1.2rem;
    transition: all 0.25s;
}

.module-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--indigo);
    letter-spacing: 0.03em;
    margin-bottom: 0.8rem;
    transition: color 0.25s;
    line-height: 1.05;
}

.module-desc {
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.65;
    font-weight: 300;
    transition: color 0.25s;
}

/* =============================================================
   Proof Section
   ============================================================= */
.section--proof {
    background: var(--indigo);
    position: relative;
    overflow: hidden;
}

.proof-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.proof-deco--1 {
    right: -100px;
    top: 50%; transform: translateY(-50%);
    width: 500px; height: 500px;
    border: 60px solid rgba(255,255,255,0.06);
}

.proof-deco--2 {
    right: -180px;
    top: 50%; transform: translateY(-50%);
    width: 700px; height: 700px;
    border: 30px solid rgba(255,255,255,0.03);
}

.proof-inner { position: relative; z-index: 2; }

.section-tag--proof { color: rgba(255,255,255,0.6); }
.section-tag--proof::before { background: rgba(255,255,255,0.4); }

.proof-h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 3.5rem;
    letter-spacing: 0.01em;
    max-width: 600px;
}

.brands-row {
    display: flex;
    gap: 0;
    margin-bottom: 5rem;
    border: 1px solid rgba(255,255,255,0.12);
}

.brand-item {
    flex: 1;
    padding: 1.8rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.12);
    transition: background 0.25s;
}

.brand-item:last-child { border-right: none; }
.brand-item:hover { background: rgba(255,255,255,0.06); }

.brand-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    transition: color 0.25s;
}

.brand-item:hover .brand-name { color: rgba(255,255,255,0.85); }

.proof-quote {
    border-left: 4px solid rgba(255,255,255,0.3);
    padding: 2rem 3rem;
    background: rgba(255,255,255,0.05);
    max-width: 780px;
}

.proof-quote p {
    font-size: 1.35rem;
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.proof-quote cite {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    font-style: normal;
    font-weight: 500;
}

/* =============================================================
   Why Section
   ============================================================= */
.section--why {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    margin-bottom: 4rem;
}

.why-item {
    background: var(--white);
    padding: 3rem 2.5rem;
    transition: background 0.25s;
}

.why-item:hover { background: var(--indigo-pale); }

.why-icon {
    width: 44px; height: 44px;
    background: var(--indigo-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.25s;
}

.why-item:hover .why-icon { background: rgba(84,100,174,0.15); }

.why-icon-diamond {
    width: 12px; height: 12px;
    background: var(--indigo);
    transform: rotate(45deg);
}

.why-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--indigo);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
}

.why-desc {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.7;
    font-weight: 300;
}

/* =============================================================
   CTA Section
   ============================================================= */
.section--cta {
    background: var(--indigo-pale);
    padding: 4.8rem 5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-deco--1 {
    right: -60px;
    top: 50%; transform: translateY(-50%);
    width: 320px; height: 320px;
    border: 40px solid rgba(84,100,174,0.1);
}

.cta-deco--2 {
    left: -80px;
    top: 50%; transform: translateY(-50%);
    width: 240px; height: 240px;
    border: 30px solid rgba(84,100,174,0.07);
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.cta-h2 span { color: var(--indigo); }

.cta-sub {
    font-size: 1rem;
    color: var(--ink-soft);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 3rem;
}

.cta-keywords {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-kw {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--indigo-soft);
    font-weight: 600;
}

.cta-kw::before { content: '·  '; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
    background: var(--ink);
    padding: 2.5rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;

}

.footer-contact {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.footer-contact a {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover { color: rgba(255,255,255,0.85); }

.footer-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

/* =============================================================
   Privacy Page
   ============================================================= */
.privacy-page { padding-top: 10rem; }

.privacy-body {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.privacy-block h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--indigo);
    margin-bottom: 0.6rem;
}

.privacy-block p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.8;
    font-weight: 300;
}

.privacy-block a {
    color: var(--indigo);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-block a:hover { color: var(--indigo-mid); }

/* =============================================================
   Contact Page
   ============================================================= */
.contact-hero {
    min-height: calc(100vh - 100px);
    padding-top: 10rem;
    display: flex;
    align-items: flex-start;
}

.contact-form {
    max-width: 560px;
}

.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-soft);
}

.form-required { color: var(--indigo); }

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-mid);
    background: var(--white);
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder { color: var(--ink-faint); }

.form-input:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(84,100,174,0.12);
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: #c0392b;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--ink-faint);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 480px;
}

.form-disclaimer-link {
    color: var(--indigo);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-disclaimer-link:hover { color: var(--indigo-mid); }

.form-submit { cursor: pointer; border: none; font-family: 'Barlow', sans-serif; }

.form-input--error { border-color: #c0392b; }

.form-field-error {
    font-size: 0.78rem;
    color: #c0392b;
    font-weight: 500;
    margin-top: 0.25rem;
}

.form-error-banner {
    font-size: 0.85rem;
    color: #c0392b;
    background: #fdf0ef;
    border: 1px solid rgba(192,57,43,0.25);
    padding: 0.85rem 1.2rem;
    margin-bottom: 1.6rem;
    max-width: 560px;
    font-weight: 500;
}

.contact-success {
    max-width: 560px;
    padding: 3rem;
    background: var(--indigo-pale);
    border-left: 4px solid var(--indigo);
}

.contact-success-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 0.5rem;
}

.contact-success-msg {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.7;
    font-weight: 300;
}

/* =============================================================
   Scroll Reveal
   ============================================================= */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.on { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 900px) {
    .site-nav { padding: 1rem 1.5rem; }
    .nav-tagline { display: none; }
    .nav-hamburger { display: flex; }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.5rem 0 1rem;
    }

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

    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-btn { margin-top: 0.75rem; }

    .hero { padding: 3.6rem 1.5rem 1.8rem; }

    .hero-inner { grid-template-columns: 1fr; }

    .hero-content { padding-right: 0; }

    .hero-image-wrap { padding: 2rem 0 1rem; }
    .hero-image { max-width: 90%; margin: 0 auto; }

    .section { padding: 3rem 1.5rem; }
    .section--cta { padding: 3rem 1.5rem; }

    .problem-grid,
    .stages-grid,
    .modules-grid,
    .why-grid { grid-template-columns: 1fr; }

    .brands-row { flex-wrap: wrap; }

    .stats-strip { flex-wrap: wrap; }
    .stat { padding: 2rem 2rem; width: 50%; }

    .site-footer {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.8rem;
    }
}
