/* Nuage Digital — shared styles for new pages
   ------------------------------------------------------------------ */

:root {
    --nd-navy:    #0a1a3d;
    --nd-navy-2:  #12245c;
    --nd-accent:  #4f7dff;
    --nd-accent2: #6c4dff;
    --nd-gold:    #f5b840;
    --nd-cream:   #fffaf0;
    --nd-bg:      #ffffff;
    --nd-soft:    #f5f7fb;
    --nd-line:    #e6eaf1;
    --nd-text:    #0f172a;
    --nd-muted:   #5b6472;
    --nd-radius:  16px;
    --nd-shadow:  0 10px 40px rgba(10, 26, 61, 0.06);
    --nd-shadow-2: 0 20px 60px rgba(10, 26, 61, 0.14);
    --nd-font:    'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --nd-heading: 'Manrope', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.nd-page {
    margin: 0;
    font-family: var(--nd-font);
    color: var(--nd-text);
    background: var(--nd-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nd-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--nd-heading); color: var(--nd-navy); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; margin-top: 40px; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; margin-top: 28px; }
h4 { font-size: 18px; font-weight: 700; margin-top: 22px; }
p { margin: 0 0 16px; }

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

/* Header
   ---------------------------------------------------------------- */
.nd-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--nd-line);
}
.nd-header-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 14px 24px;
}
.nd-logo img { height: 32px; width: auto; }
.nd-nav { display: flex; gap: 26px; }
.nd-nav a {
    color: var(--nd-text); font-weight: 500; font-size: 15px;
    padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nd-nav a:hover, .nd-nav a.is-active { border-color: var(--nd-accent); color: var(--nd-navy); text-decoration: none; }
.nd-cta {
    background: var(--nd-navy); color: white !important;
    padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.nd-cta:hover { background: var(--nd-navy-2); transform: translateY(-1px); box-shadow: var(--nd-shadow); text-decoration: none; }
.nd-burger {
    display: none; background: none; border: 0; cursor: pointer;
    width: 40px; height: 40px; padding: 8px;
}
.nd-burger span {
    display: block; height: 2px; background: var(--nd-navy);
    margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nd-mobile-menu { display: none; }

@media (max-width: 860px) {
    .nd-nav, .nd-header .nd-cta { display: none; }
    .nd-burger { display: block; }
    .nd-mobile-menu {
        display: none; flex-direction: column; padding: 12px 24px 24px;
        border-top: 1px solid var(--nd-line); background: white;
    }
    .nd-mobile-menu a {
        padding: 12px 0; border-bottom: 1px solid var(--nd-line);
        color: var(--nd-text); font-weight: 600;
    }
    .nd-mobile-menu .nd-cta { text-align: center; margin-top: 12px; }
    body.nd-menu-open .nd-mobile-menu { display: flex; }
}

/* Hero
   ---------------------------------------------------------------- */
.nd-hero {
    background: linear-gradient(135deg, var(--nd-navy) 0%, var(--nd-navy-2) 60%, #23306e 100%);
    color: white; padding: 90px 0 100px; position: relative; overflow: hidden;
}
.nd-hero::before, .nd-hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none;
}
.nd-hero::before { width: 500px; height: 500px; background: var(--nd-accent); top: -140px; right: -140px; }
.nd-hero::after  { width: 400px; height: 400px; background: var(--nd-gold); bottom: -160px; left: -120px; opacity: .18; }
.nd-hero .nd-container { position: relative; z-index: 1; }
.nd-hero .nd-eyebrow {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
    font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
    margin-bottom: 20px;
}
.nd-hero h1 { color: white; max-width: 820px; }
.nd-hero p.nd-lede { font-size: clamp(17px, 2vw, 20px); max-width: 720px; opacity: .88; margin-top: 18px; }
.nd-hero-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.nd-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
    transition: transform .15s, box-shadow .15s;
}
.nd-btn-primary { background: white; color: var(--nd-navy) !important; }
.nd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.25); text-decoration: none; }
.nd-btn-ghost { background: transparent; color: white !important; border: 1px solid rgba(255,255,255,.35); }
.nd-btn-ghost:hover { background: rgba(255,255,255,.08); text-decoration: none; }

/* Content sections
   ---------------------------------------------------------------- */
.nd-section { padding: 80px 0; }
.nd-section.alt { background: var(--nd-soft); }
.nd-section h2 { margin-top: 0; }
.nd-section .nd-lede { color: var(--nd-muted); font-size: 18px; max-width: 720px; margin-bottom: 32px; }

