/* =========================================================
   WebRedesignAgency.com — Apple-grade Glassmorphism System
   Pure static CSS (no build step). Hostinger-ready.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-50:  #eef4ff;
  --brand-100: #d9e6ff;
  --brand-200: #b3ccff;
  --brand-300: #7fa8ff;
  --brand-400: #4f86ff;
  --brand-500: #2563ff;
  --brand-600: #1d4ed8;
  --brand-700: #1e40af;
  --brand-900: #0a1f4d;

  --accent-violet: #8b5cf6;
  --accent-cyan:   #22d3ee;
  --accent-pink:   #ec4899;
  --accent-amber:  #f59e0b;
  --accent-emerald:#10b981;

  /* Neutrals (dark, Apple-ish) */
  --ink-0:  #ffffff;
  --ink-50: #f5f7fb;
  --ink-100:#e7eaf3;
  --ink-200:#c8cee0;
  --ink-300:#9aa3bd;
  --ink-400:#6b7390;
  --ink-500:#4a5069;
  --ink-600:#2f3447;
  --ink-700:#1c2030;
  --ink-800:#11142010;
  --ink-900:#0a0d18;
  --ink-950:#06080f;

  /* Glass */
  --glass-bg:        rgba(255,255,255,0.06);
  --glass-bg-strong: rgba(255,255,255,0.10);
  --glass-border:    rgba(255,255,255,0.14);
  --glass-border-strong: rgba(255,255,255,0.22);
  --glass-shadow:    0 20px 60px rgba(2,6,23,0.45),
                     0 1px 0 rgba(255,255,255,0.08) inset,
                     0 -1px 0 rgba(0,0,0,0.25) inset;
  --glass-blur: 22px;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
               "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;

  /* Layout */
  --max:  1200px;
  --pad:  clamp(20px, 4vw, 40px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 44px;

  /* Motion */
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-spring: cubic-bezier(.2,.9,.25,1.15);
  --t-fast: 180ms;
  --t-med:  340ms;
  --t-slow: 700ms;

  /* Page bg */
  --bg: radial-gradient(1200px 700px at 80% -10%, rgba(37,99,255,0.18), transparent 60%),
        radial-gradient(900px 600px at -10% 30%, rgba(139,92,246,0.18), transparent 60%),
        radial-gradient(800px 500px at 50% 110%, rgba(34,211,238,0.12), transparent 60%),
        linear-gradient(180deg, #060812 0%, #08101f 60%, #060812 100%);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-100);
  background: var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(79,134,255,0.4); color: #fff; }

/* ---------- Ambient orbs (page-wide depth) ---------- */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55; mix-blend-mode: screen;
  will-change: transform;
}
.bg-orb.o1 { width: 520px; height: 520px; left: -120px; top: -120px;
  background: radial-gradient(circle, rgba(79,134,255,0.55), transparent 60%); }
.bg-orb.o2 { width: 680px; height: 680px; right: -180px; top: 20%;
  background: radial-gradient(circle, rgba(139,92,246,0.45), transparent 60%); }
.bg-orb.o3 { width: 460px; height: 460px; left: 30%; bottom: -160px;
  background: radial-gradient(circle, rgba(34,211,238,0.40), transparent 60%); }
.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Layout ---------- */
.container { width: min(var(--max), 100% - var(--pad) * 2); margin-inline: auto; position: relative; z-index: 2; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; z-index: 2; }
.section.tight { padding: clamp(56px, 8vw, 96px) 0; }
.center { text-align: center; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-200);
  padding: 8px 14px; border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-emerald);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }

h1, h2, h3, h4 { color: #fff; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 .4em; font-weight: 600; }
h1 { font-size: clamp(40px, 7vw, 84px); letter-spacing: -0.035em; line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
h4 { font-size: 18px; }
p  { color: var(--ink-200); margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-100); max-width: 62ch; }
.kicker { color: var(--ink-300); font-size: 14px; letter-spacing: .04em; }

.gradient-text {
  background: linear-gradient(120deg, #ffffff 0%, #cdd5ff 30%, #b694ff 55%, #6cd4ff 80%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform var(--t-fast) var(--ease-spring),
              box-shadow var(--t-med) var(--ease-out),
              background var(--t-med) var(--ease-out),
              color var(--t-med) var(--ease-out);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  color: #0b1020;
  background: linear-gradient(180deg, #ffffff 0%, #e7ecff 100%);
  box-shadow: 0 10px 30px rgba(79,134,255,0.35),
              0 1px 0 rgba(255,255,255,0.6) inset,
              0 -10px 20px rgba(79,134,255,0.10) inset;
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(79,134,255,0.5),
              0 1px 0 rgba(255,255,255,0.7) inset,
              0 -10px 20px rgba(79,134,255,0.16) inset; }

.btn-ghost {
  color: #fff;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.btn-ghost:hover { background: var(--glass-bg-strong); border-color: var(--glass-border-strong); }

.btn-link {
  color: #fff; padding: 0; height: auto; border-radius: 0; background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.btn-link:hover { border-color: #fff; }

.btn-sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --bh: 60px; padding: 0 28px; font-size: 16px; }

/* ---------- Glass card primitive ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}
.glass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 38%);
  border-radius: inherit;
}
.glass::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.10));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  opacity: .9;
}

.glass.lift { transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out); }
.glass.lift:hover { transform: translateY(-6px); border-color: var(--glass-border-strong); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  width: min(1100px, calc(100% - 28px));
  background: rgba(10,14,28,0.55);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 18px 50px rgba(2,6,23,0.45);
  transition: background var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.site-header.scrolled .nav { background: rgba(8,12,24,0.78); }
.nav .brand {
  display: flex; align-items: center; gap: 10px; padding: 4px 6px; margin-right: auto;
}
.nav .brand img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 6px 18px rgba(0,0,0,0.4); }
.nav .brand .word { font-weight: 700; letter-spacing: -.01em; color: #fff; font-size: 15px; }
.nav .brand .word span { color: var(--ink-300); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-100);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.10); }
.nav .cta { margin-left: 6px; }

.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border); }
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: #fff; margin: 4px auto; transition: transform var(--t-fast), opacity var(--t-fast); }
.menu-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 70px 14px auto 14px; z-index: 55;
  padding: 18px;
  display: none;
  border-radius: var(--r-lg);
  background: rgba(8,12,24,0.92);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 14px; border-radius: 12px; color: #fff; font-size: 17px; }
.mobile-menu a:hover { background: rgba(255,255,255,0.06); }
.mobile-menu .btn { width: 100%; margin-top: 10px; }

@media (max-width: 880px) {
  .nav-links, .nav .cta { display: none; }
  .menu-toggle { display: block; }
  .nav { padding: 8px 10px 8px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 .line { display: block; }
.hero p.lead { margin-top: 18px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .meta {
  display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px;
  color: var(--ink-300); font-size: 13.5px;
}
.hero .meta .chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.hero .meta .chip svg { width: 14px; height: 14px; color: var(--accent-emerald); }

/* ===== Hero showcase (3D glass stack) ===== */
.showcase {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  perspective: 1400px;
  transform-style: preserve-3d;
}
.showcase .card {
  position: absolute;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 30px 80px rgba(2,6,23,0.55), 0 1px 0 rgba(255,255,255,0.18) inset;
  transform-style: preserve-3d;
}
/* Main mock browser */
.showcase .c1 {
  width: 86%; height: 70%;
  left: 6%; top: 6%;
  padding: 14px;
  transform: rotateX(8deg) rotateY(-12deg);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(79,134,255,0.18), transparent 50%),
    radial-gradient(120% 80% at 100% 100%, rgba(139,92,246,0.18), transparent 55%),
    linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  display: flex; flex-direction: column; gap: 10px;
}
/* Conversion bars */
.showcase .c2 {
  width: 44%; height: 36%;
  right: 0; bottom: 14%;
  padding: 16px;
  transform: rotateX(-6deg) rotateY(14deg);
  background: linear-gradient(160deg, rgba(79,134,255,0.55), rgba(139,92,246,0.30));
  display: flex; flex-direction: column; gap: 6px;
}
/* Lighthouse ring */
.showcase .c3 {
  width: 32%; aspect-ratio: 1/1;
  left: -2%; bottom: 8%;
  padding: 14px;
  transform: rotateX(10deg) rotateY(-22deg);
  background: linear-gradient(160deg, rgba(34,211,238,0.32), rgba(255,255,255,0.06));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
/* Live status pill */
.showcase .c4 {
  left: 4%; top: -2%;
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transform: rotateX(8deg) rotateY(-12deg);
  background: rgba(8,12,24,0.78);
  font-size: 12px; font-weight: 600; color: #fff;
  white-space: nowrap;
}

/* Browser chrome */
.showcase .browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 4px;
}
.showcase .browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.showcase .browser-bar i:nth-child(1) { background: #ff5f57; }
.showcase .browser-bar i:nth-child(2) { background: #febc2e; }
.showcase .browser-bar i:nth-child(3) { background: #28c840; }
.showcase .browser-bar .url {
  margin-left: 8px;
  flex: 1;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 10px; line-height: 18px; text-align: center;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  overflow: hidden;
}

/* Mock site interior */
.showcase .mock {
  flex: 1;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(79,134,255,0.18), transparent 55%),
    radial-gradient(120% 80% at 0% 100%, rgba(139,92,246,0.18), transparent 55%),
    rgba(8,11,22,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.showcase .mock-nav {
  display: flex; align-items: center; gap: 8px;
}
.showcase .dot-logo {
  width: 14px; height: 14px; border-radius: 4px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-violet));
}
.showcase .mock-links { display: flex; gap: 8px; flex: 1; padding-left: 6px; }
.showcase .mock-links span {
  height: 6px; width: 26px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.showcase .mock-pill {
  height: 14px; width: 38px; border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #d8e0ff);
}

.showcase .mock-hero {
  display: flex; flex-direction: column; gap: 6px;
  padding: 4px 2px 0;
}
.showcase .mock-tag {
  height: 10px; width: 64px; border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}
.showcase .mock-h1 {
  height: 12px; width: 92%; border-radius: 999px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.45));
  margin-top: 4px;
}
.showcase .mock-h1.short { width: 60%; }
.showcase .mock-p {
  height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
  margin-top: 2px;
}
.showcase .mock-p.w90 { width: 90%; }
.showcase .mock-p.w70 { width: 70%; }
.showcase .mock-cta-row { display: flex; gap: 6px; margin-top: 6px; }
.showcase .mock-btn {
  height: 18px; border-radius: 999px;
}
.showcase .mock-btn.primary { width: 60px; background: linear-gradient(180deg, #ffffff, #cbd6ff); }
.showcase .mock-btn.ghost   { width: 50px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); }

.showcase .mock-grid {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.showcase .mock-tile {
  border-radius: 10px;
  height: 56px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}
.showcase .mock-tile span:first-child { height: 6px; width: 70%; border-radius: 999px; background: rgba(255,255,255,0.45); }
.showcase .mock-tile span:last-child  { height: 4px; width: 50%; border-radius: 999px; background: rgba(255,255,255,0.20); }
.showcase .mock-tile.t1 { background: linear-gradient(160deg, rgba(79,134,255,0.32), rgba(79,134,255,0.10)); }
.showcase .mock-tile.t2 { background: linear-gradient(160deg, rgba(139,92,246,0.32), rgba(139,92,246,0.10)); }
.showcase .mock-tile.t3 { background: linear-gradient(160deg, rgba(34,211,238,0.32), rgba(34,211,238,0.10)); }

/* Conversion card content */
.showcase .card-kicker {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.showcase .card-num {
  color: #fff; font-weight: 700; line-height: 1;
  font-size: 30px; letter-spacing: -0.02em;
}
.showcase .card-num span { font-size: 18px; opacity: 0.85; margin-left: 1px; }
.showcase .bars {
  margin-top: auto;
  display: flex; align-items: flex-end; gap: 5px;
  height: 40px;
}
.showcase .bars span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #ffffff, rgba(255,255,255,0.45));
  box-shadow: 0 4px 14px rgba(255,255,255,0.18);
}
.showcase .bars span:last-child {
  background: linear-gradient(180deg, #ffffff, #cbd6ff);
}

/* Lighthouse ring */
.showcase .ring { position: relative; width: 70%; aspect-ratio: 1/1; }
.showcase .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.showcase .ring-track { fill: none; stroke: rgba(255,255,255,0.18); stroke-width: 3; }
.showcase .ring-fill {
  fill: none;
  stroke: url(#none) #fff;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 98 100;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
}
.showcase .ring-num {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
}
.showcase .ring-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Live pill */
.showcase .live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.25);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.25); }
  50%     { box-shadow: 0 0 0 8px rgba(16,185,129,0.05); }
}

/* Floating animation respects each card's base rotation */
.float-y { animation: floatY 8s ease-in-out infinite; }
.float-y.delay  { animation-delay: -3s; animation-duration: 10s; }
.float-y.delay2 { animation-delay: -5s; animation-duration: 12s; }
.showcase .c1.float-y         { animation-name: floatC1; }
.showcase .c2.float-y         { animation-name: floatC2; }
.showcase .c3.float-y         { animation-name: floatC3; }
.showcase .c4.float-y         { animation-name: floatC4; }
@keyframes floatC1 {
  0%,100% { transform: translateY(0)    rotateX(8deg)  rotateY(-12deg); }
  50%     { transform: translateY(-12px) rotateX(8deg)  rotateY(-12deg); }
}
@keyframes floatC2 {
  0%,100% { transform: translateY(0)    rotateX(-6deg) rotateY(14deg); }
  50%     { transform: translateY(-10px) rotateX(-6deg) rotateY(14deg); }
}
@keyframes floatC3 {
  0%,100% { transform: translateY(0)    rotateX(10deg) rotateY(-22deg); }
  50%     { transform: translateY(-8px)  rotateX(10deg) rotateY(-22deg); }
}
@keyframes floatC4 {
  0%,100% { transform: translateY(0)    rotateX(8deg)  rotateY(-12deg); }
  50%     { transform: translateY(-6px)  rotateX(8deg)  rotateY(-12deg); }
}

/* Tablet/mobile: shrink the showcase but keep it visible */
@media (max-width: 980px) {
  .showcase { max-width: 480px; margin: 40px auto 0; }
}
@media (max-width: 560px) {
  .showcase { max-width: 380px; }
  .showcase .c4 { display: none; }
}

/* ---------- Marquee (logos) ---------- */
.marquee {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0; overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.marquee .track { display: flex; gap: 64px; animation: scroll 28s linear infinite; width: max-content; }
.marquee .item { color: var(--ink-300); font-weight: 600; letter-spacing: .02em; white-space: nowrap; opacity: .9;
  font-size: 18px;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section headings ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .left { max-width: 720px; }
.section-head h2 { margin-top: 14px; }
.section-head p { color: var(--ink-200); margin-top: 14px; }

/* ---------- Services grid ---------- */
.services {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}
.service {
  grid-column: span 4;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.service .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  border: 1px solid var(--glass-border-strong);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.18) inset;
}
.service .icon-wrap svg { width: 26px; height: 26px; }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--ink-200); }
.service ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; color: var(--ink-200); font-size: 14px; }
.service li { display: flex; align-items: center; gap: 8px; }
.service li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-400); box-shadow: 0 0 12px var(--brand-500); }

