/* ============================================
   New Design 6 — "Horizon"
   Warm Luminous Corporate
   Light cream base + Deep Teal + Warm Orange
   Sora geometric headings + Libre Franklin body
   Organic wave shapes, custom header/footer
   nd6- prefix throughout
   ============================================ */

/* === VARIABLES === */
:root {
    --nd6-base: #FFFBF5;
    --nd6-base-alt: #FFF7ED;
    --nd6-white: #FFFFFF;
    --nd6-cream: #FEF3E2;
    --nd6-cream-dark: #FDDCAB;
    --nd6-warm-50: #FFFAF0;
    --nd6-warm-100: #FFF1DB;
    --nd6-teal: #0D9488;
    --nd6-teal-dark: #0F766E;
    --nd6-teal-deeper: #115E59;
    --nd6-teal-light: #14B8A6;
    --nd6-teal-50: rgba(13, 148, 136, 0.06);
    --nd6-teal-100: rgba(13, 148, 136, 0.12);
    --nd6-orange: #EA580C;
    --nd6-orange-light: #FB923C;
    --nd6-orange-warm: #F97316;
    --nd6-orange-50: rgba(234, 88, 12, 0.06);
    --nd6-stone-50: #FAFAF9;
    --nd6-stone-100: #F5F5F4;
    --nd6-stone-200: #E7E5E4;
    --nd6-stone-300: #D6D3D1;
    --nd6-stone-400: #A8A29E;
    --nd6-stone-500: #78716C;
    --nd6-stone-600: #57534E;
    --nd6-stone-700: #44403C;
    --nd6-stone-800: #292524;
    --nd6-stone-900: #1C1917;
    --nd6-font-heading: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    --nd6-font-body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;
    --nd6-radius-sm: 8px;
    --nd6-radius-md: 14px;
    --nd6-radius-lg: 22px;
    --nd6-radius-xl: 32px;
    --nd6-radius-pill: 999px;
    --nd6-shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.04), 0 1px 2px rgba(28, 25, 23, 0.02);
    --nd6-shadow-md: 0 4px 16px rgba(28, 25, 23, 0.06), 0 2px 4px rgba(28, 25, 23, 0.03);
    --nd6-shadow-lg: 0 12px 40px rgba(28, 25, 23, 0.08), 0 4px 12px rgba(28, 25, 23, 0.04);
    --nd6-shadow-xl: 0 24px 64px rgba(28, 25, 23, 0.1), 0 8px 20px rgba(28, 25, 23, 0.05);
    --nd6-shadow-teal: 0 8px 32px rgba(13, 148, 136, 0.2);
    --nd6-shadow-orange: 0 8px 32px rgba(234, 88, 12, 0.15);
    --nd6-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === HIDE DEFAULT HEADER & FOOTER === */
.site-header,
header.site-header,
.sticky-top,
.modern-footer,
footer.modern-footer {
    display: none !important;
}

/* === BASE === */
.nd6-page {
    font-family: var(--nd6-font-body);
    color: var(--nd6-stone-800);
    background: var(--nd6-base);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nd6-page *,
.nd6-page *::before,
.nd6-page *::after {
    box-sizing: border-box;
}

.nd6-page h1, .nd6-page h2, .nd6-page h3, .nd6-page h4, .nd6-page h5 {
    font-family: var(--nd6-font-heading);
    font-weight: 700;
    color: var(--nd6-stone-900);
    line-height: 1.2;
    margin: 0;
}

.nd6-page p {
    margin: 0;
}

.nd6-page a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* === CONTAINERS === */
.nd6-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nd6-container--narrow {
    max-width: 800px;
}

.nd6-container--wide {
    max-width: 1360px;
}

/* ===========================
   CUSTOM HEADER
   =========================== */
.nd6-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--nd6-transition);
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(28, 25, 23, 0.04);
}

.nd6-header--scrolled {
    background: rgba(255, 251, 245, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 2px 12px rgba(28, 25, 23, 0.06);
    border-bottom-color: rgba(28, 25, 23, 0.06);
    padding: 10px 0;
}

.nd6-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nd6-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--nd6-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--nd6-stone-900);
    flex-shrink: 0;
}

.nd6-header__logo img {
    height: 28px;
    width: auto;
}

.nd6-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--nd6-white);
    border: 1px solid var(--nd6-stone-200);
    border-radius: var(--nd6-radius-pill);
    padding: 4px;
    box-shadow: var(--nd6-shadow-sm);
}

.nd6-header__nav a {
    font-family: var(--nd6-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nd6-stone-600);
    padding: 8px 18px;
    border-radius: var(--nd6-radius-pill);
    transition: var(--nd6-transition);
    white-space: nowrap;
}

.nd6-header__nav a:hover {
    color: var(--nd6-teal-dark);
    background: var(--nd6-teal-50);
}

.nd6-header__nav a.nd6-active {
    background: var(--nd6-teal);
    color: var(--nd6-white);
}

.nd6-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nd6-header__login {
    font-family: var(--nd6-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nd6-stone-600);
    padding: 8px 16px;
    transition: var(--nd6-transition);
    cursor: pointer;
}

.nd6-header__login:hover {
    color: var(--nd6-teal);
}

