/* ─── CSS VARIABLES ─── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.15);

  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --accent-gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #475569;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

::selection {
  background: rgba(139, 92, 246, 0.3);
  color: var(--text-primary);
}

/* ─── AMBIENT BACKGROUND ─── */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation-delay: -10s;
}

.orb-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  top: 60%;
  right: 20%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* ─── NOISE OVERLAY ─── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── NAVIGATION ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-cta {
  background: var(--accent-gradient-2);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  margin-left: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  gap: 60px;
}

.hero-container {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* .gradient-shimmer overrides above for the hero title */

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

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  min-height: 52px;
  min-width: 160px;
}

.btn-primary {
  background: var(--accent-gradient-2);
  color: white;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-active);
  background: var(--bg-card);
}

.btn-secondary-dark {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary-dark:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
}

.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tag {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  -webkit-user-select: none;
}

.hero-tag:hover,
.hero-tag.active {
  background: var(--bg-glass);
  border-color: var(--border-active);
  color: var(--text-secondary);
}

/* Hero Preview Card */
.hero-preview {
  flex: 0 0 380px;
}

.preview-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.preview-header {
  margin-bottom: 20px;
}

.preview-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.preview-content h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.preview-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.preview-buttons {
  display: flex;
  gap: 8px;
}

.p-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.p-btn-outline {
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.p-btn-fill {
  background: var(--accent-gradient-2);
  color: white;
}

/* ─── SECTION COMMON ─── */
section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 6px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── SERVICES SECTION ─── */
.services {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.service-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:active {
  transform: translateY(-2px) scale(0.98);
}

.service-card.selected {
  border-color: var(--accent-purple);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15), var(--shadow-lg);
}

.service-card.selected .service-icon {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
}

.service-card.selected .service-name {
  color: var(--accent-purple);
}

.service-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--accent-blue);
  transition: var(--transition);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-price {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
  padding: 6px 12px;
  border-radius: 100px;
}

.service-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: var(--transition);
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.s-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* Service button - hidden by default, shown on card click */
.service-btn {
  width: 100%;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
  margin-bottom: 12px;
  min-height: 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  display: none;
}

.service-card.selected .service-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.service-btn:hover {
  background: var(--accent-gradient-2);
  border-color: transparent;
  color: white;
}

.service-btn:active {
  transform: scale(0.98);
}

.service-note {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ─── PRICING SECTION ─── */
.pricing-section {
  background: var(--bg-secondary);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.option-group {
  margin-bottom: 40px;
}

.option-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.option-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  -webkit-user-select: none;
}

.option-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.option-card:active {
  transform: scale(0.98);
}

.option-card.active {
  border-color: var(--accent-blue);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.option-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.option-icon svg {
  width: 18px;
  height: 18px;
}

.option-name {
  font-weight: 600;
  font-size: 14px;
  flex: 1;
}

.check-indicator {
  width: 22px;
  height: 22px;
  background: var(--accent-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.check-indicator svg {
  width: 12px;
  height: 12px;
}

.popular-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--accent-purple);
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
}

.option-price {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Addon List */
.addon-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.addon-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.addon-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Toggle Switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle input:checked + .toggle-slider {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent-blue);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateY(-50%) translateX(20px);
  background: var(--accent-blue);
}

/* Pricing Result */
.pricing-result {
  position: sticky;
  top: 100px;
}

.result-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.result-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.result-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.result-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.result-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--accent-gradient-2);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  min-height: 52px;
}

.result-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

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

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

.process-line {
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue), var(--accent-cyan));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-purple);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent-blue);
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

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

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

/* ─── FAQ SECTION ─── */
.faq {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-active);
}

.faq-item.active {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-purple);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-info .section-subtitle {
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  min-height: 64px;
}

