/* =============================================
   SyncDEV — Landing Page Styles (Upgraded)
   Theme: Dark. Dense. Premium. Animated.
   ============================================= */

/* Google Fonts loaded via <link> in HTML */

:root {
  --font-primary: 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Base palette */
  --bg-base:       #050505;
  --bg-surface:    #0a0a0a;
  --bg-elevated:   #111116;
  --bg-overlay:    rgba(255,255,255,0.05);

  /* Borders */
  --border-subtle: rgba(255,255,255,0.07);
  --border-light:  rgba(255,255,255,0.12);

  /* Typography */
  --text-primary:  #f4f4f5;
  --text-secondary:#a1a1aa;
  --text-muted:    #52525b;

  /* Accent */
  --accent:        #7c3aed;
  --accent-blue:   #2563eb;
  --accent-cyan:   #06b6d4;
  --accent-hover:  #6d28d9;
  --accent-dim:    rgba(124,58,237,0.12);
  --accent-glow:   rgba(124,58,237,0.2);

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   GLOBAL UTILITIES
   ============================================================ */

.label-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.text-center { text-align: center; }

/* Gradient texts */
.text-shimmer {
  background: linear-gradient(90deg, #fff 0%, #7c3aed 25%, #2563eb 50%, #06b6d4 75%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s linear infinite;
}

.gradient-text-violet {
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes textShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* Glass panel */
.glass-panel {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Gradient border */
.gradient-border {
  position: relative;
  border-radius: var(--radius-lg);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4, #7c3aed);
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask:         linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* Grid background */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

/* ============================================================
   NOISE OVERLAY
   ============================================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-circle {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.19,1,0.22,1),
              height 0.4s cubic-bezier(0.19,1,0.22,1),
              background 0.4s, border-color 0.4s, opacity 0.3s;
}

body.hover-active .cursor-circle {
  width: 80px;
  height: 80px;
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.4);
}

/* ============================================================
   SPOTLIGHT
   ============================================================ */
.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.spotlight-inner {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, rgba(37,99,235,0.08) 30%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
}

/* ============================================================
   LOADER
   ============================================================ */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.loader-bar-track {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 92%;
  max-width: 768px;
}

.nav-inner {
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: #000;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  align-items: center;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 4%;
  right: 4%;
  z-index: 99;
  background: rgba(9,9,11,0.97);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.mobile-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 8px;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s;
}

.mobile-nav-link:hover { color: var(--text-primary); }

.mobile-nav-cta {
  margin-top: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: background 0.2s;
}

.mobile-nav-cta:hover { background: var(--accent-hover); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

/* Aurora blobs */
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  mix-blend-mode: screen;
  animation: auroraMove 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes auroraMove {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 15px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Floating shapes */
.float-shape { position: absolute; pointer-events: none; opacity: 0.18; }
.float-1 { animation: float1 6s ease-in-out infinite; }
.float-2 { animation: float2 5s ease-in-out infinite 0.5s; }
.float-3 { animation: float3 7s ease-in-out infinite 1s; }

@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(2deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-15px) rotate(-2deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-25px); }
}

/* Orbit system */
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 1;
}

.orbit-1, .orbit-2, .orbit-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(1px);
}

.orbit-1 { animation: orbit 12s linear infinite; }
.orbit-2 { animation: orbit2 9s linear infinite; }
.orbit-3 { animation: orbit3 15s linear infinite; }

@keyframes orbit  {
  0%   { transform: rotate(0deg)   translateX(120px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes orbit2 {
  0%   { transform: rotate(120deg)  translateX(90px) rotate(-120deg); }
  100% { transform: rotate(480deg)  translateX(90px) rotate(-480deg); }
}
@keyframes orbit3 {
  0%   { transform: rotate(240deg) translateX(150px) rotate(-240deg); }
  100% { transform: rotate(600deg) translateX(150px) rotate(-600deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 10px;
  margin-bottom: 28px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Hero heading */
.hero-h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

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

.hero-subtext {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-subtext strong {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: #000;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.4s, color 0.4s, transform 0.2s, box-shadow 0.4s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(124,58,237,0.25);
}

.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 13px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), background 0.4s, color 0.4s, box-shadow 0.4s;
}

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-stack { display: flex; }

.avatar-stack img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  object-fit: cover;
  margin-left: -8px;
  filter: grayscale(1);
  transition: filter 0.4s;
}
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack img:hover { filter: grayscale(0); }

.avatar-count {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  background: rgba(124,58,237,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #a78bfa;
  margin-left: -8px;
}

.social-proof-text {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* Code editor */
.hero-editor-wrap {
  position: relative;
}

.code-editor-frame {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
}

.code-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
}

.window-dots { display: flex; gap: 6px; }

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red   { background: #ef4444; opacity: 0.75; }
.window-dot.amber { background: #f59e0b; opacity: 0.75; }
.window-dot.green { background: #22c55e; opacity: 0.75; }

.file-tab {
  font-size: 10px;
  color: var(--text-muted);
}

.code-editor-body { padding: 20px; }

.code-line {
  display: flex;
  gap: 16px;
  border-radius: 4px;
  transition: background 0.3s, padding-left 0.3s;
}

.code-line.active {
  background: rgba(124,58,237,0.1);
  padding-left: 6px;
}

.line-num {
  color: var(--text-muted);
  opacity: 0.35;
  min-width: 24px;
  text-align: right;
  user-select: none;
}

.code-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
}

.status-ok {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #22c55e;
  font-family: var(--font-mono);
}

.status-ok-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

/* Editor floating badges */
.editor-badge {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-icon.green  { background: rgba(34,197,94,0.15); }
.badge-icon.violet { background: rgba(124,58,237,0.15); }

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-indicator-box {
  width: 20px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator-dot {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: var(--radius-full);
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-section {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}
.marquee-fade-left  { left: 0;  background: linear-gradient(to right, var(--bg-base), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(to left,  var(--bg-base), transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 28px;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-logo {
  height: 18px;
  opacity: 0.2;
  filter: grayscale(1);
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.marquee-logo:hover { opacity: 0.6; }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
}

.text-center .section-header p,
.section-header.text-center p {
  margin: 0 auto;
}

/* ============================================================
   FEATURES
   ============================================================ */
#features {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

.features-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(124,58,237,0.07);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Tilt card */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
}

.tilt-content { transform: translateZ(20px); }
.tilt-icon    { transform: translateZ(40px); }

.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255,255,255,0.1) 0%,
    transparent 60%
  );
}
.tilt-card:hover .tilt-glare { opacity: 1; }

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s, border-color 0.5s, transform 0.4s;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124,58,237,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-light);
}

.feature-card:hover::after { opacity: 1; }

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--icon-from, rgba(124,58,237,0.2)), var(--icon-to, rgba(124,58,237,0.05)));
  border: 1px solid var(--icon-border, rgba(124,58,237,0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: transform 0.4s;
}

.feature-card:hover .feature-card-icon { transform: scale(1.1) translateZ(40px); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.card-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-top: 24px;
  opacity: 0;
  transition: opacity 0.4s, gap 0.3s;
}

.feature-card:hover .card-arrow { opacity: 1; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.hiw-glow {
  position: absolute;
  bottom: 0;
  left: 33%;
  width: 600px;
  height: 400px;
  background: rgba(37,99,235,0.05);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 48px;
}

.hidden-connector {
  display: none;
  position: absolute;
  top: 32px;
  left: 16.67%;
  right: 16.67%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.step-item {
  text-align: left;
}

.step-num-badge {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.step-violet { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.step-blue   { background: linear-gradient(135deg, #2563eb, #1e40af); }
.step-cyan   { background: linear-gradient(135deg, #06b6d4, #0e7490); }

.step-glow {
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  filter: blur(20px);
  z-index: -1;
}

.step-item h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ============================================================
   DASHBOARD PREVIEW
   ============================================================ */
#preview {
  padding: 112px 0;
}

.preview-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  group: true;
}

.spin-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.spin-ring-1 {
  width: 256px;
  height: 256px;
  border: 1px solid rgba(124,58,237,0.1);
  top: -80px;
  right: -80px;
  animation: spin 10s linear infinite;
}

.spin-ring-2 {
  width: 176px;
  height: 176px;
  border: 1px solid rgba(37,99,235,0.1);
  top: -40px;
  right: -40px;
  animation: spin 15s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.preview-img-wrap img {
  width: 100%;
  height: clamp(280px, 40vw, 580px);
  object-fit: cover;
  display: block;
  filter: grayscale(40%) brightness(0.65);
  transition: filter 0.8s, transform 0.8s;
}

.preview-img-wrap:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.02);
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-base) 0%, rgba(5,5,5,0.5) 35%, transparent 65%);
}

.preview-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
}

.preview-caption h3 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
  color: var(--text-primary);
  line-height: 1.15;
}

.preview-caption p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  max-width: 440px;
}

.preview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color 0.3s, gap 0.3s;
}

.preview-link:hover {
  color: #a78bfa;
  gap: 10px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-glow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 400px;
  height: 400px;
  background: rgba(124,58,237,0.05);
  border-radius: 50%;
  filter: blur(120px);
  transform: translateY(-50%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 0.4s, border-color 0.4s;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-light);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-attribution img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  filter: grayscale(40%);
}

.attribution-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.attribution-role {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   CTA
   ============================================================ */
#cta {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

.cta-glow-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(124,58,237,0.1);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 0.8; transform: translate(-50%,-50%) scale(1.05); }
}

.cta-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  pointer-events: none;
}

.cta-ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(124,58,237,0.08);
}

.ring-1 { width: 600px; height: 600px; animation: spin 10s linear infinite; }
.ring-2 { width: 440px; height: 440px; animation: spin 15s linear infinite reverse; }
.ring-3 { width: 280px; height: 280px; animation: spin 20s linear infinite; }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-bottom: 28px;
}

.cta-h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.cta-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 44px;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-footnote {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 220px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); }

.footer-legal { display: flex; gap: 20px; }

.footer-legal a {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora-blob, .float-1, .float-2, .float-3,
  .orbit-1, .orbit-2, .orbit-3, .marquee-track { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 1024px) {
  .hidden-connector { display: block; }
}

@media (max-width: 1024px) {
  .hero-content {
    gap: 48px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-circle, .spotlight { display: none; }

  /* Nav */
  .nav-links        { display: none; }
  .nav-mobile-toggle { display: flex; }
  #navbar           { top: 16px; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 90px 20px 64px;
    text-align: center;
  }
  .hero-text .status-pill { margin-left: auto; margin-right: auto; }
  .hero-subtext { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .aurora-blob { display: none; }
  .orbit-center { display: none; }
  .float-shape { display: none; }
  .badge-wrapper { display: none; }

  /* Sections */
  #features, #how-it-works, #preview, #testimonials, #cta { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }

  .features-grid     { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: 1fr; gap: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; margin-top: 36px; }

  .preview-caption { padding: 24px 20px; }
  .preview-caption p { max-width: 100%; }

  .cta-h2 { font-size: clamp(36px, 10vw, 56px); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .section-inner      { padding: 0 16px; }
  .hero-content       { padding: 80px 16px 48px; }
  .hero-h1            { font-size: 38px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .footer-grid        { grid-template-columns: 1fr; }
  .cta-actions        { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   SPA VIEW TOGGLES & DASHBOARD INTEGRATION
   ============================================================ */

body.dashboard-active .landing-page-component {
  display: none !important;
}
body:not(.dashboard-active) .dashboard-component {
  display: none !important;
}

/* Scrollbars for dashboard */
.dashboard-component ::-webkit-scrollbar { width: 5px; height: 5px; }
.dashboard-component ::-webkit-scrollbar-track { background: transparent; }
.dashboard-component ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
.dashboard-component ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Dashboard forms and controls */
.glass-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  font-family: var(--font-primary);
  outline: none;
}
.glass-input:focus {
  border-color: var(--accent);
  background: rgba(124,58,237,0.05);
  box-shadow: 0 0 12px rgba(124,58,237,0.15);
}

/* Circular progress ring */
.progress-ring-circle {
  transition: stroke-dashoffset 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* Tab panels */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Sidebar navigation */
aside.sidebar nav button.active {
  background: var(--accent-dim) !important;
  color: var(--text-primary) !important;
  border-left: 2px solid var(--accent);
}

/* Radar pulse */
@keyframes radarPulse {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.radar-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0;
  animation: radarPulse 2s infinite;
}

/* Checkbox */
.custom-checkbox {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.custom-checkbox.checked {
  background: var(--accent);
  border-color: var(--accent);
}

.custom-checkbox i { font-size: 10px; color: #fff; display: none; }
.custom-checkbox.checked i { display: block; }

/* Welcome card gradient border */
.grad-border {
  position: relative;
}

.grad-border::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(37,99,235,0.08), transparent, rgba(6,182,212,0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask:         linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* AI compiler logs */
#roadmap-compiling-state {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
}

#compiler-log::-webkit-scrollbar { width: 4px; }
#compiler-log::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 2px; }

/* Hide scrollbars for sidebar lists */
aside.sidebar nav::-webkit-scrollbar { display: none; }
aside.sidebar nav { -ms-overflow-style: none; scrollbar-width: none; }

/* Responsive adjustments for SPA dashboard */
@media (min-width: 1024px) {
  .dashboard-shell {
    display: flex;
    min-height: 100dvh;
  }

  aside.sidebar {
    width: 240px;
    min-width: 240px;
    min-height: 100dvh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    flex-shrink: 0;
  }

  .dashboard-main {
    flex: 1;
    min-width: 0;
    max-height: 100dvh;
    overflow-y: auto;
  }
}

@media (max-width: 1023px) {
  .dashboard-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }

  aside.sidebar {
    width: 100%;
    overflow: hidden;
  }

  .dashboard-main {
    flex: 1;
    overflow-y: auto;
  }

  #sidebar-profile-card {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .dashboard-main { padding: 16px !important; }
}

/* ── Credits Card Section ── */
#credits {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#credits .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* ── Particles ── */
.credit-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: credit-particle-rise linear infinite;
}
@keyframes credit-particle-rise {
  0%   { transform: translateY(250px) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-250px) scale(1); opacity: 0; }
}

/* ── Main card ── */
.credit-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
  padding: 3px;
  border-radius: 24px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    #6366f1, #a855f7, #ec4899, #6366f1, #a855f7, #ec4899, #6366f1
  );
  animation: border-spin 4s linear infinite;
  transition: transform 0.1s ease-out;
}
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes border-spin {
  to { --border-angle: 360deg; }
}
.credit-card-inner {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 22px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.credit-card-inner::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 50%);
  pointer-events: none;
}

/* ── Shimmer line ── */
.shimmer-line {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.04) 45%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 55%,
    transparent 60%
  );
  animation: shimmer-sweep 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer-sweep {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

/* ── Avatar ring ── */
.avatar-ring {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: conic-gradient(
    from var(--ring-angle, 0deg),
    #6366f1, #a855f7, #ec4899, #6366f1
  );
  animation: ring-spin 3s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
@property --ring-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes ring-spin {
  to { --ring-angle: 360deg; }
}
.avatar-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0f172a;
}
.avatar-inner {
  position: relative;
  z-index: 2;
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* ── Glow pulse behind avatar ── */
.avatar-glow {
  position: absolute;
  width: 180px; height: 180px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* ── Text animations ── */
.text-made {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}
.text-name {
  font-size: 32px;
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.text-name .highlight {
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}
.text-role {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  margin-bottom: 32px;
}
.text-role .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: #6366f1;
  border-radius: 50%;
  margin: 0 10px;
  vertical-align: middle;
  animation: dot-blink 2s ease-in-out infinite;
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), rgba(168,85,247,0.3), transparent);
  margin-bottom: 28px;
}

/* ── Social links ── */
.social-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.social-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.social-btn.github::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.social-btn.linkedin::before {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.08));
}
.social-btn:hover::before { opacity: 1; }
.social-btn:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px -8px rgba(99,102,241,0.2);
}
.social-btn.github:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 12px 40px -8px rgba(255,255,255,0.1);
}
.social-btn.linkedin:hover {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 12px 40px -8px rgba(99,102,241,0.35);
}
.social-btn:active { transform: translateY(-1px) scale(0.98); }

.social-btn .icon-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  transition: transform 0.4s ease;
}
.social-btn:hover .icon-wrap { transform: scale(1.15); }
.social-btn .label {
  position: relative;
  z-index: 2;
}

