/* ============================================
   NANORISK — Premium Dark Theme
   Fonts: Poppins (headings) · Montserrat (body)
   Brand: #6BB2E9 on #121212
   ============================================ */

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

:root {
    /* Brand */
    --nanorisk-blue: #6BB2E9;
    --nanorisk-blue-dark: #5AA3D8;
    --nanorisk-blue-glow: rgba(107, 178, 233, 0.25);
    --nanorisk-grey: #272727;
    --white: #ffffff;
    --black: #000000;

    /* Dark palette */
    --dark-50: #0a0a0a;
    --dark-100: #121212;
    --dark-200: #1a1a1a;
    --dark-300: #1e1e1e;
    --dark-400: #262626;
    --dark-500: #2a2a2a;
    --dark-600: #3a3a3a;
    --dark-700: #5a5a5a;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-muted: #9ca3af;
    --text-subtle: #6b7280;

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-blue: rgba(107, 178, 233, 0.2);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 2.5rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;

    /* Type scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Motion */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Surfaces */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover-border: rgba(107, 178, 233, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-100);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a {
    color: var(--nanorisk-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--nanorisk-blue-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Scroll reveal disabled — all content visible on load */

/* ============================================
   BACKGROUND
   ============================================ */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(107, 178, 233, 0.07), transparent 60%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(107, 178, 233, 0.04), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.grid-overlay { display: none; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}

nav.scrolled {
    padding: 0.75rem var(--space-lg);
    background: rgba(18, 18, 18, 0.95);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    transition: opacity var(--transition-fast);
}

.logo:hover img {
    opacity: 0.85;
}

.logo-text {
    display: flex;
    flex-direction: column;
    transform: translateY(1px);
}

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.logo-tagline {
    font-size: var(--text-xs);
    color: var(--nanorisk-blue);
    letter-spacing: 0.025em;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
    align-items: center;
}

.nav-links > li > a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all var(--transition-fast);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nanorisk-blue);
    transition: width var(--transition-base);
    border-radius: 1px;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: #ffffff;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}

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

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-dropdown-toggle svg {
    width: 10px;
    height: 10px;
    transition: transform var(--transition-base);
    stroke-width: 2.5;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: #1e1e1e;
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    margin-top: var(--space-md);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    border-radius: 8px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    transition: all var(--transition-fast);
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    background: rgba(107, 178, 233, 0.08);
    color: var(--text-primary);
    padding-left: 1.25rem;
}

/* Nav dropdown group */
.nav-dropdown-group {
    margin-top: var(--space-xs);
    padding-top: var(--space-xs);
    border-top: 1px solid var(--border);
}

.nav-dropdown-group:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.nav-dropdown-label {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
    color: var(--text-subtle);
    letter-spacing: 0.05em;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-dropdown-group a {
    padding-left: var(--space-lg);
}

.nav-dropdown-group a:hover {
    padding-left: 1.75rem;
}

/* Nav dropdown divider */
.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-xs) 0;
}

/* Nav CTA */
.nav-cta {
    background: var(--nanorisk-blue);
    color: var(--dark-100) !important;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.01em;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
}

.nav-cta svg {
    transition: transform var(--transition-fast);
}

.nav-cta:hover svg {
    transform: translateX(2px);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--nanorisk-blue-dark);
    color: var(--dark-100) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(107, 178, 233, 0.3);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-xs);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem var(--space-lg) var(--space-4xl);
    z-index: 1;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(107, 178, 233, 0.08);
    border: 1px solid rgba(107, 178, 233, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: var(--text-xs);
    color: var(--nanorisk-blue);
    margin-bottom: var(--space-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--nanorisk-blue);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(107, 178, 233, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(107, 178, 233, 0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, var(--text-6xl));
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--nanorisk-blue), #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    max-width: 540px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.hero-stat-value {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.hero-stat-value span {
    color: var(--nanorisk-blue);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

/* Terminal */
.hero-terminal {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 80px rgba(107, 178, 233, 0.04);
    animation: heroCardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-term-bar {
    background: #0e0e0e;
    padding: 0.55rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-term-dots {
    display: flex;
    gap: 5px;
}

.hero-term-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-term-dots span:nth-child(1) { background: #ff5f57; }
.hero-term-dots span:nth-child(2) { background: #febc2e; }
.hero-term-dots span:nth-child(3) { background: #28c840; }

.hero-term-title {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    flex: 1;
}

.hero-term-live {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.5rem;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-term-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: blink 1.5s ease-in-out infinite;
}

.hero-term-body {
    background: #0a0a0a;
    padding: 1.1rem 1.25rem;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.7rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    min-height: 360px;
}

.hero-term-line {
    opacity: 0;
    animation: termLine 0.3s ease forwards;
    white-space: nowrap;
    overflow: hidden;
}

.hero-term-line-1 { animation-delay: 0.3s; }
.hero-term-line-2 { animation-delay: 0.5s; }
.hero-term-line-3 { animation-delay: 0.7s; }
.hero-term-line-4 { animation-delay: 0.8s; }
.hero-term-line-5 { animation-delay: 1.0s; }
.hero-term-line-6 { animation-delay: 1.15s; }
.hero-term-line-7 { animation-delay: 1.3s; }
.hero-term-line-8 { animation-delay: 1.5s; }
.hero-term-line-9 { animation-delay: 1.65s; }
.hero-term-line-10 { animation-delay: 1.8s; }
.hero-term-line-11 { animation-delay: 1.95s; }
.hero-term-line-12 { animation-delay: 2.05s; }
.hero-term-line-13 { animation-delay: 2.3s; }
.hero-term-line-14 { animation-delay: 2.5s; }
.hero-term-line-15 { animation-delay: 2.65s; }
.hero-term-line-16 { animation-delay: 2.85s; }
.hero-term-line-17 { animation-delay: 3.05s; }
.hero-term-line-18 { animation-delay: 3.2s; }
.hero-term-line-19 { animation-delay: 3.35s; }
.hero-term-line-20 { animation-delay: 3.5s; }
.hero-term-line-21 { animation-delay: 3.65s; }
.hero-term-line-22 { animation-delay: 3.85s; }
.hero-term-cursor { animation-delay: 4.0s; }

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

.hero-term-prompt { color: var(--nanorisk-blue); font-weight: 600; }
.hero-term-cmd { color: #e2e8f0; }
.hero-term-muted { color: rgba(255, 255, 255, 0.25); }
.hero-term-white { color: rgba(255, 255, 255, 0.8); }
.hero-term-green { color: #4ade80; }
.hero-term-amber { color: #F97316; }
.hero-term-yellow { color: #EAB308; }
.hero-term-red { color: #DC2626; }
.hero-term-purple { color: #9333EA; }

.hero-cursor {
    animation: blink 1s step-end infinite;
    color: var(--nanorisk-blue);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Scan progress bar */
.hero-term-progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.03);
}

.hero-term-progress-fill {
    height: 100%;
    width: 0;
    background: var(--nanorisk-blue);
    animation: progressFill 4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes progressFill {
    0% { width: 0; }
    30% { width: 35%; }
    55% { width: 55%; }
    75% { width: 80%; }
    100% { width: 100%; }
}

/* Critical flash on terminal */
.hero-terminal {
    transition: box-shadow 0.3s ease;
}

.hero-term-line-9,
.hero-term-line-16 {
    text-shadow: none;
}

/* Critical line flash — uses a pseudo-element so it doesn't affect the opacity animation */
.hero-term-line-9,
.hero-term-line-16 {
    position: relative;
}

.hero-term-line-9::before,
.hero-term-line-16::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 2px;
    opacity: 0;
}

.hero-term-line-9::before {
    animation: criticalFlash 0.8s ease 1.7s forwards;
}

.hero-term-line-16::before {
    animation: criticalFlash 0.8s ease 2.9s forwards;
}

@keyframes criticalFlash {
    0% { opacity: 0; }
    30% { opacity: 1; }
    100% { opacity: 0; }
}

/* Terminal glow effect */
.hero-terminal {
    position: relative;
}

.hero-terminal::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    background: radial-gradient(ellipse at 50% 0%, rgba(107, 178, 233, 0.08), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Scan results bar below terminal */
.hero-results-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    opacity: 0;
    animation: resultsBarIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 4.2s forwards;
}

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

.hero-results-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.hero-results-pills {
    display: flex;
    gap: 0.4rem;
    flex: 1;
}

.hero-results-pill {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.hero-results-total {
    font-size: 0.6rem;
    color: var(--text-subtle);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-results-bar { flex-wrap: wrap; }
    .hero-results-pills { flex-wrap: wrap; }
}


.hero-finding-severity {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
}

.hero-finding-severity--critical { background: rgba(147, 51, 234, 0.15); color: #a855f7; }

.hero-finding-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.15rem;
}

.hero-finding-meta {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.6rem;
}

.hero-finding-details {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-finding-detail {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-finding-detail-label {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-finding-detail-value {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}


.hero-sev-title {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.hero-sev-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0;
}

.hero-sev-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-sev-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.45);
    flex: 1;
}

.hero-sev-count {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Poppins', sans-serif;
}

.hero-sev-total {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .hero-lifecycle { flex-wrap: wrap; }
    .hero-term-body { min-height: 260px; font-size: 0.6rem; }
}

/* Hero Portal Showcase */
.hero-showcase {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 80px rgba(107, 178, 233, 0.05);
    animation: heroCardIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes heroCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-showcase-bar {
    background: #0e0e0e;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-showcase-dots {
    display: flex;
    gap: 5px;
}

.hero-showcase-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-showcase-dots span:nth-child(1) { background: #ff5f57; }
.hero-showcase-dots span:nth-child(2) { background: #febc2e; }
.hero-showcase-dots span:nth-child(3) { background: #28c840; }

.hero-showcase-url {
    flex: 1;
    text-align: center;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.2rem 0.75rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.hero-showcase-screen {
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    min-height: 200px;
}

.hero-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
}

.hero-showcase-img:first-child {
    position: relative;
}

.hero-showcase-img.active {
    opacity: 1;
    z-index: 1;
}

.hero-showcase-img.active {
    opacity: 1;
}

.hero-showcase-tabs {
    display: flex;
    background: #0e0e0e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
}

.hero-showcase-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.25rem;
    font-size: 0.55rem;
    font-weight: 500;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.3);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    border-bottom: 2px solid transparent;
}

.hero-showcase-tab svg {
    opacity: 0.4;
    transition: all 0.25s ease;
}

.hero-showcase-tab:hover {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.02);
}

.hero-showcase-tab.active {
    color: var(--nanorisk-blue);
    border-bottom-color: var(--nanorisk-blue);
}

.hero-showcase-tab.active svg {
    opacity: 1;
    stroke: var(--nanorisk-blue);
}

/* Progress bar on active tab */
.hero-showcase-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--nanorisk-blue);
    border-radius: 1px;
}

.hero-showcase-tab.active::after {
    animation: tabProgress 4s linear forwards;
}

@keyframes tabProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Portal homepage section */
.portal-home-section {
    padding: var(--space-4xl) var(--space-lg) 0;
}

.portal-home-showcase {
    max-width: none;
}

.portal-home-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: var(--space-lg);
}

.portal-home-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.portal-home-dot:hover {
    background: rgba(255, 255, 255, 0.3);
}

.portal-home-dot.active {
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.portal-home-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

@media (max-width: 768px) {
    .portal-home-features { grid-template-columns: 1fr; }
}

.hero-dashboard {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(107, 178, 233, 0.05);
    animation: heroCardIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes heroCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-dash-bar {
    background: #0e0e0e;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-dash-dots {
    display: flex;
    gap: 5px;
}

.hero-dash-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-dash-dots span:nth-child(1) { background: #ff5f57; }
.hero-dash-dots span:nth-child(2) { background: #febc2e; }
.hero-dash-dots span:nth-child(3) { background: #28c840; }

.hero-dash-url {
    flex: 1;
    text-align: center;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.2rem 0.75rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.hero-dash-content {
    background: #0e0e0e;
    padding: 0;
}

/* Sidebar + main layout */
.hero-dash-layout {
    display: flex;
    min-height: 340px;
}

/* Mini sidebar */
.hero-dash-sidebar {
    width: 120px;
    background: #0a0a0a;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 0;
    flex-shrink: 0;
}

.hero-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.6rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 0.5rem;
}

.hero-sidebar-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--nanorisk-blue);
    flex-shrink: 0;
}

.hero-sidebar-logo span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
}

.hero-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hero-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.35);
    cursor: default;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.hero-sidebar-item svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.hero-sidebar-item--active {
    color: white;
    background: rgba(107, 178, 233, 0.08);
    border-left-color: var(--nanorisk-blue);
}

.hero-sidebar-item--active svg {
    opacity: 1;
    stroke: var(--nanorisk-blue);
}

/* Main content area */
.hero-dash-main {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    overflow: hidden;
}

/* Module status cards */
.hero-dash-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.hero-module {
    padding: 0.5rem 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.hero-module-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
}

.hero-module-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-module-dot--green { background: #4ade80; box-shadow: 0 0 6px rgba(74, 222, 128, 0.4); }
.hero-module-dot--blue { background: #60a5fa; box-shadow: 0 0 6px rgba(96, 165, 250, 0.4); }
.hero-module-dot--amber { background: #fbbf24; box-shadow: 0 0 6px rgba(251, 191, 36, 0.4); }

.hero-module-name {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.hero-module-value {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.35rem;
    font-family: 'Poppins', sans-serif;
}

.hero-module-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 2px;
    overflow: hidden;
}

.hero-module-fill {
    height: 100%;
    border-radius: 2px;
    animation: barIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* Severity bars */
.hero-dash-findings {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.hero-findings-title {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}

.hero-finding-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-finding-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    width: 38px;
    flex-shrink: 0;
    text-align: right;
}

.hero-finding-bar {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
    overflow: hidden;
}

.hero-finding-fill {
    height: 100%;
    border-radius: 3px;
    animation: barIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-finding-row:nth-child(2) .hero-finding-fill { animation-delay: 1s; }
.hero-finding-row:nth-child(3) .hero-finding-fill { animation-delay: 1.1s; }
.hero-finding-row:nth-child(4) .hero-finding-fill { animation-delay: 1.2s; }
.hero-finding-row:nth-child(5) .hero-finding-fill { animation-delay: 1.3s; }
.hero-finding-row:nth-child(6) .hero-finding-fill { animation-delay: 1.4s; }

@keyframes barIn {
    from { width: 0 !important; }
}

.hero-finding-fill--critical { background: #9333EA; }
.hero-finding-fill--high { background: #DC2626; }
.hero-finding-fill--medium { background: #F97316; }
.hero-finding-fill--low { background: #EAB308; }
.hero-finding-fill--info { background: #3B82F6; }

.hero-finding-count {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    width: 14px;
    text-align: right;
}

/* Activity feed */
.hero-dash-activity {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.hero-activity-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.35);
    padding: 0.25rem 0;
    animation: activityIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-activity-item:nth-child(2) { animation-delay: 1.5s; }
.hero-activity-item:nth-child(3) { animation-delay: 1.8s; }
.hero-activity-item:nth-child(4) { animation-delay: 2.1s; }
.hero-activity-item:nth-child(5) { animation-delay: 2.4s; }

@keyframes activityIn {
    from { opacity: 0; transform: translateX(-6px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-activity-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-activity-dot--green { background: #4ade80; }
.hero-activity-dot--blue { background: #60a5fa; }
.hero-activity-dot--amber { background: #fbbf24; }
.hero-activity-dot--red { background: #ef4444; }

.hero-activity-item span { flex: 1; }

.hero-activity-item strong {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.hero-activity-time {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.5rem;
    flex-shrink: 0;
    flex: 0 !important;
}

/* Mobile: hide sidebar, stack modules */
@media (max-width: 768px) {
    .hero-dash-sidebar { display: none; }
    .hero-dash-modules { grid-template-columns: 1fr; }
    .hero-dash-layout { min-height: auto; }
}

/* Floating Badges (kept for other pages) */
.floating-badge {
    position: absolute;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-badge-1 { top: -15px; right: -15px; animation: float 6s ease-in-out infinite; z-index: 3; }
.floating-badge-2 { bottom: 100px; left: -30px; animation: float 7s ease-in-out infinite 1.5s; z-index: 3; }
.floating-badge-3 { top: 45%; right: -40px; animation: float 8s ease-in-out infinite 3s; z-index: 3; }

.floating-badge-icon {
    width: 40px;
    height: 40px;
    background: rgba(107, 178, 233, 0.12);
    border: 1px solid rgba(107, 178, 233, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--nanorisk-blue);
}

.floating-badge-text { font-weight: 600; font-size: var(--text-sm); color: var(--text-primary); }
.floating-badge-subtext { font-size: var(--text-xs); color: var(--text-muted); }


/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: var(--nanorisk-blue);
    color: var(--dark-100);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.01em;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: var(--nanorisk-blue-dark);
    color: var(--dark-100);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(107, 178, 233, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: 0.01em;
    border: 1px solid var(--border-hover);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--nanorisk-blue);
    color: var(--nanorisk-blue);
    background: rgba(107, 178, 233, 0.04);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: var(--text-base);
}

/* ============================================
   SECTIONS — All on continuous #121212
   ============================================ */
section {
    position: relative;
    z-index: 1;
}

.section-dark,
.section-light,
.section-light-alt,
.section-white,
.section-white-alt {
    background: transparent;
    color: var(--text-primary);
    padding: var(--space-4xl) var(--space-lg) 0;
}

/* Section header styling */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.section-header-right {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.section-tag {
    display: inline-block;
    background: rgba(107, 178, 233, 0.06);
    color: var(--nanorisk-blue);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid rgba(107, 178, 233, 0.12);
}

.section-header h2 {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.8;
}

/* Remove all the old "white section" overrides — everything is dark now */
.section-white h1, .section-white h2, .section-white h3, .section-white h4,
.section-white-alt h1, .section-white-alt h2, .section-white-alt h3, .section-white-alt h4 {
    color: var(--text-primary);
}

.section-white p, .section-white li,
.section-white-alt p, .section-white-alt li {
    color: var(--text-secondary);
}

.section-white .section-header p,
.section-white-alt .section-header p {
    color: var(--text-muted);
}

.section-white .section-tag,
.section-white-alt .section-tag {
    background: rgba(107, 178, 233, 0.06);
    border-color: rgba(107, 178, 233, 0.12);
    color: var(--nanorisk-blue);
}

/* Card styles — unified */
.section-white .service-card, .section-white-alt .service-card,
.section-white .value-card, .section-white-alt .value-card,
.section-white .testimonial-card, .section-white-alt .testimonial-card,
.section-white .why-feature, .section-white-alt .why-feature,
.section-white .service-detail-content, .section-white-alt .service-detail-content {
    background: var(--card-bg);
    border-color: var(--card-border);
}

.section-white .service-card:hover, .section-white-alt .service-card:hover,
.section-white .value-card:hover, .section-white-alt .value-card:hover,
.section-white .testimonial-card:hover, .section-white-alt .testimonial-card:hover,
.section-white .why-feature:hover, .section-white-alt .why-feature:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.section-white .service-card h3, .section-white-alt .service-card h3,
.section-white .value-card h3, .section-white-alt .value-card h3,
.section-white .testimonial-name, .section-white-alt .testimonial-name,
.section-white .why-feature h4, .section-white-alt .why-feature h4,
.section-white .service-detail-content h2, .section-white-alt .service-detail-content h2 {
    color: var(--text-primary);
}

.section-white .service-card p, .section-white-alt .service-card p,
.section-white .value-card p, .section-white-alt .value-card p,
.section-white .testimonial-text, .section-white-alt .testimonial-text,
.section-white .testimonial-role, .section-white-alt .testimonial-role,
.section-white .why-feature p, .section-white-alt .why-feature p,
.section-white .service-detail-content p, .section-white-alt .service-detail-content p,
.section-white .service-detail-content li, .section-white-alt .service-detail-content li {
    color: var(--text-muted);
}

.section-white .service-icon, .section-white-alt .service-icon,
.section-white .value-icon, .section-white-alt .value-icon,
.section-white .why-feature-icon, .section-white-alt .why-feature-icon,
.section-white .contact-item-icon, .section-white-alt .contact-item-icon {
    background: rgba(107, 178, 233, 0.08);
    border-color: rgba(107, 178, 233, 0.12);
}

.section-white .testimonial-author, .section-white-alt .testimonial-author {
    border-color: var(--border);
}

.section-white .feature-item, .section-white-alt .feature-item {
    background: var(--dark-400);
    border-color: var(--border);
}

.section-white .feature-item h4, .section-white-alt .feature-item h4 {
    color: var(--text-primary);
}

.section-white .feature-item p, .section-white-alt .feature-item p {
    color: var(--text-muted);
}

/* Contact section overrides */
.section-white .contact-info h2, .section-white-alt .contact-info h2 { color: var(--text-primary); }
.section-white .contact-info > p, .section-white-alt .contact-info > p { color: var(--text-muted); }
.section-white .contact-item h4, .section-white-alt .contact-item h4 { color: var(--text-primary); }
.section-white .contact-item p, .section-white .contact-item a,
.section-white-alt .contact-item p, .section-white-alt .contact-item a { color: var(--text-muted); }
.section-white .contact-form, .section-white-alt .contact-form {
    background: var(--card-bg);
    border-color: var(--card-border);
}
.section-white .contact-form h3, .section-white-alt .contact-form h3 { color: var(--text-primary); }
.section-white .form-group label, .section-white-alt .form-group label { color: var(--text-secondary); }
.section-white .form-group input, .section-white .form-group textarea, .section-white .form-group select,
.section-white-alt .form-group input, .section-white-alt .form-group textarea, .section-white-alt .form-group select {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
    color: var(--text-primary);
}
.section-white .form-group input::placeholder, .section-white .form-group textarea::placeholder,
.section-white-alt .form-group input::placeholder, .section-white-alt .form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Process timeline overrides */
.section-white .process-timeline-content h3, .section-white-alt .process-timeline-content h3 { color: var(--text-primary); }
.section-white .process-timeline-content p, .section-white-alt .process-timeline-content p { color: var(--text-muted); }
.section-white .process-timeline-item:not(:last-child)::after,
.section-white-alt .process-timeline-item:not(:last-child)::after { background: var(--border); }

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
    position: relative;
    padding: 10rem var(--space-lg) var(--space-2xl);
    z-index: 1;
    text-align: left;
}

.page-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.page-hero .section-tag {
    margin-bottom: var(--space-sm);
}

.page-hero h1 {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    max-width: 700px;
}

.page-hero p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

/* Divider line under hero */
.page-hero-inner::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--nanorisk-blue);
    border-radius: 2px;
    margin-top: var(--space-xl);
}

/* Hero stats row for service pages */
.page-hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.page-hero-stat {
    display: flex;
    flex-direction: column;
}

.page-hero-stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--nanorisk-blue);
    line-height: 1;
}

.page-hero-stat-label {
    font-size: var(--text-xs);
    color: var(--text-subtle);
    margin-top: 0.3rem;
}

@media (max-width: 768px) {
    .page-hero-stats { flex-wrap: wrap; gap: var(--space-lg); }
}

/* Service page section titles */
.service-section-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.service-section-title::before {
    content: '';
    width: 4px;
    height: 1.2em;
    background: var(--nanorisk-blue);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Included features strip */
.service-included {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .service-included { grid-template-columns: repeat(2, 1fr); }
}

.service-included-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-included-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(107, 178, 233, 0.08);
    border: 1px solid rgba(107, 178, 233, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nanorisk-blue);
}

.service-included-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--nanorisk-blue);
}

.service-included-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.page-hero .section-tag {
    margin-bottom: var(--space-md);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    padding: var(--space-md) 0;
    background: transparent;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.trust-bar-container {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    animation: scroll-left 30s linear infinite;
    width: max-content;
}


@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
}

.trust-item-icon {
    width: 36px;
    height: 36px;
    background: rgba(107, 178, 233, 0.06);
    border: 1px solid rgba(107, 178, 233, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--nanorisk-blue);
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values {
    padding: var(--space-4xl) var(--space-lg) 0;
}

.about-nanorisk {
    padding: var(--space-4xl) var(--space-lg) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1280px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all var(--transition-base);
}

.value-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
    background: rgba(107, 178, 233, 0.03);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(107, 178, 233, 0.08);
    border: 1px solid rgba(107, 178, 233, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--space-md);
    color: var(--nanorisk-blue);
}

.value-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: var(--text-sm);
}

/* ============================================
   GOVERNANCE CAROUSEL
   ============================================ */
.governance-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: 1280px;
    margin: 0 auto;
}

.governance-carousel {
    overflow: hidden;
    flex: 1;
}

.governance-track {
    display: flex;
    gap: var(--space-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.governance-card {
    flex: 0 0 calc(33.333% - var(--space-lg) * 2 / 3);
    min-width: 320px;
    padding: var(--space-xl);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all var(--transition-base);
}

.governance-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.governance-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(107, 178, 233, 0.08);
    border: 1px solid rgba(107, 178, 233, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--nanorisk-blue);
}

.governance-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--nanorisk-blue);
}

.governance-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.governance-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.governance-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: var(--space-md);
}

.governance-list li {
    position: relative;
    padding-left: var(--space-md);
    padding-bottom: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

.governance-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nanorisk-blue);
}

.governance-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.governance-nav:hover {
    border-color: var(--nanorisk-blue);
    color: var(--nanorisk-blue);
    background: rgba(107, 178, 233, 0.06);
}

.governance-nav svg {
    width: 18px;
    height: 18px;
}

.governance-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
}

.governance-dots .dot,
.governance-dots .governance-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.governance-dots .dot.active,
.governance-dots .governance-dot.active {
    background: var(--nanorisk-blue);
    box-shadow: 0 0 8px rgba(107, 178, 233, 0.4);
}

@media (max-width: 1024px) {
    .governance-card {
        flex: 0 0 calc(50% - var(--space-lg) / 2);
        min-width: 280px;
    }
}

@media (max-width: 640px) {
    .governance-card {
        flex: 0 0 100%;
        min-width: 0;
    }
    .governance-nav {
        display: none;
    }
}

/* ============================================
   SERVICE DETAIL CARDS (Vector Style)
   ============================================ */
.service-cards-vector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.service-card-vector {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: var(--space-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card-vector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--nanorisk-blue), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card-vector:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.service-card-vector:hover::before {
    opacity: 1;
}

.service-card-vector .card-icon {
    width: 52px;
    height: 52px;
    background: rgba(107, 178, 233, 0.08);
    border: 1px solid rgba(107, 178, 233, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--nanorisk-blue);
    transition: all var(--transition-base);
}

.service-card-vector .card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--nanorisk-blue);
    transition: stroke var(--transition-base);
}

.service-card-vector:hover .card-icon {
    background: var(--nanorisk-blue);
    border-color: var(--nanorisk-blue);
}

.service-card-vector:hover .card-icon svg {
    stroke: var(--dark-100);
}

.service-card-vector h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.service-card-vector p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.card-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--nanorisk-blue);
    background: rgba(107, 178, 233, 0.06);
    border: 1px solid rgba(107, 178, 233, 0.1);
    border-radius: 20px;
}

.card-view-more {
    display: block;
    font-size: var(--text-sm);
    color: var(--nanorisk-blue);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.service-card-vector:hover .card-view-more {
    letter-spacing: 0.02em;
}

/* ============================================
   SERVICE MODALS
   ============================================ */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: var(--space-lg);
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal {
    background: #161616;
    border: 1px solid var(--border-hover);
    border-radius: 20px;
    padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
    max-width: 780px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-overlay.active .service-modal {
    transform: translateY(0) scale(1);
}

.service-modal h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-right: var(--space-2xl);
}

.service-modal h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--nanorisk-blue);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.service-modal p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.service-modal ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-md);
}

.service-modal li {
    position: relative;
    padding-left: var(--space-md);
    padding-bottom: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-modal li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nanorisk-blue);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    border-color: var(--nanorisk-blue);
    color: var(--nanorisk-blue);
    background: rgba(107, 178, 233, 0.06);
}

.service-modal::-webkit-scrollbar { width: 5px; }
.service-modal::-webkit-scrollbar-track { background: transparent; }
.service-modal::-webkit-scrollbar-thumb { background: var(--dark-600); border-radius: 3px; }

@media (max-width: 640px) {
    .service-cards-vector { grid-template-columns: 1fr; }
    .service-modal-overlay {
        padding: env(safe-area-inset-top, 3rem) 0.5rem env(safe-area-inset-bottom, 1rem);
        align-items: flex-start;
        padding-top: 4rem;
    }
    .service-modal {
        padding: var(--space-md);
        max-height: 85vh;
        border-radius: 12px;
        margin-top: 0;
    }
    .service-modal h2 { font-size: var(--text-lg); padding-right: var(--space-xl); }
    .service-modal h4 { font-size: var(--text-sm); }
    .service-modal p { font-size: var(--text-xs); }
    .service-modal li { font-size: var(--text-xs); }
    .modal-close { top: 0.5rem; right: 0.5rem; width: 32px; height: 32px; font-size: 1.2rem; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--space-4xl) var(--space-lg) 0;
}

/* Featured service — full width pentest card */
.service-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
    position: relative;
}

.service-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--nanorisk-blue), var(--nanorisk-blue-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    z-index: 1;
}

.service-featured:hover::before {
    transform: scaleX(1);
}

.service-featured:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.service-featured-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-featured-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.service-featured-content p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.service-featured-links {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}

.service-featured-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--space-md) var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border);
    flex: 1;
}

.service-featured-link:last-child {
    border-bottom: none;
}

.service-featured-link svg:first-child {
    color: var(--nanorisk-blue);
    stroke: var(--nanorisk-blue);
    flex-shrink: 0;
}

.service-featured-link span {
    flex: 1;
}

.service-featured-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--transition-fast);
    color: var(--nanorisk-blue);
    stroke: var(--nanorisk-blue);
}

.service-featured-link:hover {
    background: rgba(107, 178, 233, 0.04);
    color: var(--text-primary);
    padding-left: 1.75rem;
}

.service-featured-link:hover .service-featured-arrow {
    opacity: 1;
    transform: translateX(0);
}

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

@media (max-width: 768px) {
    .service-featured { grid-template-columns: 1fr; }
    .service-featured-links { border-left: none; border-top: 1px solid var(--border); }
    .services-grid-3 { grid-template-columns: 1fr; }
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services-grid-4 { grid-template-columns: 1fr; }
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--nanorisk-blue), var(--nanorisk-blue-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    background: rgba(107, 178, 233, 0.02);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(107, 178, 233, 0.08);
    border: 1px solid rgba(107, 178, 233, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
    color: var(--nanorisk-blue);
}

.service-card:hover .service-icon {
    background: rgba(107, 178, 233, 0.15);
    border-color: var(--nanorisk-blue);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* Static service card (no link) */
.service-card-static {
    cursor: default;
}

.service-card-static::before {
    display: none;
}

.service-card-static:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--card-border);
    background: var(--card-bg);
}

.service-card-static:hover .service-icon {
    background: rgba(107, 178, 233, 0.08);
    border-color: rgba(107, 178, 233, 0.12);
    transform: none;
}

.service-sublinks {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}

.service-sublinks a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--nanorisk-blue);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.service-sublinks a:hover {
    color: #fff;
    padding-left: 4px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-md);
    color: var(--nanorisk-blue);
    font-weight: 600;
    font-size: var(--text-sm);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   WHY SECTION
   ============================================ */
.why {
    padding: var(--space-4xl) var(--space-lg) 0;
    overflow: hidden;
}

.why-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.why-content .section-tag {
    margin-bottom: var(--space-md);
}

.why-content h2 {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.why-content > p {
    color: var(--text-muted);
    font-size: var(--text-base);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.why-feature {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.why-feature:hover {
    border-color: var(--card-hover-border);
    background: rgba(107, 178, 233, 0.03);
    transform: translateX(4px);
}

.why-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(107, 178, 233, 0.08);
    border: 1px solid rgba(107, 178, 233, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    color: var(--nanorisk-blue);
}

.why-feature h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: var(--text-base);
}

.why-feature p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* Process Card */
.process-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--nanorisk-blue), transparent);
}

.process-card > h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.process-step {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 50px;
    bottom: -8px;
    width: 1px;
    background: var(--border-hover);
}

.step-number {
    width: 36px;
    height: 36px;
    background: rgba(107, 178, 233, 0.12);
    color: var(--nanorisk-blue);
    border: 1px solid rgba(107, 178, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.step-content p {
    color: var(--text-muted);
    font-size: var(--text-xs);
    line-height: 1.5;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
    padding: var(--space-3xl) var(--space-lg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-item {
    padding: var(--space-lg);
}

.stat-value {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--nanorisk-blue);
    line-height: 1;
    margin-bottom: var(--space-xs);
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--space-4xl) var(--space-lg) 0;
}

/* Featured testimonial */
.testimonial-featured {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: var(--space-2xl) var(--space-2xl) var(--space-lg);
    margin-bottom: var(--space-2xl);
    min-height: 220px;
}

.testimonial-quote-mark {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: 'Poppins', serif;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(107, 178, 233, 0.08);
    pointer-events: none;
    user-select: none;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: testimonialFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes testimonialFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-featured-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: var(--space-xl);
    max-width: 800px;
}

.testimonial-featured-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: var(--text-sm);
    letter-spacing: 2px;
    margin-left: auto;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: var(--space-lg);
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--nanorisk-blue);
    box-shadow: 0 0 8px rgba(107, 178, 233, 0.3);
}

/* Keep old classes for other pages */
.testimonial-text {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--nanorisk-blue), var(--nanorisk-blue-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark-100);
    font-size: var(--text-xs);
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.testimonial-role {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* Client Ticker */
.client-ticker-inline {
    margin-bottom: var(--space-2xl);
    overflow: hidden;
    min-height: 44px;
}

/* Client logos */
.client-logo {
    height: 36px;
    width: auto;
    display: block;
    opacity: 0.4;
    filter: grayscale(100%) brightness(2);
}

.client-logo--tall {
    height: 44px;
}

.client-logo-scroll {
    animation: client-scroll 40s linear infinite;
}

@keyframes client-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.client-ticker-track {
    display: flex;
    gap: 0;
    animation: scroll-left 25s linear infinite;
    width: max-content;
}


.client-ticker-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 0 2.5rem;
    margin: 0;
}

.client-ticker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-ticker-item img {
    display: block;
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.4;
    filter: grayscale(100%) brightness(2);
    transition: all var(--transition-base);
}

.client-ticker-item--square img {
    height: 44px;
}

.client-ticker-item img:hover {
    opacity: 0.7;
    filter: grayscale(0%);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: var(--space-2xl) var(--space-lg);
    background: linear-gradient(135deg, rgba(107, 178, 233, 0.06), rgba(107, 178, 233, 0.02));
    border-top: 1px solid rgba(107, 178, 233, 0.1);
    border-bottom: 1px solid rgba(107, 178, 233, 0.1);
}

.cta-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.cta h2 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.cta p {
    color: var(--text-muted);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.btn-dark {
    background: var(--dark-100);
    color: var(--text-primary);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark-100);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    border: 2px solid rgba(18, 18, 18, 0.25);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-dark:hover {
    background: rgba(18, 18, 18, 0.1);
    border-color: var(--dark-100);
    color: var(--dark-100);
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail {
    padding: var(--space-4xl) var(--space-lg) 0;
}

.service-detail-container {
    max-width: 1280px;
    margin: 0 auto;
}

.service-detail-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: var(--space-xl);
    max-width: 800px;
}

.service-detail-content h2 {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-detail-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
}

.service-detail-content ul {
    list-style: none;
    margin: var(--space-md) 0;
}

.service-detail-content li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

.service-detail-content li::before {
    content: '✓';
    color: var(--nanorisk-blue);
    font-weight: 700;
    flex-shrink: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-md);
}

.feature-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.service-detail-content h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.service-detail-content h3:first-of-type {
    margin-top: 0;
}

.service-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-lg) 0;
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.service-table th,
.service-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.service-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--text-sm);
}

