/* --- Variables & Reset --- */
:root {
  /* Modern Palette */
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --surface-translucent: rgba(255, 255, 255, 0.7);
  --text-main: #111827;
  --text-muted: #6B7280;
  --brand: #4F46E5; /* Electric Indigo */
  --brand-glow: rgba(79, 70, 229, 0.15);
  --border: #E5E7EB;
  --grid-color: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] {
  --bg: #0B1120; /* Deep Navy, much richer than black */
  --surface: #1E293B;
  --surface-translucent: rgba(30, 41, 59, 0.7);
  --text-main: #F3F4F6;
  --text-muted: #94A3B8;
  --brand: #6366F1; /* Lighter Indigo for dark mode */
  --brand-glow: rgba(99, 102, 241, 0.2);
  --border: #334155;
  --grid-color: rgba(255, 255, 255, 0.03);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, .brand, .big-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Background Tech Effects --- */
.background-grid {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}

.glow-effect {
  position: fixed;
  top: -10%; left: 50%; width: 800px; height: 800px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

/* --- Layout --- */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  position: fixed;
  top: 0; width: 100%;
  padding: 20px 24px;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

#theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
#theme-toggle:hover { background: var(--surface); border-color: var(--brand); }

/* --- Hero Section --- */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-glow);
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to bottom right, var(--text-main), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  background-clip: text; 
  color: var(--text-main); 
}

/* --- Inserted Styles for your specific text --- */
.subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: var(--brand);
  font-weight: 500;
  margin-top: -10px;
  margin-bottom: 32px;
}

.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 24px;
  margin-bottom: 0;
}

.lead strong {
  color: var(--text-main);
  font-weight: 600;
}

.founder-note {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 48px;
  opacity: 0.9;
  /* background: var(--surface); */
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  /* border: 1px solid var(--border); */
  
}

.founder-note strong {
  color: var(--text-main);
}
/* ------------------------------------------- */

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

/* --- Buttons --- */
.btn {
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 16px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px var(--brand-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-glow);
}

.btn-text {
  color: var(--text-main);
}
.btn-text:hover { color: var(--brand); }

/* --- Tech Stack Ticker --- */
.tech-stack-strip {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Cards & Features --- */
section { margin-bottom: 120px; }

.section-header { margin-bottom: 40px; }
h2 { font-size: 32px; }

.cards-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .cards-wrapper { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface-translucent);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.highlight-card {
  border-color: var(--brand);
  box-shadow: 0 20px 40px -10px var(--brand-glow);
}

.secondary-card {
  background: transparent;
  border-style: dashed;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.status-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--brand);
  color: white;
}
.status-pill.outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 500;
}

.icon {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

/* --- "Why Us" Grid --- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.big-number {
  display: block;
  font-size: 48px;
  color: var(--border); /* Subtle number */
  line-height: 1;
  margin-bottom: 16px;
}
[data-theme="dark"] .big-number { opacity: 0.2; }

.feature-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-main);
}
.feature-item p { font-size: 15px; color: var(--text-muted); }

/* --- About & Contact --- */
.about-section {
  border-left: 4px solid var(--brand);
  padding-left: 32px;
}

.signature {
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
  font-size: 24px;
  margin-top: 24px;
  color: var(--text-muted);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

.contact-form {
  background: var(--surface);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-main);
}

input, textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-main);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.btn-block { width: 100%; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
  background: var(--bg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.muted { color: var(--text-muted); }

/* --- Animations --- */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade.visible {
  opacity: 1;
  transform: translateY(0);
}