/* ============================================
   VELA — AI Agency Design System
   Dark × Neon Turquoise
   ============================================ */

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

/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:           #04060f;
  --bg-2:         #080c1a;
  --bg-3:         #0c1224;
  --surface:      #0f1628;
  --surface-2:    #141c35;
  --border:       rgba(0,240,255,0.08);
  --border-hover: rgba(0,240,255,0.25);

  --cyan:         #00f0ff;
  --cyan-dim:     #00c4d4;
  --cyan-glow:    rgba(0,240,255,0.12);
  --cyan-glow-2:  rgba(0,240,255,0.25);

  --text-1: #e8f0ff;
  --text-2: #8896b3;
  --text-3: #4a5878;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --ease-out-expo: cubic-bezier(0.16,1,0.3,1);
  --ease-in-out:   cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SCROLLBAR ──────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 2px; }

/* ── SELECTION ──────────────────────────────── */
::selection { background: rgba(0,240,255,0.2); color: var(--cyan); }

/* ── NAVIGATION ─────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: rgba(4,6,15,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease-in-out);
}
.nav.scrolled { background: rgba(4,6,15,0.95); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.35rem; letter-spacing: -0.02em;
  color: var(--text-1);
}
.nav-logo img { width: 32px; height: 32px; object-fit: contain; filter: invert(1); }
.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--cyan);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-1); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-lang {
  display: flex; gap: 4px;
  background: var(--surface); border-radius: 6px;
  padding: 3px; border: 1px solid var(--border);
}
.nav-lang button {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 4px; color: var(--text-3);
  transition: all 0.2s;
}
.nav-lang button.active {
  background: var(--cyan); color: var(--bg);
}

.nav-cta {
  display: flex; align-items: center; gap: 1rem;
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 24px;
}
.nav-hamburger span {
  height: 1.5px; background: var(--text-1); border-radius: 2px;
  transition: all 0.3s;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 24px;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  border-radius: var(--radius-md); cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan); color: var(--bg);
  box-shadow: 0 0 20px rgba(0,240,255,0.3);
}
.btn-primary:hover {
  background: #1af5ff;
  box-shadow: 0 0 35px rgba(0,240,255,0.5);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
}

.btn-outline {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 12px rgba(0,240,255,0.1);
}
.btn-outline:hover {
  background: var(--cyan-glow);
  box-shadow: 0 0 24px rgba(0,240,255,0.25);
  transform: translateY(-1px);
}

.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

.btn svg, .btn .icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── SECTION LAYOUT ─────────────────────────── */
.section { padding: 100px 5%; }
.section-sm { padding: 60px 5%; }
.container { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan);
  background: rgba(0,240,255,0.06);
  border: 1px solid rgba(0,240,255,0.15);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.section-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s infinite;
}

.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--text-1);
}
.section-title em { font-style: normal; color: var(--cyan); }
.section-title .line-break { display: block; }

.section-subtitle {
  font-size: 1.05rem; color: var(--text-2); line-height: 1.7;
  max-width: 560px; margin-top: 16px;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 5% 80px;
}

.hero-canvas {
  position: absolute; inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute; z-index: 1;
  border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(0,240,255,0.07);
  top: -200px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(0,240,255,0.04);
  bottom: -100px; left: 10%;
}

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

.hero-text .eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-text .eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.04em; color: var(--text-1);
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--cyan); }
.hero-title .glitch { position: relative; display: inline-block; }

.hero-desc {
  font-size: 1.1rem; color: var(--text-2); line-height: 1.75;
  max-width: 480px; margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 60px;
}
.hero-stat {}
.hero-stat .number {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 800; color: var(--cyan); letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem; color: var(--text-3); margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.hero-card-stack {
  position: relative; width: 100%;
  aspect-ratio: 1/1.1;
  max-width: 460px;
}
.hero-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all 0.5s var(--ease-out-expo);
}
.hero-card-main {
  width: 85%; left: 7.5%;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  border-color: var(--border-hover);
  box-shadow: 0 0 60px rgba(0,240,255,0.08), 0 30px 60px rgba(0,0,0,0.5);
  padding: 32px;
}
.hero-card-float-1 {
  width: 55%; right: -10%; top: 10%;
  animation: float1 6s ease-in-out infinite;
}
.hero-card-float-2 {
  width: 50%; left: -8%; bottom: 15%;
  animation: float2 7s ease-in-out infinite;
}