.contact-item:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.contact-item:active {
  transform: scale(0.98);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-height: 52px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  padding: 16px;
  background: var(--accent-gradient-2);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
  min-height: 56px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.form-submit:active {
  transform: translateY(0);
}

/* ─── RESOURCES SECTION ─── */
.resources {
  background: var(--bg-primary);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.resource-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.resource-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.resource-card:active {
  transform: scale(0.98);
}

.resource-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.resource-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  padding: 100px 24px;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

/* ─── FOOTER ─── */
.footer {
  position: relative;
  overflow: hidden;
  background: #06060f;
  padding: 100px 24px 48px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Background glow blob */
.footer-glow {
  position: absolute;
  width: 700px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Big centered logo */
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}
.footer-logo-link:hover { transform: scale(1.04); }
.footer-logo-link:hover .footer-logo-img { transform: rotate(360deg); }

.footer-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

.footer-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.footer-logo-accent {
  color: #8b5cf6;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.3);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.04em;
}

/* Nav links row */
.footer-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 4px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  padding: 4px 12px;
  border-radius: 20px;
  transition: color 0.25s ease, background 0.25s ease;
}
.footer-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.footer-sep {
  color: rgba(255,255,255,0.15);
  font-size: 14px;
}

/* Contacts row */
.footer-contacts-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  transition: color 0.25s ease;
}
.footer-contact-item:hover { color: rgba(255,255,255,0.75); }
.footer-contact-item svg { opacity: 0.6; }

.footer-divider {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  margin: 0 auto 36px;
}

/* Bottom love line */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.footer-love {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
}
.footer-heart {
  color: #ec4899;
  display: inline-block;
  animation: heartBeat 1.8s ease-in-out infinite;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  56% { transform: scale(1); }
}
.footer-brand-name {
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.15);
  font-family: 'Space Grotesk', sans-serif;
}


/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-active);
}

