/* ═══════════════════════════════════════════════════════════════
   ishadev.tech — Main Stylesheet
   Design: Liquid Glass / Aurora Dark / Premium Futuristic
   Font stack: Syne (display) + DM Sans (body)
═══════════════════════════════════════════════════════════════ */

/* ─── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Colors */
  --bg:           #05050d;
  --bg-2:         #080814;
  --surface:      rgba(255, 255, 255, 0.03);
  --surface-2:    rgba(255, 255, 255, 0.06);
  --border:       rgba(255, 255, 255, 0.08);
  --border-2:     rgba(255, 255, 255, 0.14);

  /* Accent palette — electric violet + cyan */
  --accent:       #7c5cfc;
  --accent-light: #9b80fd;
  --accent-glow:  rgba(124, 92, 252, 0.35);
  --cyan:         #22d3ee;
  --cyan-glow:    rgba(34, 211, 238, 0.25);
  --indigo:       #4f46e5;

  /* Text */
  --text-primary:   #f0f0ff;
  --text-secondary: rgba(240, 240, 255, 0.55);
  --text-muted:     rgba(240, 240, 255, 0.32);

  /* Gradient stops */
  --grad-1: #7c5cfc;
  --grad-2: #22d3ee;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-gap: clamp(80px, 10vw, 140px);
  --container:   1200px;
  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  /* Glass */
  --glass-bg:     rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-blur:   20px;
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.06);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── 3. Animated Background ───────────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Aurora orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 700px; height: 700px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.45) 0%, transparent 70%);
  animation-delay: 0s;
  animation-duration: 22s;
}

.orb-2 {
  width: 600px; height: 600px;
  top: 20%; right: -150px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3) 0%, transparent 70%);
  animation-delay: -8s;
  animation-duration: 28s;
}

.orb-3 {
  width: 500px; height: 500px;
  bottom: 5%; left: 30%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.4) 0%, transparent 70%);
  animation-delay: -15s;
  animation-duration: 24s;
}

.orb-4 {
  width: 400px; height: 400px;
  top: 60%; right: 10%;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.25) 0%, transparent 70%);
  animation-delay: -5s;
  animation-duration: 30s;
}

@keyframes orbFloat {
  0%   { opacity: 0; transform: translate(0, 0) scale(1); }
  10%  { opacity: 1; }
  50%  { transform: translate(40px, -60px) scale(1.1); }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-20px, 30px) scale(0.95); }
}

/* Noise grain overlay */
.noise {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: noiseShift 8s steps(1) infinite;
}

@keyframes noiseShift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-5%, -10%); }
  30%  { transform: translate(3%, -5%); }
  50%  { transform: translate(-4%, 8%); }
  70%  { transform: translate(5%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Subtle grid lines */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

/* ─── 4. Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

main { position: relative; z-index: 1; }

/* ─── 5. Glass Card ─────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(124, 92, 252, 0.3);
  box-shadow: var(--glass-shadow), 0 0 40px rgba(124, 92, 252, 0.12);
  transform: translateY(-2px);
}

/* ─── 6. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s ease;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:active { transform: scale(0.97); }

/* Primary — gradient fill */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #5b3de8 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124, 92, 252, 0.45), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(124, 92, 252, 0.6), 0 1px 0 rgba(255,255,255,0.15) inset;
  transform: translateY(-1px);
}

/* Glass — transparent */
.btn-glass {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(124, 92, 252, 0.4);
  box-shadow: 0 0 20px rgba(124, 92, 252, 0.15);
}

/* Ghost */
.btn-ghost {
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text-primary); }

/* Sizes */
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }
.footer-link-icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 8px; }
.w-full { width: 100%; justify-content: center; }

