﻿/* â”€â”€â”€ Base Cypher Tokens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  --cypher-font-sans: 'Inter', sans-serif;
  --cypher-font-mono: 'JetBrains Mono', monospace;
  --font-size: 16px;
  --radius: 0.5rem;
  --radius-md: 0.375rem;
  --cypher-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Strict Cypher Dark Mode */
.dark {
  --cypher-bg-global: #050B14;
  --cypher-bg-surface: #0B1324;
  --cypher-bg-surface-hover: #131E36;
  --cypher-text-primary: #F8FAFC;
  --cypher-text-secondary: #94A3B8;
  --cypher-border-structural: #1E293B;
  
  --primary: #0C9B70;
  --primary-foreground: #ffffff;
  --secondary: #1E293B;
  --secondary-foreground: #F8FAFC;
  --danger-accent: #EF4444;
  --gold-accent: #D4AF37;
}

/* â”€â”€â”€ Global & Security Overrides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--cypher-font-sans);
    background-color: var(--cypher-bg-global);
    color: var(--cypher-text-primary);
    font-size: var(--font-size);
    line-height: 1.6;
    min-height: 100vh;
    display: flex; flex-direction: column;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
textarea, input, .output-box, td { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; }

/* â”€â”€â”€ Page Loader (Fixed Z-Index & Layout) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-loader {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at center, rgba(12, 155, 112, 0.18), transparent 24rem),
        var(--cypher-bg-global);
    z-index: 99999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner { width: 40px; height: 40px; animation: spin 1s linear infinite; color: var(--primary); margin-bottom: 1rem; }
.page-loader-logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 26px rgba(12, 155, 112, 0.45));
    animation: loaderLogoPulse 1.2s ease-in-out infinite;
}
@keyframes loaderLogoPulse {
    0%, 100% { transform: scale(0.96); opacity: 0.78; }
    50% { transform: scale(1.05); opacity: 1; }
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* â”€â”€â”€ Toast Notifications â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    padding: 1rem 1.5rem;
    background: var(--cypher-bg-surface);
    border: 1px solid var(--cypher-border-structural);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    color: var(--cypher-text-primary);
    animation: slideInRight 0.3s ease-out forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast.success { border-left-color: var(--primary); }
.toast.error { border-left-color: var(--danger-accent); }
.toast.warning { border-left-color: var(--gold-accent); }
.toast.info { border-left-color: #3B82F6; }

.toast.closing { animation: slideOutRight 0.3s ease-out forwards; }

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

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

/* â”€â”€â”€ Navigation with Animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem clamp(1rem, 4vw, 4rem);
    background:
        linear-gradient(135deg, rgba(12, 155, 112, 0.20), rgba(5, 11, 20, 0.96) 34%, rgba(19, 30, 54, 0.92) 68%, rgba(212, 175, 55, 0.14)),
        rgba(5, 11, 20, 0.94);
    border-bottom: 1px solid rgba(12, 155, 112, 0.28);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    transition: padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.nav-animated {
    animation: navSlideDown 0.5s ease-out forwards;
}

@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 0.6s ease-out;
    color: inherit;
    text-decoration: none;
    min-width: max-content;
    padding: 0.35rem 0.8rem 0.35rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.08);
    background: rgba(5, 11, 20, 0.36);
}
.brand-logo { width: 36px; height: 36px; transition: transform 0.3s ease, filter 0.3s ease; }
.brand-logo:hover { transform: rotate(5deg) scale(1.1); filter: drop-shadow(0 0 14px rgba(12, 155, 112, 0.55)); }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: 0; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid rgba(248, 250, 252, 0.08);
    border-radius: 999px;
    background: rgba(5, 11, 20, 0.42);
}
.nav-link-item { 
    color: var(--cypher-text-secondary); 
    text-decoration: none; 
    font-size: 0.875rem; 
    font-weight: 700; 
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 0.58rem 0.92rem;
    border-radius: 999px;
    overflow: hidden;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    inset: auto 18% 0.28rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--gold-accent), transparent);
    transition: width 0.3s ease, left 0.3s ease, right 0.3s ease;
    border-radius: 999px;
}

.nav-link-item:hover::after,
.nav-link-item.active::after { width: 64%; }
.nav-link-item:hover,
.nav-link-item.active {
    color: var(--cypher-text-primary);
    background: rgba(12, 155, 112, 0.14);
    box-shadow: inset 0 0 0 1px rgba(12, 155, 112, 0.18);
    transform: translateY(-2px);
}

.nav-github { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem !important; }

.nav-socials {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(5, 11, 20, 0.42);
    border: 1px solid rgba(248, 250, 252, 0.08);
}

.nav-social-link {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cypher-text-secondary);
    border-radius: 50%;
    border: 1px solid transparent;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-social-link svg {
    width: 1.05rem;
    height: 1.05rem;
}

.nav-social-link:hover {
    color: var(--primary-foreground);
    background: linear-gradient(135deg, var(--primary), #0f766e);
    border-color: rgba(248, 250, 252, 0.22);
    box-shadow: 0 8px 24px rgba(12, 155, 112, 0.28);
    transform: translateY(-3px) rotate(-4deg);
}

/* â”€â”€â”€ Hero Section with 3D & Scroll Effects â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
    position: relative;
    padding: 7rem clamp(1rem, 5vw, 5rem) 4rem;
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    --hero-scroll: 0;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --pointer-x: 50%;
    --pointer-y: 42%;
}

.hero-3d {
    perspective: 1200px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background:
        radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(12, 155, 112, 0.22), transparent 24rem),
        linear-gradient(135deg, rgba(12, 155, 112, 0.18), transparent 34%),
        linear-gradient(315deg, rgba(212, 175, 55, 0.12), transparent 36%);
    transform: translateY(calc(var(--hero-scroll) * 0.12px));
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 70%, transparent 100%);
    opacity: 0.45;
    transform: perspective(800px) rotateX(64deg) translateY(calc(90px + var(--hero-scroll) * -0.08px));
    transform-origin: center bottom;
}

.hero-light {
    position: absolute;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    animation: float 7s ease-in-out infinite;
}

.light-1 {
    left: -16rem;
    top: 3rem;
    background: var(--primary);
}

.light-2 {
    right: -14rem;
    bottom: -8rem;
    background: var(--gold-accent);
    animation-delay: 2.2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-shell {
    position: relative;
    z-index: 10;
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.hero-content {
    position: relative;
    max-width: 720px;
    transform: translateY(calc(var(--hero-scroll) * -0.09px));
}

.hero-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1.2rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(12, 155, 112, 0.32);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(12, 155, 112, 0.1);
    font-family: var(--cypher-font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out forwards;
}

.text-accent {
    color: transparent;
    background: linear-gradient(100deg, var(--primary), #67e8f9 46%, var(--gold-accent));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    color: var(--cypher-text-secondary);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 0 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 0.85rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-btn {
    width: auto;
    min-width: 210px;
    margin-top: 0;
    padding-inline: 1.2rem;
}

.scale-on-hover {
    transition: all 0.3s ease;
}

.scale-on-hover:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(12, 155, 112, 0.3);
}

.hero-reveal-stage {
    position: relative;
    min-height: 470px;
    transform-style: preserve-3d;
    transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(calc(var(--hero-scroll) * -0.05px));
    transition: transform 0.16s ease-out;
}

.hero-device {
    position: absolute;
    inset: 2rem 0 0 auto;
    width: min(390px, 100%);
    min-height: 420px;
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.22);
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.08), transparent 42%),
        rgba(11, 19, 36, 0.78);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(248, 250, 252, 0.1);
    backdrop-filter: blur(18px);
    transform: translateZ(70px);
    overflow: hidden;
}

.hero-device::before {
    content: '';
    position: absolute;
    inset: -40% 26% auto auto;
    width: 13rem;
    height: 36rem;
    background: linear-gradient(90deg, transparent, rgba(12, 155, 112, 0.22), transparent);
    transform: rotate(22deg);
    animation: scanReveal 4.6s ease-in-out infinite;
}

@keyframes scanReveal {
    0%, 100% { transform: translateX(-170%) rotate(22deg); opacity: 0; }
    20%, 62% { opacity: 1; }
    72% { transform: translateX(185%) rotate(22deg); opacity: 0; }
}

.device-topbar {
    display: flex;
    gap: 0.45rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.device-topbar span {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 14px rgba(12, 155, 112, 0.7);
}

.device-topbar span:nth-child(2) { background: var(--gold-accent); box-shadow: 0 0 14px rgba(212, 175, 55, 0.6); }
.device-topbar span:nth-child(3) { background: var(--danger-accent); box-shadow: 0 0 14px rgba(239, 68, 68, 0.5); }

.device-core {
    position: relative;
    min-height: 255px;
    display: grid;
    place-items: center;
}

.hero-emblem {
    width: 128px;
    height: 128px;
    object-fit: contain;
    filter: drop-shadow(0 0 26px rgba(12, 155, 112, 0.36));
    transform: translateZ(95px);
    animation: emblemReveal 1.1s ease-out both, emblemFloat 5s ease-in-out 1.1s infinite;
}

@keyframes emblemReveal {
    from { opacity: 0; transform: translateZ(-40px) rotateY(35deg) scale(0.75); }
    to { opacity: 1; transform: translateZ(95px) rotateY(0) scale(1); }
}

@keyframes emblemFloat {
    0%, 100% { transform: translateZ(95px) translateY(0); }
    50% { transform: translateZ(95px) translateY(14px); }
}

.scan-ring {
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(12, 155, 112, 0.42);
    border-radius: 50%;
    animation: ringPulse 2.8s ease-out infinite;
}

.ring-2 {
    width: 245px;
    height: 245px;
    border-color: rgba(212, 175, 55, 0.28);
    animation-delay: 0.7s;
}

@keyframes ringPulse {
    0% { transform: scale(0.74); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: scale(1.18); opacity: 0; }
}

.privacy-stream {
    display: grid;
    gap: 0.65rem;
    padding: 0 1.3rem 1.4rem;
}

.privacy-stream span {
    display: block;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-md);
    background: rgba(5, 11, 20, 0.48);
    color: var(--cypher-text-secondary);
    font-family: var(--cypher-font-mono);
    font-size: 0.78rem;
}

.hero-chip {
    position: absolute;
    z-index: 2;
    padding: 0.62rem 0.78rem;
    border: 1px solid rgba(12, 155, 112, 0.28);
    border-radius: var(--radius-md);
    background: rgba(5, 11, 20, 0.74);
    color: var(--cypher-text-primary);
    font-family: var(--cypher-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    animation: chipFloat 4.8s ease-in-out infinite;
    --chip-z: 100px;
}

.chip-a { top: 4.2rem; left: 0; --chip-z: 120px; }
.chip-b { right: -0.4rem; top: 8rem; --chip-z: 150px; animation-delay: 0.9s; }
.chip-c { left: 1.2rem; bottom: 4rem; --chip-z: 100px; animation-delay: 1.8s; }

@keyframes chipFloat {
    0%, 100% { transform: translateZ(var(--chip-z)) translateY(0); }
    50% { transform: translateZ(var(--chip-z)) translateY(16px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator svg {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

/* â”€â”€â”€ Fade-In & Reveal Animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.reveal {
    animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
    opacity: 0;
}

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

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

.flip-in {
    animation: flipInY 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes flipInY {
    from { opacity: 0; transform: rotateY(90deg); }
    to { opacity: 1; transform: rotateY(0); }
}

.bounce-in {
    animation: bounceIn 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes bounceIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* â”€â”€â”€ Layouts & Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.app-container, .page-section { 
    width: 100%; 
    max-width: 850px; 
    margin: 0 auto; 
    padding: 3rem 1rem; 
    display: flex; 
    flex-direction: column; 
    gap: 2rem;
}

.section-header { 
    text-align: center; 
    margin-bottom: 1rem;
}

.section-header h2 { 
    font-size: 2rem; 
    margin-bottom: 0.5rem; 
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out forwards;
}

.section-header p { 
    color: var(--cypher-text-secondary);
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 1.5rem;
}

.grid-2 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 1.5rem;
}

.card {
    background-color: var(--cypher-bg-surface);
    border: 1px solid var(--cypher-border-structural);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(12, 155, 112, 0.1);
    transform: translateY(-4px);
}

.card:hover::before {
    left: 100%;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.card-img { 
    width: 100%; 
    height: 160px; 
    object-fit: cover; 
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
    border: 1px solid var(--cypher-border-structural);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.risk-card { border-top: 3px solid var(--danger-accent); }
.target-card { border-top: 3px solid var(--primary); }

.card h3 { 
    margin-bottom: 0.75rem; 
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.card p { 
    color: var(--cypher-text-secondary); 
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Pricing */
.pricing-card { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
    position: relative;
}

