/* =============================================
   AGL Public Website — Premium Shopify-Grade UI
   Luxury Gemological Authority Design System
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&family=DM+Serif+Display&display=swap');

/* === Dark Mode (default — onyx + AGL brand red) === */
:root, [data-theme="dark"] {
    --red: #ed1c24;            /* BRAND RED — matches official AGL logo */
    --red-light: #ff3845;
    --red-dark: #c1141b;
    --red-deep: #8a0f15;
    --accent: var(--red);
    --accent-light: var(--red-light);
    /* Subtle warm metallic accent (kept sparingly for premium feel) */
    --gold: #c5a572;
    --gold-light: #d9be8c;
    --gold-dark: #a8895a;
    --dark: #0a0a0c;
    --dark-2: #111114;
    --dark-3: #17171b;
    --dark-4: #1f1f24;
    --dark-5: #2a2a30;
    --text: #ebebee;
    --text-soft: #c0c0c8;
    --text-muted: #7a7a85;
    --border: #25252c;
    --border-soft: #1d1d22;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    /* Luxury motion curves — physical, weighted easing */
    --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --nav-bg: rgba(10,10,12,0.82);
    --hero-grad-1: rgba(237,28,36,0.14);
    --hero-grad-2: rgba(237,28,36,0.05);
    --card-bg: linear-gradient(160deg, rgba(31,31,36,0.6), rgba(23,23,27,0.4));
    --card-border: rgba(237,28,36,0.16);
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.18);
    --shadow-md: 0 12px 40px rgba(0,0,0,0.32);
    --shadow-lg: 0 28px 80px rgba(0,0,0,0.45);
    --shadow-red: 0 18px 60px rgba(237,28,36,0.32);
    --shadow-gold: 0 18px 60px rgba(197,165,114,0.18);
    --cert-bg: #fff;
    --cert-label-bg: #fbeff0;
    --cert-label-color: #2a1416;
    --cert-value-color: #16161a;
    --cert-border: #f0d8da;
}

/* === Light Mode (crisp white + AGL brand red) === */
[data-theme="light"] {
    --red: #ed1c24;
    --red-light: #ff3845;
    --red-dark: #c1141b;
    --red-deep: #8a0f15;
    --accent: var(--red);
    --accent-light: var(--red-light);
    --gold: #a8895a;
    --gold-light: #c5a572;
    --gold-dark: #876b3e;
    --dark: #ffffff;
    --dark-2: #f8f6f4;
    --dark-3: #ffffff;
    --dark-4: #f5f2ef;
    --dark-5: #ebe8e4;
    --text: #1a1414;
    --text-soft: #463a3a;
    --text-muted: #8a7878;
    --border: #ecdcdc;
    --border-soft: #f5ebeb;
    --nav-bg: rgba(255,255,255,0.92);
    --hero-grad-1: rgba(237,28,36,0.08);
    --hero-grad-2: rgba(237,28,36,0.03);
    --card-bg: linear-gradient(160deg, #ffffff, #fdfafa);
    --card-border: rgba(237,28,36,0.18);
    --shadow-sm: 0 4px 14px rgba(140,20,25,0.06);
    --shadow-md: 0 14px 40px rgba(140,20,25,0.08);
    --shadow-lg: 0 28px 80px rgba(140,20,25,0.12);
    --shadow-red: 0 18px 50px rgba(237,28,36,0.22);
    --shadow-gold: 0 18px 50px rgba(168,137,90,0.16);
    --cert-bg: #fff;
    --cert-label-bg: #fbeff0;
    --cert-label-color: #2a1416;
    --cert-value-color: #16161a;
    --cert-border: #f0d8da;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    letter-spacing: -0.005em;
}

/* Premium film-grain texture — fixed, GPU-safe, never intercepts input */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="light"] body::after { opacity: 0.022; mix-blend-mode: multiply; }

/* Premium serif headings */
h1, h2, h3, .serif {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-wrap: balance;
}
p { text-wrap: pretty; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}
.container-narrow {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 28px;
}

/* =============================================
   Theme Toggle
   ============================================= */
.pub-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}
.pub-theme-toggle:hover {
    border-color: var(--red);
    color: var(--red);
    transform: rotate(15deg);
}
[data-theme="light"] .t-sun { display: none; }
[data-theme="dark"] .t-moon { display: none; }
[data-theme="light"] .t-moon { display: inline; }
[data-theme="dark"] .t-sun { display: inline; }

/* =============================================
   Announcement Bar (Shopify-style top strip)
   ============================================= */
.announcement-bar {
    background: linear-gradient(90deg, var(--dark-2), var(--dark-3), var(--dark-2));
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-soft);
    font-size: 12.5px;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
}
.announcement-bar .ann-sep {
    display: inline-block;
    margin: 0 14px;
    color: var(--red);
    opacity: 0.55;
}
.announcement-bar .ann-gold {
    color: var(--red);
    font-weight: 700;
}

/* =============================================
   Navigation
   ============================================= */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-soft);
    transition: all 0.4s ease;
}
.nav.scrolled {
    background: var(--nav-bg);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}
