@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:       #0a0f1e;
  --navy-mid:   #0f1729;
  --navy-light: #162040;
  --navy-card:  #111827;
  --gold:       #c9a84c;
  --gold-light: #e2c27d;
  --gold-dim:   #a07830;
  --gold-glow:  rgba(201,168,76,0.15);
  --w80:        rgba(255,255,255,0.80);
  --w60:        rgba(255,255,255,0.60);
  --w40:        rgba(255,255,255,0.40);
  --w20:        rgba(255,255,255,0.20);
  --w08:        rgba(255,255,255,0.08);
  --border:     rgba(201,168,76,0.22);
  --green:      #22c55e;
  --red:        #ef4444;
  --blue:       #3b82f6;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --ease:       0.3s cubic-bezier(0.4,0,0.2,1);
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 8px 40px rgba(0,0,0,0.6);
  --shadow-gold:0 0 40px rgba(201,168,76,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--navy);
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-mid); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ── BACKGROUND ── */
.bg-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.bg-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: drift1 22s ease-in-out infinite alternate;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
  bottom: -150px; right: -150px;
  animation: drift2 28s ease-in-out infinite alternate;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: pulse-orb 6s ease-in-out infinite;
}
@keyframes drift1 { 0% { transform:translate(0,0); } 100% { transform:translate(80px,60px); } }
@keyframes drift2 { 0% { transform:translate(0,0); } 100% { transform:translate(-60px,-40px); } }
@keyframes pulse-orb {
  0%,100% { opacity:0.4; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:0.7; transform:translate(-50%,-50%) scale(1.1); }
}
.stars { position: absolute; inset: 0; }
.star {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.75);
  animation: twinkle var(--d,3s) ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity:0.15; } 50% { opacity:0.9; } }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--ease);
}
nav.scrolled {
  background: rgba(10,15,30,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; text-decoration: none;
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--navy); box-shadow: 0 2px 16px rgba(201,168,76,0.45);
  transition: all var(--ease); flex-shrink: 0;
}
.nav-logo:hover .logo-mark { transform: scale(1.06); box-shadow: 0 4px 24px rgba(201,168,76,0.65); }
.logo-wordmark { display: flex; flex-direction: column; }
.logo-name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; line-height: 1; letter-spacing: 0.02em; }
.logo-name span { color: var(--gold); }
.logo-tagline { font-size: 9px; font-weight: 600; color: var(--w40); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; color: var(--w60); font-weight: 500;
  text-decoration: none; letter-spacing: 0.02em;
  transition: color var(--ease); position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform var(--ease);
  transform-origin: left;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--w80); border-radius: 2px; transition: all var(--ease); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 22px; border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; outline: none;
  transition: all var(--ease); letter-spacing: 0.02em;
  white-space: nowrap; text-decoration: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  color: var(--navy); font-weight: 700;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(201,168,76,0.55); filter: brightness(1.06); }