/* ── CARDS ───────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease-out-expo);
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,240,255,0.06);
}

.card-icon {
  width: 52px; height: 52px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
}
.card-icon svg { width: 24px; height: 24px; }

.card-title {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 700; color: var(--text-1); margin-bottom: 10px;
}
.card-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 0.85rem; font-weight: 600;
  color: var(--cyan); transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }
.card-link svg { width: 16px; height: 16px; }

/* ── SERVICE CARDS ───────────────────────────── */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0); transition: transform 0.4s var(--ease-out-expo);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(0,240,255,0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.4), 0 0 50px rgba(0,240,255,0.08);
}

.service-number {
  font-family: var(--font-display); font-size: 3.5rem;
  font-weight: 800; color: rgba(0,240,255,0.06);
  line-height: 1; margin-bottom: -10px;
  transition: color 0.3s;
}
.service-card:hover .service-number { color: rgba(0,240,255,0.12); }

/* ── PAGE HERO ───────────────────────────────── */
.page-hero {
  padding: 160px 5% 100px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0,240,255,0.05) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }

/* ── DIVIDER ─────────────────────────────────── */
.divider {
  height: 1px; background: var(--border);
  margin: 0 5%;
}

/* ── FEATURE LIST ────────────────────────────── */
.feature-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--surface); border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.feature-item .check {
  width: 20px; height: 20px; flex-shrink: 0;
  background: var(--cyan-glow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); margin-top: 1px;
}
.feature-item .check svg { width: 12px; height: 12px; }
.feature-item p { font-size: 0.875rem; color: var(--text-2); }

/* ── PROCESS STEPS ───────────────────────────── */
.process-steps {
  display: flex; flex-direction: column; gap: 1px;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  left: 24px; top: 48px; bottom: 48px;
  width: 1px; background: var(--border);
}
.process-step {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 24px; align-items: start;
  padding: 24px 0;
  position: relative;
}
.step-num {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  color: var(--cyan); position: relative; z-index: 1;
}
.step-body { padding-top: 10px; }
.step-body h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; color: var(--text-1); margin-bottom: 8px;
}
.step-body p { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* ── TESTIMONIAL ─────────────────────────────── */
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-size: 5rem; line-height: 1;
  color: var(--cyan); opacity: 0.2;
  position: absolute; top: 12px; left: 28px;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 1rem; color: var(--text-1); line-height: 1.75;
  margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cyan-glow); border: 1px solid rgba(0,240,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--cyan);
  font-size: 0.9rem;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--text-1); }
.author-role { font-size: 0.8rem; color: var(--text-3); }

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 5% 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.25rem; color: var(--text-1); margin-bottom: 16px;
}
.footer-logo img { width: 28px; height: 28px; filter: invert(1); }
.footer-tagline { font-size: 0.875rem; color: var(--text-3); line-height: 1.65; max-width: 260px; }

.footer-col h4 {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.875rem; color: var(--text-3);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--text-3);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: all 0.2s;
}
.footer-social a:hover {
  border-color: var(--cyan); color: var(--cyan);
  background: var(--cyan-glow);
}
.footer-social svg { width: 16px; height: 16px; }

/* ── BADGE ───────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
}
.badge-cyan { background: rgba(0,240,255,0.1); color: var(--cyan); border: 1px solid rgba(0,240,255,0.2); }
.badge-green { background: rgba(0,255,150,0.1); color: #00fa96; border: 1px solid rgba(0,255,150,0.2); }

/* ── CTA SECTION ─────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px; text-align: center;
  margin: 0 5%;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,240,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-1); margin-bottom: 16px;
}
.cta-title em { font-style: normal; color: var(--cyan); }
.cta-sub { font-size: 1rem; color: var(--text-2); max-width: 500px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── GRID UTILITIES ──────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── MOBILE MENU ─────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(4,6,15,0.98);
  backdrop-filter: blur(20px);
  padding: 100px 5% 40px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--text-2);
  padding: 16px 0; border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--cyan); }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
  50% { opacity: 0.5; box-shadow: 0 0 3px var(--cyan); }
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  50% { transform: translate(-8px, -12px) rotate(-1deg); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(2deg); }
  50% { transform: translate(6px, -10px) rotate(4deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
.fade-in-up { animation: fadeInUp 0.7s var(--ease-out-expo) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-lang, .nav-cta .btn-ghost { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 70px 5%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-section { padding: 50px 28px; margin: 0 4%; }
  .feature-list { grid-template-columns: 1fr; }
}
