/* ============================================================
   DAG DIGITAL — Main Stylesheet
   ============================================================ */

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

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Colors - Burgundy & Gold Accents */
  --burgundy-50:  hsl(342, 80%, 95%);
  --burgundy-100: hsl(342, 75%, 85%);
  --burgundy-200: hsl(342, 70%, 70%);
  --burgundy-300: hsl(342, 65%, 55%);
  --burgundy-400: hsl(342, 75%, 38%);
  --burgundy-500: hsl(342, 80%, 30%);
  --burgundy-600: hsl(342, 85%, 22%);
  --burgundy-700: hsl(342, 90%, 15%);

  --gold-50:  hsl(42, 80%, 95%);
  --gold-100: hsl(42, 75%, 85%);
  --gold-200: hsl(42, 70%, 72%);
  --gold-300: hsl(42, 65%, 62%);
  --gold-400: hsl(42, 60%, 55%);
  --gold-500: hsl(42, 65%, 45%);
  --gold-600: hsl(42, 70%, 38%);

  /* Dark Mode (default) */
  --bg-primary:    hsl(224, 38%, 7%);
  --bg-secondary:  hsl(224, 32%, 10%);
  --bg-card:       hsl(224, 28%, 13%);
  --bg-card-hover: hsl(224, 25%, 17%) ;
  --bg-glass:      hsla(224, 28%, 13%, 0.7);
  --border:        hsla(224, 40%, 100%, 0.06);
  --border-accent: hsla(342, 75%, 38%, 0.35);

  --text-primary:   hsl(224, 30%, 96%);
  --text-secondary: hsl(224, 18%, 75%);
  --text-muted:     hsl(224, 12%, 50%);

  --accent:         hsl(342, 75%, 38%);
  --accent-light:   hsl(42, 75%, 60%);
  --accent-dark:    hsl(342, 85%, 22%);
  --accent-glow:    hsla(342, 75%, 38%, 0.25);
  --accent-subtle:  hsla(342, 75%, 38%, 0.08);

  /* Gradients */
  --gradient-hero: radial-gradient(ellipse at 20% 50%, hsla(342, 75%, 35%, 0.12) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, hsla(42, 75%, 45%, 0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 60% 80%, hsla(224, 75%, 30%, 0.10) 0%, transparent 50%);
  --gradient-accent: linear-gradient(135deg, var(--burgundy-400), var(--gold-400));
  --gradient-card:   linear-gradient(135deg, hsla(342, 75%, 38%, 0.04) 0%, hsla(42, 75%, 55%, 0.02) 100%);
  --gradient-text:   linear-gradient(135deg, var(--gold-400) 0%, var(--burgundy-300) 50%, hsl(224, 60%, 45%) 100%);
  --gradient-line:   linear-gradient(90deg, transparent, var(--accent), var(--accent-light), transparent);

  /* Shadows */
  --shadow-sm:  0 2px 8px hsla(0,0%,0%,0.3);
  --shadow-md:  0 4px 20px hsla(0,0%,0%,0.4);
  --shadow-lg:  0 8px 40px hsla(0,0%,0%,0.5);
  --shadow-accent: 0 8px 32px hsla(342, 75%, 38%, 0.22);
  --shadow-glow: 0 0 60px hsla(342, 75%, 38%, 0.12);

  /* Spacing */
  --section-py: 100px;
  --container-max: 1280px;
  --container-px: clamp(20px, 5vw, 80px);

  /* Typography */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Nav height */
  --nav-height: 72px;
}