/* ─── RESPONSIVE: TABLET (max 1024px) ─── */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding-top: 100px;
  }

  .hero-container {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-tags {
    justify-content: center;
  }

  .hero-preview {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-result {
    position: static;
    margin-top: 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-contacts {
    text-align: center;
    align-items: center;
  }
}

/* ─── RESPONSIVE: MOBILE (max 768px) ─── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius-md);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding: 16px;
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 90px 16px 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
  }

  .hero-tags {
    justify-content: center;
  }

  .hero-tag {
    font-size: 12px;
    padding: 10px 16px;
  }

  .preview-card {
    padding: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px;
  }

  .service-btn {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
  }

  .service-price {
    font-size: 13px;
    top: 28px;
    right: 28px;
  }

  .option-cards {
    grid-template-columns: 1fr;
  }

  .option-card {
    padding: 16px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .process-line {
    display: none;
  }

  .step-num {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 0 24px 20px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .resource-card {
    padding: 28px;
  }

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

  .contact-form-wrap {
    padding: 28px;
  }

  .contact-item {
    padding: 14px 16px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-contacts {
    text-align: center;
    align-items: center;
  }

  section {
    padding: 64px 0;
  }

  .section-container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .cta-section {
    padding: 64px 16px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .result-card {
    padding: 28px 24px;
  }

  .result-amount {
    font-size: 36px;
  }
}

/* ─── RESPONSIVE: SMALL MOBILE (max 480px) ─── */
@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 26px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .step-num {
    margin: 0;
    flex-shrink: 0;
  }

  .step-icon {
    display: none;
  }

  .step-title {
    margin-bottom: 4px;
  }

  .service-card {
    padding: 24px;
  }

  .service-name {
    font-size: 18px;
  }

  .service-desc {
    font-size: 13px;
  }

  .service-price {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
  }

  .addon-item {
    padding: 14px;
    gap: 10px;
  }

  .addon-name {
    font-size: 13px;
  }

  .addon-price {
    font-size: 13px;
  }

  .logo-text {
    font-size: 20px;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .nav-container {
    padding: 0 16px;
  }
}

/* ─── RESPONSIVE: LANDSCAPE MOBILE ─── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 80px;
  }

  .hero-preview {
    display: none;
  }
}

/* ─── TOUCH DEVICE OPTIMIZATIONS ─── */
@media (hover: none) {
  .service-card:hover,
  .resource-card:hover,
  .option-card:hover,
  .contact-item:hover {
    transform: none;
  }

  .btn:hover,
  .nav-cta:hover,
  .result-btn:hover,
  .form-submit:hover {
    transform: none;
  }

  .service-btn {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
  }
}

/* ─── CURRENCY SWITCHER ─── */
.currency-switcher {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
}

.currency-btn {
  flex: 1;
  padding: 8px 4px;
  border: none;
  border-radius: calc(var(--radius-md) - 4px);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
}

.currency-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.currency-btn.active {
  background: var(--accent-gradient-2);
  color: #fff;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.35);
}

.currency-rate-info {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 12px;
  min-height: 16px;
  letter-spacing: 0.03em;
}

.currency-rate-info.loading {
  opacity: 0.6;
}

.currency-rate-info .rate-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.currency-rate-info .rate-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

/* ── Works Section ─────────────────────────────────── */
.works {
  padding: 8rem 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.work-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

.work-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}

.work-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ── Testimonials Section ────────────────────────────── */
.testimonials {
  padding: 8rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,92,246,0.5), rgba(59,130,246,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.author-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ─── PRICING TABLE ─── */
.pricing-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.pricing-table thead th {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-table thead th:not(:first-child) {
  text-align: right;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s ease;
}

.pricing-table tbody tr:hover {
  background: var(--bg-card-hover);
}

.pricing-table tbody td {
  padding: 1.1rem 1.25rem;
  font-size: 0.97rem;
  color: var(--text-primary);
}

.pricing-table tbody td:first-child {
  font-weight: 500;
  text-align: left;
}

.pricing-table tbody td:not(:first-child) {
  text-align: right;
  color: var(--text-secondary);
  white-space: nowrap;
}

.pricing-table tbody td:nth-child(2) {
  color: var(--accent-purple);
  font-weight: 600;
}

.pricing-table-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .pricing-table tbody td {
    padding: 0.85rem 0.75rem;
    font-size: 0.88rem;
  }
  .pricing-table thead th {
    padding: 0.6rem 0.75rem;
  }
}

/* ─── CANVAS BACKGROUND ─── */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ─── ENHANCED HOVER ANIMATIONS ─── */
.service-card {
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s ease, border-color 0.3s ease !important;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 50px rgba(139,92,246,0.18) !important;
}

.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}
.btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(139,92,246,0.3) !important;
}
.btn:active { transform: translateY(-1px) !important; }

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-gradient-2);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }

.faq-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.faq-item:hover {
  transform: translateX(6px) !important;
  box-shadow: -3px 0 0 var(--accent-purple) !important;
}

.contact-item {
  transition: transform 0.3s ease !important;
}
.contact-item:hover { transform: translateX(8px) !important; }

.pricing-table tbody tr {
  transition: background 0.2s ease, transform 0.2s ease !important;
}
.pricing-table tbody tr:hover {
  transform: translateX(4px);
}

/* ─── HERO GRADIENT TEXT ANIMATION ─── */

/* ─── BADGE PULSE ─── */
.badge-dot {
  animation: pulse 2s ease-in-out infinite !important;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(139,92,246,0.4); }
  50% { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(139,92,246,0); }
}

/* ─── SECTION TAG SHIMMER ─── */
.section-tag {
  position: relative;
  overflow: hidden;
}
.section-tag::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ─── PREVIEW CARD ANIMATION ─── */
.preview-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  animation: livePulse 2s ease-in-out infinite;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); opacity: 1; }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); opacity: 0.8; }
}

.preview-label {
  display: flex;
  align-items: center;
}

.preview-card {
  animation: cardFloat 6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(0.5deg); }
  66% { transform: translateY(-4px) rotate(-0.3deg); }
}

.preview-card:hover {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.01) !important;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 24px 48px rgba(139,92,246,0.18) !important;
}