.logo-mark {
    font-family: 'Plus Jakarta Sans', 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: var(--red);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo-mark::before {
    content: '';
    width: 0;
}
.logo-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    font-weight: 500;
    border-left: 1px solid var(--border);
    padding-left: 12px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links > a {
    text-decoration: none;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 6px 0;
}
.nav-links > a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}
.nav-links > a:not(.nav-btn):hover {
    color: var(--text);
}
.nav-links > a:not(.nav-btn):hover::after {
    width: 100%;
}
/* === Nav CTA "Verify Certificate" — proper button === */
.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;            /* never let flex compress the pill — that squished the text */
    height: 42px;
    padding: 0 26px;
    background: var(--red);
    color: #fff !important;
    border-radius: 999px;
    border: 1px solid var(--red-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(196,30,42,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}
/* Override .nav-links > a (0,1,1) which otherwise wins and zeroes the horizontal padding */
.nav-links > a.nav-btn { padding: 0 28px; }
.nav-btn:hover {
    background: var(--red-dark);
    border-color: var(--red-deep);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(196,30,42,0.38), inset 0 1px 0 rgba(255,255,255,0.20);
}
.nav-btn:active {
    transform: translateY(0);
    background: var(--red-deep);
}
/* Hard-suppress any inherited pseudo-elements (nav-link underline etc.) */
.nav-links > a.nav-btn::before,
.nav-links > a.nav-btn::after {
    content: none !important;
    display: none !important;
    background: none !important;
}
.nav-hamburger {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* =============================================
   Hero Section — Cinematic Luxury
   ============================================= */
.hero {
    position: relative;
    min-height: calc(100vh - 56px);
    padding: 80px 24px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, var(--hero-grad-1), transparent 60%),
        radial-gradient(ellipse 60% 70% at 80% 90%, var(--hero-grad-2), transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 60%, rgba(196,30,42,0.04), transparent 70%);
    z-index: -2;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(237,28,36,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237,28,36,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent);
    z-index: -1;
    opacity: 0.6;
}

.particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.floating-gems { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.gem {
    position: absolute;
    color: var(--red);
    font-size: 24px;
    opacity: 0.20;
    animation: floatGem 20s ease-in-out infinite;
    text-shadow: 0 0 24px rgba(237,28,36,0.45);
}
.gem-1 { top: 12%; left: 8%; animation-delay: 0s; font-size: 28px; }
.gem-2 { top: 22%; right: 12%; animation-delay: -3s; font-size: 18px; }
.gem-3 { bottom: 28%; left: 18%; animation-delay: -6s; font-size: 32px; }
.gem-4 { bottom: 18%; right: 8%; animation-delay: -9s; font-size: 22px; }
.gem-5 { top: 50%; left: 4%; animation-delay: -12s; font-size: 14px; }
.gem-6 { top: 60%; right: 6%; animation-delay: -15s; font-size: 24px; }
@keyframes floatGem {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(8deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
    75% { transform: translateY(-25px) rotate(12deg); }
}

.light-rays { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.ray {
    position: absolute;
    width: 1px;
    height: 120%;
    background: linear-gradient(to bottom, transparent, var(--red), transparent);
    opacity: 0.06;
    transform-origin: top center;
}
.ray-1 { top: -10%; left: 30%; transform: rotate(15deg); animation: rayMove 22s ease-in-out infinite; }
.ray-2 { top: -10%; left: 60%; transform: rotate(-12deg); animation: rayMove 28s ease-in-out infinite reverse; }
.ray-3 { top: -10%; left: 80%; transform: rotate(20deg); animation: rayMove 35s ease-in-out infinite; }
@keyframes rayMove {
    0%, 100% { opacity: 0.05; transform: rotate(15deg) translateX(0); }
    50% { opacity: 0.14; transform: rotate(15deg) translateX(40px); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 920px;
    width: 100%;
    min-width: 0;       /* allow the flex child to shrink so the h1 wraps instead of overflowing */
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(237,28,36,0.10);
    border: 1px solid rgba(237,28,36,0.28);
    color: var(--red-light);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px var(--red);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(34px, 7vw, 92px);
    font-weight: 500;
    line-height: 1.02;
    margin-bottom: 28px;
    letter-spacing: -0.035em;
    overflow-wrap: break-word;
}
.hero h1 span {
    display: inline-block;
    background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 50%, var(--red-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
    font-weight: 600;
}
.hero-sub {
    font-size: clamp(15px, 1.5vw, 19px);
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.7;
    font-weight: 400;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* Premium buttons */
.btn-hero, .btn-verify {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 32px rgba(196,30,42,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-hero::after, .btn-verify::after {
    content: '→';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: -4px -14px -4px 2px;   /* sit flush against the pill's right padding */
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.25);
    font-size: 14px;
    line-height: 1;
    transition: transform 0.45s var(--ease-spring), background 0.4s var(--ease-smooth);
}
.btn-hero:hover, .btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(196,30,42,0.42), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-hero:hover::after, .btn-verify:hover::after {
    transform: translate(3px, -1px) scale(1.08);
    background: rgba(255,255,255,0.30);
}
.btn-hero:active, .btn-verify:active { transform: translateY(0) scale(0.98); }
.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}
.btn-hero:hover .btn-shine, .btn-verify:hover .btn-shine { left: 130%; }

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14.5px;
    transition: all 0.3s ease;
    background: transparent;
}
.btn-hero-outline:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(237,28,36,0.05);
    transform: translateY(-2px);
}
.btn-hero-outline:active { transform: translateY(0) scale(0.98); }

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 800px;
    margin: 0 auto;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
}
.hero-stat {
    text-align: center;
    padding: 28px 20px;
    background: var(--dark);
    transition: all 0.3s;
    min-width: 0;   /* let grid cells shrink so wide values don't push the row past the viewport */
}
.hero-stat:hover { background: var(--dark-2); }
.hero-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    color: var(--red);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    font-feature-settings: 'lnum' 1, 'tnum' 1;
    font-variant-numeric: tabular-nums lining-nums;
}
.hero-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.scroll-arrow {
    width: 22px;
    height: 36px;
    border: 1.5px solid var(--text-muted);
    border-radius: 14px;
    position: relative;
    opacity: 0.6;
}
.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5px;
    height: 8px;
    background: var(--red);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 12px); opacity: 0.3; }
}

/* =============================================
   Marquee / Trust Strip
   ============================================= */
.marquee-section {
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: var(--dark-2);
    overflow: hidden;
    padding: 30px 0;
}
.marquee-track {
    display: flex;
    gap: 80px;
    animation: marqueeScroll 40s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text-soft);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: italic;
    letter-spacing: 0.02em;
    font-weight: 400;
}
.marquee-item .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   Verify Section — Premium Card
   ============================================= */
