/* ═══════════════════════════════════════════════
   DELEVEO — index.css
   Homepage-specific styles
   ═══════════════════════════════════════════════ */

/* ── HERO ───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 60px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 255, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  pointer-events: none;
}
.hero-content { max-width: 900px; text-align: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.2);
  color: var(--accent);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 100px;
  margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.7s 0.3s forwards;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 800; line-height: 0.95;
  letter-spacing: -0.04em; margin-bottom: 30px;
  opacity: 0; animation: fadeUp 0.8s 0.5s forwards;
}
h1 .accent-word { color: var(--accent); display: inline-block; }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300; color: #999;
  max-width: 540px; margin: 0 auto 50px; line-height: 1.7;
  opacity: 0; animation: fadeUp 0.8s 0.7s forwards;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.9s forwards;
}
.hero-scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 0.8s 1.4s forwards;
}
.hero-scroll span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-text); }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gray-text), transparent);
  animation: scrollAnim 2s infinite;
}

/* ── MARQUEE ────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.015);
}
.marquee-track { display: flex; width: max-content; animation: marquee 20s linear infinite; }
.marquee-item {
  display: flex; align-items: center; gap: 20px;
  padding: 0 40px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-text); white-space: nowrap;
}
.marquee-item .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ── SERVICES ───────────────────────────────────── */
#services { background: var(--black); }
.services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 70px; gap: 40px; flex-wrap: wrap;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.service-card {
  background: var(--gray-dim); padding: 48px 40px;
  position: relative; overflow: hidden;
  transition: background 0.3s; cursor: none;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent-dim); opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { background: #1e1e1e; }
.service-card:hover::after { opacity: 1; }

.service-card:first-child  { border-radius: var(--radius) 0 0 0; }
.service-card:nth-child(3) { border-radius: 0 var(--radius) 0 0; }
.service-card:nth-child(4) { border-radius: 0 0 0 var(--radius); }
.service-card:nth-child(5) { grid-column: span 2; border-radius: 0 0 var(--radius) var(--radius); }
.service-card:last-child   { border-radius: 0 0 var(--radius) 0; }

.service-icon  { width: 48px; height: 48px; margin-bottom: 28px; color: var(--accent); }
.service-title { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.02em; }
.service-desc  { font-size: 14px; color: #777; line-height: 1.7; font-weight: 300; }
.service-tag   {
  display: inline-block; margin-top: 24px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(200, 255, 0, 0.25);
  padding: 5px 14px; border-radius: 100px;
}

/* ── PROCESS ────────────────────────────────────── */
#process { background: var(--gray-dim); position: relative; overflow: hidden; }
#process::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.04), transparent 70%);
  pointer-events: none;
}
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.process-steps  { display: flex; flex-direction: column; }

.step {
  display: flex; gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.45; transition: opacity 0.3s; cursor: none;
}
.step:first-child { padding-top: 0; }
.step:last-child  { border-bottom: none; }
.step:hover       { opacity: 1; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--accent);
  min-width: 32px; padding-top: 4px;
}
.step-content h3 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.step-content p  { font-size: 14px; color: #777; line-height: 1.7; font-weight: 300; }

.process-visual { position: sticky; top: 120px; }
.process-card {
  background: var(--black); border-radius: var(--radius);
  padding: 48px; border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative; overflow: hidden;
}
.process-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--accent), transparent);
}
.platform-logos { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.platform-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
}
.platform-dot   { width: 8px; height: 8px; border-radius: 50%; }
.dot-wix        { background: #006EFF; }
.dot-shopify    { background: #96BF48; }

.stat-row {
  display: flex; gap: 40px; margin-top: 40px;
  padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.stat       { flex: 1; }
.stat-num   { font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800; letter-spacing: -0.04em; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 13px; color: #666; font-weight: 300; }

/* ── WHY ────────────────────────────────────────── */
#why { background: var(--black); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 70px; }

.why-card {
  background: var(--gray-dim); padding: 44px 40px;
  transition: background 0.3s; cursor: none;
}
.why-card:hover { background: #1c1c1c; }

.why-card:first-child  { border-radius: var(--radius) 0 0 0; }
.why-card:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
.why-card:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.why-card:last-child   { border-radius: 0 0 var(--radius) 0; }

.why-num { font-family: 'Syne', sans-serif; font-size: 72px; font-weight: 800; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.05); line-height: 1; margin-bottom: 20px; }
.why-card h3 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.why-card p  { font-size: 14px; color: #777; line-height: 1.7; font-weight: 300; }

/* ── CTA ────────────────────────────────────────── */
#cta { padding: 160px 60px; background: var(--gray-dim); text-align: center; position: relative; overflow: hidden; }
#cta::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(200, 255, 0, 0.06), transparent 70%);
  pointer-events: none;
}
#cta h2 { font-size: clamp(42px, 6vw, 80px); max-width: 700px; margin: 0 auto 30px; }
#cta p  { font-size: 17px; color: #777; max-width: 440px; margin: 0 auto 50px; font-weight: 300; line-height: 1.7; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  /* ── General ── */
  section { padding: 60px 20px; }
  #hero   { padding: 100px 20px 80px; text-align: center; }
  #cta    { padding: 80px 20px; }

  /* ── Hero ── */
  h1 { font-size: clamp(36px, 11vw, 60px); word-break: break-word; overflow-wrap: break-word; }
  .hero-sub   { margin-left: auto; margin-right: auto; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions a { width: 100%; justify-content: center; }

  /* ── Hero scroll ── */
  .hero-scroll {
    position: absolute;
    bottom: 20px;
    left: auto;
    right: 20px;
    transform: none;
    flex-direction: row;
    gap: 8px;
    margin-top: 0;
  }
  .scroll-line { display: none; }

  /* ── Marquee ── */
  .marquee-item { padding: 0 24px; font-size: 11px; }

  /* ── Services ── */
  .services-header  { flex-direction: column; }
  .services-grid    { grid-template-columns: 1fr; }
  .service-card     { border-radius: 0 !important; padding: 36px 24px; }
  .service-card:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }
  .service-card:last-child  { border-radius: 0 0 var(--radius) var(--radius) !important; }
  .service-card:nth-child(5){ grid-column: span 1; }

  /* ── Process ── */
  .process-layout { grid-template-columns: 1fr; gap: 40px; }
  .process-visual { position: static; }
  .process-card   { padding: 28px 24px; overflow: hidden; }
  .stat-row       { gap: 20px; }
  .stat-num       { font-size: 28px; }
  .step           { padding: 24px 0; }

  /* ── Platform pills ── */
  .platform-logos { flex-wrap: wrap; }
  .platform-pill  { font-size: 13px; padding: 10px 14px; }

  /* ── Why ── */
  .why-grid       { grid-template-columns: 1fr; }
  .why-card       { border-radius: 0 !important; padding: 32px 24px; }
  .why-card:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }
  .why-card:last-child  { border-radius: 0 0 var(--radius) var(--radius) !important; }
  .why-num        { font-size: 52px; }

  /* ── CTA ── */
  #cta h2 { font-size: clamp(32px, 8vw, 48px); }
  #cta .btn-primary { width: 100%; justify-content: center; font-size: 15px; padding: 16px 28px; }
}

/* ── Very small screens ── */
@media (max-width: 400px) {
  section { padding: 50px 16px; }
  #hero   { padding: 90px 16px 70px; }
  .process-card { padding: 24px 16px; }
}