.btn-ghost { background: var(--w08); color: var(--w80); border: 1px solid var(--w20); }
.btn-ghost:hover { background: var(--w20); color: #fff; }
.btn-outline-exec { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline-exec:hover { background: var(--gold-glow); }
.btn-hero { padding: 14px 32px; font-size: 15px; }
.w-full { width: 100%; }
.mt-auto { margin-top: auto; }

/* ── INPUTS ── */
.ig { display: flex; flex-direction: column; gap: 6px; }
.il { font-size: 11px; font-weight: 600; color: var(--w40); text-transform: uppercase; letter-spacing: 0.09em; }
.if {
  background: var(--w08); border: 1px solid var(--w20);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: #fff; font-family: var(--sans); font-size: 14px;
  outline: none; transition: all var(--ease); width: 100%;
}
.if::placeholder { color: var(--w40); }
.if:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); background: rgba(255,255,255,0.06); }
textarea.if { resize: none; line-height: 1.6; }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 150;
  background: rgba(10,15,30,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 24px 32px; gap: 20px;
}
.mobile-menu a {
  font-size: 16px; color: var(--w60); text-decoration: none;
  font-weight: 500; transition: color var(--ease);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ── SECTIONS ── */
.section { position: relative; z-index: 1; padding: 120px 0; }
.section-dark { background: rgba(15,23,41,0.6); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: var(--gold-glow); border: 1px solid var(--border);
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(36px,5vw,56px);
  font-weight: 300; color: #fff; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-title span {
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub { font-size: 17px; color: var(--w60); max-width: 560px; margin: 0 auto; line-height: 1.7; font-weight: 300; }

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 30px;
  background: var(--gold-glow); border: 1px solid var(--border);
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 32px; animation: fade-up 0.8s ease both;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.6); } }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 9vw, 100px);
  font-weight: 300; line-height: 1.02;
  letter-spacing: -0.025em; margin-bottom: 28px;
  animation: fade-up 0.8s 0.1s ease both;
}
.hero-title .line-1 { display: block; color: #fff; }
.hero-title .line-2 {
  display: block; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-title .line-3 { display: block; color: var(--w60); font-style: italic; font-weight: 300; }
.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px); color: var(--w60);
  max-width: 560px; margin: 0 auto 48px;
  line-height: 1.75; font-weight: 300;
  animation: fade-up 0.8s 0.2s ease both;
}
.hero-sub strong { color: var(--gold); font-weight: 600; }
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 40px; animation: fade-up 0.8s 0.3s ease both;
}
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; justify-content: center;
  animation: fade-up 0.8s 0.4s ease both;
}
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--w40); font-weight: 500; letter-spacing: 0.03em; }
.trust-icon { font-size: 13px; }
.trust-divider { width: 1px; height: 14px; background: var(--w20); }
@keyframes fade-up { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

/* ── HERO MOCKUP ── */
.hero-mockup {
  position: relative; z-index: 1;
  margin-top: 72px; width: 100%; max-width: 900px;
  animation: fade-up
  0.9s 0.5s ease both;
}
.mockup-window {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,0.7), 0 0 60px rgba(201,168,76,0.08);
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
}
.bar-dot { width: 12px; height: 12px; border-radius: 50%; }
.bar-dot:nth-child(1) { background: #ff5f57; }
.bar-dot:nth-child(2) { background: #febc2e; }
.bar-dot:nth-child(3) { background: #28c840; }
.bar-url {
  flex: 1; margin: 0 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px; padding: 5px 12px;
  font-size: 12px; color: var(--w40);
  display: flex; align-items: center; gap: 6px;
}
.bar-lock { color: var(--green); font-size: 11px; }
.mockup-body { display: flex; height: 380px; }

/* SIDEBAR */
.mockup-sidebar {
  width: 230px; flex-shrink: 0;
  background: var(--navy-mid);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.sidebar-section-label {
  font-size: 10px; font-weight: 700; color: var(--w40);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 16px 6px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer;
  transition: background var(--ease);
  border-left: 2px solid transparent;
}
.sidebar-item:hover { background: rgba(201,168,76,0.06); }
.sidebar-item.active {
  background: rgba(201,168,76,0.10);
  border-left-color: var(--gold);
}
.si-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.si-avatar.broadcast { font-size: 14px; color: var(--blue); border-color: rgba(59,130,246,0.3); }
.si-info { flex: 1; min-width: 0; }
.si-name {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-item.active .si-name { color: var(--gold); }
.si-preview {
  font-size: 11px; color: var(--w40);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 1px;
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; position: relative;
}
.pulse-dot::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; background: var(--gold);
  opacity: 0.4; animation: pulse-ring 1.6s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform:scale(1); opacity:0.4; } 100% { transform:scale(2.5); opacity:0; } }
.read-check { font-size: 12px; color: var(--blue); flex-shrink: 0; }
.sdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.s-on { background: var(--green); box-shadow: 0 0 5px rgba(34,197,94,0.6); }
.s-off { background: var(--w20); }

/* CHAT PANE */
.mockup-chat {
  flex: 1; display: flex; flex-direction: column;
  background: var(--navy-card); overflow: hidden;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
}
.chat-header-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--gold);
}
.chat-header-info { flex: 1; }
.chat-header-name { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.2; }
.chat-header-status { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 4px; }
.chat-header-badge {
  font-size: 10px; font-weight: 600; color: var(--gold);
  background: var(--gold-glow); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 20px; letter-spacing: 0.05em;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.msg { display: flex; align-items: flex-end; gap: 10px; }
.msg-in { flex-direction: row; }
.msg-out { flex-direction: row-reverse; }
.msg-av {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.msg-av.you { color: var(--blue); border-color: rgba(59,130,246,0.3); }
.msg-bubble {
  max-width: 65%; padding: 12px 16px;
  border-radius: 16px; position: relative;
}
.msg-in .msg-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--w20);
  border-bottom-left-radius: 4px;
}
.msg-out .msg-bubble {
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.10));
  border: 1px solid rgba(201,168,76,0.25);
  border-bottom-right-radius: 4px;
}
.msg-sender { font-size: 10px; font-weight: 700; color: var(--gold); margin-bottom: 4px; letter-spacing: 0.05em; text-transform: uppercase; }
.msg-text { font-size: 13px; color: var(--w80); line-height: 1.5; }
.msg-meta { font-size: 10px; color: var(--w40); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.msg-read { color: var(--blue); }
.chat-input-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--navy-mid);
}
.chat-input-mock {
  flex: 1; background: var(--w08); border: 1px solid var(--w20);
  border-radius: 24px; padding: 10px 18px;
  font-size: 13px; color: var(--w40);
}
.chat-send-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--navy); font-weight: 700;
  transition: all var(--ease);
}
.chat-send-btn:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(201,168,76,0.5); }
.mockup-glow {
  position: absolute; bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 80px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.4); box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 30px rgba(201,168,76,0.08); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--w60); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 72px; }