.service-table td {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.service-table tbody tr:last-child td {
    border-bottom: none;
}

.service-table tbody tr:hover {
    background: rgba(107, 178, 233, 0.03);
}

.service-note {
    background: rgba(107, 178, 233, 0.04);
    border-left: 3px solid var(--nanorisk-blue);
    border-radius: 0 8px 8px 0;
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

.service-note p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-section {
    padding: var(--space-4xl) var(--space-lg) 0;
}

/* Roadmap */
.roadmap {
    margin-bottom: var(--space-xl);
}

.roadmap-row {
    display: flex;
    align-items: center;
}

.roadmap-row--reverse {
    direction: rtl;
}

.roadmap-row--reverse .roadmap-node,
.roadmap-row--reverse .roadmap-label {
    direction: ltr;
}

.roadmap-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all var(--transition-base);
}

.roadmap-node:hover {
    background: rgba(107, 178, 233, 0.04);
}

.roadmap-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: var(--text-lg);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.roadmap-node--active .roadmap-num,
.roadmap-node:hover .roadmap-num {
    background: rgba(107, 178, 233, 0.12);
    border-color: var(--nanorisk-blue);
    color: var(--nanorisk-blue);
    box-shadow: 0 0 20px rgba(107, 178, 233, 0.15);
}

.roadmap-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-subtle);
    text-align: center;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.roadmap-node--active .roadmap-label,
