/* =============================================
   RoraLabs — style.css
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --bg:         #0a0a0f;
  --bg2:        #111118;
  --bg3:        #16161f;
  --violet:     #8A2BE2;
  --violet-dk:  #6a1ab0;
  --cyan:       #00FFFF;
  --amber:      #FF8C00;
  --text:       #f0f0f5;
  --text-muted: #888899;
  --gradient:   linear-gradient(135deg, #8A2BE2 0%, #00FFFF 50%, #FF8C00 100%);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ---------- Gradient Text Utility ---------- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Label ---------- */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(138, 43, 226, 0.15);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon { flex-shrink: 0; display: block; }

.nav-logo .logo-rora { color: var(--text); }
.nav-logo .logo-labs {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
  background: var(--violet);
  color: #fff;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-nav:hover {
  transform: scale(1.02) translateY(-1px);
  box-shadow: 0 8px 28px rgba(138, 43, 226, 0.45);
  background: #9d3ef5;
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(138, 43, 226, 0.15);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--cyan); }

.mobile-nav .btn-nav { width: 100%; text-align: center; margin-top: 0.5rem; }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(138, 43, 226, 0.12);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Hero H1 */
.hero-h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-h1 .accent { display: inline-block; }

/* Hero subtitle */
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* CTA group */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--violet);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 12px 36px rgba(138, 43, 226, 0.5);
  background: #9d3ef5;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.btn-secondary:hover {
  transform: scale(1.02) translateY(-2px);
  border-color: rgba(0, 255, 255, 0.4);
  background: rgba(0, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 255, 255, 0.1);
}

/* ---------- Scroll-reveal base ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Section Base ---------- */
section {
  padding: 100px 2rem;
}

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

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Products ---------- */
#products {
  background: var(--bg2);
}