/* Light Mode */
[data-theme="light"] {
  --bg-primary:    hsl(224, 30%, 98%);
  --bg-secondary:  hsl(224, 25%, 94%);
  --bg-card:       hsl(0, 0%, 100%);
  --bg-card-hover: hsl(224, 25%, 97%);
  --bg-glass:      hsla(0, 0%, 100%, 0.8);
  --border:        hsla(224, 20%, 0%, 0.08);
  --border-accent: hsla(342, 75%, 38%, 0.25);

  --text-primary:   hsl(224, 35%, 12%);
  --text-secondary: hsl(224, 20%, 40%);
  --text-muted:     hsl(224, 15%, 60%);

  --accent:         hsl(342, 75%, 38%);
  --accent-light:   hsl(42, 70%, 50%);
  --accent-dark:    hsl(342, 85%, 22%);
  --accent-glow:    hsla(342, 75%, 38%, 0.15);
  --accent-subtle:  hsla(342, 75%, 38%, 0.05);

  --shadow-sm:  0 2px 8px hsla(224,18%,12%,0.06);
  --shadow-md:  0 4px 20px hsla(224,18%,12%,0.10);
  --shadow-lg:  0 8px 40px hsla(224,18%,12%,0.12);
  --shadow-accent: 0 8px 32px hsla(342,75%,38%,0.15);
  --shadow-glow: 0 0 60px hsla(342,75%,38%,0.08);

  --gradient-hero: radial-gradient(ellipse at 20% 50%, hsla(342, 75%, 38%, 0.05) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, hsla(42, 70%, 50%, 0.04) 0%, transparent 50%),
                   radial-gradient(ellipse at 60% 80%, hsla(224, 60%, 45%, 0.03) 0%, transparent 50%);
  --gradient-card: linear-gradient(135deg, hsla(342, 75%, 38%, 0.03) 0%, hsla(42, 70%, 50%, 0.02) 100%);
  --gradient-text: linear-gradient(135deg, var(--burgundy-500) 0%, var(--gold-600) 50%, hsl(224, 60%, 35%) 100%);
}

/* ─── MARDIN EMBROIDERY STONE PATTERN ─────────────────────── */
.mardin-pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z M40 15 L65 40 L40 65 L15 40 Z' fill='none' stroke='%23d4af37' stroke-opacity='0.03' stroke-width='1'/%3E%3Ccircle cx='40' cy='40' r='6' fill='none' stroke='%23aa1a48' stroke-opacity='0.03' stroke-width='1'/%3E%3Crect x='34' y='34' width='12' height='12' fill='none' stroke='%23d4af37' stroke-opacity='0.03' stroke-width='1' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 0 L10 0 M0 0 L0 10 M80 0 L70 0 M80 0 L80 10 M80 80 L70 80 M80 80 L80 70 M0 80 L10 80 M0 80 L0 70' fill='none' stroke='%23d4af37' stroke-opacity='0.02' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 1;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ─── SELECTION ──────────────────────────────────────────── */
::selection { background: var(--accent-glow); color: var(--text-primary); }

/* ─── UTILITIES ──────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-py { padding: var(--section-py) 0; }

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  background: var(--accent-subtle);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px hsla(342,75%,38%,0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--accent);
  padding: 14px 0;
}

.btn-ghost:hover { gap: 12px; }

.btn-ghost svg { transition: transform var(--transition-base); }
.btn-ghost:hover svg { transform: translateX(4px); }

.divider-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  margin: 20px auto 0;
}

/* ─── ANIMATED BACKGROUND ────────────────────────────────── */
.mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.mesh-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, hsla(342,75%,38%,0.12) 0%, transparent 70%);
  animation: float-1 12s ease-in-out infinite;
}

.mesh-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: 5%;
  background: radial-gradient(circle, hsla(42,75%,55%,0.08) 0%, transparent 70%);
  animation: float-2 15s ease-in-out infinite;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.mesh-orb-1 {
  width: 500px; height: 500px;
  top: 10%; left: 20%;
  background: radial-gradient(circle, hsla(342,75%,38%,0.08), transparent);
  animation: float-1 18s ease-in-out infinite;
}

.mesh-orb-2 {
  width: 350px; height: 350px;
  top: 60%; right: 10%;
  background: radial-gradient(circle, hsla(224,50%,40%,0.08), transparent);
  animation: float-2 14s ease-in-out infinite;
}

.mesh-orb-3 {
  width: 250px; height: 250px;
  bottom: 20%; left: 40%;
  background: radial-gradient(circle, hsla(42,75%,55%,0.06), transparent);
  animation: float-3 20s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, -20px) rotate(180deg); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, 30px); }
  75% { transform: translate(-20px, -30px); }
}

/* ─── GRID LINES (decorative) ────────────────────────────── */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ─── HEADER / NAVBAR ────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-slow);
}

#navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

#navbar .container {
  height: 100%;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--accent-subtle);
}

.nav-link:hover::after, .nav-link.active::after { width: 20px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  background: transparent;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.theme-toggle svg { width: 18px; height: 18px; transition: transform var(--transition-spring); }
.theme-toggle:hover svg { transform: rotate(15deg); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--bg-primary);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}

.hero-left { max-width: 620px; }