.roadmap-node:hover .roadmap-label {
    color: var(--text-primary);
}

.roadmap-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(107, 178, 233, 0.15), rgba(255, 255, 255, 0.06));
    min-width: 20px;
}

.roadmap-connector {
    display: flex;
    justify-content: flex-end;
    padding-right: 3.5rem;
}

.roadmap-line-vert {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(107, 178, 233, 0.15), rgba(255, 255, 255, 0.06));
}

/* Detail panel */
.roadmap-detail {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: var(--space-lg) var(--space-xl);
    min-height: 100px;
}

.roadmap-detail-panel {
    display: none;
}

.roadmap-detail-panel.active {
    display: block;
    animation: roadmapFade 0.3s ease;
}

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

.roadmap-detail h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.roadmap-detail p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .roadmap-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
    .roadmap-line { display: none; }
    .roadmap-connector { display: none; }
    .roadmap-row--reverse { direction: ltr; }
    .roadmap-node { padding: 0.35rem 0; justify-items: center; }
    .roadmap-num { width: 36px; height: 36px; font-size: var(--text-sm); }
    .roadmap-label { font-size: 0.55rem; }
}

/* ============================================
   GOVERNANCE TABS
   ============================================ */
.governance-section {
    padding: var(--space-4xl) var(--space-lg) 0;
}