/* ─── MOBILE: PRICING LAYOUT ─── */
@media (max-width: 900px) {
  .pricing-layout {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .pricing-result {
    order: -1;
  }
  .result-card {
    text-align: center;
  }
  .currency-switcher {
    justify-content: center;
  }
}

/* ─── MOBILE: WORKS GRID ─── */
@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .work-card {
    padding: 24px !important;
  }
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .contact-info {
    order: 0;
  }
  .contact-form-wrap {
    order: 1;
  }
  .hero-preview {
    display: none;
  }
  .hero-container {
    max-width: 100% !important;
    text-align: center;
  }
  .hero-actions {
    align-items: center;
  }
  .hero-tags {
    justify-content: center;
  }
  .option-cards {
    grid-template-columns: 1fr 1fr !important;
  }
  .pricing-table {
    font-size: 13px;
  }
  .pricing-table tbody td {
    padding: 0.8rem 0.6rem;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .cta-title {
    font-size: 26px !important;
  }
  .result-amount {
    font-size: 42px !important;
  }
}

@media (max-width: 480px) {
  .option-cards {
    grid-template-columns: 1fr !important;
  }
  .preview-card {
    animation: none;
  }
  .hero-title {
    font-size: 30px !important;
  }
  .contact-form-wrap {
    padding: 20px !important;
  }
  .faq-question {
    font-size: 14px !important;
    padding: 16px 20px !important;
  }
  .currency-switcher {
    flex-wrap: wrap;
    gap: 6px;
  }
  .currency-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .pricing-table th,
  .pricing-table td {
    padding: 0.65rem 0.5rem !important;
    font-size: 12px !important;
  }
}

/* ─── CURRENCY RATE INDICATOR STATES ─── */
.rate-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  position: relative; top: -1px;
}
.rate-dot.live {
  background: #22c55e;
}
.rate-dot.stale {
  background: #f59e0b;
}
.rate-dot.updating {
  background: rgba(139,92,246,0.7);
}

/* ─── HERO STATS ─── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--accent-gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 20px;
    margin-top: 28px;
    padding-top: 24px;
    justify-content: center;
  }
  .hero-stat-value {
    font-size: 22px;
  }
  .hero-stat-label {
    font-size: 11px;
  }
}

@media (max-width: 400px) {
  .hero-stats {
    gap: 14px;
  }
  .hero-stat-value {
    font-size: 20px;
  }
  .hero-stat-divider {
    height: 28px;
  }
}

/* ═══════════════════════════════════════════════
   FULLSCREEN MOBILE MENU OVERLAY
   ═══════════════════════════════════════════════ */

:root {
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
}

/* Hide default nav-links on mobile (keep desktop) */
@media (max-width: 767px) {
  .nav-links {
    display: none !important;
  }
}

/* Hamburger button styling */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s ease,
              background 0.3s ease;
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
}

/* ── Overlay base ── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

/* Clip-path curtain: closed = circle(0% at top right), open = full */
.mobile-menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #080810;
  clip-path: circle(0% at calc(100% - 36px) 36px);
  transition: clip-path 0.75s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 0;
}
.mobile-menu-overlay.is-open::before {
  clip-path: circle(150% at calc(100% - 36px) 36px);
}
.mobile-menu-overlay.is-open {
  pointer-events: all;
}

/* Glow blobs inside menu */
.mobile-menu-bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  pointer-events: none;
  z-index: 1;
  animation: menuGlowPulse 4s ease-in-out infinite;
}
@keyframes menuGlowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Inner wrapper (all content) */
.mobile-menu-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 36px 48px;
  overflow: hidden;
}

/* ── Nav links ── */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;

  /* Staggered slide-in */
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.3s;
}

.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(1) { opacity:1; transform:none; transition-delay: 0.18s; }
.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(2) { opacity:1; transform:none; transition-delay: 0.24s; }
.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(3) { opacity:1; transform:none; transition-delay: 0.30s; }
.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(4) { opacity:1; transform:none; transition-delay: 0.36s; }
.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(5) { opacity:1; transform:none; transition-delay: 0.42s; }

