/* ── TOKENS ───────────────────────────── */
:root {
    --ndl-orange:      #ab3402;
    --ndl-orange-dark: #8f2b01;
    --ndl-blue:        #0289ab;
    --ndl-purple:      #6702ab;
    --ndl-green:       #02ab52;
    --ndl-teal:        #027bab;
    --ndl-bg:          #0f1117;
    --ndl-card:        #1b1e27;
    --ndl-text:        #e6e6e6;
}

/* ── RESET / BASE ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: radial-gradient(circle at top, #151823, var(--ndl-bg));
    color: var(--ndl-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

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

/* ── HERO ─────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 700px;
    background: radial-gradient(ellipse, rgba(2,137,171,.11) 0%, transparent 68%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -5%; right: 5%;
    width: 600px; height: 500px;
    background: radial-gradient(ellipse, rgba(171,52,2,.07) 0%, transparent 68%);
    pointer-events: none;
}

.hero-logo {
    max-height: 170px;
    margin: 0 auto 44px;
    position: relative;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ndl-blue);
    background: rgba(2,137,171,.1);
    border: 1px solid rgba(2,137,171,.22);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ndl-blue);
    flex-shrink: 0;
    animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%       { opacity: .35; transform: scale(.65); }
}

.hero-headline {
    font-size: clamp(2.1rem, 5.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 0 auto 22px;
    max-width: 820px;
    text-align: center;
}

.grad-orange {
    background: linear-gradient(100deg, var(--ndl-orange) 0%, #e05520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-blue {
    background: linear-gradient(100deg, var(--ndl-blue) 0%, #04cdf5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: rgba(230,230,230,.6);
    max-width: 560px;
    line-height: 1.72;
    margin: 0 auto 40px;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ndl-blue), var(--ndl-purple));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: opacity .15s, transform .2s;
}

.btn-primary:hover { opacity: .88; transform: translateY(-2px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.04);
    color: rgba(230,230,230,.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: background .15s, transform .2s;
}

.btn-ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }

.hero-scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(230,230,230,.25);
    text-decoration: none;
    animation: scroll-bob 2.8s ease-in-out infinite;
}

@keyframes scroll-bob {
    0%, 100% { transform: translateX(-50%) translateY(0);    opacity: .5; }
    50%       { transform: translateX(-50%) translateY(-7px); opacity: 1;  }
}

/* ── DIVIDER ──────────────────────────── */
.ndl-divider {
    height: 2px;
    width: 50%;
    margin: 0 auto;
    border-radius: 2px;
    background: linear-gradient(to right, transparent 0%, var(--ndl-orange) 20%, var(--ndl-orange) 80%, transparent 100%);
    animation: divider-breathe 4.5s ease-in-out infinite;
}

@keyframes divider-breathe {
    0%   { clip-path: inset(0 45% 0 45%); opacity: .5; }
    50%  { clip-path: inset(0 0 0 0);     opacity: 1;  }
    100% { clip-path: inset(0 45% 0 45%); opacity: .5; }
}

/* ── FEATURES ─────────────────────────── */
.features {
    padding: 90px 24px;
    max-width: 1680px;
    margin: 0 auto;
}

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

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ndl-orange);
    margin: 0 0 14px;
    text-align: center;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 auto 14px;
    text-align: center;
}

.section-sub {
    color: rgba(230,230,230,.5);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.feat-card {
    background: var(--ndl-card);
    border-radius: 14px;
    padding: 30px 28px;
    border: 1px solid rgba(255,255,255,.06);
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.feat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.feat-card.fc-orange::after { background: linear-gradient(90deg, var(--ndl-orange) 0%, transparent 75%); }
.feat-card.fc-blue::after   { background: linear-gradient(90deg, var(--ndl-blue)   0%, transparent 75%); }
.feat-card.fc-purple::after { background: linear-gradient(90deg, var(--ndl-purple)  0%, transparent 75%); }
.feat-card.fc-green::after  { background: linear-gradient(90deg, var(--ndl-green)   0%, transparent 75%); }
.feat-card.fc-teal::after   { background: linear-gradient(90deg, var(--ndl-teal)    0%, transparent 75%); }

.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(0,0,0,.45);
}

.feat-icon {
    width: 50px; height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.fi-orange { background: rgba(171,52,2,.13); }
.fi-blue   { background: rgba(2,137,171,.13); }
.fi-purple { background: rgba(103,2,171,.13); }
.fi-green  { background: rgba(2,171,82,.13); }
.fi-teal   { background: rgba(2,123,171,.13); }

.feat-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}

.feat-desc {
    font-size: 14px;
    color: rgba(230,230,230,.56);
    line-height: 1.7;
    margin: 0;
}

/* ── STATS BAR ────────────────────────── */
.stats-bar {
    background: var(--ndl-card);
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 40px 24px;
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 8px;
    text-align: center;
}

.stat-label {
    font-size: 13px;
    color: rgba(230,230,230,.45);
    letter-spacing: .03em;
    text-align: center;
}

.sv-orange { color: var(--ndl-orange); }
.sv-blue   { color: var(--ndl-blue);   }
.sv-purple { color: var(--ndl-purple);  }

/* ── CTA ──────────────────────────────── */
.cta-section {
    padding: 90px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 500px;
    background: radial-gradient(ellipse, rgba(103,2,171,.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box {
    background: var(--ndl-card);
    border: 1px solid rgba(255,255,255,.07);
    border-top: 3px solid var(--ndl-purple);
    border-radius: 16px;
    padding: 56px 44px;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 auto 14px;
    text-align: center;
}

.cta-sub {
    color: rgba(230,230,230,.5);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 auto 32px;
    text-align: center;
}

/* ── FOOTER ───────────────────────────── */
.site-footer {
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 30px 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(230,230,230,.3);
    text-decoration: none;
    transition: color .15s;
}

.footer-links a:hover { color: var(--ndl-blue); }

.footer-copy {
    font-size: 12px;
    color: rgba(230,230,230,.25);
    margin: 0;
}

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .stats-inner   { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .cta-box     { padding: 40px 24px; }
    .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll,
    .hero-eyebrow::before,
    .ndl-divider { animation: none; }
}

/* ── CONTACT PAGE ─────────────────────── */
.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.contact-wrap {
    width: 100%;
    max-width: 600px;
}

.contact-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(230,230,230,.4);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color .15s;
}

.contact-back:hover { color: var(--ndl-blue); }

.contact-card {
    background: var(--ndl-card);
    border-radius: 14px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,.06);
    border-top: 3px solid var(--ndl-blue);
}

.contact-logo {
    display: block;
    max-height: 80px;
    margin: 0 auto 28px;
}

.contact-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: -.02em;
}

.contact-sub {
    text-align: center;
    font-size: 14px;
    color: rgba(230,230,230,.5);
    margin: 0 0 28px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 13px;
    font-weight: 500;
    opacity: .8;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
    background: #0e1016;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color .15s;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--ndl-blue);
}

.contact-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 30px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--ndl-blue), var(--ndl-purple));
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: opacity .15s, transform .2s;
    width: 100%;
    font-family: inherit;
}

.contact-submit:hover { opacity: .88; transform: translateY(-1px); }

.contact-alert {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-alert-success {
    background: rgba(2,137,171,.14);
    border-left: 4px solid var(--ndl-blue);
    color: #7dd8f0;
}

.contact-alert-error {
    background: rgba(171,52,2,.14);
    border-left: 4px solid var(--ndl-orange);
    color: #e06030;
}

.contact-footer {
    text-align: center;
    font-size: 12px;
    color: rgba(230,230,230,.25);
    margin-top: 24px;
}
