/* 
  Control Your Shop — Style Guide
  Theme: Edgy Elegant Sterile (Industrial Dark)
  Parent: AilphaOmega
*/

:root {
  /* Core Colors */
  --bg-deep: #050308;
  --bg-card: #0c0f18;
  --bg-soft: #161827;

  --text-main: #f7f3fa;
  --text-muted: #c7c0cf;
  --text-inverse: #050308;

  --accent: #ff2d95;
  --accent-secondary: #c88b86;
  --accent-soft: rgba(255, 45, 149, 0.18);

  --sterile-white: #f6eaf0;
  --green: #25d366;

  /* Layout */
  --container: 1280px;
  --radius: 14px;
  --radius-lg: 28px;
  --border: rgba(255, 255, 255, 0.14);

  /* Shadows */
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 30px 60px rgba(0, 0, 0, 0.55);
  --glow: 0 0 80px rgba(255, 45, 149, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* Typography */
h1, h2, h3, h4 { 
  color: #ffffff; 
  letter-spacing: -0.02em; 
  margin-top: 0;
  line-height: 1.2;
}
h1 { font-size: clamp(40px, 8vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 24px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }

p { color: var(--text-muted); font-size: 17px; margin-bottom: 20px; }
strong { color: #ffffff; }
a { color: inherit; }

.section-sub { color: var(--text-muted); font-size: 18px; margin-bottom: 40px; max-width: 600px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 12, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav .brand { font-weight: 700; text-decoration: none; color: #ffffff; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.nav .links { display: none; gap: 24px; align-items: center; }
.nav .links a { color: #ffffff; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav .links a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: all 0.2s ease; border: 1px solid transparent;
  font-size: 15px; text-align: center;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: #ff4cab; transform: translateY(-1px); box-shadow: 0 15px 35px rgba(255, 45, 149, 0.35); }
.btn-outline { border-color: var(--border); color: #ffffff; background: rgba(255,255,255,0.03); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #ffffff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 60px; color: #ffffff; }
.hero-inner { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.hero-copy h1 { text-shadow: 0 25px 80px rgba(5, 3, 8, 0.85); margin-bottom: 20px; }
.hero-copy p { font-size: 20px; margin-bottom: 28px; color: var(--sterile-white); }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .cta-row .btn { flex: 1 1 200px; justify-content: center; }
.hero-copy .eyebrow { font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-secondary); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-copy .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }

.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 30% 30%, rgba(255,45,149,0.15), transparent 50%),
              linear-gradient(120deg, rgba(5,3,8,0.95), rgba(8,12,20,0.98));
  opacity: 0.8;
}

/* Phone mockup (hero visual) */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-phone {
  position: relative;
  width: 320px;
  background: var(--bg-card);
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: var(--glow), var(--shadow-md);
  overflow: hidden;
}
.phone-screen { padding: 16px; }
.phone-notch {
  width: 100px; height: 6px; background: rgba(255,255,255,0.15);
  border-radius: 3px; margin: 0 auto 16px;
}
.phone-msg {
  padding: 10px 14px; border-radius: 16px; margin-bottom: 10px;
  max-width: 85%;
}
.phone-msg.incoming {
  background: var(--bg-soft); border: 1px solid rgba(255,255,255,0.08);
  margin-right: auto;
}
.phone-msg.outgoing {
  background: rgba(255, 45, 149, 0.12); border: 1px solid rgba(255,45,149,0.2);
  margin-left: auto;
}
.phone-msg .msg-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent-secondary); display: block; margin-bottom: 4px; }
.phone-msg p { font-size: 13px; color: var(--sterile-white); margin: 0; line-height: 1.4; }

.hero-badge {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 8px 20px;
  border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255, 45, 149, 0.4);
}

/* Strip */
.strip { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.strip-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.strip span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }

/* Grids & Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Automation cards */
.auto-card { position: relative; }
.auto-icon { font-size: 32px; margin-bottom: 16px; }
.auto-card p { margin-bottom: 16px; font-size: 16px; }
.auto-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 24px; }
.timeline-step { display: flex; gap: 20px; align-items: flex-start; }
.timeline-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(255, 45, 149, 0.3);
}
.timeline-step h3 { margin-bottom: 4px; }
.timeline-step p { margin-bottom: 0; font-size: 15px; }

/* Hands-full / How It Works */
.hands-full { position: relative; padding: 80px 0; background: radial-gradient(circle at 80% 20%, rgba(255,45,149,0.12), transparent), var(--bg-deep); }
.hands-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: start; }

.badge-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.badge { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); font-size: 13px; color: var(--sterile-white); background: rgba(255,45,149,0.08); }

/* Pricing */
.price { display: flex; flex-direction: column; gap: 20px; }
.price .price-tag { font-size: 24px; font-weight: 700; color: #ffffff; }
.price-amount { font-size: 36px; font-weight: 800; color: #ffffff; margin-bottom: 8px; }
.price-currency { font-size: 20px; font-weight: 600; vertical-align: super; }
.price-period { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.price ul { list-style: none; padding: 0; margin: 0; }
.price li { margin-bottom: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; font-size: 15px; }
.price li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.price .btn { margin-top: auto; }
.price.featured { border-color: var(--accent); background: linear-gradient(140deg, rgba(255,45,149,0.12), rgba(12,15,24,0.85)); }

/* CTA Section */
.cta-section { text-align: center; }
.cta-section .cta-row { justify-content: center; }
.cta-section p { max-width: 600px; margin: 0 auto 32px; }
.cta-section .cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 14px; flex-wrap: wrap; gap: 16px; }
.footer a { text-decoration: none; color: var(--text-muted); transition: color 0.2s; }
.footer a:hover { color: #ffffff; }
.footer-links { display: flex; gap: 24px; }

/* Responsive */
@media (min-width: 900px) {
  .nav .links { display: flex; }
  .hamburger { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
  .hero-phone { width: 280px; }
}

@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero { padding: 80px 0 40px; }
  .hero-phone { width: 260px; }
}

/* Focus styles */
.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Mobile Menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 10px; padding: 20px 24px;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 10px 16px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-main);
  transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.06); }
.mobile-menu a.btn { padding: 12px 24px; }
.mobile-menu-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-top: 8px; }
.hamburger { background: none; border: 0; color: #ffffff; font-size: 24px; cursor: pointer; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { background: none; cursor: pointer; font-family: inherit; color: #ffffff; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0; margin-top: 8px;
  flex-direction: column; gap: 8px; padding: 12px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  min-width: 220px; box-shadow: var(--shadow-md); z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  display: block; text-align: center; padding: 10px 16px;
  border-radius: var(--radius); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s ease;
}
.nav-dropdown-menu a.btn-primary { background: var(--accent); color: #ffffff; }
.nav-dropdown-menu a.btn-primary:hover { background: #ff4cab; }