.nd6-header__cta {
    font-family: var(--nd6-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nd6-white);
    background: var(--nd6-teal);
    padding: 10px 22px;
    border-radius: var(--nd6-radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--nd6-transition);
}

.nd6-header__cta:hover {
    background: var(--nd6-teal-dark);
    box-shadow: var(--nd6-shadow-teal);
    transform: translateY(-1px);
    color: var(--nd6-white);
}

/* Mobile menu */
.nd6-header__mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--nd6-stone-200);
    border-radius: var(--nd6-radius-sm);
    padding: 8px 10px;
    cursor: pointer;
    color: var(--nd6-stone-700);
}

/* ===========================
   DROPDOWN MEGA-MENUS
   =========================== */

/* --- Keyframe animations --- */
@keyframes nd6-panel-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px) scale(0.975);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes nd6-link-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nd6-topbar-grow {
    from { width: 0; }
    to   { width: 100%; }
}

@keyframes nd6-col-underline-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes nd6-icon-bounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.18); }
    65%  { transform: scale(0.9); }
    85%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes nd6-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

@keyframes nd6-pulse-dot {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.4); }
}

/* --- Trigger button --- */
.nd6-dropdown {
    position: relative;
}

/* M-003: Invisible hover bridge between trigger and panel */
.nd6-dropdown--open::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
    z-index: 199;
}

.nd6-dropdown__trigger {
    font-family: var(--nd6-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nd6-stone-600);
    padding: 8px 18px;
    border-radius: var(--nd6-radius-pill);
    transition: color 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.4;
}

.nd6-dropdown__trigger:hover,
.nd6-dropdown--open .nd6-dropdown__trigger {
    color: var(--nd6-teal-dark);
    background: var(--nd6-teal-50);
}

/* --- Chevron: spring-like rotation --- */
.nd6-dropdown__chevron {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.nd6-dropdown--open .nd6-dropdown__chevron {
    transform: rotate(180deg);
}

/* --- Panel --- */
.nd6-dropdown__panel {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.975);
    width: 620px;
    min-width: 480px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px) saturate(1.6);
    -webkit-backdrop-filter: blur(12px) saturate(1.6);
    border: 1px solid var(--nd6-stone-200);
    border-radius: var(--nd6-radius-lg);
    box-shadow: var(--nd6-shadow-xl),
                0 0 0 1px rgba(13, 148, 136, 0.06);
    padding: 0 28px 16px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
    overflow: hidden;
}

/* Animated teal gradient top-bar */
.nd6-dropdown__panel::before {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--nd6-teal), var(--nd6-teal-light), var(--nd6-orange-light));
    border-radius: 3px 3px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: none;
}

/* Subtle teal gradient blush at the top of panel interior */
.nd6-dropdown__panel::after {
    content: '';
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, var(--nd6-teal-50), transparent);
    pointer-events: none;
    border-radius: var(--nd6-radius-lg) var(--nd6-radius-lg) 0 0;
}

/* Open state — use animation not transition (display:none to block cannot transition) */
.nd6-dropdown--open .nd6-dropdown__panel {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    animation: nd6-panel-in 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.nd6-dropdown--open .nd6-dropdown__panel::before {
    animation: nd6-topbar-grow 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}

/* Padding top offset so ::before doesn't shift content */
.nd6-dropdown__panel .nd6-mega-cols {
    padding-top: 24px;
}

/* --- Column layout --- */
.nd6-mega-cols {
    display: flex;
    gap: 32px;
}

.nd6-mega-col {
    flex: 1;
    min-width: 0;
}

/* --- Column title with animated underline --- */
.nd6-mega-col__title {
    font-family: var(--nd6-font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nd6-stone-400);
    margin-bottom: 14px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
}

/* Animated underline beneath column title */
.nd6-mega-col__title::after {
    content: '';
    display: block;
    height: 1.5px;
    flex: 1;
    background: linear-gradient(90deg, var(--nd6-teal-light), transparent);
    transform-origin: left center;
    transform: scaleX(0);
    border-radius: 2px;
}

.nd6-dropdown--open .nd6-mega-col__title::after {
    animation: nd6-col-underline-grow 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* Pulsing dot decoration next to column titles */
.nd6-mega-col__title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nd6-teal);
    flex-shrink: 0;
    animation: nd6-pulse-dot 2.4s ease-in-out infinite;
}

