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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #0f172a;
  --text: #334155;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Navigation */
nav-bar {
  display: block;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav-bar nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

nav-bar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

nav-bar .nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav-bar a {
  color: var(--text);
  font-weight: 500;
}

nav-bar a:hover {
  color: var(--primary);
}

nav-bar .mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

nav-bar .mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

nav-bar .mobile-menu.open {
  display: block;
}

nav-bar .mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

nav-bar .nav-login-btn {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.2s;
}

nav-bar .nav-login-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

nav-bar .mobile-login-btn {
  display: none;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 768px) {
  nav-bar .nav-links {
    display: none;
  }
  nav-bar .nav-login-btn {
    display: none;
  }
  nav-bar .mobile-toggle {
    display: block;
  }
  nav-bar .mobile-login-btn {
    display: block;
  }
}

/* Hero */
hero-section {
  display: block;
}

hero-section .hero {
  padding: 100px 0 80px;
  background: linear-gradient(to bottom, var(--bg), var(--bg-alt));
  text-align: center;
}

hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 24px;
}

hero-section .highlight {
  color: var(--primary);
}

hero-section p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
}

hero-section .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  hero-section h1 {
    font-size: 2.25rem;
  }
  hero-section p {
    font-size: 1.125rem;
  }
}

/* Features */
features-section {
  display: block;
}

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

features-section .feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}

features-section .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

features-section .feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

features-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
}

features-section .feature-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

@media (max-width: 992px) {
  features-section .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  features-section .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Consulting */
consulting-section {
  display: block;
}

/* Pricing */
pricing-section {
  display: block;
  background: var(--bg-alt);
}

pricing-section .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

pricing-section .pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
}

pricing-section .pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
  position: relative;
}

pricing-section .pricing-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

pricing-section .plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

pricing-section .plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

pricing-section .plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

pricing-section .plan-desc {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

pricing-section .plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

pricing-section .plan-features li {
  padding: 8px 0;
  color: var(--text);
  font-size: 0.9375rem;
}

pricing-section .plan-features li::before {
  content: "\2713 ";
  color: var(--primary);
  font-weight: 600;
  margin-right: 8px;
}

pricing-section .pricing-card button {
  width: 100%;
}

@media (max-width: 992px) {
  pricing-section .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  pricing-section .pricing-card.popular {
    transform: none;
  }
}

/* CTA */
cta-section {
  display: block;
}

cta-section .cta-content {
  background: var(--secondary);
  border-radius: 16px;
  padding: 64px;
  text-align: center;
}

cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

cta-section .cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}

cta-section input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
}

cta-section button {
  white-space: nowrap;
}

@media (max-width: 600px) {
  cta-section .cta-content {
    padding: 40px 24px;
  }
  cta-section h2 {
    font-size: 1.75rem;
  }
}

/* Signup Form */
signup-form {
  display: block;
}

signup-form .form-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}

signup-form .email-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
}

signup-form .email-input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

signup-form .submit-btn {
  white-space: nowrap;
}

signup-form .submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

signup-form .form-note {
  margin-top: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 480px) {
  signup-form .form-row {
    flex-direction: column;
  }
  signup-form .submit-btn {
    width: 100%;
  }
}

/* Book Call Button */
book-call-button {
  display: inline-block;
}

book-call-button .book-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

book-call-button .book-call-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: white;
}

book-call-button .book-call-btn .btn-icon {
  font-size: 1.1em;
}

book-call-button .book-call-btn.small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Footer */
site-footer {
  display: block;
  background: var(--secondary);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}

site-footer .footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

site-footer .footer-brand h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

site-footer .footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

site-footer .footer-links h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

site-footer .footer-links ul {
  list-style: none;
}

site-footer .footer-links li {
  margin-bottom: 12px;
}

site-footer .footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

site-footer .footer-links a:hover {
  color: white;
}

site-footer .footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

site-footer .social-links {
  display: flex;
  gap: 16px;
}

site-footer .social-links a {
  color: rgba(255,255,255,0.7);
  font-size: 1.25rem;
  transition: color 0.2s;
}

site-footer .social-links a:hover {
  color: white;
}

@media (max-width: 768px) {
  site-footer .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  site-footer .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  site-footer .footer-content {
    grid-template-columns: 1fr;
  }
}