.verify-section {
    padding: 120px 0;
    position: relative;
}
.verify-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.verify-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(237,28,36,0.10), transparent 60%);
    pointer-events: none;
}
.verify-info { position: relative; }
.verify-info h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text);
}
.verify-info > p {
    color: var(--text-soft);
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.7;
}
.verify-info ul {
    list-style: none;
    padding: 0;
}
.verify-info ul li {
    padding: 10px 0;
    color: var(--text-soft);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px dashed var(--border-soft);
}
.verify-info ul li:last-child { border-bottom: none; }
.verify-info ul li::before {
    content: '✓';
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(237,28,36,0.10);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid rgba(237,28,36,0.30);
}

.verify-form-box {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-md);
}
.verify-form-box::before {
    content: 'SECURE VERIFICATION';
    position: absolute;
    top: -10px;
    left: 32px;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--red);
    background: var(--dark-3);
    padding: 2px 12px;
    font-weight: 700;
}
.form-group {
    margin-bottom: 22px;
}
.form-group label {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14.5px;
    font-family: inherit;
    transition: all 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--red);
    background: var(--dark);
    box-shadow: 0 0 0 4px rgba(237,28,36,0.12);
}
.form-group input::placeholder { color: var(--text-muted); opacity: 0.6; }
.btn-verify {
    width: 100%;
    margin-top: 12px;
    padding: 16px 32px;
}

/* =============================================
   Section Headers
   ============================================= */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}
.section-tag {
    display: inline-block;
    color: var(--red);
    font-size: 11.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding: 0 24px;
}
.section-tag::before, .section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 1px;
    background: var(--red);
    opacity: 0.5;
}
.section-tag::before { left: 0; }
.section-tag::after { right: 0; }
.section-header h2 {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 500;
    margin-bottom: 18px;
    color: var(--text);
}
.section-header > p {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

/* =============================================
   About Section + Feature Cards
   ============================================= */
.about-section {
    padding: 140px 0;
    position: relative;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: left;
    transition: transform 0.6s var(--ease-lux), box-shadow 0.6s var(--ease-lux), border-color 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.05);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(237,28,36,0.4);
    box-shadow: var(--shadow-red);
}
.feature-card:hover::before { opacity: 0.6; }
.feature-icon {
    font-size: 36px;
    margin-bottom: 22px;
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    background: rgba(237,28,36,0.08);
    border-radius: 16px;
    border: 1px solid rgba(237,28,36,0.18);
    transition: all 0.4s;
}
.feature-card:hover .feature-icon {
    background: rgba(237,28,36,0.16);
    transform: scale(1.08);
}
.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.feature-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* =============================================
   Process Section (3-step certification)
   ============================================= */
.process-section {
    padding: 140px 0;
    background: var(--dark-2);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 14px);
    opacity: 0.45;
    z-index: 0;
}
.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}
.process-number {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--red);
    color: var(--red);
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    position: relative;
    box-shadow: var(--shadow-md);
}
.process-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(237,28,36,0.22);
}
.process-step h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.process-step p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* =============================================
   Showcase / Gemstones Gallery
   ============================================= */
