/*
Theme Name: WebElixir
Description: Custom theme for WebElixir — Digital Agency
Author: WebElixir
Version: 1.0
Text Domain: webelixir
*/

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

:root {
  --bg: #08090f;
  --bg2: #0d1120;
  --bg3: #111828;
  --indigo: #4F46E5;
  --indigo-light: #6366f1;
  --mint: #00D4AA;
  --mint-dim: rgba(0,212,170,0.12);
  --white: #F0F0F8;
  --muted: #8892A4;
  --border: rgba(255,255,255,0.07);
  --card-bg: rgba(255,255,255,0.03);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,9,15,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--mint); }
.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  color: var(--muted); font-size: 14px; text-decoration: none;
  font-weight: 400; transition: color 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--indigo);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--indigo-light) !important; color: #fff !important; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 40px 100px;
  position: relative; overflow: hidden;
}
.orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(79,70,229,0.45) 0%, rgba(0,212,170,0.2) 50%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -56%);
  filter: blur(60px);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%,-56%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%,-56%) scale(1.12); opacity: 1; }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,70,229,0.15);
  border: 1px solid rgba(79,70,229,0.35);
  color: #a5b4fc;
  font-size: 12px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  font-family: 'Syne', sans-serif;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

#hero h1 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  max-width: 900px;
  position: relative;
}
#hero h1 .accent { color: var(--mint); }
#hero h1 .accent2 { color: #818cf8; }
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  position: relative;
}
.hero-actions {
  display: flex; gap: 14px; margin-top: 44px;
  justify-content: center; flex-wrap: wrap;
  position: relative;
}
.btn-primary {
  background: var(--indigo);
  color: #fff; padding: 14px 32px;
  border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgba(79,70,229,0.4);
}
.btn-primary:hover { background: var(--indigo-light); transform: translateY(-1px); box-shadow: 0 0 40px rgba(79,70,229,0.6); }
.btn-ghost {
  background: transparent;
  color: var(--white); padding: 14px 32px;
  border-radius: 10px; font-size: 15px; font-weight: 500;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

.hero-stats {
  display: flex; gap: 60px; margin-top: 80px;
  position: relative; flex-wrap: wrap; justify-content: center;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px; font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
}
.stat-num span { color: var(--mint); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ─── SECTION SHELL ─── */
section { padding: 100px 60px; max-width: 1200px; margin: 0 auto; }
.section-full { max-width: none; padding: 100px 0; }

.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px;
  color: var(--mint);
  text-transform: uppercase;
  font-family: 'Syne', sans-serif;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 680px;
}
.section-sub {
  color: var(--muted);
  font-size: 16px; line-height: 1.7;
  max-width: 520px; margin-top: 16px;
}

/* ─── SERVICES ─── */
#services { padding-top: 20px; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 64px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.service-card {
  background: var(--bg2);
  padding: 48px 40px;
  transition: background 0.25s;
  cursor: default;
}
.service-card:hover { background: var(--bg3); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 28px;
}
.service-card h3 {
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.5px; margin-bottom: 12px;
}
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.3px;
  background: rgba(255,255,255,0.02);
}
.tag.highlight { border-color: rgba(79,70,229,0.4); color: #a5b4fc; background: rgba(79,70,229,0.08); }
.tag.mint { border-color: rgba(0,212,170,0.3); color: var(--mint); background: rgba(0,212,170,0.06); }

/* ─── SHOPIFY DEEP DIVE ─── */
#shopify { background: linear-gradient(180deg, var(--bg) 0%, #0a0f20 100%); }
#shopify .inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.shopify-grid { display: grid; grid-template-columns: 1fr; gap: 80px; margin-top: 64px; }
.shopify-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shopify-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px; border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: border-color 0.2s;
}
.shopify-list li:hover { border-color: rgba(79,70,229,0.3); }
.li-icon {
  width: 38px; height: 38px; min-width: 38px; border-radius: 10px;
  background: rgba(79,70,229,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.li-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.li-text p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.shopify-visual {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg2);
  overflow: hidden;
  padding: 40px;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
}
.b-dot { width: 10px; height: 10px; border-radius: 50%; }
.b-dot:nth-child(1){background:#ff5f57}
.b-dot:nth-child(2){background:#febc2e}
.b-dot:nth-child(3){background:#28c840}
.browser-url {
  flex: 1; background: rgba(255,255,255,0.06);
  border-radius: 6px; padding: 6px 12px;
  font-size: 12px; color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  margin-left: 8px;
}
.mock-product { text-align: center; }
.mock-img {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(0,212,170,0.15));
  border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.mock-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.mock-price { font-size: 24px; font-weight: 700; color: var(--mint); margin-bottom: 16px; }
.mock-btn {
  background: var(--indigo); color: #fff;
  padding: 12px 28px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  font-family: 'Syne', sans-serif;
  display: inline-block;
}
.speed-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--mint-dim); border: 1px solid rgba(0,212,170,0.3);
  color: var(--mint); padding: 8px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
  font-family: 'Syne', sans-serif;
}

/* ─── WORDPRESS ─── */
#wordpress { background: var(--bg); }
#wordpress .inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.wp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px; }
.wp-card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 16px; padding: 36px;
  transition: all 0.25s;
}
.wp-card:hover { border-color: rgba(0,212,170,0.25); background: rgba(0,212,170,0.03); }
.wp-icon { font-size: 32px; margin-bottom: 18px; }
.wp-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 10px; }
.wp-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── TECH / SAAS ─── */
#saas {
  background: var(--bg2);
  padding: 100px 0;
}
#saas .inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.saas-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 64px; }
.tech-stack { display: flex; flex-direction: column; gap: 14px; }
.stack-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px; border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.stack-label { font-size: 11px; color: var(--muted); font-weight: 500; min-width: 60px; text-transform: uppercase; letter-spacing: 1px; font-family: 'Syne', sans-serif; }
.stack-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  background: rgba(79,70,229,0.12);
  border: 1px solid rgba(79,70,229,0.25);
  color: #a5b4fc; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 6px;
  font-family: 'Syne', sans-serif;
}
.pill.green {
  background: rgba(0,212,170,0.1);
  border-color: rgba(0,212,170,0.25);
  color: var(--mint);
}
.saas-features { display: flex; flex-direction: column; gap: 32px; }
.sf-item { display: flex; gap: 20px; }
.sf-num {
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700;
  color: var(--mint); min-width: 28px;
  padding-top: 2px;
}
.sf-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.3px; }
.sf-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── PROCESS ─── */
#process { background: var(--bg); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 64px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 38px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--indigo), var(--mint), transparent);
}
.step { text-align: center; padding: 0 20px; }
.step-circle {
  width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 24px;
  position: relative; z-index: 1;
  transition: border-color 0.2s;
}
.step:hover .step-circle { border-color: var(--mint); }
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── REVIEWS ─── */
#reviews {
  background: var(--bg);
  padding: 100px 0;
}
#reviews .inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.reviews-header { text-align: center; margin-bottom: 64px; }
.reviews-header .section-title, .reviews-header .section-sub { margin: 0 auto; text-align: center; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
  transition: border-color 0.2s;
}
.review-card:hover { border-color: rgba(79,70,229,0.3); }
.stars { color: #f59e0b; font-size: 14px; margin-bottom: 18px; letter-spacing: 2px; }
.review-text { font-size: 15px; color: #c8cedb; line-height: 1.75; margin-bottom: 28px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  font-family: 'Syne', sans-serif;
  flex-shrink: 0;
}
.reviewer-info h5 { font-size: 14px; font-weight: 600; }
.reviewer-info p { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ─── FAQ ─── */
#faq { background: var(--bg2); padding: 100px 0; }
#faq .inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.faq-split { display: grid; grid-template-columns: 360px 1fr; gap: 80px; margin-top: 64px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; cursor: pointer;
  font-size: 15px; font-weight: 500;
  font-family: 'Syne', sans-serif;
  transition: color 0.2s;
  user-select: none;
}
.faq-q:hover { color: var(--mint); }
.faq-chevron {
  width: 20px; height: 20px; min-width: 20px;
  border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: transform 0.3s;
  color: var(--muted);
}
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 14px; color: var(--muted); line-height: 1.75;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }
.faq-item.open .faq-chevron { transform: rotate(45deg); border-color: var(--mint); color: var(--mint); }