.how-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: all var(--ease);
}
.how-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
.how-number {
  font-family: var(--serif); font-size: 64px; font-weight: 700;
  color: rgba(201,168,76,0.08); position: absolute;
  top: 16px; right: 20px; line-height: 1;
}
.how-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.how-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.how-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.how-list li {
  font-size: 14px; color: var(--w60); line-height: 1.5;
  padding-left: 18px; position: relative;
}
.how-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--gold); font-size: 12px;
}

/* ── ARCHITECTURE DIAGRAM ── */
.arch-diagram {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
}
.arch-title {
  text-align: center; font-family: var(--serif);
  font-size: 20px; font-weight: 600; color: var(--gold);
  margin-bottom: 40px; letter-spacing: 0.05em; text-transform: uppercase;
}
.arch-body { display: flex; flex-direction: column; align-items: center; gap: 0; }
.arch-top, .arch-middle, .arch-db-row { display: flex; justify-content: center; width: 100%; }
.arch-node {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); text-align: center; min-width: 180px;
}
.arch-center { background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05)); border-color: var(--gold); }
.arch-api { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.3); }
.arch-db { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.3); }
.arch-dev { background: rgba(255,255,255,0.04); border-color: var(--border); padding: 12px 20px; min-width: 120px; }
.arch-node-icon { font-size: 24px; margin-bottom: 6px; }
.arch-node-label { font-size: 13px; font-weight: 700; color: #fff; }
.arch-node-sub { font-size: 11px; color: var(--w40); margin-top: 3px; }
.arch-line-down { width: 2px; height: 32px; background: linear-gradient(180deg, var(--border), rgba(201,168,76,0.1)); margin: 0 auto; }
.arch-devices { display: flex; justify-content: center; gap: 40px; width: 100%; margin-top: 0; }
.arch-device { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.arch-device-user { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; }
.arch-branches { display: flex; justify-content: center; width: 100%; position: relative; height: 32px; }
.arch-branch-line {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 100%;
  border-top: 2px solid rgba(201,168,76,0.2);
  border-left: 2px solid rgba(201,168,76,0.2);
  border-right: 2px solid rgba(201,168,76,0.2);
  border-radius: 2px 2px 0 0;
}

/* ── ACCESS LEVELS ── */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.access-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px; display: flex;
  flex-direction: column; gap: 20px;
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.access-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.access-card-featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201,168,76,0.08) 0%, var(--navy-card) 60%);
  box-shadow: 0 0 40px rgba(201,168,76,0.10);
}
.access-featured-label {
  position: absolute; top: 0; right: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); font-size: 10px; font-weight: 800;
  padding: 4px 14px; border-radius: 0 0 8px 8px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.access-card-header { display: flex; align-items: center; gap: 14px; }