/* ── Hover ripple on social ── */
.social-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: scale(0);
  animation: ripple-out 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-out {
  to { transform: scale(4); opacity: 0; }
}

/* ── Bottom tagline ── */
.tagline {
  margin-top: 28px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #475569;
}
.tagline .heart {
  color: #ec4899;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
  margin: 0 2px;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.25); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.15); }
  60%      { transform: scale(1); }
}

/* ── Floating orbiting dots ── */
.orbit-container {
  position: absolute;
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.orbit-dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  top: 50%; left: 50%;
  margin: -2px;
}
.orbit-dot:nth-child(1) {
  background: #6366f1;
  box-shadow: 0 0 8px #6366f1;
  animation: orbit1 6s linear infinite;
}
.orbit-dot:nth-child(2) {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
  animation: orbit2 8s linear infinite;
}
.orbit-dot:nth-child(3) {
  background: #ec4899;
  box-shadow: 0 0 8px #ec4899;
  animation: orbit3 10s linear infinite;
}
@keyframes orbit1 {
  from { transform: rotate(0deg)   translateX(95px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(95px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: rotate(120deg) translateX(80px) rotate(-120deg); }
  to   { transform: rotate(480deg) translateX(80px) rotate(-480deg); }
}
@keyframes orbit3 {
  from { transform: rotate(240deg) translateX(110px) rotate(-240deg); }
  to   { transform: rotate(600deg) translateX(110px) rotate(-600deg); }
}

/* ── Corner accents ── */
.corner-accent {
  position: absolute;
  width: 20px; height: 20px;
  pointer-events: none;
}
.corner-accent.tl { top: 16px; left: 16px; border-top: 1px solid rgba(99,102,241,0.3); border-left: 1px solid rgba(99,102,241,0.3); border-radius: 4px 0 0 0; }
.corner-accent.tr { top: 16px; right: 16px; border-top: 1px solid rgba(168,85,247,0.3); border-right: 1px solid rgba(168,85,247,0.3); border-radius: 0 4px 0 0; }
.corner-accent.bl { bottom: 16px; left: 16px; border-bottom: 1px solid rgba(236,72,153,0.3); border-left: 1px solid rgba(236,72,153,0.3); border-radius: 0 0 0 4px; }
.corner-accent.br { bottom: 16px; right: 16px; border-bottom: 1px solid rgba(99,102,241,0.3); border-right: 1px solid rgba(99,102,241,0.3); border-radius: 0 0 4px 0; }

@media (max-width: 560px) {
  .credit-card-inner { padding: 36px 24px; }
  .text-name { font-size: 26px; }
  .social-btn { padding: 12px 20px; font-size: 12px; }
  .social-row { gap: 10px; }
  .orbit-container { display: none; }
}