/* Hover shimmer line */
.mobile-nav-link::after {
  content: '';
  position: absolute;
  left: -100%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left 0.5s ease;
}
.mobile-nav-link:hover::after {
  left: 100%;
}

.mobile-nav-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  min-width: 28px;
  font-family: 'Space Grotesk', sans-serif;
}

.mobile-nav-text {
  flex: 1;
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  transition: color 0.25s ease;
}

.mobile-nav-link:hover .mobile-nav-text {
  color: var(--accent-bright);
}

.mobile-nav-arrow {
  font-size: 20px;
  color: rgba(255,255,255,0.2);
  transition: transform 0.3s ease, color 0.3s ease;
}
.mobile-nav-link:hover .mobile-nav-arrow {
  transform: translateX(6px);
  color: var(--accent);
}

/* ── CTA block ── */
.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.52s, transform 0.5s ease 0.52s;
}
.mobile-menu-overlay.is-open .mobile-menu-cta {
  opacity: 1;
  transform: none;
}

.mobile-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.01em;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 32px rgba(139,92,246,0.35);
}
.mobile-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  border-radius: inherit;
}
.mobile-cta-btn:active {
  transform: scale(0.97);
}

.mobile-menu-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-contact-link {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
  transition: color 0.2s ease;
}
.mobile-contact-link:hover { color: rgba(255,255,255,0.8); }

/* ── Footer ── */
.mobile-menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.2);
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0;
  transition: opacity 0.4s ease 0.58s;
}
.mobile-menu-overlay.is-open .mobile-menu-footer {
  opacity: 1;
}

/* ── Body scroll lock ── */
body.menu-open {
  overflow: hidden;
}

