/* ============================================================
   VeditiTech — Elegant Software Company Website
   ============================================================ */

/* ===== Design Tokens ===== */
:root {
  --bg: #070a18;
  --bg-2: #0b1024;
  --surface: #111733;
  --surface-2: #161d3f;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #eef1fb;
  --text-muted: #9aa3c4;
  --text-dim: #6c7699;
  --primary: #6c5ce7;
  --primary-2: #a29bfe;
  --accent: #00d4ff;
  --accent-2: #ff6b9d;
  --green: #00e0a4;
  --orange: #ffa94d;
  --grad: linear-gradient(135deg, #6c5ce7 0%, #00d4ff 100%);
  --grad-warm: linear-gradient(135deg, #ff6b9d 0%, #ffa94d 100%);
  --grad-text: linear-gradient(135deg, #a29bfe 0%, #00d4ff 60%, #ff6b9d 100%);
  --shadow-lg: 0 30px 60px -20px rgba(108, 92, 231, 0.45);
  --shadow-card: 0 20px 40px -25px rgba(0, 0, 0, 0.6);
  --nav-scrolled-bg: rgba(7, 10, 24, 0.85);
  --glass: rgba(13, 18, 40, 0.9);
  --glass-2: rgba(17, 23, 51, 0.95);
  --track: rgba(255, 255, 255, 0.06);
  --hover-tint: rgba(255, 255, 255, 0.07);
  --grid-line: rgba(255, 255, 255, 0.025);
  --primary-tint: rgba(108, 92, 231, 0.12);
  --primary-glow: rgba(108, 92, 231, 0.7);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Theme palettes — Midnight is the :root default above.
   Each block overrides only the tokens that change per theme.
   ============================================================ */

/* ===== Theme: Daylight (light) ===== */
[data-theme="daylight"] {
  --bg: #f7f9fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --card: rgba(15, 23, 42, 0.04);
  --card-border: rgba(15, 23, 42, 0.10);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --primary: #6d28d9;
  --primary-2: #7c3aed;
  --accent: #0284c7;
  --accent-2: #db2777;
  --green: #059669;
  --orange: #ea580c;
  --grad: linear-gradient(135deg, #6d28d9 0%, #0284c7 100%);
  --grad-warm: linear-gradient(135deg, #db2777 0%, #ea580c 100%);
  --grad-text: linear-gradient(135deg, #7c3aed 0%, #0284c7 60%, #db2777 100%);
  --shadow-lg: 0 30px 60px -20px rgba(109, 40, 217, 0.22);
  --shadow-card: 0 20px 40px -25px rgba(15, 23, 42, 0.14);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.85);
  --glass: rgba(255, 255, 255, 0.9);
  --glass-2: rgba(255, 255, 255, 0.96);
  --track: rgba(15, 23, 42, 0.08);
  --hover-tint: rgba(15, 23, 42, 0.05);
  --grid-line: rgba(15, 23, 42, 0.04);
  --primary-tint: rgba(109, 40, 217, 0.10);
  --primary-glow: rgba(109, 40, 217, 0.45);
}

/* ===== Theme: Sunset (warm) ===== */
[data-theme="sunset"] {
  --bg: #1a0a14;
  --bg-2: #221019;
  --surface: #2c1422;
  --surface-2: #381a2a;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #fff1f3;
  --text-muted: #d8a9b8;
  --text-dim: #a87c8e;
  --primary: #ff5e7a;
  --primary-2: #ff9a8b;
  --accent: #ffa94d;
  --accent-2: #ff5e62;
  --green: #2dd4bf;
  --orange: #ffb74d;
  --grad: linear-gradient(135deg, #ff5e7a 0%, #ffa94d 100%);
  --grad-warm: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
  --grad-text: linear-gradient(135deg, #ff9a8b 0%, #ffa94d 60%, #ff5e7a 100%);
  --shadow-lg: 0 30px 60px -20px rgba(255, 94, 122, 0.4);
  --shadow-card: 0 20px 40px -25px rgba(0, 0, 0, 0.55);
  --nav-scrolled-bg: rgba(26, 10, 20, 0.85);
  --glass: rgba(44, 20, 34, 0.9);
  --glass-2: rgba(56, 26, 42, 0.95);
  --primary-tint: rgba(255, 94, 122, 0.12);
  --primary-glow: rgba(255, 94, 122, 0.6);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn i { transition: transform 0.35s var(--ease); }
.btn:hover i { transform: translateX(4px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px var(--primary-glow);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--hover-tint);
  transform: translateY(-3px);
}

.btn-light {
  background: #fff;
  color: var(--bg);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(255,255,255,0.4); }

.btn-full { width: 100%; justify-content: center; }

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { text-align: center; }
.loader-text {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.loader-bar {
  width: 160px;
  height: 3px;
  background: var(--track);
  border-radius: 50px;
  margin: 18px auto 0;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--grad);
  border-radius: 50px;
  animation: load 1.1s infinite var(--ease);
}
@keyframes load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  padding: 10px 0;
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}
.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 8px 20px -6px var(--primary-glow);
}
.brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
}
.brand-name span { color: var(--primary-2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.nav-cta { margin-left: 10px; padding: 10px 22px; color: #fff; }
.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Theme Switcher ===== */
.theme-switcher { position: relative; }
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
}
.theme-btn:hover { color: var(--text); border-color: var(--primary-tint); }
.theme-btn i.fa-palette { font-size: 0.95rem; color: var(--primary-2); }
.theme-btn .swatch {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad);
  border: 1px solid var(--card-border);
  box-shadow: 0 0 0 2px var(--bg-2);
}
.theme-btn .chevron { font-size: 0.7rem; transition: transform 0.3s var(--ease); margin-left: -2px; }
.theme-switcher.open .theme-btn .chevron { transform: rotate(180deg); }

.theme-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 8px;
  background: var(--glass-2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  z-index: 1001;
  /* hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
}
.theme-switcher.open .theme-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  position: relative;
}
.theme-option:hover { background: var(--hover-tint); color: var(--text); }
.theme-option .swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}
.theme-option .check {
  margin-left: auto;
  color: var(--primary-2);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.theme-option.active { color: var(--text); }
.theme-option.active .check { opacity: 1; }
/* per-theme swatch colors (static previews of each palette) */
.theme-option[data-theme="auto"] .swatch { background: linear-gradient(135deg, #6d28d9, #ffa94d); }
.theme-option[data-theme="midnight"] .swatch { background: linear-gradient(135deg, #6c5ce7, #00d4ff); }
.theme-option[data-theme="daylight"] .swatch { background: linear-gradient(135deg, #6d28d9, #0284c7); }
.theme-option[data-theme="sunset"] .swatch { background: linear-gradient(135deg, #ff5e7a, #ffa94d); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-orb 14s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; background: var(--primary); top: -120px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; right: -60px; animation-delay: -4s; }
.orb-3 { width: 320px; height: 320px; background: var(--accent-2); top: 40%; right: 30%; animation-delay: -8s; opacity: 0.3; }
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}
.badge i { color: var(--accent); }
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; }
.hstat { display: flex; flex-direction: column; }
.hstat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hstat-num::after { content: '+'; }
.hstat-label { font-size: 0.85rem; color: var(--text-dim); }

/* Hero Visual */
.hero-visual { position: relative; }
.code-window {
  background: var(--glass);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--track);
  border-bottom: 1px solid var(--card-border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.code-title {
  margin-left: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: monospace;
}
.code-body { padding: 24px; }
.code-body pre { font-family: 'Consolas', 'Monaco', monospace; font-size: 0.9rem; line-height: 1.8; overflow-x: auto; }
.c-key { color: #c792ea; }
.c-fn { color: #82aaff; }
.c-prop { color: #f78c6c; }
.c-str { color: #c3e88d; }
code { color: #eef1fb; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--glass-2);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  animation: bob 4s ease-in-out infinite;
}
.float-card i {
  font-size: 1.4rem;
  color: var(--accent);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(0, 212, 255, 0.12);
  border-radius: 10px;
}
.float-card strong { display: block; font-size: 0.9rem; font-family: 'Sora', sans-serif; }
.float-card small { font-size: 0.78rem; color: var(--text-dim); }
.float-card-1 { top: -28px; right: -20px; }
.float-card-2 { bottom: -24px; left: -24px; animation-delay: -2s; }
.float-card-2 i { color: var(--green); background: rgba(0, 224, 164, 0.12); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  z-index: 2;
}
.scroll-indicator span {
  width: 24px; height: 40px;
  border: 2px solid var(--text-dim);
  border-radius: 14px;
  position: relative;
}
.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--text-dim);
  border-radius: 4px;
  animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}
.scroll-indicator small { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== Marquee ===== */
.marquee-section { padding: 50px 0; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.marquee-title { text-align: center; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 28px; text-transform: uppercase; letter-spacing: 0.15em; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee-item i { color: var(--primary-2); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Section Heads ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 14px;
  padding: 6px 16px;
  background: var(--primary-tint);
  border-radius: 50px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== Services ===== */
.services { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  padding: 38px 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); background: var(--hover-tint); border-color: var(--primary-tint); box-shadow: var(--shadow-card); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--primary-tint);
  font-size: 1.6rem;
  color: var(--primary-2);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.service-card:hover .service-icon { background: var(--grad); color: #fff; transform: scale(1.05) rotate(-6deg); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 20px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.service-link i { transition: transform 0.3s var(--ease); }
.service-link:hover i { transform: translateX(5px); }

/* ===== About ===== */
.about { padding: 100px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-visual { position: relative; }
.about-image-wrap { position: relative; min-height: 420px; }
.about-image-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--grad);
  opacity: 0.15;
  filter: blur(4px);
}
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, var(--primary-tint), transparent 50%),
    radial-gradient(circle at 70% 80%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 50%),
    var(--surface);
  border: 1px solid var(--card-border);
}
.about-cards {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.about-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--glass-2);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: translateY(14px);
  white-space: nowrap;
}
.about-card.about-card-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.about-card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary-2);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.about-card-icon.green { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.about-card strong { display: block; font-family: 'Sora', sans-serif; font-size: 1rem; }
.about-card small { font-size: 0.8rem; color: var(--text-dim); }
.about-card-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
.about-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--text-dim);
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}
.about-dot.about-dot-active {
  opacity: 1;
  transform: scale(1.25);
  background: var(--primary-2);
}

.about-content .section-tag { margin-bottom: 14px; }
.about-content h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 18px; }
.about-text { color: var(--text-muted); margin-bottom: 30px; font-size: 1.05rem; }
.skills { margin-bottom: 36px; }
.skill { margin-bottom: 22px; }
.skill-top { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.92rem; font-weight: 500; }
.skill-top span:last-child { color: var(--primary-2); font-weight: 700; }
.skill-bar {
  height: 8px;
  background: var(--track);
  border-radius: 50px;
  overflow: hidden;
}
.skill-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 50px;
  transition: width 1.2s var(--ease);
}
.skill-bar.animate span { width: var(--w); }

/* ===== Process ===== */
.process { padding: 100px 0; background: var(--bg-2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  padding: 36px 26px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
}
.process-step:hover { transform: translateY(-6px); border-color: var(--primary-tint); }
.process-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  opacity: 0.85;
}
.process-step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Work ===== */
.work { padding: 100px 0; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-8px); border-color: var(--primary-tint); box-shadow: var(--shadow-card); }
.work-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.work-thumb-1 { background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.work-thumb-2 { background: var(--grad-warm); }
.work-thumb-3 { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.work-thumb-4 { background: linear-gradient(135deg, var(--green), var(--accent)); }
.work-thumb-5 { background: linear-gradient(135deg, var(--primary-2), var(--accent-2)); }
.work-thumb-6 { background: linear-gradient(135deg, var(--accent), var(--green)); }
.work-thumb .work-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease;
}
.work-thumb:hover .work-icon { transform: scale(1.12); }
.work-card-wide { grid-column: span 2; }
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work-thumb:hover::after { opacity: 1; }
.work-overlay {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1rem;
  z-index: 2;
  transform: translateY(-60px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.work-thumb:hover .work-overlay { transform: translateY(0); opacity: 1; }
.work-info { padding: 26px 28px; }
.work-cat {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.work-info h3 { font-size: 1.35rem; margin-bottom: 8px; }
.work-info p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Testimonials ===== */
.testimonials { padding: 100px 0; background: var(--bg-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.testi-card {
  padding: 36px 30px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 28px;
  font-family: 'Sora', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-tint);
}
.testi-card:hover { transform: translateY(-6px); border-color: var(--primary-tint); }
.testi-stars { color: #febc2e; margin-bottom: 16px; font-size: 0.85rem; }
.testi-card p { color: var(--text-muted); margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: #fff;
}
.testi-avatar.green { background: linear-gradient(135deg, var(--green), var(--accent)); }
.testi-avatar.orange { background: var(--grad-warm); }
.testi-author strong { display: block; font-family: 'Sora', sans-serif; font-size: 0.95rem; }
.testi-author small { color: var(--text-dim); font-size: 0.82rem; }

/* ===== CTA Banner ===== */
.cta-banner { padding: 60px 0; }
.cta-inner {
  position: relative;
  padding: 70px 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-tint), color-mix(in srgb, var(--accent) 10%, transparent));
  border: 1px solid var(--card-border);
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.cta-content p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }

/* ===== Contact ===== */
.contact { padding: 100px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 14px; }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 18px; }
.contact-text { color: var(--text-muted); margin-bottom: 36px; font-size: 1.05rem; }
.contact-details { margin-bottom: 32px; }
.contact-details li { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-details i {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary-2);
  font-size: 1.1rem;
}
.contact-details span { display: block; font-size: 0.82rem; color: var(--text-dim); }
.contact-details strong { font-family: 'Sora', sans-serif; font-size: 1rem; }
.contact-details strong a { color: inherit; }
.contact-socials { display: flex; gap: 12px; }
.contact-socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.contact-socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); border-color: transparent; }

.contact-form-wrap {
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; position: relative; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--track);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--hover-tint);
  box-shadow: 0 0 0 4px var(--primary-tint);
}
.form-group input.invalid,
.form-group textarea.invalid { border-color: var(--accent-2); }
.error {
  display: block;
  font-size: 0.8rem;
  color: var(--accent-2);
  margin-top: 6px;
  min-height: 16px;
  padding-left: 4px;
}
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(0, 224, 164, 0.1);
  border: 1px solid rgba(0, 224, 164, 0.3);
  border-radius: 12px;
  color: var(--green);
  font-size: 0.92rem;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }

/* ===== Footer ===== */
.footer { padding: 80px 0 0; border-top: 1px solid var(--card-border); background: var(--bg-2); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: var(--text-muted); margin-top: 18px; font-size: 0.95rem; max-width: 280px; }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.93rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--primary-2); }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.93rem; margin-bottom: 14px; }
.footer-contact a { color: inherit; }
.footer-contact i { color: var(--primary-2); width: 18px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
  font-size: 0.9rem;
}
.footer-socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); border-color: transparent; }
.footer-bottom { padding: 24px 0; border-top: 1px solid var(--card-border); text-align: center; }
.footer-bottom p { color: var(--text-dim); font-size: 0.88rem; }
.footer-bottom i { color: var(--accent-2); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px -8px var(--primary-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.service-card.reveal { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { max-width: 460px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-2);
    padding: 90px 28px 30px;
    gap: 14px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--card-border);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .menu-toggle { display: flex; z-index: 1001; }
  .nav-link.active::after { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-wide { grid-column: auto; }
  /* Theme switcher: compact on mobile — show only the swatch + icon */
  .theme-btn { padding: 8px 12px; }
  .theme-btn .theme-current { display: none; }
  .theme-btn .chevron { display: none; }
  .theme-menu { right: 14px; min-width: 190px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hstat-num { font-size: 1.6rem; }
  .cta-inner { padding: 50px 26px; }
  .contact-form-wrap { padding: 26px; }
  .float-card-1 { right: 10px; }
  .float-card-2 { left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