.showcase-section {
    padding: 140px 0;
}
.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 16px;
}
.showcase-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s ease;
    border: 1px solid var(--border-soft);
}
.showcase-card:nth-child(1) { grid-row: span 2; }
.showcase-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}
.showcase-card:hover .showcase-img { transform: scale(1.05); }
.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,12,0.92) 0%, rgba(10,10,12,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: all 0.4s;
}
.showcase-card .tag {
    color: var(--red-light);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin-bottom: 8px;
}
.showcase-card .title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #fff;
    font-weight: 500;
}
/* Pure CSS gradient placeholders for gemstone showcase */
.gem-sapphire { background: radial-gradient(ellipse at 30% 30%, #4a7fc5 0%, #1e3a72 40%, #0b1c40 100%); }
.gem-ruby { background: radial-gradient(ellipse at 30% 30%, #e63946 0%, #c41e2a 40%, #680a13 100%); }
.gem-emerald { background: radial-gradient(ellipse at 30% 30%, #2dd4a0 0%, #0f9b6e 40%, #053828 100%); }
.gem-diamond { background: radial-gradient(ellipse at 30% 30%, #ffffff 0%, #d8d8e0 40%, #6a6a78 100%); }
.gem-yellow { background: radial-gradient(ellipse at 30% 30%, #fde047 0%, #ca9a04 40%, #5a4502 100%); }

/* =============================================
   Labs Section
   ============================================= */
.labs-section {
    padding: 140px 0;
    background: var(--dark-2);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.labs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lab-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 44px 32px;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}
.lab-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.lab-card:hover {
    transform: translateY(-6px);
    border-color: rgba(237,28,36,0.4);
    box-shadow: var(--shadow-red);
}
.lab-card:hover::after { transform: scaleX(1); }
.lab-flag {
    margin-bottom: 24px;
    display: inline-block;
}
.lab-flag img {
    width: 56px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--border);
}
.lab-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text);
}
.lab-card p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}
.lab-phone {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(237,28,36,0.06);
    border: 1px solid rgba(237,28,36,0.22);
    color: var(--red);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s;
}
.lab-phone:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* =============================================
   Testimonials
   ============================================= */
.testimonials-section { padding: 140px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
    transition: all 0.4s;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237,28,36,0.4);
    box-shadow: var(--shadow-md);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 18px;
    right: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 1;
    color: var(--red);
    opacity: 0.22;
}
.testimonial-stars {
    display: flex;
    gap: 3px;
    color: var(--red);
    font-size: 14px;
    margin-bottom: 18px;
}
.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-light), var(--red-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
}
.testimonial-info .name {
    color: var(--text);
    font-weight: 600;
    font-size: 14.5px;
}
.testimonial-info .role {
    color: var(--text-muted);
    font-size: 12.5px;
    margin-top: 2px;
}

/* =============================================
   FAQ Section
   ============================================= */
.faq-section { padding: 140px 0; background: var(--dark-2); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(237,28,36,0.3); }
.faq-item.open { border-color: rgba(237,28,36,0.5); box-shadow: var(--shadow-sm); }
.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    text-align: left;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq-q .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--red);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 28px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.75;
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 28px 24px;
}

/* =============================================
   Newsletter / CTA Footer
   ============================================= */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(237,28,36,0.10), transparent 60%);
    pointer-events: none;
}
.cta-box {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}
.cta-box h2 {
    font-size: clamp(34px, 4.5vw, 56px);
    margin-bottom: 18px;
}
.cta-box h2 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--red-light), var(--red-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cta-box > p {
    color: var(--text-soft);
    font-size: 17px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding: 80px 0 36px;
    position: relative;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 18px;
    max-width: 320px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}
.footer-social a:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(237,28,36,0.06);
    transform: translateY(-2px);
}
.footer-links h4 {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 18px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-links a, .footer-links p {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}
.footer-badges {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 12px;
}
.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-badges span::before {
    content: '✓';
    color: var(--red);
    font-weight: 700;
}

/* =============================================
   Reveal Animations
   ============================================= */
.reveal, .reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up { transform: translateY(50px); transition-delay: var(--delay, 0ms); }
.revealed, .reveal.revealed, .reveal-left.revealed, .reveal-right.revealed, .reveal-up.revealed {
    opacity: 1;
    transform: translate(0, 0);
}
.reveal-child {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    transition-delay: calc(var(--data-delay, 0) * 1ms);
}
.reveal-child.revealed { opacity: 1; transform: translateY(0); }

/* =============================================
   Verify Result Page
   ============================================= */
.verify-page {
    padding: 80px 0 120px;
    min-height: calc(100vh - 56px);
}
.verify-page h1 {
    text-align: center;
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 16px;
}
.verify-page > .container > p {
    text-align: center;
    color: var(--text-soft);
    margin-bottom: 56px;
    font-size: 16px;
}

.cert-result {
    background: var(--cert-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    color: var(--cert-value-color);
    border: 1px solid var(--cert-border);
}
.cert-header {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    color: #fff;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--red-deep);
}
.cert-header .brand {
    font-family: 'Plus Jakarta Sans', 'Arial Black', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}
.cert-header .sub {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}
.cert-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45,212,160,0.15);
    border: 1px solid #2dd4a0;
    color: #2dd4a0;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.cert-status::before {
    content: '✓';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2dd4a0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.cert-revoked .cert-status {
    background: rgba(229,57,70,0.15);
    border-color: var(--red-light);
    color: var(--red-light);
}
.cert-revoked .cert-status::before { background: var(--red-light); content: '✕'; }

.cert-body {
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
}
.cert-photo-box {
    width: 280px;
    height: 280px;
    background: var(--cert-label-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--cert-border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.cert-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--cert-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.cert-data-row {
    display: flex;
    border-bottom: 1px solid var(--cert-border);
}
.cert-data-row:nth-last-child(-n+2) { border-bottom: none; }
.cert-data-row .label {
    background: var(--cert-label-bg);
    padding: 14px 18px;
    color: var(--cert-label-color);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: 130px;
    flex-shrink: 0;
    border-right: 1px solid var(--cert-border);
}
.cert-data-row .value {
    padding: 14px 18px;
    color: var(--cert-value-color);
    font-size: 14.5px;
    font-weight: 500;
    flex: 1;
}

.cert-revoke-banner {
    background: rgba(229,57,70,0.1);
    border: 1px solid var(--red-light);
    color: var(--red-light);
    padding: 18px 24px;
    border-radius: var(--radius);
    margin-bottom: 28px;
    text-align: center;
    font-weight: 500;
}

/* =============================================
   No-result / Error state
   ============================================= */
.no-result {
    text-align: center;
    padding: 60px 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    max-width: 540px;
    margin: 0 auto;
}
.no-result .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(229,57,70,0.1);
    color: var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 1px solid rgba(229,57,70,0.3);
}
.no-result h2 { font-size: 28px; margin-bottom: 12px; color: var(--text); }
.no-result p { color: var(--text-muted); margin-bottom: 28px; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .labs-grid, .testimonials-grid, .process-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .process-grid::before { display: none; }
    .verify-box { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; max-width: 520px; }
    .showcase-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 240px; }
    .showcase-card:nth-child(1) { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 720px) {
    .container, .container-narrow { padding: 0 20px; }
    .nav-links { position: fixed; top: 70px; right: -100%; flex-direction: column; gap: 0; background: var(--dark-2); padding: 30px; width: 80%; max-width: 320px; height: calc(100vh - 70px); border-left: 1px solid var(--border); transition: right 0.4s ease; align-items: stretch; }
    .nav-links.open { right: 0; }
    .nav-links > a { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
    .nav-hamburger { display: inline-flex; align-items: center; justify-content: center; }
    .logo-text { display: none; }
    .hero { padding: 60px 20px 80px; min-height: 88vh; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto 60px; }
    .verify-section, .about-section, .process-section, .showcase-section, .labs-section, .testimonials-section, .faq-section, .cta-section { padding: 80px 0; }
    .features-grid, .footer-inner, .showcase-grid { grid-template-columns: 1fr; }
    .showcase-card:nth-child(1) { grid-row: span 1; grid-column: span 1; }
    .showcase-grid { grid-template-rows: repeat(5, 220px); }
    .cert-header { flex-direction: column; gap: 16px; padding: 28px; text-align: center; }
    .cert-body { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
    .cert-photo-box { width: 100%; height: auto; aspect-ratio: 1; max-width: 320px; margin: 0 auto; }
    .cert-data-grid { grid-template-columns: 1fr; }
    .marquee-item { font-size: 18px; }
}

/* Print-friendly verify result */
@media print {
    .nav, .footer, .announcement-bar, .marquee-section, .cta-section { display: none !important; }
    .verify-page { padding: 0; }
    .cert-result { box-shadow: none; border: 1px solid #000; }
}

/* =============================================
   Premium Shopify Finishing — Refined Polish
   ============================================= */

/* Gemstone showcase — premium realistic visuals with depth */
.gem-sapphire {
    background:
        radial-gradient(circle at 28% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 4%, transparent 12%),
        radial-gradient(circle at 38% 30%, rgba(255,255,255,0.3) 0%, transparent 18%),
        radial-gradient(ellipse 110% 100% at 30% 35%, #6499d1 0%, #2563a8 25%, #15356b 55%, #0a1d40 80%, #050d22 100%);
    position: relative;
}
.gem-sapphire::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 80%, rgba(94,158,237,0.5), transparent 50%);
    mix-blend-mode: screen;
    pointer-events: none;
}
.gem-ruby {
    background:
        radial-gradient(circle at 28% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 4%, transparent 12%),
        radial-gradient(circle at 38% 30%, rgba(255,200,200,0.3) 0%, transparent 18%),
        radial-gradient(ellipse 110% 100% at 30% 35%, #ff5a6a 0%, #d62433 25%, #88121e 55%, #4a0810 80%, #220308 100%);
    position: relative;
}
.gem-ruby::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 80%, rgba(255,80,100,0.5), transparent 50%);
    mix-blend-mode: screen;
    pointer-events: none;
}
.gem-emerald {
    background:
        radial-gradient(circle at 28% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 4%, transparent 12%),
        radial-gradient(circle at 38% 30%, rgba(180,255,220,0.3) 0%, transparent 18%),
        radial-gradient(ellipse 110% 100% at 30% 35%, #3fe3a8 0%, #14b676 25%, #0a6e48 55%, #053822 80%, #021810 100%);
    position: relative;
}
.gem-emerald::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 80%, rgba(80,230,160,0.5), transparent 50%);
    mix-blend-mode: screen;
    pointer-events: none;
}
.gem-diamond {
    background:
        radial-gradient(circle at 28% 28%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 6%, transparent 15%),
        radial-gradient(circle at 70% 70%, rgba(180,200,255,0.6) 0%, transparent 25%),
        radial-gradient(circle at 45% 25%, rgba(255,180,220,0.4) 0%, transparent 20%),
        linear-gradient(135deg, #f5f7fa 0%, #d2d6e0 30%, #8a90a3 60%, #4e5468 100%);
    position: relative;
}
.gem-diamond::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(150,180,255,0.3) 50%, transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}
.gem-yellow {
    background:
        radial-gradient(circle at 28% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 4%, transparent 12%),
        radial-gradient(circle at 38% 30%, rgba(255,230,160,0.3) 0%, transparent 18%),
        radial-gradient(ellipse 110% 100% at 30% 35%, #ffe55c 0%, #e8a920 25%, #946700 55%, #4a3300 80%, #221700 100%);
    position: relative;
}
.gem-yellow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 80%, rgba(255,210,80,0.5), transparent 50%);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Sparkle overlay on showcase cards */
.showcase-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    transition: left 0.9s ease;
    pointer-events: none;
    z-index: 2;
}
.showcase-card:hover::after {
    left: 130%;
}

/* === Hero h1 letter-spacing rhythm === */
.hero h1 { font-feature-settings: 'kern', 'liga', 'dlig'; }

/* === Decorative top section divider === */
.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    margin: 0 auto 18px;
}