.pricing-card.highlight { 
    border-color: var(--primary); 
    box-shadow: 0 0 20px rgba(12, 155, 112, 0.1);
}

.pricing-card.locked { opacity: 0.6; }

.badge { 
    position: absolute; 
    top: 1rem; 
    right: 1rem; 
    background: var(--primary); 
    color: #fff; 
    padding: 0.2rem 0.6rem; 
    border-radius: 4px; 
    font-size: 0.75rem; 
    font-weight: bold;
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-card .price { 
    font-size: 2.5rem; 
    font-weight: 800;
}

.pricing-card ul { 
    list-style: none; 
    text-align: left; 
    margin-bottom: auto; 
    color: var(--cypher-text-secondary);
}

.pricing-card ul li { 
    margin-bottom: 0.75rem; 
    padding-left: 1.5rem; 
    position: relative;
}

.pricing-card ul li::before { 
    content: "âœ“"; 
    position: absolute; 
    left: 0; 
    color: var(--primary); 
    font-weight: bold;
}

/* â”€â”€â”€ Founder Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.founder-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--cypher-bg-surface);
    border: 1px solid var(--cypher-border-structural);
    border-radius: var(--radius);
    padding: 3rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.founder-image-wrapper {
    position: relative;
    perspective: 1000px;
    display: grid;
    place-items: center;
}

.founder-image {
    width: min(240px, 78vw);
    height: min(240px, 78vw);
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 10px 40px rgba(12, 155, 112, 0.2);
    transition: all 0.4s ease;
    animation: rotateInY 0.8s ease-out;
}

@keyframes rotateInY {
    from { opacity: 0; transform: rotateY(90deg); }
    to { opacity: 1; transform: rotateY(0); }
}

.founder-image:hover {
    transform: scale(1.02) rotateY(-5deg);
    box-shadow: 0 15px 50px rgba(12, 155, 112, 0.3);
}

.founder-overlay {
    position: absolute;
    width: min(240px, 78vw);
    height: min(240px, 78vw);
    background: linear-gradient(135deg, rgba(12, 155, 112, 0.2), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.founder-content h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    animation: fadeInUp 0.6s ease-out forwards;
}

.founder-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

.founder-bio {
    color: var(--cypher-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.founder-actions {
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.founder-actions .btn {
    transition: all 0.3s ease;
}

.founder-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.social-links h4 {
    color: var(--cypher-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

.social-icons-expanded {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
    opacity: 0;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cypher-border-structural);
    border-radius: 50%;
    color: var(--cypher-text-secondary);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: rgba(12, 155, 112, 0.1);
    transform: translateY(-4px) scale(1.1);
}

.social-link[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cypher-bg-surface);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    border: 1px solid var(--cypher-border-structural);
}

.social-link:hover::after {
    opacity: 1;
}

.company-logo {
    width: 150px;
    height: auto;
    animation: fadeIn 0.8s ease-out;
    filter: drop-shadow(0 10px 20px rgba(12, 155, 112, 0.1));
}

.cypher-initiative-logo {
    width: min(210px, 70vw);
    filter: drop-shadow(0 18px 34px rgba(12, 155, 112, 0.22));
}

.ecosystem-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 768px) {
    .founder-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .navbar {
        align-items: stretch;
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }

    .nav-brand {
        flex: 1;
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar { display: none; }

    .nav-link-item {
        white-space: nowrap;
        padding: 0.52rem 0.8rem;
    }

    .nav-socials {
        margin-left: auto;
    }

    .nav-social-link {
        width: 2.2rem;
        height: 2.2rem;
    }

    .hero {
        padding-top: 6.25rem;
        min-height: auto;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        min-width: 0;
    }

    .hero-reveal-stage {
        min-height: 390px;
        width: 100%;
    }

    .hero-device {
        inset: 1rem auto auto 50%;
        transform: translateX(-50%) translateZ(40px);
        width: min(340px, 92vw);
        min-height: 360px;
    }

    .device-core {
        min-height: 215px;
    }

    .hero-emblem {
        width: 104px;
        height: 104px;
    }

    .scan-ring { width: 160px; height: 160px; }
    .ring-2 { width: 210px; height: 210px; }

    .chip-a { left: 0.2rem; top: 0.6rem; }
    .chip-b { right: 0.2rem; top: 4.7rem; }
    .chip-c { left: 0.8rem; bottom: 1rem; }
}

/* â”€â”€â”€ Tool Steps & Loaders â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.step { display: none; animation: fadeIn 0.3s ease-out forwards; }
.step.active { display: block; }

.step-loader-container { text-align: center; padding: 4rem 0; }
.loader-box { background: var(--cypher-bg-surface); border: 1px solid var(--cypher-border-structural); border-radius: var(--radius); padding: 3rem; display: inline-block; min-width: 300px; }
.loader-message { color: var(--cypher-text-primary); font-size: 1rem; margin-top: 1rem; }
.loader-progress-bar { width: 100%; height: 4px; background: var(--cypher-bg-global); border-radius: 2px; overflow: hidden; margin-top: 1.5rem; }
.loader-progress-fill { width: 0%; height: 100%; background: var(--primary); animation: progress 2.8s ease-in-out forwards; }
@keyframes progress { 0% { width: 0%; } 100% { width: 100%; } }

/* â”€â”€â”€ Forms & Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
label { display: block; font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cypher-text-secondary); margin-bottom: 0.75rem; }
textarea, .output-box, .text-input {
    width: 100%; background-color: var(--cypher-bg-global); border: 1px solid var(--cypher-border-structural);
    color: var(--cypher-text-primary); border-radius: var(--radius-md); padding: 1rem;
    font-family: var(--cypher-font-sans); font-size: 1rem; transition: border-color 0.2s var(--cypher-ease);
}
textarea { min-height: 200px; resize: vertical; }
textarea:focus, .text-input:focus { outline: none; border-color: var(--primary); }
.output-box { min-height: 200px; white-space: pre-wrap; }

.btn {
    width: 100%; padding: 0.875rem; border-radius: var(--radius-md); font-weight: 600;
    font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: none; margin-top: 1rem;
    display: flex; justify-content: center; align-items: center; gap: 0.5rem; font-family: inherit;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background-color: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover:not(:disabled) { background-color: #0a7a58; transform: translateY(-2px); }
.btn-secondary { background-color: var(--secondary); color: var(--secondary-foreground); border: 1px solid var(--cypher-border-structural); }
.btn-secondary:hover:not(:disabled) { background-color: var(--cypher-bg-surface-hover); }

/* Gold CTA */
.btn-gold { background-color: #212822; color: var(--gold-accent); border: 1px solid var(--gold-accent); }
.btn-gold:hover:not(:disabled) { background-color: var(--gold-accent); color: #000; }

.export-row { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.export-row .btn { margin-top: 0; flex: 1; min-width: 140px; }

/* â”€â”€â”€ Vault Table â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.vault-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 1rem;}
.vault-export-btn { width: auto; margin: 0; padding: 0.5rem 1rem; font-size: 0.85rem; }
.table-container { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--cypher-border-structural); background: var(--cypher-bg-global); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--cypher-border-structural); }
th { background-color: var(--cypher-bg-surface); color: var(--cypher-text-secondary); font-weight: 600; font-size: 0.875rem; }
td:first-child { font-family: var(--cypher-font-mono); color: var(--primary); }

/* â”€â”€â”€ Modals â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(5, 11, 20, 0.85); 
    backdrop-filter: blur(4px); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.hidden { display: none; }

.modal-content { 
    max-width: 420px; 
    width: 90%;
    animation: slideInUp 0.3s ease-out;
}

.modal-content h3 {
    margin-bottom: 1rem;
}

/* â”€â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
footer { 
    margin-top: auto; 
    padding: 4rem 5% 2rem; 
    border-top: 1px solid var(--cypher-border-structural); 
    background-color: var(--cypher-bg-surface);
    animation: slideInUp 0.6s ease-out;
}

.footer-grid { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 2rem; 
    margin-bottom: 3rem; 
    max-width: 1000px; 
    margin-left: auto; 
    margin-right: auto;
}

.footer-brand h3 { 
    font-size: 1.25rem; 
    margin: 1rem 0 0.5rem;
}

.footer-brand p { 
    color: var(--cypher-text-secondary); 
    font-size: 0.9rem; 
    max-width: 300px;
}

.footer-socials h4 { 
    margin-bottom: 1rem; 
    color: var(--cypher-text-secondary);
    font-weight: 600;
}

.social-icons { 
    display: flex; 
    gap: 1rem;
}

.social-icons a { 
    color: var(--cypher-text-secondary); 
    transition: all 0.3s ease;
    width: 24px; 
    height: 24px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover { 
    color: var(--primary);
    transform: translateY(-3px) scale(1.2);
}

.footer-bottom { 
    text-align: center; 
    border-top: 1px solid var(--cypher-border-structural); 
    padding-top: 1.5rem; 
    color: var(--cypher-text-secondary); 
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-title { font-size: 2.2rem; }
    .footer-grid { flex-direction: column; }
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: var(--gold-accent);
}

.legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.9rem;
}

.legal-links a {
    color: var(--cypher-text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
}

.legal-links a:hover {
    color: var(--primary);
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .nav-socials {
        gap: 0.25rem;
        padding: 0.25rem;
    }

    .nav-social-link {
        width: 2rem;
        height: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-device::before,
    .hero-emblem,
    .scan-ring,
    .hero-chip,
    .hero-light,
    .scroll-indicator {
        animation: none;
    }

    .hero-reveal-stage,
    .hero-background,
    .hero-content {
        transform: none;
    }
}

/* Final navigation and page refinement */
a,
.btn,
.nav-link-item,
.nav-social-link,
.nav-cta,
.ecosystem-card {
    text-decoration: none;
}

.navbar {
    padding: 0.7rem 1rem;
}

.nav-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.4rem);
}

.nav-shell .nav-brand {
    justify-self: start;
}

.nav-shell .nav-links {
    justify-self: center;
    max-width: 100%;
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.08);
    background: rgba(5, 11, 20, 0.42);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0 0.95rem;
    border-radius: 999px;
    color: var(--primary-foreground);
    background: linear-gradient(135deg, var(--primary), #0f766e);
    border: 1px solid rgba(248, 250, 252, 0.18);
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(12, 155, 112, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 34px rgba(12, 155, 112, 0.32);
}

.nav-cta-muted {
    background: var(--secondary);
    box-shadow: none;
}

.nav-link-item::after {
    display: none;
}

.nav-link-item:hover,
.nav-link-item.active {
    transform: translateY(-1px);
}

.full-bleed-hero {
    min-height: calc(100vh - 72px);
    isolation: isolate;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    filter: saturate(1.1) contrast(1.05);
    transform: scale(1.04);
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 11, 20, 0.92), rgba(5, 11, 20, 0.70) 46%, rgba(5, 11, 20, 0.82)),
        radial-gradient(circle at 72% 38%, rgba(12, 155, 112, 0.26), transparent 24rem);
}

.hero-shell {
    min-height: 70vh;
}

.hero-content,
.hero-reveal-stage {
    z-index: 2;
}

.hero-title {
    max-width: 760px;
}

.hero-btn {
    text-decoration: none;
}

.ecosystem-section {
    max-width: 1180px;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.ecosystem-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.06), transparent 42%),
        rgba(11, 19, 36, 0.78);
    color: var(--cypher-text-primary);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ecosystem-card:hover {
    transform: translateY(-6px);
    border-color: rgba(12, 155, 112, 0.58);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.ecosystem-card img {
    width: 100%;
    height: 118px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.22));
}