.access-icon { font-size: 32px; }
.access-badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-exec { background: rgba(201,168,76,0.12); color: var(--gold); border: 1px solid var(--border); }
.badge-admin { background: rgba(59,130,246,0.12); color: var(--blue); border: 1px solid rgba(59,130,246,0.3); }
.access-title { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; }
.access-desc { font-size: 14px; color: var(--w60); line-height: 1.65; }
.access-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.access-list li { font-size: 14px; color: var(--w60); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.al-check { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.al-x { color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.al-privacy { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.btn-outline-exec { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline-exec:hover { background: var(--gold-glow); }
.mt-auto { margin-top: auto; }
.privacy-note {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
}
.privacy-note-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.privacy-note p { font-size: 14px; color: var(--w60); line-height: 1.6; }
.privacy-note strong { color: var(--gold); font-weight: 600; }

/* ── SECURITY ── */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.security-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 22px 20px;
  transition: all var(--ease);
}
.security-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(201,168,76,0.35); transform: translateX(4px); }
.sec-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.sec-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.sec-desc { font-size: 13px; color: var(--w50); line-height: 1.55; }

/* ── CTA SECTION ── */
.cta-section { padding: 100px 0; }
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(201,168,76,0.10) 0%, rgba(15,23,41,0.9) 50%, rgba(59,130,246,0.06) 100%);
  border: 1px solid var(--gold);
  border-radius: 24px; padding: 80px 60px;
  text-align: center;
  box-shadow: 0 0 80px rgba(201,168,76,0.08);
}
.cta-glow {
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--serif); font-size: clamp(40px,6vw,64px);
  font-weight: 300; color: #fff; line-height: 1.1;
  letter-spacing: -0.02em; margin: 16px 0 20px;
}
.cta-title span {
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub { font-size: 17px; color: var(--w60); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; font-weight: 300; }
.cta-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 36px auto; max-width: 400px; }
.cta-features { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.cta-feat { font-size: 13px; color: var(--w50); display: flex; align-items: center; gap: 7px; }
.cta-feat span { color: var(--green); font-weight: 700; }

/* ── FOOTER ── */
.footer {
  position: relative; z-index: 1;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top { display: flex; gap: 64px; margin-bottom: 48px; }
.footer-brand { flex: 1; max-width: 320px; }
.footer-desc { font-size: 13px; color: var(--w40); line-height: 1.7; margin-top: 16px; }
.footer-links-group { display: flex; gap: 56px; flex-shrink: 0; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--w40); text-decoration: none; transition: color var(--ease); cursor: pointer; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--w40); }
.footer-badges { display: flex; gap: 10px; }
.footer-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--w40); font-weight: 500;
  padding: 4px 12px; border-radius: 20px;
  background: var(--w08); border: 1px solid var(--w20);
}