@media (max-width: 980px) { .service { grid-column: span 6; } }
@media (max-width: 640px) { .service { grid-column: span 12; min-height: auto; } }

/* Service icons get colored variants */
.service:nth-child(1) .icon-wrap { background: linear-gradient(160deg, rgba(79,134,255,0.5), rgba(79,134,255,0.1)); }
.service:nth-child(2) .icon-wrap { background: linear-gradient(160deg, rgba(139,92,246,0.5), rgba(139,92,246,0.1)); }
.service:nth-child(3) .icon-wrap { background: linear-gradient(160deg, rgba(34,211,238,0.5), rgba(34,211,238,0.1)); }
.service:nth-child(4) .icon-wrap { background: linear-gradient(160deg, rgba(236,72,153,0.5), rgba(236,72,153,0.1)); }
.service:nth-child(5) .icon-wrap { background: linear-gradient(160deg, rgba(245,158,11,0.5), rgba(245,158,11,0.1)); }
.service:nth-child(6) .icon-wrap { background: linear-gradient(160deg, rgba(16,185,129,0.5), rgba(16,185,129,0.1)); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-card { padding: 26px; }
.stat-card .num { font-size: clamp(34px, 4.5vw, 52px); font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1; }
.stat-card .lbl { color: var(--ink-300); font-size: 14px; margin-top: 8px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 26px; position: relative; }
.step .n {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(79,134,255,0.5), rgba(139,92,246,0.3));
  border: 1px solid var(--glass-border-strong);
  font-weight: 700; color: #fff; margin-bottom: 16px;
}
.step h3 { font-size: 20px; }
.step p { font-size: 14.5px; color: var(--ink-200); margin: 0; }
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Work / Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work {
  position: relative; grid-column: span 6; min-height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden; isolation: isolate;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--glass-shadow);
}
.work.feature { grid-column: span 12; min-height: 460px; }
.work.tall { grid-column: span 6; min-height: 480px; }
.work .canvas {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--t-slow) var(--ease-out);
}
.work:hover .canvas { transform: scale(1.04); }
.work .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.72) 100%);
}
.work .meta { position: absolute; left: 26px; right: 26px; bottom: 24px; color: #fff; }
.work .meta .tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.work .meta .tag {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  letter-spacing: .04em; text-transform: uppercase;
}
.work .meta h3 { margin: 0 0 4px; font-size: 24px; }
.work .meta p { margin: 0; color: rgba(255,255,255,0.8); font-size: 14.5px; }
.work .arrow {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(14px);
  transform: rotate(-45deg); transition: transform var(--t-med) var(--ease-spring);
}
.work:hover .arrow { transform: rotate(0deg); }
.work .arrow svg { width: 18px; height: 18px; color: #fff; }

/* Real photo + colored brand tint (image is now an inline <img class="bg">) */
.work .canvas {
  background-color: #0a0d18;
}
.work .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 0;
  transition: transform var(--t-slow) var(--ease-out);
}
.work:hover .bg { transform: scale(1.04); }
.work .tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(10,13,24,0.55), rgba(10,13,24,0.85));
}
.work .veil { z-index: 2; }
.work .arrow, .work .meta { z-index: 3; }

.work.tint-blue    .tint { background: linear-gradient(160deg, rgba(79,134,255,0.55),  rgba(10,13,40,0.78)); }
.work.tint-cyan    .tint { background: linear-gradient(160deg, rgba(34,211,238,0.45),  rgba(6,21,26,0.80)); }
.work.tint-pink    .tint { background: linear-gradient(160deg, rgba(236,72,153,0.50),  rgba(20,4,26,0.80)); }
.work.tint-amber   .tint { background: linear-gradient(160deg, rgba(245,158,11,0.45),  rgba(22,10,4,0.82)); }
.work.tint-violet  .tint { background: linear-gradient(160deg, rgba(139,92,246,0.50),  rgba(10,5,26,0.82)); }
.work.tint-emerald .tint { background: linear-gradient(160deg, rgba(16,185,129,0.45),  rgba(4,20,16,0.82)); }
.work.tint-slate   .tint { background: linear-gradient(160deg, rgba(15,23,42,0.55),    rgba(2,6,15,0.85)); }

@media (max-width: 880px) {
  .work, .work.feature, .work.tall { grid-column: span 12; min-height: 320px; }
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tcard .stars { color: var(--accent-amber); font-size: 14px; letter-spacing: 2px; }
.tcard blockquote { margin: 0; color: var(--ink-100); font-size: 16px; line-height: 1.6; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 15px;
  background: linear-gradient(160deg, var(--brand-500), var(--accent-violet));
  border: 1px solid var(--glass-border-strong);
  overflow: hidden;
}
.tcard .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard .who .name { font-weight: 600; color: #fff; font-size: 14.5px; }
.tcard .who .role { color: var(--ink-300); font-size: 13px; }
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.featured { border-color: var(--glass-border-strong); }
.plan.featured::after { background: linear-gradient(135deg, rgba(79,134,255,0.7), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(139,92,246,0.5)); }
.plan .pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--brand-500), var(--accent-violet));
  color: #fff; font-weight: 600; font-size: 12px; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(79,134,255,0.5);
}
.plan .name { color: var(--ink-200); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.plan .price { color: #fff; font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan .price small { font-size: 14px; color: var(--ink-300); font-weight: 500; margin-left: 4px; }
.plan .desc { color: var(--ink-200); font-size: 14.5px; }
.plan ul { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 12px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-100); font-size: 14.5px; }
.plan li svg { width: 18px; height: 18px; color: var(--accent-emerald); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; } .plan { padding: 28px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details {
  padding: 4px 22px;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--t-med);
}
.faq details[open] { border-color: var(--glass-border-strong); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: #fff; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-weight: 300; font-size: 28px; color: #fff; transition: transform var(--t-med);
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { color: var(--ink-200); padding: 0 0 18px; max-width: 70ch; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(79,134,255,0.45), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(139,92,246,0.45), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 30px 90px rgba(2,6,23,0.6), 0 1px 0 rgba(255,255,255,0.18) inset;
  overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 200px at 50% -50%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 48px); }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink-200); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  outline: none;
  transition: border-color var(--t-med), background var(--t-med), box-shadow var(--t-med);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(79,134,255,0.6);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 4px rgba(79,134,255,0.18);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.form .note { color: var(--ink-300); font-size: 13px; }
.form .ok, .form .err { padding: 12px 14px; border-radius: 12px; font-size: 14px; display: none; }
.form .ok { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.4); color: #b6ffe3; }
.form .err { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.4); color: #ffd1d1; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 80px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .word { font-weight: 700; color: #fff; font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand p { color: var(--ink-300); max-width: 38ch; }
.footer h5 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-200); font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--ink-400); font-size: 13.5px;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: background var(--t-med), border-color var(--t-med);
}
.socials a:hover { background: var(--glass-bg-strong); border-color: var(--glass-border-strong); }
.socials svg { width: 16px; height: 16px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(140px, 18vw, 200px) 0 clamp(40px, 6vw, 80px); text-align: center; }
.page-hero p.lead { margin: 18px auto 0; }

/* ---------- Two column layout ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.in  { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Cursor glow (desktop) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 360px; height: 360px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(79,134,255,0.18), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity var(--t-slow);
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.on { opacity: 1; }
}

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -1000px; top: 10px; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 10px; }

/* ---------- Misc utilities ---------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent); margin: 0; }
.muted { color: var(--ink-300); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row .tag {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--ink-100);
  backdrop-filter: blur(10px);
}