/* ── Mobile menu close button ── */
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
  transition: opacity 0.4s ease 0.3s, transform 0.4s cubic-bezier(0.23,1,0.32,1) 0.3s, background 0.2s;
}
.mobile-menu-overlay.is-open .mobile-menu-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.mobile-menu-close:hover {
  background: rgba(139,92,246,0.25);
  border-color: rgba(139,92,246,0.5);
}
.mobile-menu-close:active {
  transform: scale(0.92);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS PACK
   ═══════════════════════════════════════════════ */

/* ── 1. Scroll Reveal base ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.from-left  { transform: translateX(-48px); }
.reveal.from-right { transform: translateX(48px); }
.reveal.scale-in   { transform: scale(0.88); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.reveal-group > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

/* ── 2. Marquee ticker ── */
.marquee-section {
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin: 0 0 80px;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  transition: color 0.3s;
}
.marquee-item:hover { color: rgba(255,255,255,0.7); }
.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, #8b5cf6);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 3. Cursor spotlight ── */
.cursor-spotlight {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
  mix-blend-mode: screen;
}

/* ── 4. Service cards: tilt + glow border ── */
.service-card {
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.4s ease,
              border-color 0.4s ease !important;
  will-change: transform;
}
.service-card:hover {
  box-shadow: 0 20px 60px rgba(139,92,246,0.15), 0 0 0 1px rgba(139,92,246,0.25) !important;
}

/* ── 5. Step cards: draw-in left border ── */
.step {
  position: relative;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, var(--accent, #8b5cf6), transparent);
  transition: height 0.6s cubic-bezier(0.23,1,0.32,1);
  border-radius: 2px;
}
.step:hover::before {
  height: 100%;
}

/* ── 6. Section tags pop ── */
.section-tag {
  display: inline-block;
  transition: letter-spacing 0.4s ease, color 0.3s ease;
}
.section-tag:hover {
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
}

/* ── 7. Number counter shimmer ── */
.hero-stat-value {
  position: relative;
  display: inline-block;
}
.hero-stat-value::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmerStat 3s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes shimmerStat {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── 8. Smooth navbar appearance ── */
.navbar {
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.navbar.hidden {
  transform: translateY(-100%);
}

/* ── 9. FAQ items: reveal answer with height ── */
.faq-answer {
  transition: max-height 0.5s cubic-bezier(0.23,1,0.32,1),
              opacity 0.4s ease,
              padding 0.3s ease !important;
}

/* ── 10. Btn magnetic effect indicator ── */
.btn {
  transition: transform 0.25s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.25s ease,
              background 0.3s ease !important;
}

/* ── 11. Logo spin on hover ── */
.logo-img {
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.logo:hover .logo-img {
  transform: rotate(360deg);
}

/* ── 12. Gradient text animation — handled by .gradient-shimmer ── */

/* ── 13. Badge dot pulse enhanced ── */
.badge-dot, .preview-dot {
  animation: dotPulse 2s ease-in-out infinite !important;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); transform: scale(1.15); }
}

/* ── Hero title shimmer ── */
.gradient-text.gradient-shimmer,
span.gradient-shimmer {
  background: linear-gradient(90deg, #a78bfa 0%, #c084fc 25%, #818cf8 50%, #e879f9 75%, #a78bfa 100%) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  animation: heroShimmer 4s ease-in-out infinite !important;
  display: inline !important;
}
@keyframes heroShimmer {
  0%   { background-position: 100% center; }
  50%  { background-position: 0% center; }
  100% { background-position: 100% center; }
}
/* Mobile explicit override */
@media (max-width: 767px) {
  .gradient-text.gradient-shimmer,
  span.gradient-shimmer {
    background: linear-gradient(90deg, #a78bfa 0%, #c084fc 25%, #818cf8 50%, #e879f9 75%, #a78bfa 100%) !important;
    background-size: 250% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    animation: heroShimmer 4s ease-in-out infinite !important;
  }
}

/* ═══════════════════════════════════════════════
   8 IMPROVEMENTS
   ═══════════════════════════════════════════════ */

/* ── 1. Hero CTA pulse on load ── */
@keyframes ctaPulseLoad {
  0%   { box-shadow: 0 0 0 0 rgba(139,92,246,0.7); transform: scale(1); }
  50%  { box-shadow: 0 0 0 14px rgba(139,92,246,0); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(139,92,246,0); transform: scale(1); }
}
.hero-cta-pulse {
  animation: ctaPulseLoad 2s cubic-bezier(0.23,1,0.32,1) 1.2s 2;
}

/* ── 2. Form progress bar ── */
.form-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.form-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.form-progress-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.23,1,0.32,1);
}
.form-progress-label {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: 'Space Grotesk', sans-serif;
  white-space: nowrap;
  transition: color 0.3s;
}
.form-progress-label.complete {
  color: #a78bfa;
}

/* Form real-time validation */
.form-group input.valid,
.form-group textarea.valid {
  border-color: rgba(139,92,246,0.5) !important;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.08);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: rgba(239,68,68,0.5) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.06);
}
.form-error-msg {
  font-size: 11px;
  color: #f87171;
  margin-top: 4px;
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s;
}
.form-error-msg.show {
  opacity: 1;
  transform: none;
}

/* ── 3. Sticky mobile CTA ── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(6,6,15,0.98) 60%, transparent);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.sticky-mobile-cta.is-visible {
  transform: translateY(0);
}
.sticky-mobile-cta.is-hidden {
  transform: translateY(100%);
}
.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 8px 32px rgba(139,92,246,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sticky-cta-btn:active { transform: scale(0.98); }

@media (max-width: 767px) {
  .sticky-mobile-cta { display: block; }
}

/* ── 4. Work cards v2 with hover reveal ── */
.work-card-v2 { overflow: hidden; }

.work-preview-v2 {
  position: relative;
  border-radius: 14px;
  height: 220px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  cursor: pointer;
}

.work-preview-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-family: 'Space Grotesk', sans-serif;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Mockup lines inside preview */
.work-preview-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  gap: 10px;
  opacity: 0.18;
  transition: opacity 0.4s ease;
}
.wpm-bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  margin-bottom: 6px;
}
.wpm-line {
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}
.wpm-line.w80 { width: 80%; }
.wpm-line.w60 { width: 60%; }
.wpm-line.w70 { width: 70%; }
.wpm-line.w90 { width: 90%; }
.wpm-line.w55 { width: 55%; }
.wpm-line.w75 { width: 75%; }
.wpm-line.w65 { width: 65%; }
.wpm-line.w85 { width: 85%; }
.wpm-line.w50 { width: 50%; }
.wpm-btn {
  width: 80px;
  height: 22px;
  background: rgba(139,92,246,0.6);
  border-radius: 6px;
  margin-top: 4px;
}

