/* Core AI Startup Styling */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;900&display=swap');



:root {

  /* We will map these from data-theme variables */

}



body {

  font-family: 'Inter', sans-serif;

  background-color: var(--bg);

  color: var(--text);

  overflow-x: hidden;

  margin: 0;

  padding: 0;

  -webkit-font-smoothing: antialiased;

}



h1, h2, h3, h4, h5, h6 {

  font-family: 'Outfit', sans-serif;

  margin: 0;

  line-height: 1.1;

}



.eyebrow {

  font-family: monospace;

  letter-spacing: 0.3em;

  text-transform: uppercase;

  color: var(--accent);

  font-size: 0.875rem;

  display: block;

  margin-bottom: 1rem;

}



/* Glassmorphism & Depth */

.glass {

  background: rgba(255, 255, 255, 0.03);

  backdrop-filter: blur(20px);

  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.05);

  border-radius: 1.5rem;

  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);

}



.glow-blob {

  position: absolute;

  width: 600px;

  height: 600px;

  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);

  opacity: 0.15;

  filter: blur(80px);

  z-index: -1;

  border-radius: 50%;

  animation: float 10s ease-in-out infinite alternate;

}



@keyframes float {

  0% { transform: translate(0, 0) scale(1); }

  100% { transform: translate(50px, 50px) scale(1.1); }

}



/* Layout */

.container {

  margin: 0 auto;

  padding: 0 2rem;

  max-width: 1280px;

}



.section {

  padding-top: 8rem;

  padding-bottom: 8rem;

  position: relative;

}



/* Buttons */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 1rem 2rem;

  border-radius: 9999px;

  font-weight: 600;

  text-decoration: none;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  cursor: pointer;

  border: none;

  font-family: 'Inter', sans-serif;

}



.btn-primary {

  background: linear-gradient(135deg, var(--accent), var(--accent2));

  color: #fff;

  box-shadow: 0 10px 25px -5px var(--accent);

}



.btn-primary:hover {

  transform: translateY(-2px) scale(1.02);

  box-shadow: 0 20px 30px -10px var(--accent);

}



.btn-glass {

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);

  color: var(--text);

  border: 1px solid rgba(255, 255, 255, 0.1);

}



.btn-glass:hover {

  background: rgba(255, 255, 255, 0.1);

  transform: translateY(-2px);

}



/* Hero Section */

.hero {

  min-height: 100vh;

  display: flex;

  align-items: center;

  padding-top: 6rem;

}



.hero-title {

  font-size: clamp(3rem, 6vw, 5.5rem);

  font-weight: 900;

  margin-bottom: 1.5rem;

}



.text-gradient {

  background: linear-gradient(135deg, var(--accent), var(--accent2));

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

}



.hero-subtitle {

  font-size: 1.25rem;

  color: var(--muted);

  max-width: 600px;

  line-height: 1.6;

  margin-bottom: 2.5rem;

}



/* Widgets */

.terminal-simulator {

  font-family: monospace;

  padding: 2rem;

  position: relative;

  overflow: hidden;

  height: 400px;

  display: flex;

  flex-direction: column;

}



.terminal-header {

  display: flex;

  gap: 8px;

  margin-bottom: 1.5rem;

}



.terminal-dot {

  width: 12px;

  height: 12px;

  border-radius: 50%;

}

.terminal-dot:nth-child(1) { background: #ef4444; }

.terminal-dot:nth-child(2) { background: #f59e0b; }

.terminal-dot:nth-child(3) { background: #10b981; }



.terminal-content {

  flex-grow: 1;

  overflow-y: auto;

  color: var(--muted);

}

.terminal-line {

  margin-bottom: 0.5rem;

}

.terminal-line .cursor {

  display: inline-block;

  width: 8px;

  height: 16px;

  background: var(--accent);

  animation: blink 1s step-end infinite;

  vertical-align: middle;

  margin-left: 4px;

}

@keyframes blink { 50% { opacity: 0; } }



/* Bento Grid */

.bento {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 2rem;

  margin-top: 4rem;

}



.bento-card {

  padding: 2.5rem;

  transition: transform 0.3s ease, border-color 0.3s ease;

  position: relative;

  overflow: hidden;

}



.bento-card:hover {

  transform: translateY(-5px);

  border-color: rgba(255,255,255,0.15);

}



@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 8rem;
    gap: 3rem;
  }
  .hero > div {
    padding-right: 0 !important;
    width: 100%;
  }
  .bento-card {
    grid-column: 1 / -1 !important;
  }
  .nav-links {
    display: none !important;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .hero-btns .btn {
    width: 100%;
  }
}

/* --- UNIVERSAL MOBILE PATCH --- */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .hero-btns { flex-direction: column !important; width: 100% !important; align-items: stretch !important; gap: 0.5rem !important; margin-bottom: 2rem !important; }
  .hero-btns .btn { width: 100% !important; justify-content: center !important; margin: 0 !important; }
  .bento-card, .feature-card, .pricing-card, .pricing-tier { grid-column: 1 / -1 !important; }
  .bento, .features-grid, .pricing-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr !important; }
  .hero-title { font-size: 2.5rem !important; }
  .stat-value { font-size: 3.5rem !important; }
  .hero { flex-direction: column !important; padding-top: 6rem !important; gap: 3rem !important; height: auto !important; min-height: unset !important; }
  .hero > div { padding-right: 0 !important; padding-left: 0 !important; width: 100% !important; text-align: center !important; }
  .pricing-header h2 { font-size: 2.5rem !important; }
}
