/* ═══════════════════════════════════════════════════
   VELRA — Orange / Black / White theme
   ═══════════════════════════════════════════════════ */
:root {
  --orange:        #F97316;
  --orange-hover:  #EA6C0A;
  --orange-light:  #FFF7ED;
  --orange-border: #FED7AA;
  --black:         #0A0A0A;
  --black-2:       #111111;
  --black-3:       #1A1A1A;
  --white:         #FFFFFF;
  --gray-50:       #FAFAFA;
  --gray-100:      #F4F4F5;
  --gray-200:      #E4E4E7;
  --gray-300:      #D4D4D8;
  --gray-500:      #71717A;
  --gray-600:      #52525B;
  --gray-700:      #3F3F46;
  --gray-900:      #18181B;
  --green:         #16A34A;
  --green-bg:      #DCFCE7;
  --green-border:  #BBF7D0;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:          'JetBrains Mono', 'Fira Code', monospace;
  --radius:        6px;
  --radius-lg:     10px;
  --radius-xl:     14px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.14);
  --transition:    all 0.18s cubic-bezier(0.16,1,0.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 14px; }
body { font-family: var(--font); background: var(--white); color: var(--black); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--mono); font-size: 12px; background: var(--gray-100); padding: 1px 5px; border-radius: 3px; border: 1px solid var(--gray-200); color: var(--gray-700); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--black); letter-spacing: -0.02em; }
.logo-camel { width: 36px; height: 24px; flex-shrink: 0; }

.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--gray-600); padding: 6px 10px; border-radius: var(--radius); transition: var(--transition); }
.nav-links a:hover { color: var(--black); background: var(--gray-100); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.btn-secondary-nav { padding: 7px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 13px; font-weight: 500; color: var(--gray-700); transition: var(--transition); }
.btn-secondary-nav:hover { border-color: var(--gray-300); background: var(--gray-50); }
.btn-primary-nav { padding: 8px 16px; background: var(--orange); border-radius: var(--radius); font-size: 13px; font-weight: 600; color: var(--white); transition: var(--transition); }
.btn-primary-nav:hover { background: var(--orange-hover); box-shadow: 0 2px 10px rgba(249,115,22,0.35); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; padding: 4px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: var(--transition); }
.mobile-menu { position: fixed; inset: 0; background: var(--white); z-index: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.mobile-menu.active { transform: translateX(0); }
.mobile-close { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 20px; color: var(--gray-500); cursor: pointer; }
.mobile-link { font-size: 20px; font-weight: 700; color: var(--black); }
.mobile-actions { margin-top: 8px; }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 40px 80px; overflow: hidden; background: var(--white); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--gray-200) 1px, transparent 1px), linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 100%);
  opacity: 0.6;
}
.hero-glow { position: absolute; width: 700px; height: 400px; top: -80px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(249,115,22,0.08) 0%, transparent 70%); pointer-events: none; }

.hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: center; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--orange-light); border: 1px solid var(--orange-border); font-size: 12px; font-weight: 600; color: var(--orange); margin-bottom: 28px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hero-title { font-size: clamp(38px, 6vw, 70px); font-weight: 800; color: var(--black); letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 20px; }
.hero-title-accent { color: var(--orange); }

.hero-desc { font-size: 17px; color: var(--gray-600); max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; background: var(--black); border-radius: var(--radius-lg); font-size: 14px; font-weight: 600; color: var(--white); transition: var(--transition); }
.btn-hero-primary:hover { background: var(--black-3); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-hero-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); font-size: 14px; font-weight: 600; color: var(--gray-700); transition: var(--transition); }
.btn-hero-secondary:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); }

.hero-stats { display: inline-flex; align-items: center; padding: 18px 28px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); gap: 0; }
.hero-stat { padding: 0 24px; text-align: center; }
.stat-num { font-size: 26px; font-weight: 800; color: var(--black); letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; font-weight: 500; color: var(--gray-500); }
.stat-sep { width: 1px; height: 32px; background: var(--gray-200); }

/* ── NETWORK STRIP ── */
.network-strip { border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); background: var(--gray-50); padding: 12px 0; }
.network-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.strip-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); white-space: nowrap; }
.strip-networks { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.strip-network { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--gray-600); }
.strip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.strip-primary-net { color: var(--orange); font-weight: 700; }
.strip-primary-tag { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--orange); color: var(--white); padding: 1px 6px; border-radius: 999px; }