/* Overlay that slides up on hover */
.work-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139,92,246,0.85) 0%, rgba(99,51,220,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.23,1,0.32,1),
              transform 0.35s cubic-bezier(0.23,1,0.32,1);
  z-index: 2;
  border-radius: 14px;
}
.work-preview-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.work-preview-icon {
  font-size: 28px;
  display: block;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.work-preview-v2:hover .work-preview-overlay {
  opacity: 1;
  transform: translateY(0);
}
.work-preview-v2:hover .work-preview-label { opacity: 0; }
.work-preview-v2:hover .work-preview-mockup { opacity: 0.08; }
.work-preview-v2:hover .work-preview-icon { transform: rotate(0deg); }

/* Touch feedback for work cards */
.work-preview-v2:active .work-preview-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ── 5. Touch ripple for service cards ── */
.service-card {
  position: relative;
  overflow: hidden;
}
@keyframes rippleAnim {
  from { transform: scale(0); opacity: 0.35; }
  to   { transform: scale(4); opacity: 0; }
}
.ripple-circle {
  position: absolute;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  background: rgba(139,92,246,0.3);
  pointer-events: none;
  transform: scale(0);
  animation: rippleAnim 0.55s cubic-bezier(0.23,1,0.32,1) forwards;
  margin-left: -40px;
  margin-top: -40px;
}

/* ── Кнопка «Наверх» ────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.4);
  background: rgba(15,12,26,0.85);
  backdrop-filter: blur(12px);
  color: #a78bfa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s, border-color .2s;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.8);
  color: #fff;
}

/* ── Ошибки валидации формы ─────────────────────────────────── */
.field-error {
  display: block;
  font-size: 0.72rem;
  color: #f87171;
  margin-top: 5px;
  min-height: 1em;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s;
}
.field-error.show {
  opacity: 1;
  transform: translateY(0);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: rgba(248,113,113,0.6) !important;
  box-shadow: 0 0 0 2px rgba(248,113,113,0.15);
}
.form-group input.valid,
.form-group textarea.valid {
  border-color: rgba(52,211,153,0.5) !important;
}

/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
  display: flex;
  gap: 5px;
  margin-left: 14px;
  flex-shrink: 0;
  align-items: center;
}
.lang-btn {
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.45);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: var(--font-primary);
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-btn.active {
  background: linear-gradient(135deg, rgba(139,92,246,0.9), rgba(99,102,241,0.9));
  border-color: rgba(139,92,246,0.6);
  color: #fff;
  box-shadow: 0 2px 12px rgba(139,92,246,0.45), 0 0 0 1px rgba(139,92,246,0.2);
  transform: translateY(-1px);
}
.lang-btn:hover:not(.active) {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.09);
  transform: translateY(-1px);
}

/* ─── MOBILE LANG ROW (inside mobile menu footer) ─── */
.mobile-lang-row {
  display: flex;
  gap: 6px;
}
.mobile-lang-btn {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: var(--font-primary);
}
.mobile-lang-btn.active {
  background: linear-gradient(135deg, rgba(139,92,246,0.9), rgba(99,102,241,0.9));
  border-color: rgba(139,92,246,0.6);
  color: #fff;
  box-shadow: 0 2px 12px rgba(139,92,246,0.4);
}
.mobile-lang-btn:hover:not(.active) {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.09);
}

/* Hide desktop lang switcher on mobile */
@media (max-width: 900px) {
  .lang-switcher { display: none; }
}