/* === Feature card icon gradient ring on hover === */
.feature-card .feature-icon {
    position: relative;
    z-index: 1;
}
.feature-card .feature-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--red-light), transparent 50%, var(--red-dark));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}
.feature-card:hover .feature-icon::before { opacity: 0.5; }

/* === Lab card flag halo === */
.lab-flag {
    position: relative;
    display: inline-block;
}
.lab-flag::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(237,28,36,0.22), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}
.lab-card:hover .lab-flag::after { opacity: 1; }

/* === Process number animated pulse === */
.process-number {
    position: relative;
    overflow: visible;
}
.process-step:hover .process-number {
    box-shadow: 0 0 0 8px rgba(237,28,36,0.10), 0 14px 40px rgba(237,28,36,0.18);
    transition: box-shadow 0.5s;
    background: var(--red);
    color: #fff;
}

/* === Testimonial card border-shimmer on hover === */
.testimonial-card {
    position: relative;
}
.testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(237,28,36,0.45), transparent);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.testimonial-card:hover::after { opacity: 1; }

/* === FAQ open-state highlight === */
.faq-item.open {
    background: linear-gradient(135deg, rgba(237,28,36,0.04), transparent);
}

/* === Footer trust-row gold marker === */
.footer-badges span {
    transition: color 0.3s;
}
.footer-badges span:hover { color: var(--red); }

/* === Smooth scroll snap on long pages === */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .hero, .about-section, .process-section, .showcase-section, .labs-section, .testimonials-section, .faq-section { scroll-margin-top: 80px; }
}

/* === Verify-form input — red focus glow === */
.verify-form-box .form-group input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(237,28,36,0.14);
}