.ecosystem-card h3 {
    margin-bottom: 0.55rem;
}

.ecosystem-card p {
    color: var(--cypher-text-secondary);
    font-size: 0.88rem;
}

.page-shell {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 5.5rem 0 4rem;
}

.page-hero {
    position: relative;
    margin-bottom: 2rem;
    padding: 3rem 0 1rem;
}

.compact-page-hero h1 {
    max-width: 780px;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0;
    margin: 0.8rem 0 1rem;
}

.compact-page-hero p {
    max-width: 680px;
    color: var(--cypher-text-secondary);
    font-size: 1.05rem;
}

.pricing-layout,
.contact-layout,
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.doc-card,
.contact-card {
    min-height: 190px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.contact-actions .btn,
.contact-card .btn {
    width: auto;
    margin-top: 0;
    padding-inline: 1.2rem;
}

@media (max-width: 980px) {
    .nav-shell {
        grid-template-columns: 1fr auto;
    }

    .nav-shell .nav-links {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-shell .nav-links::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 620px) {
    .nav-actions .nav-social-link:nth-child(n+2) {
        display: none;
    }

    .hero-actions {
        width: 100%;
    }

    .full-bleed-hero {
        min-height: calc(100vh - 118px);
    }
}

.legal-card {
    display: grid;
    gap: 0.9rem;
}

.legal-card h3 {
    margin-top: 0.6rem;
}

/* Ecosystem redesign */
.ecosystem-showcase {
    max-width: 1120px;
}

.ecosystem-console {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.25fr);
    gap: 1rem;
    align-items: stretch;
}

.ecosystem-feature,
.ecosystem-stack .ecosystem-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(145deg, rgba(12, 155, 112, 0.12), rgba(11, 19, 36, 0.92) 46%, rgba(212, 175, 55, 0.08)),
        var(--cypher-bg-surface);
    color: var(--cypher-text-primary);
    box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.08);
}