/* --- Staggered menu-link entrance --- */
.nd6-dropdown--open .nd6-mega-link {
    animation: nd6-link-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Stagger per nth-child (covers up to 10 links per column) */
.nd6-dropdown--open .nd6-mega-col:nth-child(1) .nd6-mega-link:nth-child(1) { animation-delay: 0.08s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(1) .nd6-mega-link:nth-child(2) { animation-delay: 0.12s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(1) .nd6-mega-link:nth-child(3) { animation-delay: 0.16s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(1) .nd6-mega-link:nth-child(4) { animation-delay: 0.20s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(1) .nd6-mega-link:nth-child(5) { animation-delay: 0.24s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(1) .nd6-mega-link:nth-child(6) { animation-delay: 0.28s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(1) .nd6-mega-link:nth-child(7) { animation-delay: 0.32s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(2) .nd6-mega-link:nth-child(1) { animation-delay: 0.10s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(2) .nd6-mega-link:nth-child(2) { animation-delay: 0.14s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(2) .nd6-mega-link:nth-child(3) { animation-delay: 0.18s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(2) .nd6-mega-link:nth-child(4) { animation-delay: 0.22s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(2) .nd6-mega-link:nth-child(5) { animation-delay: 0.26s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(2) .nd6-mega-link:nth-child(6) { animation-delay: 0.30s; }
.nd6-dropdown--open .nd6-mega-col:nth-child(2) .nd6-mega-link:nth-child(7) { animation-delay: 0.34s; }

/* --- Mega link hover: left accent bar + icon bounce --- */
.nd6-mega-link {
    display: flex;
    align-items: center;
    gap: 10px;
    /* padding-left is fixed at 12px in both states to prevent layout shifts on hover */
    padding: 8px 8px 8px 12px;
    border-radius: var(--nd6-radius-sm);
    transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-left-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--nd6-stone-700);
    position: relative;
    /* border-left is always present (transparent) so it never causes layout shifts */
    border-left: 2px solid transparent;
}

.nd6-mega-link:hover {
    background: var(--nd6-teal-50);
    color: var(--nd6-teal-dark);
    border-left-color: var(--nd6-teal);
    box-shadow: inset 0 0 0 1px var(--nd6-teal-100);
}

/* --- Icon: smooth gradient transition + bounce on hover --- */
.nd6-mega-link__icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--nd6-teal-50);
    color: var(--nd6-teal);
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.nd6-mega-link__icon svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.nd6-mega-link:hover .nd6-mega-link__icon {
    background: linear-gradient(135deg, var(--nd6-teal-100), rgba(13, 148, 136, 0.18));
    color: var(--nd6-teal-dark);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.18);
    animation: nd6-icon-bounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.nd6-mega-link__text {
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- Bottom quick-links with shimmer on hover --- */
.nd6-mega-bottom {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    border-top: 1px solid var(--nd6-stone-100);
    margin-top: 16px;
    padding: 12px 0;
}

.nd6-mega-bottom__link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--nd6-teal);
    padding: 4px 10px;
    border-radius: var(--nd6-radius-pill);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nd6-mega-bottom__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(13, 148, 136, 0.18) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: inherit;
}

.nd6-mega-bottom__link:hover {
    background: var(--nd6-teal-50);
    color: var(--nd6-teal-dark);
    box-shadow: 0 0 0 1px var(--nd6-teal-100);
}

.nd6-mega-bottom__link:hover::before {
    opacity: 1;
    animation: nd6-shimmer 1.2s linear infinite;
}

/* --- R&D card in Solutions panel --- */
a.nd6-mega-rnd,
.nd6-mega-rnd {
    margin: 1rem 0 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.08));
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, background 0.25s ease;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nd6-mega-rnd:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));
    border-color: rgba(99, 102, 241, 0.15);
}

.nd6-mega-rnd__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    transition: background 0.25s ease, color 0.25s ease;
}

.nd6-mega-rnd__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.nd6-mega-rnd:hover .nd6-mega-rnd__icon {
    background: rgba(99, 102, 241, 0.18);
    color: #4f46e5;
}

.nd6-mega-rnd__body {
    flex: 1;
}

.nd6-mega-rnd__title {
    font-size: 0.875rem;
    font-weight: 600;
}

.nd6-mega-rnd__desc {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    opacity: 0.7;
}

.nd6-mega-rnd__arrow {
    color: var(--nd6-teal);
    font-size: 1.25rem;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.nd6-mega-rnd:hover .nd6-mega-rnd__arrow {
    transform: translateX(4px);
}

/* Reduced-motion: respect user preferences */
@media (prefers-reduced-motion: reduce) {
    .nd6-dropdown--open .nd6-dropdown__panel,
    .nd6-dropdown--open .nd6-dropdown__panel::before,
    .nd6-dropdown--open .nd6-mega-col__title::after,
    .nd6-dropdown--open .nd6-mega-link,
    .nd6-mega-link:hover .nd6-mega-link__icon,
    .nd6-mega-bottom__link:hover::before,
    .nd6-mega-col__title::before {
        animation: none !important;
        transition: none !important;
    }
}

/* ===========================
   BUTTONS (global)
   =========================== */
.nd6-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nd6-font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--nd6-radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--nd6-transition);
    text-decoration: none;
    line-height: 1.4;
}

.nd6-btn--primary {
    background: linear-gradient(135deg, var(--nd6-teal), var(--nd6-teal-dark));
    color: var(--nd6-white);
    box-shadow: var(--nd6-shadow-md);
}

.nd6-btn--primary:hover {
    box-shadow: var(--nd6-shadow-teal);
    transform: translateY(-2px);
    color: var(--nd6-white);
}

.nd6-btn--secondary {
    background: var(--nd6-white);
    color: var(--nd6-stone-800);
    border: 1.5px solid var(--nd6-stone-200);
    box-shadow: var(--nd6-shadow-sm);
}

.nd6-btn--secondary:hover {
    border-color: var(--nd6-teal);
    color: var(--nd6-teal-dark);
    box-shadow: var(--nd6-shadow-md);
    transform: translateY(-2px);
}

.nd6-btn--orange {
    background: linear-gradient(135deg, var(--nd6-orange), var(--nd6-orange-warm));
    color: var(--nd6-white);
    box-shadow: var(--nd6-shadow-md);
}

.nd6-btn--orange:hover {
    box-shadow: var(--nd6-shadow-orange);
    transform: translateY(-2px);
    color: var(--nd6-white);
}

.nd6-btn--ghost {
    background: transparent;
    color: var(--nd6-teal);
    padding: 14px 8px;
}

.nd6-btn--ghost:hover {
    color: var(--nd6-teal-dark);
}

.nd6-btn--ghost svg {
    transition: transform 0.2s ease;
}

.nd6-btn--ghost:hover svg {
    transform: translateX(3px);
}

/* === BADGE === */
.nd6-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--nd6-font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--nd6-radius-pill);
    letter-spacing: 0.02em;
}

.nd6-badge--teal {
    background: var(--nd6-teal-100);
    color: var(--nd6-teal-dark);
}

.nd6-badge--orange {
    background: var(--nd6-orange-50);
    color: var(--nd6-orange);
}

.nd6-badge--soon {
    font-size: 0.625rem;
    padding: 2px 8px;
    border-radius: var(--nd6-radius-pill);
    background: var(--nd6-orange-50, rgba(255,152,0,.15));
    color: var(--nd6-orange, #e67e22);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin-left: 4px;
}

.nd6-badge--new {
    font-size: 0.625rem;
    padding: 2px 8px;
    border-radius: var(--nd6-radius-pill);
    background: var(--nd6-teal-100, rgba(16,185,129,.15));
    color: var(--nd6-teal-dark, #059669);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin-left: 4px;
}

/* === SECTION SPACING === */
.nd6-section {
    padding: 100px 0;
    position: relative;
}

.nd6-section--sm {
    padding: 60px 0;
}

/* === SECTION HEADERS === */
.nd6-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.nd6-section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.nd6-section-header p {
    font-size: 1.125rem;
    color: var(--nd6-stone-500);
    line-height: 1.7;
}

/* === GRADIENT TEXT === */
.nd6-gradient-text {
    background: linear-gradient(135deg, var(--nd6-teal), var(--nd6-teal-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nd6-gradient-text--warm {
    background: linear-gradient(135deg, var(--nd6-orange), var(--nd6-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   HERO SECTION
   =========================== */
.nd6-hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--nd6-base) 0%, var(--nd6-base-alt) 100%);
}

.nd6-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.nd6-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: nd6-float 20s ease-in-out infinite;
}

.nd6-hero__blob--1 {
    width: 500px;
    height: 500px;
    background: var(--nd6-teal-100);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.nd6-hero__blob--2 {
    width: 400px;
    height: 400px;
    background: var(--nd6-orange-50);
    bottom: -80px;
    left: -80px;
    animation-delay: -7s;
}

.nd6-hero__blob--3 {
    width: 300px;
    height: 300px;
    background: rgba(13, 148, 136, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes nd6-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.nd6-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.nd6-hero__text {
    max-width: 560px;
}

.nd6-hero__badge {
    margin-bottom: 24px;
}

.nd6-hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--nd6-stone-900);
}

.nd6-hero__subtitle {
    font-size: 1.2rem;
    color: var(--nd6-stone-500);
    line-height: 1.75;
    margin-bottom: 36px;
}

.nd6-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.nd6-hero__proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nd6-hero__avatars {
    display: flex;
}

.nd6-hero__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--nd6-white);
    background: var(--nd6-stone-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--nd6-stone-600);
    margin-left: -8px;
}

.nd6-hero__avatar:first-child {
    margin-left: 0;
}

.nd6-hero__proof-text {
    font-size: 0.875rem;
    color: var(--nd6-stone-500);
    line-height: 1.5;
}

.nd6-hero__proof-text strong {
    color: var(--nd6-stone-800);
}

/* Hero visual */
.nd6-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nd6-hero__card {
    background: var(--nd6-white);
    border-radius: var(--nd6-radius-lg);
    padding: 32px;
    box-shadow: var(--nd6-shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 480px;
    position: relative;
}

.nd6-hero__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--nd6-stone-100);
}

.nd6-hero__card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--nd6-radius-md);
    background: linear-gradient(135deg, var(--nd6-teal-50), var(--nd6-teal-100));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nd6-teal);
}

.nd6-hero__card-title {
    font-family: var(--nd6-font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--nd6-stone-800);
}

.nd6-hero__card-sub {
    font-size: 0.8125rem;
    color: var(--nd6-stone-400);
}

.nd6-hero__card-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nd6-hero__card-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--nd6-stone-50);
    border-radius: var(--nd6-radius-sm);
    font-size: 0.875rem;
}

