/* =========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
========================================= */
:root {
  /* Colors */
  --bg-dark: #07070a;
  --bg-darker: #040406;
  --neon-purple: #b32ee8;
  --neon-cyan: #00f0ff;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  
  /* Glassmorphism */
  --glass-bg: rgba(20, 20, 28, 0.4);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Layout */
  --container-width: 1100px;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
}

/* =========================================
   RESET & FOUNDATION
========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.section-padding { padding: var(--spacing-xl) 0; }

.bg-darker { background-color: var(--bg-darker); }

/* Highlights */
.highlight-purple { color: var(--neon-purple); text-shadow: 0 0 10px rgba(179, 46, 232, 0.4); }
.highlight-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 240, 255, 0.4); }

/* =========================================
   COMPONENTS
========================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px; /* Slightly sharp for futuristic feel, not pill */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-large {
  padding: 1.2rem 2.4rem;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255, 0.05);
  z-index: -1;
  transition: opacity 0.3s;
}

.btn-primary:hover::before {
  opacity: 1;
}

/* Glow Effects */
.glow-purple {
  border-color: var(--neon-purple);
  box-shadow: 0 0 15px rgba(179, 46, 232, 0.3), inset 0 0 10px rgba(179, 46, 232, 0.2);
}
.glow-purple:hover {
  box-shadow: 0 0 25px rgba(179, 46, 232, 0.6), inset 0 0 15px rgba(179, 46, 232, 0.4);
  background-color: rgba(179, 46, 232, 0.1);
}

.glow-cyan {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), inset 0 0 10px rgba(0, 240, 255, 0.2);
}
.glow-cyan:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6), inset 0 0 15px rgba(0, 240, 255, 0.4);
  background-color: rgba(0, 240, 255, 0.1);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.border-cyan { border-color: rgba(0, 240, 255, 0.3); }
.border-purple { border-color: rgba(179, 46, 232, 0.3); }

/* Typography Scale */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   SECTIONS
========================================= */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('assets/images/hero-bg.png'); /* The generated AI image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.4) 0%, var(--bg-dark) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 4rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid transparent;
  margin-bottom: 2rem;
  background: rgba(0, 240, 255, 0.05);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.hero-subtitle strong {
  color: #fff;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scarcity-text {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--neon-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 1.5s infinite;
}

/* Pain Points */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pain-points .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pain-points h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.pain-points p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Workflow Diagram */
.workflow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.workflow-step {
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  z-index: 2;
  position: relative;
}

.workflow-step.highlight-step .step-number {
  background: rgba(179, 46, 232, 0.2);
}

.workflow-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  margin-top: -80px; /* Align with number */
}

.step-content {
  text-align: center;
  padding: 1.5rem;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Modules */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.module-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--neon-cyan);
}
.module-item:nth-child(2) { border-left-color: var(--neon-purple); }

.module-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.module-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  padding: 4px 8px;
  border-radius: 4px;
}

.module-title {
  font-size: 1.3rem;
}

.module-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* CTA Section */
.cta-box {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.cta-box .title-large {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.price-highlight {
  color: var(--neon-cyan);
  font-size: 1.3rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  width: 70px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.cd-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  letter-spacing: 1px;
}

.guarantee {
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & UTILITIES
========================================= */

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.scroll-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .workflow-connector { display: none; }
  .workflow-diagram { flex-direction: column; }
  .workflow-step { max-width: 100%; width: 100%; margin-bottom: 2rem; }
  .hero-title { font-size: 3rem; }
  .cta-box .title-large { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .module-header { flex-direction: column; align-items: flex-start; }
  .countdown { gap: 0.8rem; }
  .cd-number { width: 55px; height: 65px; font-size: 2rem; }
}