/* === Premium loader spin === */
.spinner-gold {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(237,28,36,0.18);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin-red 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin-red { to { transform: rotate(360deg); } }

/* === Heading gradient on hover (subtle) === */
.section-header h2 {
    background: linear-gradient(135deg, var(--text), var(--text));
    -webkit-background-clip: text;
    background-clip: text;
    transition: background 0.6s;
}

/* === Buttery scroll anchoring === */
html { overflow-anchor: auto; }

/* =============================================
   FINAL UI/UX POLISH PASS
   Logo, hamburger, scroll-to-top, light-mode fixes,
   reduced-motion guards, social icons, verify polish
   ============================================= */

/* --- Skip-link (a11y) --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 12px;
    background: var(--red);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* --- Logo image --- */
.logo-img {
    display: block;
    height: 48px;
    width: auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}
.nav-logo:hover .logo-img {
    transform: translateY(-1px) scale(1.02);
}
[data-theme="light"] .logo-img {
    filter: drop-shadow(0 2px 6px rgba(193,20,27,0.10));
}
.hero-mark {
    display: block;
    margin: 0 auto 28px;
    animation: heroMarkFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 16px rgba(237,28,36,0.32));
}
[data-theme="light"] .hero-mark {
    filter: drop-shadow(0 4px 14px rgba(237,28,36,0.20));
}
@keyframes heroMarkFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero emblem — the logo mark elevated into a glowing gemological seal */
.hero-emblem {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 34px;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.hero-emblem .hero-mark {
    margin: 0;
    position: relative;
    z-index: 3;
    grid-area: 1 / 1;
}
.hero-emblem-glow {
    grid-area: 1 / 1;
    position: absolute;
    inset: -28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,28,36,0.34), transparent 66%);
    filter: blur(16px);
    z-index: 1;
    animation: emblemPulse 5s ease-in-out infinite;
}
.hero-emblem-shimmer {
    grid-area: 1 / 1;
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        transparent 0deg, rgba(237,28,36,0) 70deg,
        rgba(255,90,100,0.65) 140deg, rgba(237,28,36,0) 220deg, transparent 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    animation: emblemSpin 7s linear infinite;
    z-index: 2;
}
.hero-emblem-ring {
    grid-area: 1 / 1;
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(237,28,36,0.20);
    z-index: 2;
}
.hero-emblem-ring-1 { inset: 6px; }
.hero-emblem-ring-2 { inset: -16px; border-color: rgba(237,28,36,0.10); animation: emblemPulse 4.5s ease-in-out infinite; }
[data-theme="light"] .hero-emblem-glow { background: radial-gradient(circle, rgba(237,28,36,0.18), transparent 66%); }
@keyframes emblemSpin { to { transform: rotate(360deg); } }
@keyframes emblemPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.04); }
}

/* Cinematic spotlight behind the headline */
.hero-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 34%;
    width: min(780px, 92vw);
    height: 520px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(237,28,36,0.10), transparent 70%);
    filter: blur(22px);
    z-index: -1;
    pointer-events: none;
}
[data-theme="light"] .hero-content::before { background: radial-gradient(ellipse at center, rgba(237,28,36,0.06), transparent 70%); }

/* Testing-methods credential row */
.hero-creds {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.hero-creds-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}
.hero-cred {
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-soft);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
    transition: border-color 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth), transform 0.4s var(--ease-lux);
}
.hero-cred:hover {
    border-color: rgba(237,28,36,0.45);
    color: var(--red-light);
    transform: translateY(-2px);
}
[data-theme="light"] .hero-cred { background: rgba(0,0,0,0.015); }
.footer-logo {
    display: block;
    height: 52px;
    width: auto;
    margin-bottom: 14px;
}
.cert-logo-mark { width: 56px; height: 56px; flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18)); }
.cert-header-brand { display: flex; align-items: center; gap: 16px; }

/* --- Hamburger animated --- */
.nav-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: border-color 0.2s;
}
.nav-hamburger:hover { border-color: var(--red); }
.nav-hamburger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 1px;
}
.nav-hamburger span:nth-child(1) { top: 12px; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-hamburger span:nth-child(3) { bottom: 12px; }
.nav-hamburger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* --- Scroll-to-top — AGL brand red --- */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-light), var(--red), var(--red-dark));
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(237,28,36,0.42), inset 0 1px 0 rgba(255,255,255,0.25);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(237,28,36,0.55), inset 0 1px 0 rgba(255,255,255,0.32); }

/* --- Social icons SVG --- */
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-social a:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(237,28,36,0.06);
    transform: translateY(-2px);
}
.footer-social svg { display: block; }

/* --- Marquee hover-pause --- */
.marquee-section:hover .marquee-track { animation-play-state: paused; }

/* --- Verify result actions --- */
.result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.result-actions .btn-hero-outline { padding: 12px 22px; font-size: 13.5px; }

/* --- Verify form page intro/wrap/help --- */
.verify-intro { text-align: center; margin-bottom: 48px; }
.verify-form-wrap { max-width: 520px; margin: 0 auto; }
.verify-help {
    text-align: center;
    margin-top: 28px;
    padding: 22px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
}
.verify-help h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
    font-weight: 700;
}
.verify-help p { color: var(--text-soft); font-size: 14px; line-height: 1.7; }
.verify-help strong { color: var(--text); }

.cert-meta {
    margin-top: 28px;
    padding: 18px 22px;
    background: var(--cert-label-bg);
    border-radius: var(--radius);
    border: 1px solid var(--cert-border);
    font-size: 13px;
    color: var(--cert-label-color);
}
.cert-meta strong { color: var(--cert-value-color); }

/* --- Verify button loading --- */
.btn-verify.is-loading {
    opacity: 0.85;
    pointer-events: none;
    position: relative;
}
.btn-verify.is-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-load 0.7s linear infinite;
    margin-right: 8px;
    display: inline-block;
    vertical-align: -3px;
}
@keyframes spin-load { to { transform: rotate(360deg); } }

/* --- Unified section spacing --- */
.verify-section,
.about-section, .process-section, .showcase-section,
.labs-section, .testimonials-section, .faq-section { padding: 120px 0; }
.cta-section { padding: 100px 0; }

/* =============================================
   LIGHT-MODE CONTRAST FIXES (AGL red brand)
   ============================================= */