.ecosystem-feature {
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.4rem, 4vw, 2.2rem);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ecosystem-feature::before {
    content: '';
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(12, 155, 112, 0.16);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.ecosystem-feature:hover,
.ecosystem-stack .ecosystem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 155, 112, 0.55);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.ecosystem-status {
    width: fit-content;
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(12, 155, 112, 0.34);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(12, 155, 112, 0.1);
    font-family: var(--cypher-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
}

.ecosystem-feature img {
    width: min(300px, 82%);
    height: 220px;
    object-fit: contain;
    align-self: center;
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.32));
}

.ecosystem-feature h3 {
    font-size: 1.7rem;
    margin-bottom: 0.55rem;
}

.ecosystem-feature p,
.ecosystem-stack .ecosystem-card p {
    color: var(--cypher-text-secondary);
}

.ecosystem-stack {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecosystem-stack .ecosystem-card {
    min-height: 0;
    display: block;
    padding: 1rem;
    border-radius: var(--radius);
}

.ecosystem-stack .ecosystem-card img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin: 0;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.22));
}

.ecosystem-stack .ecosystem-card h3 {
    margin-bottom: 0.25rem;
}

.why-panel {
    margin-top: 1rem;
    padding: clamp(1.2rem, 3vw, 1.8rem);
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(135deg, rgba(12, 155, 112, 0.12), transparent 36%),
        rgba(5, 11, 20, 0.52);
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
    gap: 1.2rem;
    align-items: start;
    overflow: hidden;
}