.gov-tabs {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
}

.gov-tab-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
}

.gov-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.gov-tab:last-child {
    border-bottom: none;
}

.gov-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--nanorisk-blue);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gov-tab:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
}

.gov-tab.active {
    background: rgba(107, 178, 233, 0.04);
    color: var(--text-primary);
}

.gov-tab.active::before {
    opacity: 1;
}

.gov-tab-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.gov-tab-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-subtle);
    transition: stroke var(--transition-fast);
}

.gov-tab.active .gov-tab-icon {
    background: rgba(107, 178, 233, 0.1);
    border-color: rgba(107, 178, 233, 0.2);
}

.gov-tab.active .gov-tab-icon svg {
    stroke: var(--nanorisk-blue);
}

.gov-content {
    padding: var(--space-xl);
    display: flex;
    align-items: flex-start;
}

.gov-panel {
    display: none;
}

.gov-panel.active {
    display: block;
    animation: govFade 0.3s ease;
}

@keyframes govFade {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
}

.gov-panel h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.gov-panel p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.gov-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gov-panel li {
    position: relative;
    padding-left: var(--space-md);
    padding-bottom: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

.gov-panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nanorisk-blue);
}

@media (max-width: 768px) {
    .gov-tabs {
        grid-template-columns: 1fr;
    }
    .gov-tab-list {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .gov-tab {
        border-bottom: none;
        border-right: 1px solid var(--border);
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }
    .gov-tab::before {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: auto;
        height: 3px;
    }
    .gov-tab span { display: none; }
    .gov-tab-icon { width: 36px; height: 36px; }
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.process-timeline-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    position: relative;
}

.process-timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 80px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(107, 178, 233, 0.3), transparent);
}

