@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Color System (HSL) */
  --bg-dark: hsl(245, 30%, 5%);
  --bg-card: hsl(245, 20%, 8%);
  --bg-card-hover: hsl(245, 20%, 12%);
  --accent-purple: hsl(265, 85%, 62%);
  --accent-cyan: hsl(185, 90%, 55%);
  --accent-indigo: hsl(235, 80%, 60%);
  
  --text-main: hsl(240, 20%, 97%);
  --text-muted: hsl(240, 12%, 72%);
  --text-dim: hsl(240, 8%, 50%);
  
  --glass-bg: rgba(13, 11, 24, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  
  --accent-gradient: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  --blue-purple-gradient: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-purple) 100%);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-main: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(133, 51, 255, 0.2);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, hsla(265, 85%, 62%, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, hsla(185, 90%, 55%, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(13, 11, 24, 1) 0%, rgba(5, 4, 10, 1) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 2rem;
}

/* Navigation Bar */
header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  box-shadow: var(--shadow-main);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 45px;
  width: auto;
  display: block;
  border-radius: 4px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

nav ul li a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--bg-dark);
  border: none;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(133, 51, 255, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(133, 51, 255, 0.1);
  border: 1px solid rgba(133, 51, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-purple);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Grid Specifics */
.hero-grid {
  align-items: center;
  text-align: left;
}

.hero-grid h1 {
  font-size: 3.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-align: left;
}

.hero-grid .subtitle {
  margin: 0 0 2rem 0;
  text-align: left;
  max-width: 550px;
}

.hero-grid .hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
}

.hero-image-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-content img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-main), var(--shadow-glow);
  transition: var(--transition-smooth);
}

.hero-image-content img:hover {
  transform: scale(1.02) rotate(1deg);
  border-color: var(--accent-cyan);
}

@media (max-width: 900px) {
  .hero-grid {
    text-align: center;
  }
  .hero-grid h1 {
    text-align: center;
    font-size: 2.8rem;
  }
  .hero-grid .subtitle {
    text-align: center;
    margin: 0 auto 2rem auto;
  }
  .hero-grid .hero-actions {
    justify-content: center;
  }
  .hero-image-content {
    margin-top: 2rem;
  }
  .hero-image-content img {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Glassmorphism Cards & Grid Layouts */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
  align-items: center;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-main);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Why AI Projects Fail Section */
.stat-box {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(133, 51, 255, 0.05) 100%);
  border: 1px solid rgba(255, 107, 107, 0.1);
  border-radius: 24px;
}

.stat-number {
  font-size: 5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ff6b6b;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 40px rgba(255, 107, 107, 0.3);
}

.stat-label {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

/* Blueprint Section */
.blueprint-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px dashed var(--glass-border);
  margin-left: 1rem;
}

.timeline-step {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: calc(-2rem - 17px);
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-purple);
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(133, 51, 255, 0.3);
}

.timeline-step.active .step-number {
  background: var(--accent-purple);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--accent-purple);
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(185, 90, 55, 0.1);
  border: 1px solid rgba(185, 90, 55, 0.2);
  color: var(--accent-cyan);
  border-radius: 50px;
}

/* ROI Calculator Section */
.calculator-box {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-main);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.slider-value {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

/* Range Slider Styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  transition: var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--text-main);
}

.calc-results {
  background: linear-gradient(135deg, rgba(13, 11, 24, 0.8) 0%, rgba(20, 16, 40, 0.8) 100%);
  border: 1px solid rgba(133, 51, 255, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.result-item {
  margin-bottom: 2rem;
}

.result-item:last-child {
  margin-bottom: 0;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
}

.result-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.result-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.result-number.saving {
  color: var(--text-main);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-number.roi {
  color: var(--accent-cyan);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.premium {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent-purple);
  color: var(--bg-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin: 1.5rem 0;
  line-height: 1.2;
}

.pricing-price span {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.5rem;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: bold;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
}

.pricing-card.premium:hover {
  border-color: var(--accent-cyan);
}

.pricing-subtext {
  text-align: center;
  color: var(--text-muted);
  margin-top: 3rem;
  font-size: 0.9rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact/Booking Form */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem;
  max-width: 700px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

input, select, textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  color: var(--text-main);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

option {
  background: var(--bg-card);
  color: var(--text-main);
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Section */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0;
  background: hsl(245, 30%, 3%);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-main);
}

.copyright {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  html {
    font-size: 14px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .calc-results {
    margin-top: 2rem;
  }
  
  .nav-bar {
    border-radius: 20px;
    padding: 1rem;
  }
  
  nav {
    display: none; /* simple hidden for small screens or hamburger layout can be loaded */
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

/* Simulated Lead Portal Table Styling */
#leads-table th, #leads-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

#leads-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