/* ── SHARED ── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-header-center { text-align: center; margin-bottom: 56px; }
.section-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 12px; }
.section-title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; color: var(--black); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 14px; }
.section-desc { font-size: 15px; color: var(--gray-600); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── WHY RAYLS ── */
.why-rayls { padding: 96px 0; background: var(--black); }
.why-rayls .section-eyebrow { color: var(--orange); }
.why-rayls .section-title { color: var(--white); }
.why-rayls .section-desc { color: rgba(255,255,255,0.55); }

.rayls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-xl); overflow: hidden; }
.rayls-card { background: var(--black-2); padding: 28px; transition: var(--transition); }
.rayls-card:hover { background: var(--black-3); }
.rayls-icon { width: 40px; height: 40px; border-radius: var(--radius-lg); background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.25); display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 16px; }
.rayls-card h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: -0.01em; }
.rayls-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 16px; }
.rayls-tag { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--orange); background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.25); padding: 3px 9px; border-radius: var(--radius); }

/* ── PRODUCTS ── */
.products { padding: 96px 0; background: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-card-featured, .product-card-featured2 { grid-column: span 1; }

.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 24px; transition: var(--transition); }
.product-card:hover { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,0.08); transform: translateY(-2px); }
.product-card-featured { border-color: var(--orange); background: var(--orange-light); }
.product-card-featured2 { border-color: var(--gray-300); background: var(--gray-50); }

.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.product-icon { width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--orange-light); border: 1px solid var(--orange-border); display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.product-card-featured .product-icon { background: var(--orange); border-color: var(--orange); color: var(--white); }

.product-badge { padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--orange); color: var(--white); }
.product-badge-outline { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }

.product-card h3 { font-size: 16px; font-weight: 700; color: var(--black); letter-spacing: -0.02em; margin-bottom: 8px; }
.product-card p { font-size: 13px; color: var(--gray-600); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.product-card p code { font-size: 11px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.product-tags span { padding: 2px 8px; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 10px; font-weight: 600; color: var(--gray-600); }
.product-card-featured .product-tags span { background: rgba(249,115,22,0.1); border-color: var(--orange-border); color: var(--orange); }
.product-arrow { display: flex; justify-content: flex-end; color: var(--orange); opacity: 0; transition: var(--transition); }
.product-card:hover .product-arrow { opacity: 1; }

/* ── CONTRACTS ── */
.contracts-section { padding: 96px 0; background: var(--black); }
.contracts-section .section-eyebrow { color: var(--orange); }
.contracts-section .section-title { color: var(--white); }
.contracts-section .section-desc { color: rgba(255,255,255,0.5); }

.contract-tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 0; }
.ctab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; background: transparent; border: none; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.4); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: var(--transition); cursor: pointer; font-family: var(--mono); }
.ctab:hover { color: rgba(255,255,255,0.8); }
.ctab.active { color: var(--orange); border-bottom-color: var(--orange); }

.contract-panel { display: none; background: var(--black-2); border: 1px solid rgba(255,255,255,0.08); border-top: none; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.contract-panel.active { display: block; }

.contract-panel-layout { display: grid; grid-template-columns: 420px 1fr; min-height: 600px; }

.contract-info-col { padding: 32px; border-right: 1px solid rgba(255,255,255,0.08); overflow-y: auto; max-height: 700px; }
.contract-info-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cinfo-icon { width: 40px; height: 40px; border-radius: var(--radius-lg); background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.25); display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.cinfo-name { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--white); }
.cinfo-file { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.cpill { padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.cpill-ready { background: rgba(22,163,74,0.15); color: #4ade80; border: 1px solid rgba(22,163,74,0.3); }

.cinfo-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 18px; }
.cinfo-desc code { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: var(--orange); }

.cinfo-inherits { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.ci-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.3); }
.ci-tag { padding: 2px 8px; background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2); border-radius: var(--radius); font-size: 10px; font-weight: 600; color: var(--orange); font-family: var(--mono); }

.fn-section { margin-bottom: 18px; }
.fn-group-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.3); margin-bottom: 8px; }
.fn-row { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.fn-row:last-child { border-bottom: none; }
.fn-sig { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--orange); }
.fn-note { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.4; }

.vtype-grid { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.vtype-pill { padding: 4px 12px; background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.25); border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--orange); font-family: var(--mono); }

.security-list { margin-bottom: 24px; }
.sec-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.5); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sec-item:last-child { border-bottom: none; }
.sec-ok { color: #4ade80; font-weight: 700; flex-shrink: 0; }

.cinfo-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-read-source { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.3); border-radius: var(--radius); font-size: 12px; font-weight: 600; color: var(--orange); transition: var(--transition); }
.btn-read-source:hover { background: rgba(249,115,22,0.2); }
.btn-open-demo { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; background: var(--orange); border: none; border-radius: var(--radius); font-size: 12px; font-weight: 600; color: var(--white); transition: var(--transition); }
.btn-open-demo:hover { background: var(--orange-hover); }

.code-snippet { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; }
.cs-label { padding: 6px 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.3); border-bottom: 1px solid rgba(255,255,255,0.06); }
.code-snippet pre { padding: 12px; }
.code-snippet code { background: transparent; border: none; color: rgba(255,255,255,0.7); font-size: 12px; line-height: 1.7; white-space: pre; }

/* Source viewer */
.contract-source-col { display: flex; flex-direction: column; overflow: hidden; }
.source-viewer { display: flex; flex-direction: column; height: 100%; }
.source-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.source-filename { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--orange); }
.source-lines { font-size: 11px; color: rgba(255,255,255,0.3); font-family: var(--mono); }
.source-pre { flex: 1; overflow: auto; padding: 20px; margin: 0; background: transparent; max-height: 640px; }
.source-pre code { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.75; white-space: pre; background: transparent; border: none; padding: 0; }