.process-timeline-number {
    width: 56px;
    height: 56px;
    background: rgba(107, 178, 233, 0.1);
    border: 2px solid rgba(107, 178, 233, 0.25);
    color: var(--nanorisk-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.process-timeline-content {
    flex: 1;
    padding-top: var(--space-xs);
}

.process-timeline-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.process-timeline-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: var(--space-2xl) var(--space-lg) var(--space-4xl);
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact-info h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

a.contact-item-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.contact-item-link:hover {
    color: inherit;
}

a.contact-item-link h4 {
    color: var(--text-primary);
}

a.contact-item-link span {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(107, 178, 233, 0.08);
    border: 1px solid rgba(107, 178, 233, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--nanorisk-blue);
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: var(--space-xl);
}

.contact-form h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: #1e1e1e;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--nanorisk-blue);
    box-shadow: 0 0 0 3px rgba(107, 178, 233, 0.08);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-subtle);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
    background: var(--dark-50);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand img {
    height: 48px;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--text-subtle);
    font-size: var(--text-sm);
    line-height: 1.8;
    max-width: 280px;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.4rem;
}

.footer-column a {
    color: var(--text-subtle);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.footer-column a:hover {
    color: var(--nanorisk-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-subtle);
    font-size: var(--text-xs);
}

.footer-socials {
    display: flex;
    gap: 0.4rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-subtle);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.footer-socials a:hover {
    background: rgba(107, 178, 233, 0.08);
    border-color: rgba(107, 178, 233, 0.2);
    color: var(--nanorisk-blue);
}

.footer-certs {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.footer-cert {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ============================================
   SERVICE PAGES
   ============================================ */
.intro-text {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
}

.section-dark .intro-text {
    color: var(--text-secondary);
}

.service-disclaimer {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    padding: var(--space-md) var(--space-lg);
    background: rgba(107, 178, 233, 0.03);
    border-radius: 10px;
    border-left: 3px solid rgba(107, 178, 233, 0.3);
}

.service-disclaimer p {
    font-size: var(--text-sm);
    color: var(--text-subtle);
    margin: 0;
}

.breadcrumb {
    padding: var(--space-md) var(--space-lg);
}

.breadcrumb a {
    color: var(--nanorisk-blue);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--nanorisk-blue-dark);
}

/* Service Accordion */
.service-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.service-accordion-item:hover {
    border-color: var(--card-hover-border);
}

.service-accordion-header {
    padding: var(--space-md) var(--space-lg);
    margin: 0;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
}

.service-accordion-header::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--nanorisk-blue);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.service-accordion-item.active .service-accordion-header::after {
    content: '−';
}

.service-accordion-item.active .service-accordion-header {
    border-bottom-color: var(--border);
}

.service-accordion-content {
    padding: 0 var(--space-lg);
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.service-accordion-item.active .service-accordion-content {
    padding: var(--space-lg);
    max-height: 2000px;
}

.service-accordion-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}

.service-accordion-content h4:not(:first-child) {
    margin-top: var(--space-lg);
}

.service-accordion-content p {
    color: var(--text-secondary);
    margin: 0 0 var(--space-sm) 0;
    line-height: 1.7;
}

.service-accordion-content p:last-child {
    margin-bottom: 0;
}

.service-accordion-content ul {
    color: var(--text-secondary);
    margin: 0 0 var(--space-sm) 0;
    padding-left: var(--space-md);
}

.service-accordion-content ul:last-child {
    margin-bottom: 0;
}

.service-accordion-content li {
    margin-bottom: var(--space-xs);
}

.service-accordion-content li:last-child {
    margin-bottom: 0;
}

/* Pentest Category Cards */
.pentest-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.pentest-category-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: var(--space-xl);
    text-decoration: none;
    transition: all var(--transition-base);
}