/* ─── 7. Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: transform 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-shell {
  position: relative;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(10, 10, 22, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }

.logo-mark { color: var(--text-primary); }
.logo-dot { color: var(--accent); }
.logo-tld { color: var(--text-secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  margin-left: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
}
.nav-hamburger-icon { width: 20px; height: 20px; }
.nav-icon-close { display: none; }
.nav-hamburger[aria-expanded="true"] .nav-icon-menu { display: none; }
.nav-hamburger[aria-expanded="true"] .nav-icon-close { display: block; }

.nav-mobile {
  display: none;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(10,10,22,0.92);
  backdrop-filter: blur(18px);
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 8px; }
.mobile-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 8px; }

/* ─── 8. Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.25);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.title-line { display: block; }

.title-accent {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-item { display: flex; align-items: center; gap: 7px; }
.meta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.meta-dot--green {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2.5s ease-in-out infinite;
}
.meta-sep { opacity: 0.4; }

/* ─── Hero Visual (Code Card) ──────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 440px;
  padding: 0;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.82rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.card-dots { display: flex; gap: 7px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }

.card-title-bar {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: auto;
}

.card-code {
  padding: 20px 22px;
  line-height: 1.8;
}

.code-line { display: block; }
.code-line.pad { padding-left: 24px; }

.c-purple  { color: #c084fc; }
.c-blue    { color: #60a5fa; }
.c-green   { color: #4ade80; }
.c-yellow  { color: #facc15; }
.c-orange  { color: #fb923c; }
.c-white   { color: #e2e8f0; }
.c-comment { color: #4b5563; }

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.hero-card-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 350px; height: 350px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 92, 252, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── 9. Section Commons ────────────────────────────────────── */
.section {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── 10. Services ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.service-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-card--highlighted {
  border-color: rgba(124, 92, 252, 0.35);
  background: rgba(124, 92, 252, 0.06);
  box-shadow: var(--glass-shadow), 0 0 60px rgba(124, 92, 252, 0.15);
}
.service-card--highlighted:hover {
  box-shadow: var(--glass-shadow), 0 0 80px rgba(124, 92, 252, 0.25);
}

.service-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(124, 92, 252, 0.15);
  border: 1px solid rgba(124, 92, 252, 0.3);
  padding: 4px 12px;
  border-radius: 50px;
  width: fit-content;
}

.service-subtitle-en {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-check {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-light);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.service-footer--stacked { align-items: stretch; }
.service-pricing { display: grid; gap: 12px; width: 100%; }
.service-price-note { color: var(--text-muted); font-size: 0.88rem; }
.service-plan-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.service-plan-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); color: var(--text-secondary); font-size: 0.82rem; transition: all 0.22s ease; }
.service-plan-tab:hover { border-color: rgba(124, 92, 252, 0.32); color: var(--text-primary); }
.service-plan-tab.is-active { background: rgba(124, 92, 252, 0.12); border-color: rgba(124, 92, 252, 0.34); color: var(--text-primary); box-shadow: 0 0 0 1px rgba(124,92,252,0.08) inset; }
.service-plan-discount { padding: 3px 8px; border-radius: 999px; background: rgba(34, 211, 238, 0.1); color: var(--cyan); font-weight: 600; }
.service-price-panel { padding: 18px 20px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); }
.service-price-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.service-price-kicker { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 10px; }
.service-price-main { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--text-primary), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.service-price-side { display: grid; justify-items: end; gap: 8px; min-width: 84px; }
.service-price-old { min-height: 1.2em; color: rgba(240,240,255,0.38); text-decoration: line-through; font-size: 0.88rem; }
.service-price-old[hidden] { display: none; }
.service-price-badge { min-height: 1.8em; padding: 4px 10px; border-radius: 999px; background: rgba(124, 92, 252, 0.1); color: var(--accent-light); font-size: 0.78rem; font-weight: 700; }
.service-price-badge[hidden] { display: none; }

/* ─── 11. Advantages ────────────────────────────────────────── */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.advantage-card {
  padding: 28px 28px 28px 28px;
}

.adv-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.18);
  color: var(--accent-light);
  filter: drop-shadow(0 0 12px rgba(124, 92, 252, 0.3));
}
.adv-icon-svg { width: 26px; height: 26px; }

.adv-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.adv-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── 12. Process ───────────────────────────────────────────── */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--indigo) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(124, 92, 252, 0.4);
  position: relative;
  z-index: 1;
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
  margin-top: 4px;
}