/* ── STATUS TABLE ── */
.status-section { padding: 96px 0; background: var(--white); }
.status-table { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.st-row { display: grid; grid-template-columns: 2.2fr 1fr 1.4fr 1.2fr 1.6fr; border-bottom: 1px solid var(--gray-200); transition: background 0.15s; }
.st-row:last-child { border-bottom: none; }
.st-row:not(.st-header):hover { background: var(--gray-50); }
.st-header { background: var(--gray-50); }
.st-header .st-c { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); padding: 12px 20px; }
.st-c { padding: 16px 20px; display: flex; align-items: center; border-right: 1px solid var(--gray-200); }
.st-c:last-child { border-right: none; }
.st-name { gap: 12px; }
.st-icon { width: 34px; height: 34px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.st-orange { background: var(--orange-light); color: var(--orange); border: 1px solid var(--orange-border); }
.st-gray { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }
.st-title { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 2px; }
.st-sub { font-size: 11px; color: var(--gray-500); }
.spill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.spill-green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.spill-orange { background: var(--orange-light); color: var(--orange); border: 1px solid var(--orange-border); }
.spill-gray { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }
.st-link { font-size: 12px; font-weight: 600; color: var(--orange); transition: color 0.15s; }
.st-link:hover { color: var(--orange-hover); text-decoration: underline; }
.st-chains { gap: 5px; flex-wrap: wrap; }
.ctag { padding: 2px 7px; background: var(--orange-light); border: 1px solid var(--orange-border); border-radius: var(--radius); font-size: 10px; font-weight: 600; color: var(--orange); white-space: nowrap; }

/* ── ABOUT / GRANT ── */
.about { padding: 96px 0; background: var(--black); }
.about .section-eyebrow { color: var(--orange); }
.about-title { color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-content p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 28px; }
.about-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.about-point { display: flex; align-items: flex-start; gap: 10px; }
.ap-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.about-point span { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.55; }
.btn-grant { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; background: var(--orange); border-radius: var(--radius-lg); font-size: 13px; font-weight: 600; color: var(--white); transition: var(--transition); }
.btn-grant:hover { background: var(--orange-hover); box-shadow: 0 4px 14px rgba(249,115,22,0.4); }

.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acard { background: var(--black-3); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-xl); padding: 24px; transition: var(--transition); }
.acard:hover { border-color: rgba(249,115,22,0.3); }
.acard-num { font-size: 36px; font-weight: 800; color: var(--orange); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.acard-label { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.acard-sub { font-size: 11px; color: rgba(255,255,255,0.35); }

/* ── CTA ── */
.cta { padding: 80px 40px; background: var(--orange); text-align: center; }
.cta-inner { max-width: 520px; margin: 0 auto; }
.cta h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 10px; }
.cta p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-cta-primary { padding: 12px 24px; background: var(--white); border-radius: var(--radius-lg); font-size: 14px; font-weight: 700; color: var(--orange); transition: var(--transition); }
.btn-cta-primary:hover { background: var(--orange-light); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.btn-cta-secondary { padding: 11px 24px; background: transparent; border: 2px solid rgba(255,255,255,0.4); border-radius: var(--radius-lg); font-size: 14px; font-weight: 700; color: var(--white); transition: var(--transition); }
.btn-cta-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── FOOTER ── */
.footer { background: var(--black); padding: 56px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px 48px; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-logo .logo-camel { width: 36px; height: 24px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 220px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.fc-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 40px; max-width: 1200px; margin: 0 auto; }
.footer-bottom span { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .contract-panel-layout { grid-template-columns: 1fr; }
  .contract-info-col { max-height: none; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .source-pre { max-height: 400px; }
  .rayls-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .st-row { grid-template-columns: 1.8fr 1fr 1.2fr; }
  .st-row .st-c:nth-child(4), .st-row .st-c:nth-child(5) { display: none; }
  .st-header .st-c:nth-child(4), .st-header .st-c:nth-child(5) { display: none; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 12px; padding: 16px; }
  .stat-sep { width: 40px; height: 1px; }
  .hero-stat { padding: 0; }
  .network-strip-inner, .section-inner { padding: 0 20px; }
  .why-rayls, .products, .contracts-section, .status-section, .about { padding: 64px 0; }
  .rayls-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contract-tabs { overflow-x: auto; }
  .ctab { white-space: nowrap; }
  .status-table { overflow-x: auto; }
  .st-row { min-width: 500px; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .cta { padding: 56px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { padding: 20px; }
}

/* ── ROADMAP ── */
.roadmap { padding: 96px 0; background: var(--white); }

.roadmap-phases { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden; }

.rphase { border-bottom: 1px solid var(--gray-200); }
.rphase:last-child { border-bottom: none; }

.rphase-header {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 28px; flex-wrap: wrap;
}
.rphase-badge {
  padding: 3px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap; flex-shrink: 0;
}
.rphase-badge-done     { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.rphase-badge-active   { background: var(--orange-light); color: var(--orange); border: 1px solid var(--orange-border); }
.rphase-badge-upcoming { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }

.rphase-title { font-size: 15px; font-weight: 700; color: var(--black); flex: 1; }
.rphase-date  { font-size: 12px; font-weight: 600; color: var(--gray-500); font-family: var(--mono); }

.rphase-done   { background: var(--white); }
.rphase-active { background: #FFFBF7; }
.rphase-upcoming { background: var(--gray-50); }

.rphase-items {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-top: 1px solid var(--gray-200);
}

.ritem {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 28px; border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.ritem:nth-child(even) { border-right: none; }
.ritem:nth-last-child(-n+2) { border-bottom: none; }

.ritem-check {
  font-size: 13px; font-weight: 800; color: var(--green);
  flex-shrink: 0; margin-top: 1px; width: 18px;
}
.ritem-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0; margin-top: 4px;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.ritem-dot-gray { background: var(--gray-300); box-shadow: none; }

.ritem-name { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.ritem-desc { font-size: 12px; color: var(--gray-500); line-height: 1.55; }

.ritem-done .ritem-name     { color: var(--black); }
.ritem-active .ritem-name   { color: var(--black); }
.ritem-upcoming .ritem-name { color: var(--gray-600); }

@media (max-width: 768px) {
  .rphase-items { grid-template-columns: 1fr; }
  .ritem { border-right: none; }
  .ritem:nth-last-child(-n+2) { border-bottom: 1px solid var(--gray-200); }
  .ritem:last-child { border-bottom: none; }
  .roadmap { padding: 64px 0; }
}
