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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --text-primary: #030712;
  --text-secondary: #4b5563;
  --accent-primary: #4f46e5;
  --accent-glow: rgba(79, 70, 229, 0.4);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --font-main: 'Inter', sans-serif;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; padding: 0; margin: 0; }

html, body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sophisticated Background Grid */
.bg-grid {
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-primary); }

/* Ultra-Premium Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.05;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); letter-spacing: -0.05em; }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: 1.75rem; letter-spacing: -0.02em; }
h4 { font-size: 1.25rem; }

p { letter-spacing: -0.01em; }

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }

.text-secondary { color: var(--text-secondary); }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* Pill Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* Glass & Bento Box Panels */
.bento-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
@media (max-width: 768px) {
  .bento-panel { padding: 2rem; }
}
.bento-panel:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.08), 
    0 0 20px var(--accent-glow);
  border-color: rgba(0,0,0,0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 9999px; /* Pill shape is very premium */
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  gap: 0.5rem;
}
.btn-primary {
  background: var(--text-primary);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: white;
}
.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: rgba(0,0,0,0.2);
}

/* Sections */
section { padding: 8rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

.hero-section {
  padding: 12rem 0 8rem 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .hero-section { padding: 8rem 0 4rem 0; } }

/* Subtle Aurora Glow */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  opacity: 0.5;
}
@media (max-width: 768px) { .hero-section::before { width: 300px; height: 300px; top: 0; } }

.page-hero {
  padding: 10rem 0 6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: white;
}
@media (max-width: 768px) { .page-hero { padding: 8rem 0 4rem 0; } }

/* Bento Grids */
.bento-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(12, 1fr);
}
.bento-grid > * { grid-column: span 12; }
@media (min-width: 768px) {
  .bento-col-4 { grid-column: span 4; }
  .bento-col-5 { grid-column: span 5; }
  .bento-col-6 { grid-column: span 6; }
  .bento-col-7 { grid-column: span 7; }
  .bento-col-8 { grid-column: span 8; }
}

/* Custom UI Elements */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--text-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Process Timeline (Refined) */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.process-step {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  background: white;
  transition: transform var(--transition-normal);
}
.process-step:hover {
  transform: translateX(10px);
  border-color: rgba(0,0,0,0.15);
}
.step-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .process-step { flex-direction: column; gap: 1.5rem; padding: 2rem; }
}

/* Pricing Bento */
.pricing-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pricing-bento { grid-template-columns: 1fr 1.1fr; align-items: center; }
}
.pricing-card {
  padding: 4rem 3rem;
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  background: white;
  position: relative;
}
.pricing-pro {
  background: var(--text-primary);
  color: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transform: scale(1.02);
}
.pricing-pro h3, .pricing-pro .text-secondary { color: rgba(255,255,255,0.8); }
.pricing-pro .pricing-price { color: white; }

.pricing-price { font-size: 4rem; font-weight: 800; letter-spacing: -0.05em; margin: 1rem 0 2rem 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.pricing-features li { display: flex; align-items: center; gap: 1rem; font-weight: 500; }

/* Contact Form */
.form-input {
  width: 100%;
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}
.form-label { display: block; font-weight: 600; margin-bottom: 0.5rem; }

/* Header & Footer */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.9375rem; }

.dark-footer {
  background-color: var(--text-primary);
  color: white;
  padding: 6rem 0 3rem 0;
}
.dark-footer .text-secondary { color: rgba(255,255,255,0.6); }
.dark-footer h4 { color: white; }
.dark-footer a:hover { color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
@media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; } }

/* Logo Cloud */
.logo-cloud { overflow: hidden; padding: 4rem 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); background: white; }
.logo-track { display: flex; gap: 5rem; width: max-content; animation: scroll 40s linear infinite; }
.logo-item { font-size: 1.5rem; font-weight: 800; color: rgba(0,0,0,0.2); text-transform: uppercase; letter-spacing: -0.03em; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Mobile Menu overrides */
.mobile-nav-toggle { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--text-primary); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-primary); padding: 2rem; border-bottom: 1px solid var(--border-subtle); flex-direction: column; gap: 1.5rem; }
.mobile-menu.active { display: flex; }
@media(max-width: 768px) { .nav-links { display: none; } .mobile-nav-toggle { display: block; } }

/* Flex */
.flex { display: flex; } .justify-between { justify-content: space-between; } .items-center { align-items: center; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }
