/* ═══════════════════════════════════════════
   TRAMCODE — Professional Landing Page
   Theme: Deep Blue + Purple + Orange CTA
   ═══════════════════════════════════════════ */

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

:root {
  --blue-dark:  #060d1f;
  --blue-mid:   #0d1a3c;
  --purple-mid: #180a2e;
  --blue:       #3b82f6;
  --purple:     #8b5cf6;
  --cyan:       #06b6d4;
  --orange:     #f97316;
  --orange-d:   #ea6c0a;
  --text:       #f1f5f9;
  --muted:      rgba(255,255,255,0.6);
  --border:     rgba(255,255,255,0.08);
  --card-bg:    rgba(255,255,255,0.04);
  --radius:     16px;
  --font:       'Be Vietnam Pro', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--blue-dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── Gradient text ── */
.text-grad {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════
   NAVBAR
═══════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6,13,31,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.nav-cta) {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover { color: #fff; }

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  background: var(--orange);
  color: #fff !important;
  border-radius: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}
.nav-cta:hover {
  background: var(--orange-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(249,115,22,0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--orange), #f05e05);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(249,115,22,0.45);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(249,115,22,0.6);
}
.btn-cta:hover::before { opacity: 1; }

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  transition: all 0.25s;
}
.btn-outline-hero:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 28px 70px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(139,92,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(59,130,246,0.1) 0%, transparent 60%),
    linear-gradient(145deg, #060d1f 0%, #0d1a3c 45%, #180a2e 75%, #060d1f 100%);
}

/* Grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 70% at center, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 0%, transparent 100%);
}

/* Glow blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.g1 { width: 500px; height: 500px; background: rgba(139,92,246,0.18); top: -100px; right: 5%; animation: glow1 12s ease-in-out infinite alternate; }
.g2 { width: 400px; height: 400px; background: rgba(59,130,246,0.15);  bottom: -50px; left: 10%;  animation: glow1 15s ease-in-out 3s infinite alternate; }
.g3 { width: 300px; height: 300px; background: rgba(249,115,22,0.08);  top: 40%; left: 45%;   animation: glow1 10s ease-in-out 6s infinite alternate; }
@keyframes glow1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px,30px) scale(1.2); }
}

/* Hero layout */
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* Hero title */
.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 20px;
}
.title-highlight {
  color: #fff;
  -webkit-text-stroke: 2px rgba(255,255,255,0.3);
}
.title-gradient {
  background: linear-gradient(90deg, var(--orange), #fbbf24, var(--orange));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradSlide 4s linear infinite;
}
@keyframes gradSlide {
  from { background-position: 0%; }
  to   { background-position: 200%; }
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; align-items: center; }

/* Trust metrics */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1; }
.trust-item span  { font-size: 12px; color: var(--muted); margin-top: 3px; }
.trust-sep { width: 1px; height: 36px; background: var(--border); }

/* ═══════════════════════════════
   3D LAPTOP SCENE
═══════════════════════════════ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

/* Grid line decoration */
.deco-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  border-radius: 20px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, transparent 80%);
  pointer-events: none;
}

/* Floating tech badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(13,26,60,0.9);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  animation: floatBadge var(--fa) ease-in-out var(--fd) infinite alternate;
  white-space: nowrap;
  z-index: 10;
}
.badge-icon { font-size: 14px; }
.badge-code    { top: 8%;  left: -2%;  border-color: rgba(139,92,246,0.4); }
.badge-speed   { top: 5%;  right: 3%;  border-color: rgba(249,115,22,0.4); }
.badge-comment { bottom: 22%; left: 0%; border-color: rgba(6,182,212,0.4); }
.badge-star    { bottom: 8%; right: 5%; border-color: rgba(251,191,36,0.4); }

@keyframes floatBadge {
  from { transform: translateY(0) rotate(-1deg); }
  to   { transform: translateY(-14px) rotate(1deg); }
}

/* Geometric decorations */
.geo-shape {
  position: absolute;
  pointer-events: none;
  animation: geoFloat var(--fa, 5s) ease-in-out var(--fd, 0s) infinite alternate;
}

/* CSS Cube using preserve-3d */
.geo-cube {
  width: 30px; height: 30px;
  transform-style: preserve-3d;
  transform: rotateX(-25deg) rotateY(45deg);
}
.geo-cube::before,
.geo-cube::after {
  content: '';
  position: absolute;
  width: 30px; height: 30px;
  border: 1.5px solid;
  border-radius: 2px;
}
.geo-cube::before { border-color: rgba(139,92,246,0.6); background: rgba(139,92,246,0.1); transform: translateZ(15px); }
.geo-cube::after  { border-color: rgba(91,33,182,0.5);  background: rgba(91,33,182,0.1);  transform: rotateY(90deg) translateZ(15px); }

.gc1 { top: 15%; left: 8%; }
.gc2 { top: 70%; right: 8%; width: 20px; height: 20px; }
.gc3 { top: 35%; right: 2%; }

.geo-sphere {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.3), transparent 60%),
              radial-gradient(circle at center, rgba(59,130,246,0.4), rgba(139,92,246,0.3));
  box-shadow: 0 0 20px rgba(59,130,246,0.3), inset 0 0 10px rgba(0,0,0,0.3);
}
.gs1 { top: 25%; right: 6%;  width: 22px; height: 22px; }
.gs2 { bottom: 35%; left: 5%; width: 14px; height: 14px; }

.geo-ring {
  border-radius: 50%;
  border: 2px solid rgba(6,182,212,0.4);
  box-shadow: 0 0 12px rgba(6,182,212,0.2);
}
.gr1 { bottom: 15%; right: 12%; width: 40px; height: 40px; }

@keyframes geoFloat {
  from { transform: rotateX(-25deg) rotateY(45deg) translateY(0); opacity: 0.7; }
  to   { transform: rotateX(-25deg) rotateY(45deg) translateY(-20px); opacity: 1; }
}

/* ── LAPTOP ── */
.laptop-scene {
  position: relative;
  z-index: 5;
}

.laptop-wrap {
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  transform: rotateX(4deg) rotateY(-8deg);
}

.laptop {
  position: relative;
  transform-style: preserve-3d;
  animation: laptopFloat 8s ease-in-out infinite alternate;
}
@keyframes laptopFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-18px); }
}

/* ── SCREEN LID ── */
.laptop-lid {
  width: 380px;
  height: 248px;
  background: linear-gradient(145deg, #0d1117, #111827);
  border: 2px solid rgba(100,130,200,0.35);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 -4px 30px rgba(59,130,246,0.15),
    inset 0 0 60px rgba(30,60,120,0.15);
}

/* Right edge depth of lid */
.lid-edge-right {
  position: absolute;
  right: -12px; top: 0;
  width: 12px; height: 100%;
  background: linear-gradient(90deg, #1a2a5a, #0d1a3a);
  transform-style: preserve-3d;
  transform: rotateY(-90deg);
  transform-origin: left;
  border-radius: 0 8px 0 0;
}

/* Top edge depth of lid */
.lid-edge-top {
  position: absolute;
  top: -10px; left: 0;
  width: 100%; height: 10px;
  background: linear-gradient(180deg, #243060, #1a2448);
  transform: rotateX(90deg);
  transform-origin: bottom;
  border-radius: 14px 14px 0 0;
}

/* Camera */
.camera {
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 6px;
  background: #0a0f1a;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.camera-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #1a2a4a;
  box-shadow: 0 0 4px rgba(6,182,212,0.5);
}

/* ── SCREEN DISPLAY CONTENT ── */
.screen-display {
  position: absolute;
  inset: 16px 10px 10px;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  border-radius: 4px;
  overflow: hidden;
}

/* Screen shine */
.screen-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.06) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255,255,255,0.02) 100%);
  pointer-events: none;
  z-index: 10;
}

/* Site previews */
.site-preview {
  background: #0a0f1a;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.sp-main {
  grid-row: 1 / 3;
}

/* Titlebar */
.sp-titlebar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: #111827;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mini-bar { padding: 3px 6px; }
.sp-dots { display: flex; gap: 3px; }
.sp-dots span {
  width: 5px; height: 5px; border-radius: 50%;
}
.sp-dots .r { background: #ff5f57; }
.sp-dots .y { background: #febc2e; }
.sp-dots .g { background: #28c840; }
.sp-url {
  flex: 1;
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  padding: 2px 6px;
  text-align: center;
}

/* Main preview body */
.sp-body { padding: 6px; height: calc(100% - 21px); overflow: hidden; }

.sp-nav {
  height: 10px;
  background: linear-gradient(90deg, rgba(59,130,246,0.4), rgba(139,92,246,0.3));
  border-radius: 3px;
  margin-bottom: 5px;
}

.sp-hero-block {
  height: 55px;
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(139,92,246,0.25));
  border-radius: 4px;
  margin-bottom: 5px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sp-hero-text { display: flex; flex-direction: column; gap: 3px; }
.sp-line { height: 5px; background: rgba(255,255,255,0.25); border-radius: 3px; }
.lw70 { width: 70%; }
.lw50 { width: 50%; }
.lw90 { width: 90%; }
.lw60 { width: 60%; }
.sp-btn-fake {
  margin-top: 4px;
  width: 40px; height: 7px;
  background: var(--orange);
  border-radius: 3px;
  opacity: 0.85;
}

.sp-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 3px;
  margin-bottom: 5px;
}
.sp-card {
  height: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
}
.sp-lines { display: flex; flex-direction: column; gap: 3px; }

/* E-commerce preview */
.sp-ecom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  height: 100%;
}
.sp-product {
  background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(139,92,246,0.2));
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Dashboard/chart preview */
.sp-dash {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 6px 4px 4px;
  height: 100%;
}
.sp-dash-bar {
  flex: 1;
  height: var(--bh);
  background: var(--bc);
  border-radius: 2px 2px 0 0;
  opacity: 0.8;
  animation: barGrow 2s ease-out both;
}
@keyframes barGrow {
  from { height: 0%; }
  to   { height: var(--bh); }
}

/* ── KEYBOARD BASE ── */
.laptop-base {
  position: relative;
  transform-style: preserve-3d;
}

.base-surface {
  width: 400px;
  height: 22px;
  background: linear-gradient(180deg, #1e2d4a, #141e36);
  border-radius: 0 0 10px 10px;
  margin-left: -10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

/* Keyboard texture */
.keyboard-grid {
  position: absolute;
  top: 3px; left: 10%;
  width: 60%; height: 10px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 5px, transparent 5px, transparent 9px);
  border-radius: 2px;
}

/* Touchpad */
.touchpad {
  position: absolute;
  bottom: 2px;
  left: 50%; transform: translateX(-50%);
  width: 50px; height: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
}

/* Base right edge */
.base-edge-right {
  position: absolute;
  right: -12px; top: 0;
  width: 12px; height: 22px;
  background: #0d1428;
  transform: rotateY(-90deg);
  transform-origin: left;
}

/* Base front edge */
.base-edge-front {
  position: absolute;
  bottom: -10px; left: -10px;
  width: 420px; height: 10px;
  background: linear-gradient(180deg, #0a1228, #060d1f);
  border-radius: 0 0 6px 6px;
  transform: rotateX(90deg);
  transform-origin: top;
}

/* Laptop shadow */
.laptop-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%; transform: translateX(-50%);
  width: 320px; height: 24px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  filter: blur(16px);
  animation: shadowPulse 8s ease-in-out infinite alternate;
}
@keyframes shadowPulse {
  from { transform: translateX(-50%) scale(1); opacity: 0.5; }
  to   { transform: translateX(-50%) scale(0.85); opacity: 0.3; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: fadeIn 1.5s 1s both;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex; justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 3px;
  animation: wheelScroll 2s ease-in-out infinite;
}
@keyframes wheelScroll {
  0%,100% { transform: translateY(0); opacity: 1; }
  100%     { transform: translateY(10px); opacity: 0; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════
   SECTIONS
═══════════════════════════════ */
.section {
  padding: 100px 0;
  position: relative;
}
.section-dark {
  background: linear-gradient(180deg, #060d1f 0%, #080f22 100%);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  text-align: center;
}
.section-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

/* ═══════════════════════════════
   SERVICES
═══════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.svc-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.svc-card:hover {
  border-color: rgba(59,130,246,0.2);
  background: rgba(255,255,255,0.06);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.svc-card:hover::after { transform: scaleX(1); }

.svc-featured {
  border-color: rgba(139,92,246,0.25);
  background: linear-gradient(145deg, rgba(139,92,246,0.08), rgba(59,130,246,0.04));
}

.svc-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px;
  background: var(--orange);
  color: #fff;
  border-radius: 100px;
}

.svc-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px color-mix(in srgb, var(--c) 20%, transparent);
  transition: box-shadow 0.3s;
}
.svc-card:hover .svc-icon-wrap {
  box-shadow: 0 0 30px color-mix(in srgb, var(--c) 35%, transparent);
}

.svc-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.svc-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.svc-price   { font-size: 13px; font-weight: 700; color: var(--orange); }

/* ═══════════════════════════════
   STATS BAR
═══════════════════════════════ */
.stats-bar {
  background: linear-gradient(90deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 38px; font-weight: 900; color: #fff; letter-spacing: -2px; line-height: 1; background: linear-gradient(135deg, var(--blue), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item span   { font-size: 13px; color: var(--muted); margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* ═══════════════════════════════
   PROCESS
═══════════════════════════════ */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.step {
  text-align: center;
  flex: 1;
  max-width: 200px;
  padding: 24px 16px;
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 12px;
}
.step-icon { font-size: 32px; margin-bottom: 12px; }
.step h4   { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step p    { font-size: 13px; color: var(--muted); line-height: 1.6; }

.step-arrow {
  font-size: 24px;
  color: rgba(255,255,255,0.2);
  padding-top: 60px;
  flex-shrink: 0;
}

/* ═══════════════════════════════
   PRICING
═══════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  align-items: start;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.14);
}

.pricing-featured {
  background: linear-gradient(145deg, rgba(59,130,246,0.1), rgba(139,92,246,0.08));
  border-color: rgba(59,130,246,0.35) !important;
  box-shadow: 0 0 60px rgba(59,130,246,0.1);
}
.pricing-featured:hover { box-shadow: 0 24px 60px rgba(59,130,246,0.2); }

.pc-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 5px 20px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 18px rgba(59,130,246,0.4);
}

.pc-header { margin-bottom: 28px; }
.pc-tier {
  font-size: 11px; font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 12px;
}
.pricing-featured .pc-tier { color: #93c5fd; }

.pc-amount {
  font-size: 38px; font-weight: 900;
  color: #fff; letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}
.pc-amount span { font-size: 20px; color: var(--muted); }
.pc-period { font-size: 12px; color: var(--muted); }

.pc-features {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
}
.pc-features li {
  font-size: 14px; color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 10px;
}
.pf-check { color: var(--blue); font-weight: 700; flex-shrink: 0; }
.pricing-featured .pf-check { color: #93c5fd; }
.pricing-featured li { color: rgba(255,255,255,0.8); }

.btn-pc {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: #fff;
  transition: all 0.25s;
}
.btn-pc:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn-pc-primary {
  background: linear-gradient(135deg, var(--orange), #f05e05);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(249,115,22,0.4);
}
.btn-pc-primary:hover {
  background: linear-gradient(135deg, #fba04b, var(--orange));
  box-shadow: 0 10px 32px rgba(249,115,22,0.55);
}

/* ═══════════════════════════════
   PORTFOLIO
═══════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.port-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.port-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.port-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.pt-browser {
  width: 110px;
  background: rgba(6,13,31,0.92);
  border-radius: 8px;
  overflow: hidden;
  transform: perspective(600px) rotateX(8deg) rotateY(-12deg);
  box-shadow: 8px 10px 28px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
}
.pt-bar {
  display: flex; align-items: center; gap: 3px;
  padding: 6px 7px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pt-bar span { width: 5px; height: 5px; border-radius: 50%; }
.pt-bar span:nth-child(1) { background: #ff5f57; }
.pt-bar span:nth-child(2) { background: #febc2e; }
.pt-bar span:nth-child(3) { background: #28c840; }
.pt-url { font-size: 8px; color: rgba(255,255,255,0.25); flex: 1; text-align: center; }

.pt-content { padding: 5px; }
.pt-nav { height: 8px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-bottom: 4px; }
.pt-hero { height: 28px; border-radius: 3px; margin-bottom: 4px; opacity: 0.75; }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pt-item { height: 14px; background: rgba(255,255,255,0.07); border-radius: 2px; }

.port-overlay {
  position: absolute; inset: 0;
  background: rgba(6,13,31,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
  z-index: 3;
}
.port-card:hover .port-overlay { opacity: 1; }
.po-label {
  font-size: 13px; font-weight: 700;
  color: #fff;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 8px;
}

.port-info { padding: 14px 16px; }
.port-info h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.port-info p  { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.port-stack { display: flex; flex-wrap: wrap; gap: 4px; }
.port-stack span {
  font-size: 10px; font-weight: 600;
  padding: 3px 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: #93c5fd;
  border-radius: 5px;
}

/* ═══════════════════════════════
   CONTACT
═══════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.channel-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: inherit;
  transition: all 0.25s;
}
.channel-item:hover {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.3);
  transform: translateX(6px);
}
.ch-icon { font-size: 20px; }
.ch-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ch-val   { font-size: 14px; font-weight: 600; color: #fff; }

.guarantee-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.gbadge {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 5px;
}
.gbadge span { color: #22c55e; font-size: 14px; }

/* Form */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label { font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: rgba(255,255,255,0.55); }

.fg input, .fg select, .fg textarea {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,0.2); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
  background: rgba(0,0,0,0.5);
}
.fg select { cursor: pointer; }
.fg select option { background: #0d1a3c; }
.fg textarea { resize: vertical; min-height: 110px; }
.form-note { text-align: center; font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer {
  background: #030810;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 260px; line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  font-size: 12px; font-weight: 600;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  transition: all 0.2s;
}
.footer-socials a:hover { color: #fff; border-color: rgba(255,255,255,0.2); }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 4px; }
.footer-col a  { font-size: 14px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: var(--muted); text-align: center; }

/* ═══════════════════════════════
   SCROLL REVEAL
═══════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up:nth-child(2) { transition-delay: 0.07s; }
.fade-up:nth-child(3) { transition-delay: 0.14s; }
.fade-up:nth-child(4) { transition-delay: 0.21s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .laptop-lid { width: 320px; height: 210px; }
  .base-surface { width: 340px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-eyebrow { margin: 0 auto 24px; }
  .hero-sub, .hero-trust { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-title { font-size: 38px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .section-title { font-size: 32px; }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .process-steps { flex-wrap: wrap; justify-content: center; }
  .step-arrow { display: none; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; width: 100%;
    background: rgba(6,13,31,0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}
