* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #0b1020;
    background: #f4f7fd;
}

/* ===== Header (floating pill nav) ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1.25rem 1.5rem 0;
    display: flex;
    justify-content: center;
}

.header-pill {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    width: 100%;
    max-width: 1100px;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 1.75rem;
}

.nav a {
    text-decoration: none;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav a:hover {
    color: #0b1020;
}

.header-cta {
    text-decoration: none;
    color: #fff;
    background: #0b1020;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.15s ease;
}

.header-cta:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

/* ===== Products Dropdown ===== */
.nav-dropdown {
    position: relative;
}

.nav-drop-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s ease;
}

.nav-drop-btn:hover {
    color: #0b1020;
}

.nav-drop-arrow {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-drop-arrow,
.nav-dropdown.open .nav-drop-arrow {
    transform: rotate(180deg);
}

.nav-drop-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #fff;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(15,23,42,0.12);
    padding: 14px;
    min-width: 520px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
    /* Bridge gap with invisible top padding area */
    margin-top: 8px;
}

/* Invisible bridge fills the gap so mouse doesn't lose hover */
.nav-drop-panel::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .nav-drop-panel,
.nav-dropdown.open .nav-drop-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.ndp-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 4px 10px 8px;
    display: block;
}

/* 2-column grid for dropdowns with multiple items */
.ndp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

/* Single column for smaller dropdowns */
.ndp-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ndp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s ease;
    position: relative;
}

.ndp-item:hover {
    background: #f0fdf9;
}

.ndp-item:hover .ndp-arrow {
    opacity: 1;
    transform: translateX(0);
}

.ndp-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    color: #00A896;
}

.ndp-arrow svg {
    width: 14px;
    height: 14px;
}

.ndp-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0,168,150,0.08);
}

.ndp-icon svg {
    width: 20px;
    height: 20px;
}

.ndp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ndp-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.ndp-text small {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.3;
}

.ndp-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 8px 4px;
}

/* Mobile section labels */
.mobile-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 10px 1rem 4px;
}

.mobile-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 1rem;
}

/* ===== Mobile Accordion ===== */
.mob-accordion {
    border-bottom: 1px solid #f1f5f9;
}

.mob-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

.mob-acc-arrow {
    width: 11px;
    height: 11px;
    color: #94a3b8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.mob-accordion.open .mob-acc-arrow {
    transform: rotate(180deg);
}

.mob-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0.5rem;
}

.mob-accordion.open .mob-acc-panel {
    max-height: 400px;
}

.mob-acc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 2px;
    transition: background 0.15s ease;
}

.mob-acc-item:hover {
    background: #f0fdf9;
}

.mob-acc-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(0,168,150,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mob-acc-icon svg {
    width: 18px;
    height: 18px;
}

.mob-acc-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mob-acc-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.mob-acc-text small {
    font-size: 0.72rem;
    color: #64748b;
}

/* ===== Layout — use .container inside sections for constrained content ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Footer ===== */
.site-footer {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    margin-top: 0;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 0.5rem;
}

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

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

/* ===== Hamburger ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.hamburger:hover { background: rgba(15, 23, 42, 0.06); }

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #0b1020;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

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

/* ===== Mobile nav dropdown ===== */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    margin-top: 0.5rem;
    padding: 0.5rem;
    width: 100%;
    max-width: 1100px;
    align-self: center;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.mobile-nav.open {
    max-height: 700px;
    opacity: 1;
}

.mobile-nav a {
    text-decoration: none;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav a:hover { background: #f1f5f9; color: #0b1020; }

.mobile-nav .mobile-cta {
    margin-top: 0.25rem;
    background: #0b1020;
    color: #fff;
    text-align: center;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.75rem 1rem;
}

.mobile-nav .mobile-cta:hover { background: #1e293b; }

@media (max-width: 768px) {
    .nav { display: none; }
    .header-cta { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }
    .site-header { flex-direction: column; align-items: stretch; padding: 1rem 1rem 0; }
    .header-pill { padding: 0.5rem 0.5rem 0.5rem 1rem; }
}