.nd6-hero__card-field-label {
    color: var(--nd6-stone-500);
    font-weight: 500;
}

.nd6-hero__card-field-value {
    color: var(--nd6-stone-800);
    font-weight: 600;
}

.nd6-hero__card-field-value--teal {
    color: var(--nd6-teal);
}

.nd6-hero__card-progress {
    margin-top: 20px;
}

.nd6-hero__card-progress-bar {
    height: 6px;
    background: var(--nd6-stone-100);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.nd6-hero__card-progress-fill {
    height: 100%;
    width: 92%;
    background: linear-gradient(90deg, var(--nd6-teal), var(--nd6-teal-light));
    border-radius: 3px;
    transition: width 1.5s ease;
}

.nd6-hero__card-progress-text {
    font-size: 0.8125rem;
    color: var(--nd6-stone-400);
    text-align: right;
}

/* Floating accent card */
.nd6-hero__floating {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--nd6-white);
    border-radius: var(--nd6-radius-md);
    padding: 14px 20px;
    box-shadow: var(--nd6-shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    animation: nd6-subtle-bounce 3s ease-in-out infinite;
}

@keyframes nd6-subtle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.nd6-hero__floating-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nd6-orange-50), rgba(234, 88, 12, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nd6-orange);
    font-size: 1rem;
}

