/*
Theme Name: Accel Ecom
Theme URI: https://accelecom.com
Author: Accel Ecom
Author URI: https://accelecom.com
Description: A custom one-page theme for Accel Ecom — Building the Next Generation of Ecommerce Brands.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: accel-ecom
*/

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

:root {
  --bg-primary: #06111a;
  --bg-secondary: #0a1929;
  --bg-card: #0d1f33;
  --text-primary: #edf2f7;
  --text-secondary: #7b93a8;
  --accent: #2bbac4;
  --accent-dim: rgba(43, 186, 196, 0.08);
  --accent-glow: rgba(43, 186, 196, 0.15);
  --border: rgba(255, 255, 255, 0.07);
  --navy: #0a2540;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── GRAIN OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  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");
  background-repeat: repeat;
  background-size: 256px;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(43, 186, 196, 0.15); }
  50% { box-shadow: 0 0 40px rgba(43, 186, 196, 0.3); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 17, 26, 0.8);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 1s ease;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.site-nav a:hover { color: var(--accent); }

/* ─── MOBILE MENU ─── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px 48px 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(43, 186, 196, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(43, 186, 196, 0.03) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}
.hero-content {
  text-align: center;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(43, 186, 196, 0.2);
  background: var(--accent-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseGlow 2s ease infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 86px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.15s both;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-cta {
  animation: fadeUp 0.8s ease 0.45s both;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 4px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(43, 186, 196, 0.25);
}
.btn-primary::after {
  content: '\2192';
  transition: transform 0.3s;
}
.btn-primary:hover::after { transform: translateX(4px); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ─── MARQUEE ─── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg-secondary);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-item::after {
  content: '\25C6';
  font-size: 8px;
  color: var(--accent);
}

/* ─── SECTIONS ─── */
section {
  padding: 120px 48px;
  position: relative;
}
.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 300;
}

/* ─── PILLARS ─── */
.pillars {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillars-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pillar {
  padding: 56px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.4s;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(43, 186, 196, 0.02); }
.pillar-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: rgba(43, 186, 196, 0.07);
  line-height: 1;
  margin-bottom: 24px;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(43, 186, 196, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--accent-dim);
}
.pillar-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pillar p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── WHO WE ARE ─── */
.who-we-are {
  background: var(--bg-primary);
}
.who-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.who-visual {
  position: relative;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.who-visual-inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(43,186,196,0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(43,186,196,0.03) 0%, transparent 50%);
}
.who-visual-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(43,186,196,0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(43,186,196,0.05) 0%, transparent 30%);
}
.who-visual-lines {
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(43,186,196,0.08);
  border-radius: 8px;
}
.who-visual-lines::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(43,186,196,0.05);
  border-radius: 6px;
}
.who-visual-stat {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  display: flex;
  gap: 32px;
}
.stat-item {
  flex: 1;
  padding: 20px;
  background: rgba(6,17,26,0.6);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.who-text .section-subtitle {
  margin-bottom: 32px;
}
.who-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.who-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
}
.who-feature::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ─── PROCESS ─── */
.process {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.process-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43,186,196,0.2), rgba(43,186,196,0.2), transparent);
}
.process-step {
  padding: 0 28px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 2px solid rgba(43, 186, 196, 0.3);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  position: relative;
  z-index: 2;
  transition: all 0.4s;
}
.process-step:hover .step-num {
  background: var(--accent);
  color: var(--bg-primary);
  transform: scale(1.1);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  line-height: 1.4;
}
.process-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── CTA ─── */
.cta {
  background: var(--bg-primary);
  text-align: center;
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(43,186,196,0.04) 0%, transparent 70%);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta h2 .accent { color: var(--accent); }
.cta p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-primary);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .site-header { padding: 16px 24px; }
  .site-nav { display: none; }
  .site-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 17, 26, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }
  .site-nav.active a {
    font-size: 20px;
    color: var(--text-primary);
  }
  .menu-toggle { display: block; }
  section { padding: 80px 24px; }
  .hero { padding: 120px 24px 80px; }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
  }
  .pillar:last-child { border-bottom: none; }
  .who-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .who-visual { height: 320px; }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .process-grid::before { display: none; }
  .cta { padding: 80px 24px; }
  .site-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 24px;
  }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .who-visual-stat { flex-direction: column; gap: 12px; }
}
