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

:root {
  /* Crisp, natural Light Mode Palette (Human / Non-AI aesthetic) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-color-hover: #cbd5e1;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dark: #64748b;
  
  --accent-primary: #0f172a;
  --accent-green: #059669;
  --accent-green-bg: #ecfdf5;
  --accent-blue: #2563eb;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --max-width: 1140px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.text-gradient {
  color: var(--text-main);
}

/* Clean Professional Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.btn-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-color-hover);
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

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

.brand-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  padding-top: 5rem;
  padding-bottom: 4rem;
  text-align: center;
  background: var(--bg-primary);
}

.hero-glow {
  display: none;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  margin: 1.25rem 0 1rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

/* Cards & Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  border-color: var(--border-color-hover);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

/* Comparison Table Section */
.comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.comp-card {
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.comp-old {
  background: #fef2f2;
  border-color: #fecaca;
}

.comp-cadactive {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.comp-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comp-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  color: var(--text-main);
}

.comp-old .icon { color: #dc2626; font-weight: bold; }
.comp-cadactive .icon { color: #16a34a; font-weight: bold; }

/* Pricing Component */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.75rem;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--text-main);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.price-tag {
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0.75rem 0;
  color: var(--text-main);
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2.5rem;
  margin-top: 5rem;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 0.85rem;
  max-width: 300px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.mobile-cta-item {
  display: none;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .comparison-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-cta-btn {
    display: none;
  }

  .mobile-cta-item {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
  }

  .mobile-cta-item .btn {
    display: block;
    text-align: center;
    width: 100%;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