.pentest-category-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.pentest-category-card h3 {
    color: var(--text-primary);
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.pentest-category-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.pentest-category-card .service-link {
    color: var(--nanorisk-blue);
    font-size: var(--text-sm);
    font-weight: 500;
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    .pentest-categories { grid-template-columns: 1fr; }
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.section-decorated {
    position: relative;
    overflow: hidden;
}

/* Gradient Orbs */
.decor-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.decor-orb-blue { background: var(--nanorisk-blue); }

.decor-orb-1 { width: 400px; height: 400px; top: -150px; right: -100px; opacity: 0.15; }
.decor-orb-2 { width: 300px; height: 300px; bottom: -100px; left: -100px; opacity: 0.1; }
.decor-orb-3 { width: 250px; height: 250px; top: 50%; right: -80px; opacity: 0.12; }

/* Hexagons */
.decor-hex {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.decor-hex::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 178, 233, 0.06) 0%, rgba(107, 178, 233, 0.02) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.decor-hex-1 { width: 120px; height: 138px; top: 15%; right: 5%; animation: float 8s ease-in-out infinite; }
.decor-hex-2 { width: 80px; height: 92px; bottom: 20%; left: 3%; animation: float 10s ease-in-out infinite reverse; }
.decor-hex-3 { width: 60px; height: 69px; top: 40%; left: 8%; animation: float 12s ease-in-out infinite; }

/* Circles */
.decor-circle { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.decor-circle-outline { border: 1px solid rgba(107, 178, 233, 0.12); background: transparent; }
.decor-circle-filled { background: rgba(107, 178, 233, 0.04); }
.decor-circle-1 { width: 200px; height: 200px; top: 10%; left: -50px; animation: pulse 6s ease-in-out infinite; }
.decor-circle-2 { width: 150px; height: 150px; bottom: 15%; right: 5%; animation: pulse 8s ease-in-out infinite reverse; }
.decor-circle-3 { width: 80px; height: 80px; top: 60%; right: 15%; animation: float 7s ease-in-out infinite; }

/* Dots */
.decor-dots { position: absolute; pointer-events: none; z-index: 0; opacity: 0.25; }
.decor-dots::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(107, 178, 233, 0.3) 1px, transparent 1px);
    background-size: 24px 24px;
}
.decor-dots-1 { width: 200px; height: 200px; top: 20%; right: 10%; }
.decor-dots-2 { width: 150px; height: 150px; bottom: 10%; left: 5%; }

/* Lines */
.decor-lines { position: absolute; pointer-events: none; z-index: 0; opacity: 0.15; }
.decor-lines::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(107, 178, 233, 0.06) 10px, rgba(107, 178, 233, 0.06) 11px);
}
.decor-lines-1 { width: 300px; height: 300px; bottom: 0; right: 0; }

/* Glows */
.decor-glow { position: absolute; pointer-events: none; z-index: 0; }
.decor-glow::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(107, 178, 233, 0.4), transparent);
}
.decor-glow-1 { width: 200px; top: 30%; left: 0; }
.decor-glow-2 { width: 150px; bottom: 40%; right: 0; }

/* Diamonds */
.decor-diamond { position: absolute; pointer-events: none; z-index: 0; }
.decor-diamond::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 178, 233, 0.05) 0%, rgba(107, 178, 233, 0.01) 100%);
    transform: rotate(45deg);
    border: 1px solid rgba(107, 178, 233, 0.08);
}
.decor-diamond-1 { width: 100px; height: 100px; top: 25%; right: 12%; animation: float 9s ease-in-out infinite; }
.decor-diamond-2 { width: 60px; height: 60px; bottom: 30%; left: 10%; animation: float 11s ease-in-out infinite reverse; }