/* ─── CTA ─── */
#cta {
  background: var(--bg);
  padding: 100px 0;
  text-align: center;
}
#cta .inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.cta-box {
  border-radius: 24px;
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(79,70,229,0.15) 0%, rgba(0,212,170,0.08) 100%);
  border: 1px solid rgba(79,70,229,0.25);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; position: relative; }
.cta-contacts {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; position: relative;
}
.contact-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 12px 24px;
  color: var(--white); text-decoration: none;
  font-size: 15px; font-weight: 500;
  font-family: 'Syne', sans-serif;
  transition: all 0.2s;
}
.contact-chip:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.contact-chip .icon { font-size: 18px; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--mint); }
footer p { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; cursor: pointer; padding: 8px;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed; top: 65px; left: 0; right: 0; z-index: 99;
  background: rgba(8,9,15,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--muted); font-size: 16px; text-decoration: none;
  font-family: 'Syne', sans-serif; font-weight: 500;
  padding: 14px 16px; border-radius: 10px;
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.mobile-menu .mob-cta {
  background: var(--indigo); color: #fff !important;
  text-align: center; margin-top: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Global sections */
  section { padding: 60px 20px; }
  .section-title { font-size: clamp(26px, 7vw, 40px); letter-spacing: -1px; }
  .section-sub { font-size: 15px; }

  /* Hero */
  #hero { padding: 110px 20px 70px; min-height: 100svh; }
  #hero h1 { font-size: clamp(34px, 9vw, 52px); letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 300px; text-align: center; padding: 14px 24px; }
  .hero-stats { gap: 24px; margin-top: 52px; }
  .stat-num { font-size: 28px; }
  .orb { width: 340px; height: 340px; }

  /* Services */
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .service-card { padding: 32px 24px; }

  /* Shopify */
  #shopify .inner { padding: 0 20px; }
  .shopify-grid { gap: 32px; margin-top: 40px; }
  .shopify-list { grid-template-columns: 1fr; gap: 14px; }
  .shopify-list li { padding: 18px; }

  /* WordPress */
  #wordpress .inner { padding: 0 20px; }
  .wp-grid { grid-template-columns: 1fr; gap: 14px; }
  .wp-card { padding: 28px 22px; }

  /* SaaS */
  #saas .inner { padding: 0 20px; }
  .saas-split { grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
  .stack-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .stack-label { min-width: auto; }

  /* Process */
  #process { padding: 60px 20px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-steps::before { display: none; }
  .step { padding: 0 8px; }
  .step-circle { width: 60px; height: 60px; font-size: 22px; }
  .step h4 { font-size: 14px; }
  .step p { font-size: 12px; }

  /* Reviews */
  #reviews .inner { padding: 0 20px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .review-card { padding: 28px 22px; }
  .review-text { font-size: 14px; }

  /* FAQ */
  #faq .inner { padding: 0 20px; }
  .faq-split { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .faq-q { font-size: 14px; padding: 18px 18px; }
  .faq-a { font-size: 13px; }
  .faq-item.open .faq-a { padding: 0 18px 18px; }

  /* Footer */
  footer { flex-direction: column; text-align: center; padding: 36px 20px; gap: 16px; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 400px) {
  #hero h1 { font-size: 30px; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; display: grid; }
}