.nd-grid { display: grid; gap: 24px; }
.nd-grid.g-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.nd-grid.g-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.nd-grid.g-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.nd-card {
    background: white; border: 1px solid var(--nd-line); border-radius: var(--nd-radius);
    padding: 28px; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.nd-card:hover { transform: translateY(-4px); box-shadow: var(--nd-shadow-2); border-color: transparent; }
.nd-card h3 { margin-top: 0; font-size: 20px; }
.nd-card p { color: var(--nd-muted); font-size: 15px; margin-bottom: 12px; }
.nd-card .nd-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--nd-accent), var(--nd-accent2));
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px;
}
.nd-card a.nd-more { color: var(--nd-accent); font-weight: 600; font-size: 14px; }

/* Checklist / feature list */
ul.nd-check { list-style: none; padding: 0; margin: 0; }
ul.nd-check li {
    padding: 10px 0 10px 32px; position: relative; color: var(--nd-text);
    border-bottom: 1px solid var(--nd-line);
}
ul.nd-check li:last-child { border-bottom: 0; }
ul.nd-check li::before {
    content: "✓"; position: absolute; left: 0; top: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg, var(--nd-accent), var(--nd-accent2));
    color: white; font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}

/* CTA band */
.nd-cta-band {
    background: linear-gradient(135deg, var(--nd-navy), var(--nd-navy-2));
    color: white; padding: 60px 0; text-align: center; border-radius: 24px; margin: 40px 0;
}
.nd-cta-band h2 { color: white; margin: 0 0 16px; }
.nd-cta-band p  { max-width: 620px; margin: 0 auto 28px; opacity: .88; font-size: 18px; }

/* Stats */
.nd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 40px 0; }
.nd-stat { text-align: center; padding: 24px; background: white; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); }
.nd-stat .n { font-family: var(--nd-heading); font-size: 40px; font-weight: 800; color: var(--nd-navy); line-height: 1; }
.nd-stat .l { color: var(--nd-muted); font-size: 14px; margin-top: 6px; }

/* Breadcrumb */
.nd-crumb { padding: 20px 0; font-size: 14px; color: var(--nd-muted); }
.nd-crumb a { color: var(--nd-muted); }
.nd-crumb a:hover { color: var(--nd-navy); }
.nd-crumb .sep { margin: 0 8px; opacity: .5; }
.nd-crumb .cur { color: var(--nd-navy); font-weight: 600; }

/* Contact form */
.nd-form { display: grid; gap: 16px; max-width: 640px; }
.nd-form label { font-weight: 600; font-size: 14px; color: var(--nd-navy); margin-bottom: 4px; display: block; }
.nd-form input, .nd-form select, .nd-form textarea {
    width: 100%; padding: 14px 16px; font-size: 16px; font-family: inherit;
    border: 1px solid var(--nd-line); border-radius: 12px; background: white;
    transition: border-color .15s, box-shadow .15s;
}
.nd-form input:focus, .nd-form select:focus, .nd-form textarea:focus {
    outline: none; border-color: var(--nd-accent);
    box-shadow: 0 0 0 4px rgba(79, 125, 255, 0.15);
}
.nd-form textarea { min-height: 140px; resize: vertical; }
.nd-form button {
    background: var(--nd-navy); color: white; border: 0;
    padding: 15px 32px; font-size: 16px; font-weight: 600; border-radius: 999px;
    cursor: pointer; font-family: inherit;
    transition: background .15s, transform .15s;
}
.nd-form button:hover { background: var(--nd-navy-2); transform: translateY(-1px); }

/* Prose (legal / long-form) */
.nd-prose { max-width: 780px; margin: 0 auto; }
.nd-prose p, .nd-prose li { color: var(--nd-text); }
.nd-prose h2 { margin-top: 40px; }
.nd-prose h3 { margin-top: 30px; font-size: 20px; }
.nd-prose ul, .nd-prose ol { padding-left: 22px; }
.nd-prose li { margin-bottom: 8px; }

/* Footer
   ---------------------------------------------------------------- */
.nd-footer { background: #0a1428; color: #b3b9c8; padding: 60px 0 30px; margin-top: 40px; }
.nd-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.nd-footer-brand p { max-width: 320px; font-size: 14px; line-height: 1.6; margin: 12px 0 20px; }
.nd-footer-brand img { filter: brightness(0) invert(1); opacity: .95; }
.nd-footer h4 { color: white; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.nd-footer-col a { display: block; color: #b3b9c8; padding: 6px 0; font-size: 14px; }
.nd-footer-col a:hover { color: white; text-decoration: none; }
.nd-socials { display: flex; gap: 10px; }
.nd-socials a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: white !important;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
}
.nd-socials a:hover { background: var(--nd-accent); text-decoration: none; }
.nd-footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}

@media (max-width: 860px) {
    .nd-footer-grid { grid-template-columns: 1fr 1fr; }
    .nd-hero { padding: 60px 0 70px; }
    .nd-section { padding: 60px 0; }
}
@media (max-width: 520px) {
    .nd-footer-grid { grid-template-columns: 1fr; }
}