.nd6-hero__floating-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--nd6-stone-800);
}

.nd6-hero__floating-sub {
    font-size: 0.75rem;
    color: var(--nd6-stone-400);
}

/* ===========================
   LOGOS / TRUST STRIP
   =========================== */
.nd6-logos {
    padding: 48px 0;
    border-top: 1px solid var(--nd6-stone-100);
    border-bottom: 1px solid var(--nd6-stone-100);
    background: var(--nd6-white);
}

.nd6-logos__label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nd6-stone-400);
    margin-bottom: 28px;
}

.nd6-logos__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.nd6-logos__item {
    font-family: var(--nd6-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nd6-stone-300);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nd6-logos__item:hover {
    color: var(--nd6-stone-500);
}

/* ===========================
   FEATURES SECTION
   =========================== */
.nd6-features {
    background: var(--nd6-base);
}

.nd6-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nd6-feature-card {
    background: var(--nd6-white);
    border-radius: var(--nd6-radius-lg);
    padding: 36px;
    border: 1px solid var(--nd6-stone-100);
    transition: var(--nd6-transition);
    position: relative;
    overflow: hidden;
}

.nd6-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nd6-teal), var(--nd6-teal-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nd6-feature-card:hover {
    box-shadow: var(--nd6-shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.nd6-feature-card:hover::before {
    opacity: 1;
}

.nd6-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--nd6-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.nd6-feature-card__icon--teal {
    background: linear-gradient(135deg, var(--nd6-teal-50), var(--nd6-teal-100));
    color: var(--nd6-teal);
}

.nd6-feature-card__icon--orange {
    background: linear-gradient(135deg, var(--nd6-orange-50), rgba(234, 88, 12, 0.12));
    color: var(--nd6-orange);
}

.nd6-feature-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--nd6-stone-900);
}

.nd6-feature-card__desc {
    font-size: 0.9375rem;
    color: var(--nd6-stone-500);
    line-height: 1.7;
}

/* ===========================
   HOW IT WORKS — TIMELINE
   =========================== */
.nd6-process {
    background: var(--nd6-white);
    position: relative;
}

.nd6-process__wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
}

.nd6-process__wave-top svg {
    display: block;
    width: 100%;
    height: 60px;
}

.nd6-process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.nd6-process__steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--nd6-teal), var(--nd6-teal-light), var(--nd6-orange-light), var(--nd6-orange));
    z-index: 1;
}

.nd6-process__step {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.nd6-process__step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--nd6-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
    background-color: var(--nd6-white);
}

.nd6-process__step:nth-child(1) .nd6-process__step-number,
.nd6-process__step:nth-child(2) .nd6-process__step-number {
    background-color: var(--nd6-white);
    background-image: linear-gradient(135deg, var(--nd6-teal-50), var(--nd6-teal-100));
    color: var(--nd6-teal);
    border: 2px solid var(--nd6-teal);
}

.nd6-process__step:nth-child(3) .nd6-process__step-number,
.nd6-process__step:nth-child(4) .nd6-process__step-number {
    background-color: var(--nd6-white);
    background-image: linear-gradient(135deg, var(--nd6-orange-50), rgba(234, 88, 12, 0.12));
    color: var(--nd6-orange);
    border: 2px solid var(--nd6-orange);
}

.nd6-process__step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--nd6-stone-900);
}

.nd6-process__step-desc {
    font-size: 0.875rem;
    color: var(--nd6-stone-500);
    line-height: 1.6;
}

/* ===========================
   STATS SECTION
   =========================== */
.nd6-stats {
    background: linear-gradient(135deg, var(--nd6-teal-deeper), var(--nd6-teal-dark));
    position: relative;
    overflow: hidden;
}

.nd6-stats__wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
}

.nd6-stats__wave-top svg {
    display: block;
    width: 100%;
    height: 60px;
}

.nd6-stats__inner {
    position: relative;
    z-index: 2;
}

.nd6-stats__heading {
    text-align: center;
    margin-bottom: 56px;
}

.nd6-stats__heading h2 {
    color: var(--nd6-white);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 12px;
}