/* ─── Showcase Grid ─── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.showcase-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(138,43,226,0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.showcase-card:hover {
  border-color: rgba(138,43,226,0.55);
  box-shadow: 0 24px 60px rgba(138,43,226,0.18), 0 0 30px rgba(0,255,255,0.06);
}
.showcase-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.showcase-card:hover::before { opacity: 1; }

.showcase-preview {
  height: 170px;
  background: #0c0c18;
  border-bottom: 1px solid rgba(138, 43, 226, 0.08);
  overflow: hidden;
  position: relative;
}

.showcase-info {
  padding: 1.25rem 1.5rem;
}
.showcase-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.showcase-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

/* ─── Preview: SaaS / Web App (browser mockup) ─── */
.prev-saas { display: flex; flex-direction: column; }
.ps-bar {
  background: #08080f;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.ps-bar > span {
  width: 7px; height: 7px; border-radius: 50%;
}
.ps-bar > span:nth-child(1) { background: #ff5f57; }
.ps-bar > span:nth-child(2) { background: #febc2e; }
.ps-bar > span:nth-child(3) { background: #28c840; }
.ps-url {
  flex: 1; height: 12px; margin-left: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
}
.ps-body { display: flex; flex: 1; }
.ps-sidebar {
  width: 36px;
  background: #06060e;
  border-right: 1px solid rgba(255,255,255,0.04);
  padding: 8px 6px;
  display: flex; flex-direction: column; gap: 7px;
}
.ps-nav {
  height: 7px; border-radius: 3px;
  background: rgba(255,255,255,0.06);
}
.ps-nav.active {
  background: rgba(138,43,226,0.6);
  box-shadow: 0 0 6px rgba(138,43,226,0.3);
}
.ps-main {
  flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px;
}
.ps-bars {
  display: flex; align-items: flex-end; gap: 5px; height: 62px;
}
.ps-bar-col {
  flex: 1; border-radius: 3px 3px 0 0;
  background: rgba(138,43,226,0.38);
}
.ps-bar-col:nth-child(even) { background: rgba(0,255,255,0.28); }
.ps-rows { display: flex; flex-direction: column; gap: 5px; }
.ps-row  { display: flex; gap: 5px; }
.ps-row div {
  height: 8px; border-radius: 2px;
  background: rgba(255,255,255,0.06); flex: 1;
}
.ps-row div:first-child { flex: 0.5; }

/* ─── Preview: Mobile App (phone mockup) ─── */
.prev-mobile { display: flex; align-items: center; justify-content: center; }
.pm-phone {
  width: 88px; height: 152px;
  border-radius: 20px;
  border: 2px solid rgba(138,43,226,0.4);
  background: #07070f;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 0 28px rgba(138,43,226,0.2), 0 8px 28px rgba(0,0,0,0.5);
}
.pm-notch {
  width: 30px; height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 0 0 4px 4px;
  margin: 0 auto; flex-shrink: 0;
}
.pm-screen {
  flex: 1; display: flex; flex-direction: column;
  padding: 6px 6px 0; gap: 5px;
}
.pm-header {
  height: 14px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(138,43,226,0.55), rgba(0,255,255,0.35));
}
.pm-cards { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pm-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 5px; padding: 4px 5px;
  display: flex; align-items: center; gap: 5px;
}
.pm-card-icon { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.ci-violet { background: rgba(138,43,226,0.55); }
.ci-cyan   { background: rgba(0,255,255,0.4); }
.ci-amber  { background: rgba(255,140,0,0.45); }
.pm-card-lines { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pm-card-lines div { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.07); }
.pm-card-lines div:last-child { width: 60%; }
.pm-tab-bar {
  display: flex; justify-content: space-around;
  padding: 5px 4px; border-top: 1px solid rgba(255,255,255,0.05); flex-shrink: 0;
}
.pm-tab {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.pm-tab.active {
  background: rgba(138,43,226,0.65);
  box-shadow: 0 0 8px rgba(138,43,226,0.5);
}

/* ─── Preview: Analytics Dashboard ─── */
.prev-dash { padding: 12px 14px 0; display: flex; flex-direction: column; gap: 10px; }
.pd-metrics { display: flex; gap: 8px; }
.pd-metric {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px; padding: 6px 8px;
}
.pd-num { height: 10px; border-radius: 3px; margin-bottom: 4px; }
.pdn-violet { background: rgba(138,43,226,0.65); width: 72%; }
.pdn-cyan   { background: rgba(0,255,255,0.5);   width: 55%; }
.pdn-amber  { background: rgba(255,140,0,0.55);  width: 66%; }
.pd-label { height: 6px; border-radius: 2px; background: rgba(255,255,255,0.06); width: 80%; }
.pd-chart { flex: 1; }

/* ─── Preview: E-commerce ─── */
.prev-ecom { padding: 12px; }
.pe-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px; height: 146px;
}
.pe-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
}
.pe-featured { border-color: rgba(0,255,255,0.22); background: rgba(0,255,255,0.04); }
.pe-img { flex: 1; min-height: 44px; background: linear-gradient(135deg, rgba(138,43,226,0.22), rgba(0,255,255,0.12)); }
.pe-featured .pe-img { background: linear-gradient(135deg, rgba(0,255,255,0.28), rgba(138,43,226,0.15)); }
.pe-info { padding: 5px 6px; }
.pe-info > div:first-child {
  height: 5px; border-radius: 2px;
  background: rgba(255,255,255,0.08); width: 80%; margin-bottom: 3px;
}
.pe-price { height: 5px; width: 40%; border-radius: 2px; background: rgba(0,255,255,0.45); }

/* ─── Preview: Automation / Flow ─── */
.prev-flow {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; padding: 18px 12px;
}
.pf-row { display: flex; align-items: center; gap: 0; justify-content: center; width: 100%; }
.pf-node {
  padding: 5px 10px; border-radius: 6px;
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); border: 1px solid; white-space: nowrap;
}
.pf-trigger {
  background: rgba(138,43,226,0.16); border-color: rgba(138,43,226,0.45);
  box-shadow: 0 0 12px rgba(138,43,226,0.2);
}
.pf-process {
  background: rgba(0,255,255,0.1); border-color: rgba(0,255,255,0.38);
  box-shadow: 0 0 12px rgba(0,255,255,0.15);
}
.pf-output {
  background: rgba(255,140,0,0.12); border-color: rgba(255,140,0,0.38);
  box-shadow: 0 0 12px rgba(255,140,0,0.15);
}
.pf-line {
  width: 18px; height: 1px; background: rgba(255,255,255,0.14); flex-shrink: 0;
  position: relative;
}
.pf-line::after {
  content: '';
  position: absolute; right: -1px; top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: rgba(255,255,255,0.2); border-right: none;
}
.pf-branches { display: flex; gap: 14px; }
.pf-branch { display: flex; align-items: center; gap: 5px; }
.pf-bdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,255,255,0.45); border: 1px solid rgba(0,255,255,0.65); flex-shrink: 0; }
.pf-bline { width: 18px; height: 1px; background: rgba(255,255,255,0.1); }
.pf-btag { height: 14px; width: 36px; border-radius: 3px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }

/* ─── Preview: AI / Chatbot ─── */
.prev-ai { padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.pa-chat { display: flex; flex-direction: column; gap: 8px; }
.pa-msg { display: flex; align-items: flex-end; gap: 6px; }
.pa-user { justify-content: flex-end; }
.pa-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, #8A2BE2, #00FFFF); flex-shrink: 0;
}
.pa-bubble {
  height: 14px; width: 100px; border-radius: 10px 10px 2px 10px;
  background: rgba(138,43,226,0.35); border: 1px solid rgba(138,43,226,0.2);
}
.pa-ai .pa-bubble {
  border-radius: 10px 10px 10px 2px;
  background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.06);
  width: 118px;
}
.pa-long  { width: 130px; }
.pa-short { width: 68px; }
.pa-dots {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px 10px 10px 2px; padding: 6px 10px;
}
.pa-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,255,255,0.65);
  animation: typing-dot 1.2s ease-in-out infinite;
}
.pa-dots span:nth-child(2) { animation-delay: 0.2s; }
.pa-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: rgba(138, 43, 226, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

/* ---------- Stats Bar ---------- */
#stats {
  padding: 60px 2rem;
  background: var(--bg);
  border-top: 1px solid rgba(138, 43, 226, 0.08);
  border-bottom: 1px solid rgba(138, 43, 226, 0.08);
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  min-width: 220px;
  text-align: center;
  padding: 1.5rem 2rem;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(138, 43, 226, 0.2);
}

.stat-number {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- About ---------- */
#about {
  background: var(--bg2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.feature-pill::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid rgba(0, 255, 255, 0.35);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2300FFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* About visual panel */
.about-visual {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  background: var(--bg3);
  border: 1px solid rgba(138, 43, 226, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-orb {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(50px);
  opacity: 0.25;
  animation: drift1 8s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

.about-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 43, 226, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 43, 226, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-card-float {
  position: absolute;
  background: rgba(22, 22, 31, 0.92);
  border: 1px solid rgba(138, 43, 226, 0.25);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(8px);
}

.about-card-float.card-top {
  top: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about-card-float.card-bottom {
  bottom: 2rem;
  left: 2rem;
}

.about-card-float .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Contact ---------- */
#contact {
  background: var(--bg);
}

.contact-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid rgba(138, 43, 226, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2rem;
  transition: opacity var(--transition);
}

.contact-email-link:hover { opacity: 0.75; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(138, 43, 226, 0.15);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(138, 43, 226, 0.5);
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

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

.btn-submit {
  width: 100%;
  background: var(--violet);
  color: #fff;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 12px 36px rgba(138, 43, 226, 0.45);
  background: #9d3ef5;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg2);
  border-top: 1px solid rgba(138, 43, 226, 0.12);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Magnetic Cursor ---------- */
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual { height: 300px; }

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

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  section { padding: 70px 1.25rem; }

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

  .stats-grid { flex-direction: column; gap: 0; }

  .stat-item + .stat-item::before {
    top: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: rgba(138, 43, 226, 0.2);
  }

  .hero-ctas { flex-direction: column; align-items: center; }

  .contact-wrapper { padding: 2rem 1.5rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 2.4rem; }
  .section-header h2 { font-size: 1.75rem; }
}

/* ---------- Showreel (merged into hero) ---------- */
.showreel-wrap,
.showreel-header {
  position: relative;
  z-index: 2;
}

.showreel-header {
  margin-top: 2rem;
  text-align: center;
}

.showreel-wrap {
  max-width: 460px;
  margin: 3rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(138,43,226,0.3);
  box-shadow: 0 0 60px rgba(138,43,226,0.12), 0 0 20px rgba(0,255,255,0.06);
  position: relative;
}

.showreel-video {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
  background: #0a0a0f;
}

@media (max-width: 768px) {
  .showreel-wrap { border-radius: var(--radius); }
}

/* ---------- Try Iris Nav Button ---------- */
.btn-iris-nav {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(135deg, rgba(138,43,226,0.25) 0%, rgba(0,255,255,0.15) 100%);
  border: 1px solid rgba(138,43,226,0.45);
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-iris-nav:hover {
  background: linear-gradient(135deg, rgba(138,43,226,0.45) 0%, rgba(0,255,255,0.3) 100%);
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0,255,255,0.35);
  color: var(--text);
}

.btn-iris-nav.iris-active {
  background: linear-gradient(135deg, #8A2BE2 0%, #00FFFF 100%);
  border-color: transparent;
  color: #0a0a0f;
}

@keyframes iris-flash {
  0%   { box-shadow: 0 0 0 0 rgba(0,255,255,0.7); }
  50%  { box-shadow: 0 0 0 12px rgba(0,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,255,255,0); }
}

.btn-iris-nav.iris-flash {
  animation: iris-flash 0.38s ease forwards;
}

/* Mobile nav Try Iris */
.mobile-nav .btn-iris-nav {
  align-self: center;
  margin-top: 0.25rem;
}