.why-panel h3 {
    margin-top: 0.85rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.why-grid div {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(11, 19, 36, 0.62);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-grid div:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 155, 112, 0.46);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.why-grid strong,
.why-grid span {
    display: block;
}

.why-grid strong {
    margin-bottom: 0.35rem;
}

.why-grid span {
    color: var(--cypher-text-secondary);
    font-size: 0.86rem;
}

.feature-showcase-grid img {
    width: 100%;
    height: 94px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.feature-showcase-grid div:nth-child(2) img,
.feature-showcase-grid div:nth-child(3) img {
    object-fit: contain;
    background: radial-gradient(circle at center, rgba(12, 155, 112, 0.14), rgba(5, 11, 20, 0.42));
    padding: 0.45rem;
}

/* Docs blog */
.docs-blog {
    width: min(960px, calc(100% - 2rem));
}

.docs-article {
    display: grid;
    gap: 1.4rem;
}

.docs-hero {
    padding: 3.5rem 0 1rem;
}

.docs-hero h1 {
    max-width: 850px;
    margin: 0.9rem 0 1.2rem;
    font-size: clamp(2.35rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0;
}

.docs-byline {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--cypher-text-secondary);
}

.docs-byline img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid rgba(12, 155, 112, 0.58);
}

.docs-byline strong,
.docs-byline span {
    display: block;
}

.docs-byline strong {
    color: var(--cypher-text-primary);
}

.docs-lead {
    font-size: 1.05rem;
    line-height: 1.8;
}

.docs-content {
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(12, 155, 112, 0.08), transparent 28%),
        rgba(11, 19, 36, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.docs-content h2 {
    margin: 1.6rem 0 0.55rem;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.docs-content h2:first-child {
    margin-top: 0;
}

.docs-content p,
.docs-callout p {
    color: var(--cypher-text-secondary);
}

.docs-callout {
    padding: 1.3rem;
    border-left: 4px solid var(--gold-accent);
    border-radius: var(--radius);
    background: rgba(212, 175, 55, 0.08);
}

.docs-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.doc-link-card {
    color: var(--cypher-text-primary);
}

.doc-link-card p {
    color: var(--cypher-text-secondary);
}

/* Workspace scrub animation and validation */
.workspace-page .toast-container {
    display: none;
}

.scrubber-loader-panel {
    width: min(520px, 100%);
    padding: 2rem;
    border-radius: var(--radius);
    display: inline-block;
    overflow: hidden;
}

.scrub-animation {
    position: relative;
    height: 220px;
    margin-bottom: 1.2rem;
    display: grid;
    place-items: center;
}

.scrub-document {
    width: min(360px, 92%);
    padding: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius);
    background: rgba(5, 11, 20, 0.72);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.scrub-document span {
    display: block;
    height: 1.8rem;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.55rem;
    border-radius: 4px;
    background: rgba(148, 163, 184, 0.08);
    color: var(--cypher-text-secondary);
    font-family: var(--cypher-font-mono);
    font-size: 0.76rem;
    overflow: hidden;
}

.scrub-document span:nth-child(1),
.scrub-document span:nth-child(2),
.scrub-document span:nth-child(4) {
    animation: redactLine 2.4s ease-in-out infinite;
}

@keyframes redactLine {
    0%, 28% { color: var(--cypher-text-secondary); background: rgba(148, 163, 184, 0.08); }
    48%, 100% { color: transparent; background: linear-gradient(90deg, rgba(12, 155, 112, 0.72), rgba(212, 175, 55, 0.54)); }
}

.scrub-beam {
    position: absolute;
    top: 14px;
    bottom: 14px;
    width: 5px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 28px rgba(12, 155, 112, 0.85);
    animation: scrubBeam 2.4s ease-in-out infinite;
}

@keyframes scrubBeam {
    0% { transform: translateX(-190px); opacity: 0; }
    16%, 82% { opacity: 1; }
    100% { transform: translateX(190px); opacity: 0; }
}

.scrub-token {
    position: absolute;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(12, 155, 112, 0.36);
    background: rgba(5, 11, 20, 0.86);
    color: var(--primary);
    font-family: var(--cypher-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    animation: tokenPop 2.4s ease-in-out infinite;
}

.token-one { top: 2rem; right: 0.8rem; }
.token-two { bottom: 2rem; left: 0.8rem; animation-delay: 0.35s; }

@keyframes tokenPop {
    0%, 38% { transform: scale(0.82) translateY(8px); opacity: 0; }
    52%, 82% { transform: scale(1) translateY(0); opacity: 1; }
    100% { transform: scale(0.94) translateY(-8px); opacity: 0; }
}

.password-rules {
    list-style: none;
    margin: 0.85rem 0 1rem;
    color: var(--cypher-text-secondary);
    font-size: 0.82rem;
}

.password-rules li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.35rem;
}

.password-rules li::before {
    content: 'x';
    position: absolute;
    left: 0;
    color: var(--danger-accent);
    font-weight: 800;
}

.password-rules li.valid {
    color: var(--primary);
}

.password-rules li.valid::before {
    content: '+';
    color: var(--primary);
}

@media (max-width: 860px) {
    .ecosystem-console {
        grid-template-columns: 1fr;
    }

    .ecosystem-feature {
        min-height: 380px;
    }

    .why-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ecosystem-stack .ecosystem-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .ecosystem-stack .ecosystem-card img {
        width: 64px;
        height: 64px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