.step-content {
  padding: 24px 28px;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── 13. CTA Section ───────────────────────────────────────── */
.cta-section { overflow: hidden; }

.glass-card--cta {
  padding: clamp(48px, 8vw, 80px) clamp(32px, 6vw, 80px);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  border-color: rgba(124, 92, 252, 0.2);
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(124, 92, 252, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

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

/* ─── 14. Footer ────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding-top: 60px;
  margin-top: 40px;
  background: linear-gradient(to bottom, transparent, rgba(5,5,13,0.8));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand { max-width: 340px; }

.footer-tagline {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 16px 0 10px;
}

.footer-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col { min-width: 120px; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.footer-col a {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-username {
  font-size: 0.9rem;
  color: var(--accent-light);
  font-family: 'JetBrains Mono', monospace;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-tech { opacity: 0.5; }

/* ─── 15. Animation System ──────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

[data-animate="fade-left"] {
  transform: translateX(32px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ─── 16. Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 380px; }
  .scroll-indicator { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: inline-flex; }
  .navbar { padding: 12px 0; }
  .nav-inner { min-height: 64px; padding: 12px 14px; }

  .services-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-brand { max-width: 100%; }
}

@media (max-width: 540px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .hero-card { font-size: 0.72rem; }
  .service-footer { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .mobile-actions-row { grid-template-columns: 1fr; }
}

/* ─── 17. Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(124, 92, 252, 0.4);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(124, 92, 252, 0.7); }

/* ─── 18. Selection ─────────────────────────────────────────── */
::selection {
  background: rgba(124, 92, 252, 0.3);
  color: var(--text-primary);
}

/* ─── 19. Focus visible ─────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: min(92vw, 320px);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(124, 92, 252, 0.28);
  background: rgba(10, 10, 22, 0.92);
  color: var(--text-primary);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(14px);
}
.site-toast.is-visible { opacity: 1; transform: translateY(0); }
.footer-nav a[data-copy-discord] { cursor: pointer; }

@media (max-width: 700px) {
  .service-price-row { flex-direction: column; }
  .service-price-side { justify-items: start; }
}

/* ─── 20. Projects ─────────────────────────────────────────── */
.projects-section {
  position: relative;
}

.projects-section .section-header {
  margin-bottom: 24px;
}

.projects-section .section-subtitle {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(226, 232, 240, 0.64);
  font-size: 0.98rem;
  line-height: 1.75;
}

.projects-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 14px 16px 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(10, 12, 24, 0.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(124, 92, 252, 0.85), rgba(34, 211, 238, 0.25));
  opacity: 0;
  transition: opacity .24s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 252, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)),
    rgba(12, 15, 28, 0.72);
  box-shadow: 0 14px 30px rgba(4, 6, 16, 0.24), inset 0 1px 0 rgba(255,255,255,0.04);
}

.project-card:hover::before {
  opacity: 1;
}

.project-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-index {
  flex-shrink: 0;
  min-width: 30px;
  color: rgba(124, 92, 252, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.project-title {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-link,
.project-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-link {
  gap: 8px;
  color: rgba(241, 245, 249, 0.9);
  background: rgba(255,255,255,0.035);
  transition: border-color .22s ease, background .22s ease, color .22s ease, transform .22s ease;
}

.project-link::after {
  content: "↗";
  font-size: 0.82rem;
  line-height: 1;
}

.project-link:hover {
  color: #fff;
  border-color: rgba(124, 92, 252, 0.28);
  background: rgba(124, 92, 252, 0.1);
  transform: translateY(-1px);
}

.project-badge {
  color: rgba(148, 163, 184, 0.72);
  background: rgba(255,255,255,0.025);
}

@media (max-width: 1180px) {
  .projects-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .projects-section .section-header {
    margin-bottom: 20px;
  }

  .projects-section .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .project-card {
    min-height: 62px;
    padding: 12px 12px 12px 14px;
    gap: 12px;
    border-radius: 18px;
  }

  .project-meta {
    gap: 10px;
  }

  .project-index {
    min-width: 24px;
    font-size: 0.68rem;
  }

  .project-title {
    font-size: 0.9rem;
  }

  .project-link,
  .project-badge {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .project-link-label {
    display: none;
  }

  .project-link {
    min-width: 34px;
    padding: 0;
  }
}