.nd6-stats__heading p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.nd6-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.nd6-stat-card {
    text-align: center;
    padding: 32px 16px;
    border-radius: var(--nd6-radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: var(--nd6-transition);
}

.nd6-stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.nd6-stat-card__number {
    font-family: var(--nd6-font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--nd6-white);
    line-height: 1;
    margin-bottom: 8px;
}

.nd6-stat-card__label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Floating pattern in stats */
.nd6-stats__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image:
        radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

/* ===========================
   BENEFITS / SPLIT SECTION
   =========================== */
.nd6-benefits {
    background: var(--nd6-base);
}

.nd6-benefits__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.nd6-benefits__row--reverse {
    direction: rtl;
}

.nd6-benefits__row--reverse > * {
    direction: ltr;
}

.nd6-benefits__content {
    max-width: 480px;
}

.nd6-benefits__content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.nd6-benefits__content p {
    font-size: 1.0625rem;
    color: var(--nd6-stone-500);
    line-height: 1.75;
    margin-bottom: 28px;
}

.nd6-benefits__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nd6-benefits__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--nd6-stone-700);
}

.nd6-benefits__list-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nd6-teal-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--nd6-teal);
    font-size: 0.7rem;
}

.nd6-benefits__visual {
    position: relative;
}

.nd6-benefits__image-box {
    background: var(--nd6-white);
    border-radius: var(--nd6-radius-xl);
    padding: 40px;
    box-shadow: var(--nd6-shadow-lg);
    border: 1px solid var(--nd6-stone-100);
}

.nd6-benefits__mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nd6-benefits__mini-card {
    padding: 20px;
    border-radius: var(--nd6-radius-md);
    background: var(--nd6-stone-50);
    text-align: center;
}

.nd6-benefits__mini-card-value {
    font-family: var(--nd6-font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--nd6-teal);
    margin-bottom: 4px;
}

.nd6-benefits__mini-card-label {
    font-size: 0.8125rem;
    color: var(--nd6-stone-500);
    font-weight: 500;
}

/* ===========================
   TESTIMONIAL SECTION
   =========================== */
.nd6-testimonial {
    background: var(--nd6-white);
    position: relative;
}

.nd6-testimonial__wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
}

.nd6-testimonial__wave-top svg {
    display: block;
    width: 100%;
    height: 50px;
}

.nd6-testimonial__card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    border-radius: var(--nd6-radius-xl);
    background: linear-gradient(135deg, var(--nd6-warm-50), var(--nd6-cream));
    border: 1px solid var(--nd6-cream-dark);
    position: relative;
}

.nd6-testimonial__quote-mark {
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--nd6-teal);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -24px;
}

.nd6-testimonial__text {
    font-size: 1.25rem;
    color: var(--nd6-stone-700);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
}

.nd6-testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.nd6-testimonial__author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nd6-teal), var(--nd6-teal-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nd6-white);
    font-weight: 700;
    font-size: 1rem;
}

.nd6-testimonial__author-info {
    text-align: left;
}

.nd6-testimonial__author-name {
    font-family: var(--nd6-font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--nd6-stone-900);
}

.nd6-testimonial__author-role {
    font-size: 0.875rem;
    color: var(--nd6-stone-500);
}

/* ===========================
   INTEGRATION SECTION
   =========================== */
.nd6-integrations {
    background: var(--nd6-base);
}

.nd6-integrations__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.nd6-integration-item {
    background: var(--nd6-white);
    border-radius: var(--nd6-radius-md);
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--nd6-stone-100);
    transition: var(--nd6-transition);
}

.nd6-integration-item:hover {
    box-shadow: var(--nd6-shadow-md);
    transform: translateY(-2px);
    border-color: var(--nd6-teal-100);
}

.nd6-integration-item__icon {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.nd6-integration-item__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--nd6-stone-700);
}

/* ===========================
   CTA SECTION
   =========================== */
.nd6-cta {
    background: var(--nd6-base);
    padding: 80px 0 100px;
}

.nd6-cta__card {
    background: linear-gradient(135deg, var(--nd6-stone-900), var(--nd6-stone-800));
    border-radius: var(--nd6-radius-xl);
    padding: 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nd6-cta__card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--nd6-teal);
    opacity: 0.08;
    filter: blur(80px);
}

.nd6-cta__card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--nd6-orange);
    opacity: 0.06;
    filter: blur(80px);
}

.nd6-cta__inner {
    position: relative;
    z-index: 2;
}

.nd6-cta__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--nd6-white);
    margin-bottom: 16px;
}

.nd6-cta__subtitle {
    font-size: 1.125rem;
    color: var(--nd6-stone-400);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.nd6-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.nd6-cta__note {
    margin-top: 20px;
    font-size: 0.8125rem;
    color: var(--nd6-stone-500);
}

/* ===========================
   CUSTOM FOOTER
   =========================== */
.nd6-footer {
    background: var(--nd6-stone-900);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.nd6-footer__wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
}

.nd6-footer__wave-top svg {
    display: block;
    width: 100%;
    height: 60px;
}

.nd6-footer__main {
    padding: 80px 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.nd6-footer__brand {
    max-width: 280px;
}

.nd6-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.nd6-footer__logo-text {
    font-family: var(--nd6-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nd6-white);
}

.nd6-footer__brand-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--nd6-stone-400);
    margin-bottom: 20px;
}