.hero-badge { margin-bottom: 28px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-title span { display: block; }

.hero-description {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item {}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.hero-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero-card-sub { font-size: 12px; color: var(--text-muted); }

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-item {
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.floating-badge-1 {
  top: -20px;
  right: -20px;
  animation: float-badge 4s ease-in-out infinite;
}

.floating-badge-2 {
  bottom: -20px;
  left: -20px;
  animation: float-badge 4s ease-in-out infinite 2s;
}

.floating-badge .badge-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  width: 3px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}

/* ─── CLIENTS TICKER ─────────────────────────────────────── */
#clients {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-secondary);
}

.clients-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 25s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-base);
  padding: 8px 0;
}

.ticker-item:hover { color: var(--accent); }

.ticker-item::before {
  content: '◆';
  font-size: 6px;
  color: var(--accent);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── SERVICES ───────────────────────────────────────────── */
#services { background: var(--bg-primary); position: relative; overflow: hidden; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
  group: true;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-accent);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-accent);
  transition: transform var(--transition-spring);
}

.service-card:hover .service-icon { transform: scale(1.08) rotate(3deg); }

.service-number {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 64px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  font-family: var(--font-display);
  transition: color var(--transition-slow);
}

.service-card:hover .service-number { color: var(--border-accent); }

.service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.service-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.service-card:hover .service-tag {
  border-color: var(--border-accent);
  color: var(--accent-light);
}

.service-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-spring);
  z-index: 1;
}

.service-card:hover .service-arrow {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
  transform: rotate(45deg);
}

/* ─── WHY US ─────────────────────────────────────────────── */
#why-us {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.why-us-left {}

.why-us-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0 24px;
  letter-spacing: -0.5px;
}

.why-us-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--accent);
  transition: all var(--transition-spring);
}

.feature-item:hover .feature-icon {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
  transform: scale(1.05);
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.why-us-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.why-stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.why-stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.why-stat-card:hover::before { transform: scaleX(1); }

.why-stat-card:nth-child(2) { margin-top: 32px; }
.why-stat-card:nth-child(4) { margin-top: -32px; }

.why-stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.why-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── PORTFOLIO ──────────────────────────────────────────── */
#portfolio {
  background: var(--bg-primary);
  position: relative;
}

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition-base);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-slow);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.portfolio-item:nth-child(2) { grid-row: span 2; }

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.portfolio-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.portfolio-item:nth-child(2) .portfolio-thumb {
  aspect-ratio: 3/4.5;
  height: 100%;
}

.portfolio-item:hover .portfolio-thumb { transform: scale(1.05); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(224,38%,7%,0.95) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-light);
  margin-bottom: 6px;
}

.portfolio-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  border: 1px solid var(--border-accent);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  width: fit-content;
  transition: all var(--transition-base);
}

.portfolio-link:hover {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  gap: 12px;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
#about {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

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

.about-visual {
  position: relative;
}

.about-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.about-badge-float-1 {
  top: 32px;
  right: -24px;
  animation: float-badge 6s ease-in-out infinite;
}

.about-badge-float-2 {
  bottom: 60px;
  left: -24px;
  animation: float-badge 6s ease-in-out infinite 3s;
}

.about-badge-num {
  font-size: 28px;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.about-badge-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.about-content {}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0 24px;
  letter-spacing: -0.5px;
}

.about-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.value-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.value-check {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: #fff;
}

.value-text { font-size: 13px; font-weight: 600; line-height: 1.4; }

/* ─── PROCESS ────────────────────────────────────────────── */
#process {
  background: var(--bg-primary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--gradient-line);
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: all var(--transition-slow);
}

.process-step:hover .step-number {
  border-color: var(--accent);
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
  transform: scale(1.1);
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ─── TESTIMONIALS ───────────────────────────────────────── */
#testimonials {
  background: var(--bg-secondary);
  overflow: hidden;
}

.testimonials-wrapper {
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all var(--transition-slow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--border-accent);
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars span { color: hsl(45, 100%, 55%); font-size: 16px; }

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.author-role { font-size: 12px; color: var(--text-muted); }

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  background: var(--bg-card);
}

.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
  transition: all var(--transition-base);
  cursor: pointer;
}

.carousel-dot.active {
  width: 24px;
  background: var(--accent);
}

/* ─── PRICING ────────────────────────────────────────────── */
#pricing {
  background: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background var(--transition-slow);
}

.pricing-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, hsla(185,70%,48%,0.05) 100%);
  transform: scale(1.04);
}

.pricing-card.featured::before {
  background: var(--gradient-accent);
}