/* Particles */
.decor-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--nanorisk-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}
.decor-particle-1 { top: 20%; left: 15%; animation: particleFloat 15s linear infinite; }
.decor-particle-2 { top: 50%; right: 20%; animation: particleFloat 18s linear infinite reverse; animation-delay: -5s; }
.decor-particle-3 { bottom: 30%; left: 25%; animation: particleFloat 20s linear infinite; animation-delay: -10s; }
.decor-particle-4 { top: 70%; right: 10%; animation: particleFloat 16s linear infinite reverse; animation-delay: -3s; }

/* Rings */
.decor-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(107, 178, 233, 0.1); pointer-events: none; z-index: 0; }
.decor-ring-1 { width: 300px; height: 300px; top: -100px; right: -100px; animation: rotate 40s linear infinite; }
.decor-ring-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; animation: rotate 35s linear infinite reverse; }

/* Crosses */
.decor-cross { position: absolute; pointer-events: none; z-index: 0; opacity: 0.2; }
.decor-cross::before, .decor-cross::after { content: ''; position: absolute; background: var(--nanorisk-blue); }
.decor-cross::before { width: 1px; height: 16px; left: 50%; transform: translateX(-50%); }
.decor-cross::after { width: 16px; height: 1px; top: 50%; transform: translateY(-50%); }
.decor-cross-1 { width: 16px; height: 16px; top: 15%; left: 20%; }
.decor-cross-2 { width: 16px; height: 16px; bottom: 25%; right: 18%; }
.decor-cross-3 { width: 16px; height: 16px; top: 55%; right: 8%; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.05); opacity: 0.18; }
}

@keyframes particleFloat {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translate(80px, -160px); opacity: 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Content above decorations */
.section-decorated > .container,
.section-decorated > .services-container,
.section-decorated > .testimonials-container,
.section-decorated > .why-container,
.section-decorated > .cta-container,
.section-decorated > .section-header,
.section-decorated > *:not(.decor-orb):not(.decor-hex):not(.decor-circle):not(.decor-dots):not(.decor-lines):not(.decor-glow):not(.decor-diamond):not(.decor-particle):not(.decor-ring):not(.decor-cross):not(.section-divider) {
    position: relative;
    z-index: 2;
}

/* Reduce decorations on smaller screens */
@media (max-width: 1024px) {
    .decor-dots, .decor-lines, .decor-cross, .decor-ring, .decor-particle { display: none; }
    .decor-orb { opacity: 0.06; }
    .decor-hex { opacity: 0.5; transform: scale(0.7); }
    .decor-diamond { opacity: 0.5; transform: scale(0.7); }
}

@media (max-width: 768px) {
    .decor-orb { opacity: 0.12; width: 200px !important; height: 200px !important; filter: blur(60px); }
    .decor-orb-1 { top: 5% !important; right: -30px !important; }
    .decor-orb-2 { bottom: 5% !important; left: -30px !important; }
    .decor-orb-3 { top: 40% !important; right: -20px !important; }
    .decor-circle, .decor-glow { display: none; }
}

/* ============================================
   NANOSEARCH HOMEPAGE SECTION
   ============================================ */
.nanosearch-section { padding: var(--space-4xl) var(--space-lg) 0; }
.nanosearch-showcase { max-width: 1000px; margin: 0 auto; }
.nanosearch-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-bottom: var(--space-2xl); text-align: center; }
.nanosearch-stat { padding: var(--space-lg); background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; }
.nanosearch-stat-value { font-size: var(--text-3xl); font-weight: 800; color: var(--nanorisk-blue); font-family: 'Poppins', sans-serif; }
.nanosearch-stat-label { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--space-xs); }
.nanosearch-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-bottom: var(--space-2xl); }
.nanosearch-category { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: var(--space-lg); transition: all var(--transition-base); }
.nanosearch-category:hover { border-color: var(--card-hover-border); }
.nanosearch-category-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.nanosearch-category-header svg { width: 20px; height: 20px; stroke: var(--nanorisk-blue); }
.nanosearch-category-header h4 { font-size: var(--text-sm); color: var(--text-primary); }
.nanosearch-modules { list-style: none; padding: 0; }
.nanosearch-modules li { font-size: var(--text-xs); color: var(--text-muted); padding: 0.2rem 0; }
.nanosearch-cta { text-align: center; }
.nanosearch-cta p { color: var(--text-muted); margin-bottom: var(--space-md); }

/* ============================================
   CONTENT / POST FEED
   ============================================ */
.content-feed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 1280px;
}

.post-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.post-card:hover {
    border-color: var(--card-hover-border);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--dark-400);
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.post-author {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.post-date {
    font-size: var(--text-xs);
    color: var(--text-subtle);
}

.post-platform {
    margin-left: auto;
    color: var(--text-subtle);
}

.post-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.post-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    white-space: pre-line;
}

.post-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 1px solid var(--border);
}

.post-image img {
    width: 100%;
    display: block;
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--nanorisk-blue);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.post-link:hover {
    color: var(--text-primary);
}

.content-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-3xl) 0;
    color: var(--text-subtle);
    text-align: center;
}

.content-empty-state svg {
    stroke: var(--text-subtle);
}

.content-empty-state p {
    font-size: var(--text-sm);
    color: var(--text-subtle);
}

@media (max-width: 768px) {
    .content-feed { grid-template-columns: 1fr; }
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #121212;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
    gap: 0;
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
}

.nav-links.mobile-active > li > a,
.nav-links.mobile-active > li > span,
.nav-links.mobile-active > li > .nav-dropdown-toggle {
    padding: 0.6rem 0;
    font-size: var(--text-sm);
    display: flex;
    justify-content: center;
    text-align: center;
}

.nav-links.mobile-active > li > a::after {
    display: none;
}

/* Mobile dropdown — inline, hidden until tapped */
.nav-links.mobile-active .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0.25rem 0;
    margin: 0;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.nav-links.mobile-active .nav-dropdown.mobile-dropdown-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
}

.nav-links.mobile-active .nav-dropdown-toggle svg {
    transition: transform var(--transition-fast);
}

.nav-links.mobile-active .nav-dropdown-menu a {
    padding: 0.4rem 0;
    font-size: var(--text-sm);
    border-radius: 0;
    text-align: center;
    justify-content: center;
}

.nav-links.mobile-active .nav-dropdown-menu a:hover {
    background: transparent;
    color: var(--nanorisk-blue);
    padding-left: 0;
}

.nav-links.mobile-active .nav-dropdown-label {
    padding: 0.3rem 0 0.15rem 0;
    font-size: 0.6rem;
    text-align: center;
}

.nav-links.mobile-active .nav-dropdown-divider {
    margin: 0.15rem 0;
}