.nd6-footer__socials {
    display: flex;
    gap: 10px;
}

.nd6-footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nd6-stone-400);
    transition: var(--nd6-transition);
    font-size: 0.875rem;
}

.nd6-footer__social-link:hover {
    background: var(--nd6-teal);
    color: var(--nd6-white);
}

.nd6-footer__col-title {
    font-family: var(--nd6-font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--nd6-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.nd6-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nd6-footer__links a {
    font-size: 0.9375rem;
    color: var(--nd6-stone-400);
    transition: color 0.2s ease;
}

.nd6-footer__links a:hover {
    color: var(--nd6-teal-light);
}

.nd6-footer__bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--nd6-stone-500);
}

.nd6-footer__bottom-links {
    display: flex;
    gap: 24px;
}

.nd6-footer__bottom-links a {
    color: var(--nd6-stone-500);
    transition: color 0.2s ease;
}

.nd6-footer__bottom-links a:hover {
    color: var(--nd6-stone-300);
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 991px) {
    .nd6-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--nd6-white);
        border: 1px solid var(--nd6-stone-200);
        border-radius: var(--nd6-radius-md);
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding: 8px;
        box-shadow: var(--nd6-shadow-lg);
        z-index: 100;
    }

    .nd6-header__nav.nd6-header__nav--open {
        display: flex;
    }

    .nd6-header__nav a {
        padding: 12px 16px;
        border-radius: var(--nd6-radius-sm);
        white-space: normal;
    }

    .nd6-header__mobile-toggle {
        display: block;
    }

    /* Mobile dropdown overrides */
    .nd6-dropdown {
        position: static;
    }

    .nd6-dropdown__trigger {
        width: 100%;
        padding: 12px 16px;
        border-radius: var(--nd6-radius-sm);
        justify-content: space-between;
    }

    .nd6-dropdown__panel {
        position: static;
        transform: none;
        min-width: 0;
        width: 100%;
        border: none;
        border-radius: var(--nd6-radius-sm);
        box-shadow: none;
        padding: 0 8px;
        background: var(--nd6-stone-50);
        margin-bottom: 4px;
    }

    .nd6-dropdown--open .nd6-dropdown__panel {
        transform: none;
    }

    .nd6-mega-cols {
        flex-direction: column;
        gap: 16px;
    }

    .nd6-mega-bottom {
        flex-direction: column;
        gap: 0;
    }

    .nd6-hero__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .nd6-hero__visual {
        display: flex;
        justify-content: center;
    }

    .nd6-hero__card {
        max-width: 420px;
    }

    .nd6-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nd6-process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .nd6-process__steps::before {
        display: none;
    }

    .nd6-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nd6-benefits__row,
    .nd6-benefits__row--reverse {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .nd6-benefits__row--reverse {
        direction: ltr;
    }

    .nd6-integrations__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nd6-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .nd6-footer__brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 575px) {
    .nd6-section {
        padding: 60px 0;
    }

    .nd6-hero {
        padding: 120px 0 60px;
    }

    .nd6-hero__title {
        font-size: 2rem;
    }

    .nd6-hero__actions {
        flex-direction: column;
    }

    .nd6-hero__floating {
        position: static;
        margin-top: 20px;
    }

    .nd6-features__grid {
        grid-template-columns: 1fr;
    }

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

    .nd6-stats__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nd6-cta__card {
        padding: 40px 24px;
    }

    .nd6-integrations__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .nd6-footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .nd6-header__actions {
        gap: 8px;
    }

    .nd6-header__login {
        display: none;
    }

    .nd6-benefits__mini-cards {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   ANIMATED DECORATIONS
   =========================== */

/* Scroll-reveal animation — progressive enhancement:
   Content is visible by default; JS adds --ready (hidden) then observer adds --visible.
   If JS fails or observer never fires, content stays visible. */
.nd6-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.nd6-reveal--ready {
    opacity: 0;
    transform: translateY(28px);
}

.nd6-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.nd6-reveal--delay-1 { transition-delay: 0.1s; }
.nd6-reveal--delay-2 { transition-delay: 0.2s; }
.nd6-reveal--delay-3 { transition-delay: 0.3s; }
.nd6-reveal--delay-4 { transition-delay: 0.4s; }

/* Floating decorative dots */
.nd6-deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

.nd6-deco--dot {
    width: 8px;
    height: 8px;
    background: var(--nd6-teal);
    opacity: 0.18;
    animation: nd6-drift 6s ease-in-out infinite;
}

.nd6-deco--dot-orange {
    width: 6px;
    height: 6px;
    background: var(--nd6-orange-light);
    opacity: 0.2;
    animation: nd6-drift 8s ease-in-out infinite reverse;
}

.nd6-deco--ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--nd6-teal);
    opacity: 0.08;
    animation: nd6-spin-slow 20s linear infinite;
}

.nd6-deco--ring-sm {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--nd6-orange-light);
    opacity: 0.1;
    animation: nd6-spin-slow 15s linear infinite reverse;
}

