/* Variables and Theme - Liquid Glass System */
:root {
  --primary: #3B82F6;
  --primary-glow: rgba(59, 130, 246, 0.5);
  --secondary: #1E40AF;
  --accent: #F59E0B;
  --accent-glow: rgba(245, 158, 11, 0.3);
  
  --bg-dark: #020617; /* Deeper midnight blue */
  --bg-card: rgba(15, 23, 42, 0.6);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-bright: rgba(255, 255, 255, 0.2);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --glass-blur: blur(12px);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, #60A5FA, #3B82F6, #1E40AF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glass Utilities */
.glass {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
}

.glass-hover:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--border-glass-bright);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #D97706 100%);
  color: #020617;
  box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px var(--accent-glow);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  padding: 16px 0;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  width: 85%;
  background: rgba(15, 23, 42, 0.9);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
  position: relative;
}

.logo-icon::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
}

.nav-links a:not(.btn):hover,
.lang-switch {
  color: var(--text-main);
}

.lang-switch {
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.hero-content {
  max-width: 800px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  gap: 8px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
  }
}

/* Forms */
.early-access-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.early-access-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.early-access-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.early-access-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 90%;
  max-width: 550px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass-bright);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-premium);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-header {
  margin-bottom: 32px;
  text-align: center;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

/* Premium Form Fields */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px;
  padding-right: 45px;
  cursor: pointer;
}

/* Fix for dropdown options in dark mode */
.form-control option {
  background-color: #0f172a; /* Solid dark background for readability */
  color: var(--text-main);
  padding: 10px;
}

.form-control option:checked {
  background-color: var(--primary);
  color: #fff;
}

.hero-trust {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Form Message Feedback */
.message-box {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.message-box.success {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.message-box.error {
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.hidden {
  display: none;
}

/* Mockup Visual */
.mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s;
}

.mockup-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.mockup-content {
  display: flex;
  height: 380px;
}

.mockup-sidebar {
  width: 60px;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--border-color);
}

.mockup-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-cards {
  display: flex;
  gap: 16px;
}

.m-card {
  flex: 1;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.mockup-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ai-alert {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  padding: 16px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: pulse 2s infinite;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(59, 130, 246, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.alert-text strong {
  display: block;
  color: var(--accent);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.alert-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Features */
.features {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d14 100%);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  border-radius: 16px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 144, 226, 0.3);
}

.feature-card.highlighted {
  background: linear-gradient(180deg,
      rgba(20, 20, 26, 1) 0%,
      rgba(74, 144, 226, 0.1) 100%);
  border-color: rgba(74, 144, 226, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

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

/* Dual-Track Sections (Studio & Intelligence) */
.split-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.split-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.split-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.split-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.split-list {
  list-style: none;
  margin-bottom: 48px;
}

.split-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.split-list li:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
}

.split-list li::before {
  content: "→";
  color: var(--primary);
  font-weight: bold;
}

.split-list.studio li::before {
  color: var(--accent);
}

.video-placeholder {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-glass-bright);
  border-radius: 24px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.video-placeholder::after {
  content: "▶";
  font-size: 3rem;
  color: rgba(255, 107, 107, 0.5);
  position: absolute;
}

/* Pricing / Offers Section */
.offers-section {
  padding: 120px 0;
  background: var(--bg-dark);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pricing-card.studio-offer {
  border-color: rgba(255, 107, 107, 0.3);
  background: linear-gradient(180deg,
      var(--bg-card) 0%,
      rgba(255, 107, 107, 0.05) 100%);
}

.pricing-card.saas-offer {
  border-color: rgba(74, 144, 226, 0.3);
  background: linear-gradient(180deg,
      var(--bg-card) 0%,
      rgba(74, 144, 226, 0.05) 100%);
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.price-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-card .split-list {
  margin-bottom: auto;
  /* pushes button to bottom */
  padding-bottom: 40px;
}

.pricing-card .btn {
  width: 100%;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  max-width: 250px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 24px;
  box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

.step h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(74, 144, 226, 0) 0%,
      rgba(74, 144, 226, 0.3) 50%,
      rgba(74, 144, 226, 0) 100%);
  margin: 0 32px;
  transform: translateY(-40px);
}

/* Bottom CTA */
.bottom-cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(0deg, #0d0d14 0%, var(--bg-dark) 100%);
}

.CTA-container {
  max-width: 600px;
}

.CTA-container h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 20px;
}

.CTA-container p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.bottom-form {
  max-width: 480px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-dark);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 12px;
  border-left: 1px solid var(--border-color);
  padding-left: 12px;
}

.logo-icon.small {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.logo-icon.small::after {
  width: 6px;
  height: 6px;
  bottom: -2px;
  right: -2px;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 900px) {

  .hero-container,
  .split-container,
  .pricing-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .split-list {
    text-align: left;
    display: inline-block;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    display: none;
  }

  .nav-links {
    display: none;
  }

  /* Add hamburger menu if needed later */
}