.nav-links.mobile-active .nav-dropdown-group a {
    padding-left: 0;
    text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container,
    .why-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }


    .services-grid,
    .testimonials-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .floating-badge-1 { right: 10px; }
    .floating-badge-2 { left: 10px; }

    .nanosearch-categories { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --space-4xl: 3.5rem; --space-3xl: 3rem; }

    html { font-size: 17px; }
    .hero { padding-top: 7rem; }
    .hero h1 { font-size: var(--text-4xl); }
    .section-header h2 { font-size: var(--text-2xl); }

    .services-grid,
    .testimonials-grid,
    .values-grid,
    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links { display: none; }
    .mobile-nav-toggle { display: block; }

    .hero-stats {
        flex-wrap: nowrap;
        gap: 0;
        justify-content: center;
    }

    .hero-stat {
        flex: 1;
        text-align: center;
    }

    .hero-stat-value { font-size: var(--text-xl); }
    .hero-stat-label { font-size: 0.6rem; }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        flex: 1;
        text-align: center;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: var(--text-xs);
    }

    .cta { padding: 0.35rem var(--space-sm) 0.35rem !important; }
    .cta h2 { font-size: var(--text-xl); }
    .cta p { font-size: var(--text-sm); margin-bottom: var(--space-md); }
    .cta-buttons .btn-primary svg { display: none; }
    .social-buttons .btn-primary svg, .social-buttons .btn-secondary svg { display: block !important; }
    .social-label { display: none; }
    .social-buttons a { padding: 0.6rem 0.8rem; }
    .social-buttons .btn-primary { background: transparent; border: 1px solid var(--border-hover); color: var(--text-primary); }
    .cta-buttons .btn-primary { align-self: center; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .cta-container {
        padding: var(--space-2xl) var(--space-lg);
    }

    .floating-badge, .floating-stat { display: none; }
    .page-hero { padding-top: 8rem; }
    .page-hero-inner { max-width: 100%; }

    .trust-bar-container { gap: var(--space-lg); }

    /* Client ticker — match trust bar pattern on mobile */
    .client-ticker-track { gap: 0; animation: scroll-left 20s linear infinite; }
    .client-ticker-content { gap: 3rem; padding: 0 1.5rem; }
    .client-ticker-item img { height: 24px; }
    .client-ticker-item--square img { height: 30px; }

    .nanosearch-stats { grid-template-columns: 1fr; }
    .nanosearch-categories { grid-template-columns: 1fr; }

    /* Terminal — prevent overflow */
    .hero-term-line { white-space: normal; word-break: break-all; }
    .hero-term-body { padding: 0.75rem; overflow-x: hidden; }

    /* Results bar */
    .hero-results-bar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .hero-results-pills { flex-wrap: wrap; }

    /* Service featured card */
    .service-featured { grid-template-columns: 1fr; }
    .service-featured-links { border-left: none; border-top: 1px solid var(--border); }

    /* Portal showcase */
    .hero-showcase { border-radius: 12px; }
    .portal-home-showcase { max-width: 100%; }

    /* Service included strip */
    .service-included { grid-template-columns: 1fr; }

    /* Contact form */
    .contact-container { grid-template-columns: 1fr; }

    /* Governance tabs */
    .gov-tabs { grid-template-columns: 1fr; }
    .gov-tab-list { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); }
    .gov-tab { border-bottom: none; border-right: 1px solid var(--border); white-space: nowrap; padding: 0.75rem; }
    .gov-tab span { display: none; }

    /* Testimonial */
    .testimonial-featured { padding: var(--space-lg); }
    .testimonial-featured-text { font-size: var(--text-base); }
    .testimonial-featured-author { flex-wrap: wrap; }
    .testimonial-stars { margin-left: 0; }

    /* All containers — no padding, let sections handle it */
    .services-container,
    .service-detail-container,
    .portal-section-container,
    .testimonials-container,
    .container {
        max-width: 100%;
        padding: 0;
    }

    /* All sections — consistent 1rem side padding */
    .hero,
    .page-hero,
    .service-detail,
    .services,
    .values,
    .about-nanorisk,
    .process-section,
    .portal-home-section,
    .portal-section,
    .governance-section,
    .testimonials,
    .cta,
    .contact-section,
    .section-white-alt {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Portal screenshots — edge to edge */
    .portal-screenshot,
    .hero-showcase {
        border-radius: 12px;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    /* Cards — tighter padding */
    .service-card,
    .service-card-vector,
    .value-card,
    .governance-card,
    .portal-feature-card,
    .why-feature {
        padding: var(--space-md);
    }

    /* Roadmap detail */
    .roadmap-detail { padding: var(--space-md); }

    /* Gov content */
    .gov-content { padding: var(--space-md); }

    /* Contact form */
    .contact-form { padding: var(--space-md); }
    .contact-info h2 { font-size: var(--text-2xl); }

    /* Prevent overflow */
    section { overflow: hidden; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: var(--text-3xl); }
    .hero-stat-value { font-size: var(--text-2xl); }
    .stat-value { font-size: var(--text-3xl); }
    .page-hero h1 { font-size: var(--text-2xl); }
    .section-header h2 { font-size: var(--text-xl); }
    .section-header p { font-size: var(--text-sm); }

    /* Nav — tighter on small phones */
    nav { padding: 0.5rem 0.75rem; }
    .logo img { height: 36px; width: 36px; }
    .logo-name { font-size: var(--text-base); }
    .logo-tagline { font-size: 0.6rem; }
    .logo { gap: 0.6rem; }
    .nav-cta { padding: 0.4rem 0.75rem; font-size: 0.65rem; order: 3; }
    .nav-cta svg { display: none; }
    .mobile-nav-toggle { font-size: 1.25rem; order: 2; }

    /* Hero — compact */
    .hero { padding-top: 6rem; }
    .hero-subtitle { font-size: var(--text-sm); }
    .hero-buttons { gap: var(--space-sm); }
    .btn-primary, .btn-secondary { padding: 0.7rem 1.25rem; font-size: var(--text-xs); }

    /* Terminal — contained */
    .hero-terminal { border-radius: 8px; }
    .hero-term-body { min-height: 200px; font-size: 0.5rem; padding: 0.5rem; }
    .hero-term-bar { padding: 0.4rem 0.6rem; }
    .hero-term-title { font-size: 0.5rem; }
    .hero-term-live { font-size: 0.4rem; }

    /* Results bar — stacked */
    .hero-results-bar { padding: 0.5rem 0.75rem; }
    .hero-results-pill { font-size: 0.5rem; padding: 0.15rem 0.4rem; }
    .hero-results-label { font-size: 0.55rem; }
    .hero-results-total { font-size: 0.5rem; }

    /* Page hero stats */
    .page-hero-stats { gap: var(--space-md); }
    .page-hero-stat-value { font-size: var(--text-lg); }
    .page-hero-stat-label { font-size: 0.6rem; }
    .page-hero { padding-top: 6rem; }

    /* Roadmap — smaller nodes */
    .roadmap-num { width: 36px; height: 36px; font-size: var(--text-sm); }
    .roadmap-label { font-size: 0.55rem; }
    .roadmap-node { padding: 0.35rem; }

    /* Testimonial */
    .testimonial-quote-mark { font-size: 3rem; top: 0.5rem; left: 0.75rem; }
    .testimonial-featured { padding: 2.5rem var(--space-md) var(--space-md); min-height: auto; }
    .testimonial-featured-text { font-size: var(--text-sm); line-height: 1.7; }

    /* Footer */
    .footer-brand img { height: 36px; }
    .footer-bottom p { font-size: 0.6rem; }
}

/* ============================================
   PORTAL PAGE
   ============================================ */

/* Screenshot browser frame */
.portal-screenshot {
    margin: var(--space-xl) 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-hover);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.03);
    transition: all var(--transition-base);
}

.portal-screenshot:hover {
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(107, 178, 233, 0.06);
    transform: translateY(-2px);
}

.portal-screenshot-bar {
    background: #0e0e0e;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.portal-screenshot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.portal-screenshot-dot:nth-child(1) { background: #ff5f57; }
.portal-screenshot-dot:nth-child(2) { background: #febc2e; }
.portal-screenshot-dot:nth-child(3) { background: #28c840; }

.portal-screenshot-url {
    flex: 1;
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-subtle);
    background: rgba(255,255,255,0.03);
    padding: 0.3rem 1rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.portal-screenshot img {
    width: 100%;
    display: block;
}

/* Portal section layout */
.portal-section {
    padding: var(--space-4xl) var(--space-lg) 0;
}

.portal-section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.portal-section-header {
    max-width: none;
    margin-bottom: var(--space-xl);
}

.portal-section-header .section-tag {
    margin-bottom: var(--space-sm);
}

.portal-section-header h2 {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.portal-section-header p {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.8;
}

/* Portal feature grid */
.portal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.portal-feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.portal-feature-card:hover {
    border-color: var(--card-hover-border);
}

.portal-feature-card h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.portal-feature-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Screenshot grid for multiple images */
.portal-screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
    .portal-screenshot-grid { grid-template-columns: 1fr; }
}

/* Portal detail list */
.portal-detail-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.portal-detail-list li {
    position: relative;
    padding-left: var(--space-md);
    padding-bottom: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

.portal-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nanorisk-blue);
}

/* Finding status badges */
.finding-states {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: var(--space-md) 0;
}

.finding-state {
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: var(--text-xs);
    font-weight: 600;
}

.finding-state--identified { background: rgba(147, 51, 234, 0.15); color: #a855f7; }
.finding-state--review { background: rgba(220, 38, 38, 0.15); color: #ef4444; }
.finding-state--remediation { background: rgba(249, 115, 22, 0.15); color: #F97316; }
.finding-state--retested { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }
.finding-state--closed { background: rgba(34, 197, 94, 0.15); color: #22C55E; }