.nd6-deco--cross {
    width: 14px;
    height: 14px;
    opacity: 0.1;
    animation: nd6-spin-slow 25s linear infinite;
}

.nd6-deco--cross::before,
.nd6-deco--cross::after {
    content: '';
    position: absolute;
    background: var(--nd6-teal);
    border-radius: 1px;
}

.nd6-deco--cross::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.nd6-deco--cross::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.nd6-deco--diamond {
    width: 10px;
    height: 10px;
    background: var(--nd6-orange);
    opacity: 0.12;
    transform: rotate(45deg);
    border-radius: 2px;
    animation: nd6-drift 7s ease-in-out infinite;
}

.nd6-deco--triangle {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid var(--nd6-teal);
    opacity: 0.1;
    border-radius: 0;
    animation: nd6-drift 9s ease-in-out infinite reverse;
}

@keyframes nd6-drift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(8px, -12px); }
    50% { transform: translate(-4px, -20px); }
    75% { transform: translate(12px, -8px); }
}

@keyframes nd6-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Badge pulse animation */
.nd6-badge--animated {
    animation: nd6-badge-pulse 3s ease-in-out infinite;
}

@keyframes nd6-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0); }
}

/* CTA button shimmer */
.nd6-btn--shimmer {
    position: relative;
    overflow: hidden;
}

.nd6-btn--shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: nd6-shimmer 4s ease-in-out infinite;
}

@keyframes nd6-shimmer {
    0%, 100% { left: -75%; }
    50% { left: 125%; }
}

/* Animated gradient border on feature cards */
.nd6-feature-card--animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nd6-teal), var(--nd6-orange-light));
    transition: width 0.5s ease;
}

.nd6-feature-card--animated:hover::after {
    width: 100%;
}

/* Stats counter glow */
.nd6-stat-card__number--glow {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    animation: nd6-glow 3s ease-in-out infinite alternate;
}

@keyframes nd6-glow {
    0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.1); }
    100% { text-shadow: 0 0 40px rgba(255, 255, 255, 0.25); }
}

/* Floating card enhanced bounce */
.nd6-hero__floating--enhanced {
    animation: nd6-float-card 4s ease-in-out infinite;
}

@keyframes nd6-float-card {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(0.5deg); }
    75% { transform: translateY(4px) rotate(-0.3deg); }
}

/* Connecting line animation in process section */
.nd6-process__steps--animated::before {
    background: linear-gradient(90deg, var(--nd6-teal), var(--nd6-teal-light), var(--nd6-orange-light), var(--nd6-orange));
    background-size: 200% 100%;
    animation: nd6-gradient-flow 4s linear infinite;
}

@keyframes nd6-gradient-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Testimonial quote mark float */
.nd6-testimonial__quote-mark--animated {
    animation: nd6-quote-float 5s ease-in-out infinite;
}

@keyframes nd6-quote-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

/* Integration item subtle wiggle on hover */
.nd6-integration-item--animated:hover {
    animation: nd6-wiggle 0.4s ease;
}

@keyframes nd6-wiggle {
    0%, 100% { transform: translateY(-2px) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(2deg); }
    75% { transform: translateY(-2px) rotate(-2deg); }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    .nd6-hero__blob,
    .nd6-hero__floating,
    .nd6-hero__floating--enhanced,
    .nd6-feature-card,
    .nd6-stat-card,
    .nd6-integration-item,
    .nd6-deco,
    .nd6-btn--shimmer::after,
    .nd6-badge--animated,
    .nd6-stat-card__number--glow,
    .nd6-testimonial__quote-mark--animated,
    .nd6-process__steps--animated::before {
        animation: none !important;
        transition: none !important;
    }
    .nd6-reveal,
    .nd6-reveal--ready {
        opacity: 1;
        transform: none;
    }
}

/* ===========================
   D-010: Tighten footer whitespace
   =========================== */
.nd6-section:last-of-type {
    padding-bottom: 48px;
}

.nd6-footer__wave-top {
    margin-top: -20px;
}

/* ===========================
   D-012: Blog content enrichment
   =========================== */
.nd6-blog-callout {
    background: var(--nd6-teal-50);
    border-left: 4px solid var(--nd6-teal);
    border-radius: 0 var(--nd6-radius-sm) var(--nd6-radius-sm) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--nd6-stone-700);
    font-size: 0.95rem;
    line-height: 1.7;
}

.nd6-page blockquote {
    border-left: 4px solid var(--nd6-teal-light);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--nd6-warm-50);
    border-radius: 0 var(--nd6-radius-sm) var(--nd6-radius-sm) 0;
    color: var(--nd6-stone-600);
    font-style: italic;
}

/* ===========================
   D-013: Chat FAB standardization
   =========================== */
.chatbot-widget,
[class*="chat-widget"],
[class*="chatbot-fab"] {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 9999 !important;
}

/* ===========================
   D-016: Footer newsletter styles
   =========================== */
.nd6-footer__newsletter-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.nd6-footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.nd6-footer__newsletter-input:focus {
    border-color: var(--nd6-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.nd6-footer__newsletter-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    background: var(--nd6-teal);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.nd6-footer__newsletter-btn:hover {
    background: var(--nd6-teal-dark);
}