/* ── LOGIN MODAL ── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(10px);
  z-index: 900; display: flex;
  align-items: center; justify-content: center;
  padding: 20px; animation: fade-in 0.2s ease;
}
@keyframes fade-in { from { opacity:0; } to { opacity:1; } }
.modal {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px; width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 40px rgba(201,168,76,0.10);
  animation: modal-in 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modal-in { from { transform:scale(0.9) translateY(24px); opacity:0; } to { transform:scale(1) translateY(0); opacity:1; } }
.login-modal { text-align: center; }
.modal-top { margin-bottom: 28px; }
.modal-role-label {
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  color: #fff; margin-bottom: 8px;
}
.modal-sub { font-size: 13px; color: var(--w50); line-height: 1.6; }
.modal-tabs {
  display: flex; gap: 0; margin-bottom: 28px;
  background: var(--w08); border-radius: var(--radius-sm);
  padding: 4px; border: 1px solid var(--w20);
}
.modal-tab {
  flex: 1; padding: 9px; border-radius: 6px;
  background: transparent; border: none;
  color: var(--w50); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all var(--ease);
  font-family: var(--sans);
}
.modal-tab.active { background: var(--gold); color: var(--navy); box-shadow: 0 2px 8px rgba(201,168,76,0.4); }
.login-form { text-align: left; }
.pass-wrap { position: relative; }
.pass-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: var(--w40); transition: color var(--ease);
}
.pass-toggle:hover { color: var(--gold); }
.login-options {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; font-size: 13px;
}
.remember-me { display: flex; align-items: center; gap: 7px; color: var(--w50); cursor: pointer; }
.remember-me input { accent-color: var(--gold); cursor: pointer; }
.forgot-link { color: var(--gold); text-decoration: none; font-size: 13px; transition: color var(--ease); }
.forgot-link:hover { color: var(--gold-light); text-decoration: underline; }
.login-security-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 16px; font-size: 11px; color: var(--w30);
  letter-spacing: 0.03em;
}
.mh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mt-serif { font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; }
.mc {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--w08); border: none; color: var(--w50);
  font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
}
.mc:hover { background: var(--w20); color: #fff; }

/* ── TOAST ── */
#tc {
  position: fixed; top: 20px; right: 20px;
  z-index: 9999; display: flex; flex-direction: column;
  gap: 10px; max-width: 320px; pointer-events: none;
}
.toast {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 13px; color: var(--w80); box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  display: flex; align-items: flex-start; gap: 10px;
  animation: t-in 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.toast.success { border-color: rgba(34,197,94,0.45); }
.toast.error { border-color: rgba(239,68,68,0.45); }
.toast.info { border-color: var(--border); }
.t-icon { font-size: 16px; flex-shrink: 0; }
.t-title { font-weight: 600; color: #fff; font-size: 13px; margin-bottom: 2px; }
.t-msg { font-size: 12px; color: var(--w50); }
@keyframes t-in { from { transform:translateX(110%); opacity:0; } to { transform:translateX(0); opacity:1; } }
@keyframes t-out { from { transform:translateX(0); opacity:1; } to { transform:translateX(110%); opacity:0; } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-links-group { flex-wrap: wrap; gap: 32px; }
  .arch-devices { gap: 16px; }
  .mockup-sidebar { width: 180px; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 20px 60px; }
  .cta
/* ── RESPONSIVE FINAL ── */
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 20px 60px; }
  .cta-card { padding: 48px 24px; }
  .mockup-body { height: 300px; }
  .mockup-sidebar { display: none; }
  .hero-trust { gap: 12px; }
  .trust-divider { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-features { gap: 16px; }
  .arch-devices { flex-wrap: wrap; justify-content: center; }
  .hero-mockup { margin-top: 48px; }
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .modal { padding: 24px 20px; }
  .access-card { padding: 24px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .l-nav { padding: 0 20px; }
  nav { padding: 0 20px; }
  .footer-badges { flex-wrap: wrap; justify-content: center; }
  .section-header { margin-bottom: 48px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 42px; }
  .section-title { font-size: 32px; }
  .cta-title { font-size: 36px; }
  .how-grid { gap: 16px; }
  .features-grid { gap: 16px; }
  .feature-card { padding: 24px 20px; }
  .how-card { padding: 28px 20px; }
  .security-grid { gap: 14px; }
  .footer-col-title { font-size: 10px; }
}