[data-theme="light"] .btn-hero-outline {
    border-color: var(--red);
    color: var(--red);
    background: transparent;
}
[data-theme="light"] .btn-hero-outline:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
[data-theme="light"] .hero-stats {
    background: rgba(237,28,36,0.22);
    border-color: rgba(237,28,36,0.22);
}
[data-theme="light"] .verify-form-box::before {
    background: #fff;
    border: 1px solid var(--red);
    border-radius: 999px;
    padding: 3px 14px;
    top: -12px;
    color: var(--red);
}
[data-theme="light"] .feature-icon {
    background: rgba(237,28,36,0.10);
    border-color: rgba(237,28,36,0.28);
}
[data-theme="light"] .scroll-arrow { border-color: var(--red); }
[data-theme="light"] .marquee-section { background: #fbf6f6; }
[data-theme="light"] .marquee-item .dot { background: var(--red); }
[data-theme="light"] .verify-box,
[data-theme="light"] .verify-form-box { background: #fff; }
[data-theme="light"] .feature-card,
[data-theme="light"] .lab-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .faq-item {
    background: #fff;
    border-color: rgba(237,28,36,0.16);
}
[data-theme="light"] .hero-badge {
    background: rgba(237,28,36,0.08);
    border-color: rgba(237,28,36,0.30);
    color: var(--red-dark);
}
[data-theme="light"] .footer { background: #fbf6f6; }
[data-theme="light"] .footer-social a { background: #fff; }

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-track { animation: none !important; }
    .hero-mark { animation: none !important; }
    .hero-emblem-shimmer, .hero-emblem-glow, .hero-emblem-ring-2 { animation: none !important; }
    .gem { animation: none !important; opacity: 0.1 !important; }
    .ray { animation: none !important; }
    .scroll-arrow::after { animation: none !important; }
    .reveal, .reveal-left, .reveal-right, .reveal-up, .reveal-child {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =============================================
   RESPONSIVE TOUCH-UPS (mobile)
   ============================================= */
@media (max-width: 720px) {
    .logo-img { height: 38px; }
    .footer-logo { height: 42px; }
    .hero h1 { font-size: clamp(33px, 8.5vw, 52px); letter-spacing: -0.02em; }
    .hero-stat { padding: 20px 8px; }
    .hero-stat-value { font-size: clamp(22px, 6vw, 30px); }
    .hero-stat-label { font-size: 9.5px; letter-spacing: 0.1em; }
    .hero-emblem { width: 104px; height: 104px; margin-bottom: 24px; }
    .hero-emblem .hero-mark, .hero-mark { width: 64px; height: 64px; margin: 0; }
    .hero-creds-label { width: 100%; margin: 0 0 4px; text-align: center; }
    .nav-hamburger { display: inline-flex; align-items: center; justify-content: center; }
    .announcement-bar .ann-sep { display: none; }
    .announcement-bar span { display: inline-block; margin: 0 4px; }
    .verify-section, .about-section, .process-section, .showcase-section,
    .labs-section, .testimonials-section, .faq-section, .cta-section { padding: 72px 0; }
    .hero { padding: 50px 20px 80px; min-height: auto; }
    .hero-actions { margin-bottom: 48px; }
    .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
    .result-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 32px auto 0; }
    .result-actions .btn-hero-outline { justify-content: center; }
}

/* =============================================
   Branded text selection
   ============================================= */
::selection { background: rgba(237,28,36,0.22); color: #fff; text-shadow: none; }
[data-theme="light"] ::selection { background: rgba(237,28,36,0.15); color: #1a1414; }

/* =============================================
   FOCUS-VISIBLE outlines (a11y)
   ============================================= */
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
/* Pill-shaped buttons need a pill-shaped focus ring */
.btn-hero:focus-visible,
.btn-verify:focus-visible,
.btn-hero-outline:focus-visible,
.nav-btn:focus-visible,
.scroll-top:focus-visible,
.pub-theme-toggle:focus-visible,
.nav-hamburger:focus-visible {
    outline-offset: 3px;
    border-radius: inherit;
}
/* Inputs / standard elements get the soft 4px corner */
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.faq-q:focus-visible {
    border-radius: 4px;
}

/* =============================================
   PRINT polish for verify result
   ============================================= */
@media print {
    body * { visibility: hidden; }
    .cert-result, .cert-result * { visibility: visible; }
    .cert-result { position: absolute; top: 0; left: 0; right: 0; box-shadow: none !important; border: 1px solid #000 !important; }
    .scroll-top, .skip-link, .result-actions { display: none !important; }
}

/* =============================================
   MULTI-PAGE LAYOUT — Breadcrumbs, Dropdown,
   Page Hero, Content Sections, Blog
   ============================================= */

/* === Breadcrumbs === */
.breadcrumbs {
    padding: 20px 0;
    background: var(--dark-2);
    border-bottom: 1px solid var(--border-soft);
    font-size: 13.5px;
}
.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep {
    color: var(--text-muted);
    margin: 0 8px;
    opacity: 0.6;
}
.breadcrumbs [aria-current="page"] {
    color: var(--text);
    font-weight: 500;
}

/* === Nav dropdown === */
.nav-dropdown { position: relative; }
/* Dropdown toggle must match the plain nav links (they're nested, so .nav-links > a misses them) */
.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
    position: relative;
    text-decoration: none;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}
.nav-dropdown > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}
.nav-dropdown:hover > a,
.nav-dropdown > a:hover { color: var(--text); }
.nav-dropdown:hover > a::after,
.nav-dropdown > a.active::after { width: 100%; }
.nav-dropdown > a.active { color: var(--red); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-dropdown-menu a:hover {
    background: rgba(237,28,36,0.06);
    color: var(--red);
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-links > a.active { color: var(--red); }
.nav-links > a.active::after { width: 100% !important; }

/* === Page hero (smaller than home hero — for sub-pages) === */
.page-hero {
    position: relative;
    padding: 100px 24px 80px;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(237,28,36,0.10), transparent 60%),
        var(--dark);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(237,28,36,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237,28,36,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent);
    pointer-events: none;
    opacity: 0.6;
}
.page-hero > * { position: relative; }
.page-hero .eyebrow {
    display: inline-block;
    color: var(--red);
    font-size: 11.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.page-hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--red-light), var(--red-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero .lede {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.7;
}

/* === Content section (long-form copy) === */
.content-section {
    padding: 80px 0;
}
.content-section .container { max-width: 880px; }
.content-section .wide { max-width: 1160px; }
.prose {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-soft);
}
.prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 500;
    color: var(--text);
    margin: 48px 0 18px;
    letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    margin: 32px 0 12px;
}
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 22px 24px; }
.prose ul li, .prose ol li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--red-dark); }
.prose blockquote {
    border-left: 3px solid var(--red);
    padding: 8px 0 8px 22px;
    margin: 28px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.6;
    color: var(--text);
}
.prose hr {
    border: none;
    border-top: 1px solid var(--border-soft);
    margin: 40px 0;
}
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 24px 0;
}
.prose code {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 0.9em;
    background: var(--dark-2);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--red-light);
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.prose th, .prose td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}
.prose th {
    background: var(--dark-2);
    color: var(--text);
    font-weight: 600;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* === Info card grid (services, lab cards, gemstone cards) === */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237,28,36,0.4);
    box-shadow: var(--shadow-red);
}
.info-card:hover::before { opacity: 1; }
.info-card .ic-icon {
    font-size: 32px;
    margin-bottom: 18px;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: rgba(237,28,36,0.08);
    border-radius: 14px;
    border: 1px solid rgba(237,28,36,0.18);
}
.info-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}
.info-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
}
.info-card .read-more {
    color: var(--red);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.info-card .read-more::after {
    content: ' →';
    transition: margin-left 0.3s;
}
.info-card:hover .read-more::after { margin-left: 4px; }

/* === Lab details card (used on /labs and lab detail pages) === */
.lab-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 24px;
}
.lab-detail-card .lab-flag-large {
    margin-bottom: 20px;
}
.lab-detail-card .lab-flag-large img {
    width: 64px;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.lab-detail-card h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text);
    font-weight: 600;
}
.lab-detail-card .lab-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}
.lab-detail-card .meta-item .label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 6px;
}
.lab-detail-card .meta-item .value {
    color: var(--text);
    font-size: 14.5px;
}
.lab-detail-card .meta-item .value a {
    color: var(--text);
    text-decoration: none;
}
.lab-detail-card .meta-item .value a:hover { color: var(--red); }

