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

:root {
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-dark: #1d4ed8;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; display: block; }

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

/* ===== Navigation ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0 24px;
}

nav .nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

nav .logo {
  font-size: 1.5rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em;
}
nav .logo span { color: var(--accent); }
nav .logo small { font-size: 0.55em; color: var(--text-light); font-weight: 500; }
.footer-brand .logo small { font-size: 0.55em; color: #94a3b8; font-weight: 500; }

nav .nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
nav .nav-links a {
  color: var(--text-light); font-size: 0.95rem; font-weight: 500;
  transition: color var(--transition);
}
nav .nav-links a:hover, nav .nav-links a.active { color: var(--text); }

nav .nav-cta {
  background: var(--accent); color: #fff !important; padding: 10px 24px;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
nav .nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero-with-demo {
  text-align: left;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  text-align: left;
}
.hero-text p {
  margin: 0 0 40px;
  max-width: 480px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

/* Hero browser demo */
.hero-demo {
  perspective: 1200px;
}

.hero-browser {
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-browser:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

@keyframes heroFloat {
  0%, 100% { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-8px); }
}

/* Demo site elements inside browser */
.demo-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; margin-bottom: 20px;
}
.demo-nav-logo {
  width: 80px; height: 12px; background: linear-gradient(90deg, #f97316, #fb923c);
  border-radius: 4px;
}
.demo-nav-links { display: flex; gap: 12px; }
.demo-nav-link { width: 40px; height: 8px; background: #cbd5e1; border-radius: 3px; }

.demo-hero-area {
  display: flex; gap: 20px; align-items: center; margin-bottom: 20px;
}
.demo-hero-left { flex: 1; }
.demo-heading {
  height: 16px; background: linear-gradient(90deg, #1e293b, #334155);
  border-radius: 4px; width: 90%; margin-bottom: 8px;
}
.demo-heading-sm {
  height: 16px; background: linear-gradient(90deg, #1e293b, #334155);
  border-radius: 4px; width: 60%; margin-bottom: 12px;
}
.demo-body-line {
  height: 6px; background: #e2e8f0; border-radius: 3px;
  width: 100%; margin-bottom: 6px;
}
.demo-body-line.short { width: 75%; margin-bottom: 16px; }
.demo-cta-row { display: flex; gap: 8px; }
.demo-btn-primary {
  width: 70px; height: 24px; background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 6px;
}
.demo-btn-ghost {
  width: 70px; height: 24px; border: 2px solid #cbd5e1;
  border-radius: 6px;
}
.demo-hero-img {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.demo-img-circle {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #f97316, #dc2626);
  border-radius: 50%; margin-bottom: 8px;
}
.demo-img-dots { display: flex; gap: 4px; }
.demo-img-dots span {
  width: 6px; height: 6px; background: #f59e0b;
  border-radius: 50%;
}

.demo-stats {
  display: flex; gap: 16px; margin-bottom: 20px;
  padding: 12px 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
}
.demo-stat { flex: 1; text-align: center; }
.demo-stat-num {
  height: 14px; background: linear-gradient(90deg, #f97316, #f59e0b);
  border-radius: 4px; width: 50%; margin: 0 auto 4px;
}
.demo-stat-label {
  height: 6px; background: #e2e8f0; border-radius: 3px;
  width: 70%; margin: 0 auto;
}

.demo-features { display: flex; gap: 12px; }
.demo-feat-card {
  flex: 1; padding: 12px; background: #f8fafc;
  border: 1px solid #e2e8f0; border-radius: 10px;
}
.demo-feat-icon {
  width: 24px; height: 24px; border-radius: 8px; margin-bottom: 8px;
}
.demo-feat-icon.orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.demo-feat-icon.green { background: linear-gradient(135deg, #22c55e, #4ade80); }
.demo-feat-icon.purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.demo-feat-title {
  height: 8px; background: #334155; border-radius: 3px;
  width: 70%; margin-bottom: 6px;
}
.demo-feat-text {
  height: 5px; background: #e2e8f0; border-radius: 2px;
  width: 100%; margin-bottom: 4px;
}
.demo-feat-text.short { width: 60%; }

/* Typing animation for URL */
.typing-url {
  display: inline-block;
}
.typing-url.typing::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--accent);
}
.typing-url.done::after {
  display: none;
}

.btn {
  display: inline-block; padding: 14px 32px;
  border-radius: 8px; font-weight: 600; font-size: 1rem;
  transition: all var(--transition); cursor: pointer; border: none;
}

.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }

.btn-secondary {
  background: transparent; color: var(--text);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===== Sections ===== */
section { padding: 100px 0; }

.section-label {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 16px; line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem; color: var(--text-light);
  max-width: 600px; line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== Feature Grid ===== */
.features { background: var(--bg-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 36px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #818cf8, var(--accent-light));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(129, 140, 248, 0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.1), 0 8px 16px rgba(0,0,0,0.04);
  border-color: rgba(37, 99, 235, 0.15);
}
.feature-card:hover::before { opacity: 1; animation: gradientSlide 2s linear infinite; }
.feature-card:hover::after { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }

@keyframes gradientSlide {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 28px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.feature-card h3 {
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light); font-size: 0.95rem; line-height: 1.7;
}

/* ===== How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
  counter-reset: step;
}

.step { text-align: center; counter-increment: step; }

.step-number {
  width: 56px; height: 56px;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-light); font-size: 0.95rem; max-width: 280px; margin: 0 auto; }

/* Browser Animation */
.browser-demo {
  max-width: 700px;
  margin: 60px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  background: #fff;
  border: 1px solid var(--border);
}

.browser-bar {
  background: #f1f5f9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.browser-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #ef4444; }
.browser-dot:nth-child(2) { background: #f59e0b; }
.browser-dot:nth-child(3) { background: #22c55e; }

.browser-url {
  margin-left: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-light);
  flex: 1;
  max-width: 300px;
}

.browser-content {
  padding: 32px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

/* Animated site elements appearing */
.build-anim { position: relative; }

.build-el {
  opacity: 0;
  transform: translateY(16px);
  animation: buildIn 0.6s ease forwards;
}

.build-el:nth-child(1) { animation-delay: 0.3s; }
.build-el:nth-child(2) { animation-delay: 0.8s; }
.build-el:nth-child(3) { animation-delay: 1.3s; }
.build-el:nth-child(4) { animation-delay: 1.8s; }
.build-el:nth-child(5) { animation-delay: 2.3s; }

@keyframes buildIn {
  to { opacity: 1; transform: translateY(0); }
}

.build-nav {
  height: 10px; background: #e2e8f0; border-radius: 4px;
  margin-bottom: 24px; width: 100%;
}

.build-hero-text {
  height: 28px; background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 6px; width: 65%; margin-bottom: 12px;
}

.build-subtitle {
  height: 12px; background: #e2e8f0; border-radius: 4px;
  width: 80%; margin-bottom: 24px;
}

.build-btn {
  height: 36px; background: var(--accent); border-radius: 8px;
  width: 140px; margin-bottom: 32px;
}

.build-cards {
  display: flex; gap: 16px;
}

.build-card {
  flex: 1;
  height: 80px;
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Typing cursor in browser URL */
.browser-url::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--accent);
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Loop the build animation */
.browser-demo.visible .build-el {
  animation-iteration-count: 1;
}

/* Restart animation when scrolled into view */
.browser-demo:not(.visible) .build-el {
  animation: none;
  opacity: 0;
}

/* ===== Pricing ===== */
.pricing { background: var(--bg-soft); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

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

.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  padding: 6px 20px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-size: 1.3rem; font-weight: 700; margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.75rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 4px;
}

.pricing-card .price-sub {
  font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px;
}

.pricing-card .monthly {
  display: inline-block;
  background: #eff6ff; color: var(--accent);
  padding: 6px 14px; border-radius: 6px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 24px;
}

.pricing-card .divider {
  height: 1px; background: var(--border); margin: 0 0 24px;
}

.pricing-card ul {
  list-style: none; margin-bottom: 32px;
}

.pricing-card ul li {
  padding: 8px 0; font-size: 0.95rem; color: var(--text);
  display: flex; align-items: flex-start; gap: 10px;
}

.pricing-card ul li::before {
  content: '✓'; color: var(--accent); font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn { width: 100%; text-align: center; }

.pricing-note {
  text-align: center; margin-top: 40px;
  color: var(--text-light); font-size: 0.9rem;
}

.pricing-note a { font-weight: 600; }

/* ===== Services Detail ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent), #818cf8);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(129, 140, 248, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08), 0 8px 16px rgba(0,0,0,0.03);
  border-color: rgba(37, 99, 235, 0.12);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-card .feature-icon {
  margin-bottom: 24px;
}
.service-card:hover .feature-icon {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.service-card h3 {
  font-size: 1.3rem; font-weight: 700; margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light); font-size: 0.95rem; line-height: 1.7;
}

/* ===== Service Cards V2 ===== */
.service-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-v2::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.5);
  z-index: 0;
}
.service-card-v2:hover::before {
  opacity: 0.06;
  transform: scale(1.5);
}

.service-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
  border-color: transparent;
}

.service-card-v2 > * { position: relative; z-index: 1; }

.sc-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}

.sc-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.service-card-v2:hover .sc-icon-wrap {
  transform: scale(1.1) rotate(-3deg);
}

.sc-icon-wrap.blue { background: linear-gradient(135deg, #2563eb, #3b82f6); box-shadow: 0 8px 20px rgba(37,99,235,0.25); }
.sc-icon-wrap.emerald { background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 8px 20px rgba(5,150,105,0.25); }
.sc-icon-wrap.violet { background: linear-gradient(135deg, #7c3aed, #a78bfa); box-shadow: 0 8px 20px rgba(124,58,237,0.25); }
.sc-icon-wrap.amber { background: linear-gradient(135deg, #d97706, #fbbf24); box-shadow: 0 8px 20px rgba(217,119,6,0.25); }
.sc-icon-wrap.rose { background: linear-gradient(135deg, #e11d48, #fb7185); box-shadow: 0 8px 20px rgba(225,29,72,0.25); }
.sc-icon-wrap.teal { background: linear-gradient(135deg, #0d9488, #5eead4); box-shadow: 0 8px 20px rgba(13,148,136,0.25); }

.service-card-v2:hover .sc-icon-wrap.blue { box-shadow: 0 12px 28px rgba(37,99,235,0.35); }
.service-card-v2:hover .sc-icon-wrap.emerald { box-shadow: 0 12px 28px rgba(5,150,105,0.35); }
.service-card-v2:hover .sc-icon-wrap.violet { box-shadow: 0 12px 28px rgba(124,58,237,0.35); }
.service-card-v2:hover .sc-icon-wrap.amber { box-shadow: 0 12px 28px rgba(217,119,6,0.35); }
.service-card-v2:hover .sc-icon-wrap.rose { box-shadow: 0 12px 28px rgba(225,29,72,0.35); }
.service-card-v2:hover .sc-icon-wrap.teal { box-shadow: 0 12px 28px rgba(13,148,136,0.35); }

/* Color bleed on hover */
.service-card-v2:nth-child(1)::before { background: #2563eb; }
.service-card-v2:nth-child(2)::before { background: #059669; }
.service-card-v2:nth-child(3)::before { background: #7c3aed; }
.service-card-v2:nth-child(4)::before { background: #d97706; }
.service-card-v2:nth-child(5)::before { background: #e11d48; }
.service-card-v2:nth-child(6)::before { background: #0d9488; }

.service-card-v2:nth-child(1):hover { border-color: rgba(37,99,235,0.2); }
.service-card-v2:nth-child(2):hover { border-color: rgba(5,150,105,0.2); }
.service-card-v2:nth-child(3):hover { border-color: rgba(124,58,237,0.2); }
.service-card-v2:nth-child(4):hover { border-color: rgba(217,119,6,0.2); }
.service-card-v2:nth-child(5):hover { border-color: rgba(225,29,72,0.2); }
.service-card-v2:nth-child(6):hover { border-color: rgba(13,148,136,0.2); }

.sc-number {
  font-size: 0.8rem; font-weight: 700;
  color: var(--border); letter-spacing: 0.05em;
}

.service-card-v2 h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 10px;
}

.service-card-v2 p {
  color: var(--text-light); font-size: 0.95rem; line-height: 1.7;
  margin-bottom: 20px;
}

.sc-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.sc-tags span {
  font-size: 0.75rem; font-weight: 600;
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.service-card-v2:nth-child(1):hover .sc-tags span { background: #eff6ff; border-color: rgba(37,99,235,0.2); color: #2563eb; }
.service-card-v2:nth-child(2):hover .sc-tags span { background: #ecfdf5; border-color: rgba(5,150,105,0.2); color: #059669; }
.service-card-v2:nth-child(3):hover .sc-tags span { background: #f5f3ff; border-color: rgba(124,58,237,0.2); color: #7c3aed; }
.service-card-v2:nth-child(4):hover .sc-tags span { background: #fffbeb; border-color: rgba(217,119,6,0.2); color: #d97706; }
.service-card-v2:nth-child(5):hover .sc-tags span { background: #fff1f2; border-color: rgba(225,29,72,0.2); color: #e11d48; }
.service-card-v2:nth-child(6):hover .sc-tags span { background: #f0fdfa; border-color: rgba(13,148,136,0.2); color: #0d9488; }

/* ===== Contact Form ===== */
.contact-section { background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 24px; line-height: 1.7; }

.contact-detail {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; color: var(--text);
}
.contact-detail span { font-size: 1.2rem; }

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

.form-group label {
  display: block; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 6px; color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

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

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem; opacity: 0.9;
  max-width: 500px; margin: 0 auto 32px;
}

.cta-banner .btn {
  background: #fff; color: var(--accent);
}
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== Footer ===== */
footer {
  background: var(--text);
  color: #cbd5e1;
  padding: 60px 0 30px;
}

.footer-inner {
  display: flex; justify-content: space-between; align-items: start;
  flex-wrap: wrap; gap: 40px; margin-bottom: 40px;
}

.footer-brand .logo { color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.footer-brand .logo span { color: var(--accent-light); }
.footer-brand p { font-size: 0.9rem; max-width: 280px; line-height: 1.6; }

.footer-links h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  nav .nav-links { 
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  nav .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .hero { padding: 120px 0 60px; }
  section { padding: 60px 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .footer-inner { flex-direction: column; }

  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-with-demo { text-align: center; }
  .hero-text h1 { text-align: center; }
  .hero-text p { margin: 0 auto 40px; }
  .hero-browser { transform: none; animation: none; }
  .hero-browser:hover { transform: none; }
  .demo-hero-area { flex-direction: column; }
  .demo-hero-img { width: 80px; height: 80px; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