.pricing-card:hover:not(.featured) {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-popular {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.price-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period { font-size: 14px; color: var(--text-muted); }

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

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.pricing-feature .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}

.pricing-feature.disabled { color: var(--text-muted); }
.pricing-feature.disabled .check {
  background: var(--border);
  color: var(--text-muted);
}

/* ─── CONTACT ────────────────────────────────────────────── */
#contact {
  background: var(--bg-secondary);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.contact-card-title { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; }
.contact-card-value { font-size: 14px; font-weight: 600; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  transition: all var(--transition-spring);
}

.social-link:hover {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  transition: all var(--transition-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option { background: var(--bg-card); color: var(--text-primary); }

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  color: var(--accent-light);
  font-weight: 600;
  margin-top: 16px;
}

/* ─── CTA BANNER ─────────────────────────────────────────── */
#cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--bg-primary);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(185,70%,20%,0.3), hsla(220,18%,7%,0.95), hsla(260,70%,20%,0.2));
  border-radius: var(--radius-xl);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.cta-orb-1 {
  width: 400px; height: 400px;
  top: -100px; left: -100px;
  background: radial-gradient(circle, hsla(342,75%,38%,0.15), transparent);
}

.cta-orb-2 {
  width: 300px; height: 300px;
  bottom: -100px; right: -50px;
  background: radial-gradient(circle, hsla(42,75%,55%,0.10), transparent);
}

.cta-section-inner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  overflow: hidden;
}

.cta-section-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.cta-description {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-link::before { content: '→'; font-size: 12px; opacity: 0; transition: opacity var(--transition-base); }
.footer-link:hover::before { opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--accent);
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.footer-legal a:hover { color: var(--accent); }

/* Affiliate footer styling */
.footer-affiliate {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-affiliate-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.footer-affiliate-link:hover {
  opacity: 0.9;
}

.footer-affiliate-link .affiliate-dag {
  color: var(--accent);
  font-weight: 600;
}

.footer-affiliate-link .affiliate-darama {
  color: var(--accent-light);
  font-weight: 600;
}

@media (min-width: 768px) {
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
  }
  .footer-copy {
    justify-self: start;
    text-align: left;
  }
  .footer-affiliate {
    justify-self: center;
    text-align: center;
  }
  .footer-legal {
    justify-self: end;
  }
}

/* ─── ANIMATIONS & REVEAL ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── MOBILE MENU ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-slow);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { width: 100%; padding: 12px 16px; }
  .hamburger { display: flex; }
  .nav-actions .btn { display: none; }

  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-us-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:nth-child(2) { grid-row: auto; }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  :root { --section-py: 64px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-us-right { grid-template-columns: 1fr 1fr; }
  .why-stat-card:nth-child(2), .why-stat-card:nth-child(4) { margin: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section-inner { padding: 48px 24px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .about-values { grid-template-columns: 1fr; }
  .about-badge-float { display: none; }
}

/* ─── PORTFOLIO PLACEHOLDER IMAGES ──────────────────────── */
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}

.portfolio-placeholder .ph-icon { font-size: 40px; }
.portfolio-placeholder .ph-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ─── LOADING ANIMATION ──────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: loader-pulse 1.5s ease-in-out infinite;
}

.loader-logo img { height: 90px; width: auto; }

.loader-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  animation: loader-bar 1.5s ease-in-out forwards;
}

@keyframes loader-bar {
  from { width: 0; }
  to { width: 100%; }
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all var(--transition-slow);
  z-index: 100;
  border: none;
  cursor: pointer;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px hsla(185,70%,48%,0.5);
}

/* ─── COOKIE BANNER ──────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  backdrop-filter: blur(20px);
  transition: all var(--transition-slow);
}

#cookie-banner.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-accept { flex: 1; }
.cookie-decline { font-size: 13px; color: var(--text-muted); background: none; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 16px; cursor: pointer; transition: all var(--transition-base); }
.cookie-decline:hover { border-color: var(--accent); color: var(--accent); }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
#whatsapp-float {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  z-index: 100;
  transition: all var(--transition-spring);
  border: none;
  cursor: pointer;
}

#whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}

/* ─── NOTIFICATION TOAST ─────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  animation: toast-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(20px);
}

.toast.success { border-left: 3px solid #22c55e; }
.toast.error { border-left: 3px solid #ef4444; }

.toast-icon { font-size: 20px; }
.toast-message { font-size: 14px; font-weight: 500; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}