/* === Blog === */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237,28,36,0.4);
    box-shadow: var(--shadow-red);
}
.blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(237,28,36,0.12), rgba(237,28,36,0.04)),
                var(--dark-3);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.blog-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.32));
}
.blog-card-img.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 56px;
    opacity: 0.4;
}
.blog-card-body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card .category {
    display: inline-block;
    color: var(--red);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.blog-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}
.blog-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
}
.blog-card .meta .date { color: var(--text-muted); }
.blog-card .meta .read-time::before { content: '· '; }

/* === Blog post (single article) === */
.blog-post-hero {
    padding: 80px 24px 60px;
    text-align: center;
    background: var(--dark-2);
    border-bottom: 1px solid var(--border-soft);
}
.blog-post-hero .category {
    display: inline-block;
    color: var(--red);
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}
.blog-post-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 880px;
    margin: 0 auto 22px;
}
.blog-post-hero .post-meta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}
.blog-post-hero .post-meta .dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--text-muted); opacity: 0.5;
}
.blog-featured-image {
    width: 100%;
    max-width: 1080px;
    margin: -40px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.blog-featured-image img { width: 100%; height: auto; display: block; }
.blog-post-body { padding: 60px 0 80px; }
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-soft);
}
.blog-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(237,28,36,0.08);
    border: 1px solid rgba(237,28,36,0.24);
    color: var(--red);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.blog-tag:hover { background: var(--red); color: #fff; }

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-soft);
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}
.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* === Empty state === */
.empty-state-pub {
    text-align: center;
    padding: 80px 30px;
    color: var(--text-muted);
}
.empty-state-pub .icon { font-size: 56px; margin-bottom: 18px; }
.empty-state-pub h2 { font-size: 24px; color: var(--text); margin-bottom: 10px; }

/* === CTA banner === */
.cta-banner {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    color: #fff;
    padding: 56px 32px;
    border-radius: var(--radius-lg);
    margin: 60px auto;
    max-width: 1080px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255,255,255,0.1), transparent 60%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    margin-bottom: 14px;
    color: #fff;
}
.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    max-width: 540px;
    margin: 0 auto 24px;
}
.cta-banner .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: var(--red-dark);
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.3s;
}
.cta-banner .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

/* === Article share row === */
.share-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    margin-top: 32px;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.share-row .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    font-weight: 600;
}
.share-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark-3);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.25s;
}
.share-row a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* === Two-column layout === */
.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 56px;
}
.two-col .sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}
.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.sidebar-card h4 {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
    font-weight: 700;
}
.sidebar-card a {
    display: block;
    color: var(--text-soft);
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.2s;
}
.sidebar-card a:hover { color: var(--red); }

/* === Light mode overrides for new components === */
[data-theme="light"] .breadcrumbs { background: var(--dark-2); }
[data-theme="light"] .nav-dropdown-menu { background: #fff; }
[data-theme="light"] .page-hero { background: #fff; }
[data-theme="light"] .blog-post-hero { background: var(--dark-2); }
[data-theme="light"] .blog-card-img { background: linear-gradient(135deg, rgba(237,28,36,0.10), rgba(237,28,36,0.02)), #fafafa; }
[data-theme="light"] .share-row a { background: #fff; }

/* === Responsive === */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; }
    .two-col .sidebar { position: static; }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        margin-top: 4px;
        margin-left: 14px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        min-width: 0;
    }
    .nav-dropdown-menu a {
        padding: 6px 0;
        font-size: 13px;
    }
}
@media (max-width: 720px) {
    .page-hero { padding: 60px 20px 50px; }
    .blog-featured-image { margin-top: -20px; border-radius: var(--radius); }
    .lab-detail-card { padding: 28px 22px; }
    .content-section { padding: 56px 0; }
}

