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

:root {
  /* Colors: Premium Light Blue Theme */
  --primary: #2563eb; /* Blue 600 - slightly darker for contrast in light mode */
  --primary-hover: #1d4ed8; /* Blue 700 */
  --primary-light: #eff6ff; /* Blue 50 */
  --secondary: #0f172a; /* Dark slate for contrast */
  --text-dark: #0f172a; /* Dark slate for headings */
  --text-base: #334155; /* Slate 700 for text */
  --text-light: #64748b; /* Slate 500 */
  --bg-color: #f8fafc; /* Slate 50 Main Light Background */
  --bg-white: #ffffff; /* White Card Background */
  --border-color: #e2e8f0; /* Slate 200 */
  --success: #10b981;
  --error: #ef4444;

  /* Shadows for Light Mode - Softer and more modern */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-primary: 0 10px 15px -3px rgba(37, 99, 235, 0.4);

  /* Typography */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-base);
  background-color: var(--bg-color);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* Typography Base */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.25rem; color: var(--text-light); }

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

.section {
  padding: 5rem 0;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--primary-light);
}

/* Header & Nav */
.header {
  position: fixed;
  overflow: visible;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95); /* Adjusted for light mode */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.mobile-menu-btn span:last-child {
  margin-bottom: 0;
}

/* Main Spacing for Header */
main {
  padding-top: var(--header-height);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
  padding: 5rem 0 3rem;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

/* Features/Benefits Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 32px;
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary);
  border-radius: 34px;
  transition: .4s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

.toggle-input:checked + .toggle-slider {
  background-color: var(--secondary);
}

.toggle-input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 1.5rem 0 0.5rem;
}

.pricing-period {
  color: var(--text-light);
  font-size: 1rem;
}

.pricing-features {
  margin: 2rem 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
}

/* Contact Form */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: #94a3b8; /* Force light gray text on dark background */
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-light);
  margin-top: 1rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Animations */
.js-enabled .fade-in,
.js-enabled .slide-up,
.js-enabled .slide-left,
.js-enabled .slide-right,
.js-enabled .zoom-in {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled .fade-in {
  transform: translateY(40px);
}

.js-enabled .slide-up {
  transform: translateY(100px);
}

.js-enabled .slide-left {
  transform: translateX(-100px);
}

.js-enabled .slide-right {
  transform: translateX(100px);
}

.js-enabled .zoom-in {
  transform: scale(0.85);
}

.js-enabled .fade-in.visible,
.js-enabled .slide-up.visible,
.js-enabled .slide-left.visible,
.js-enabled .slide-right.visible,
.js-enabled .zoom-in.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links a {
    font-size: 1rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: block;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .btn {
    margin: 0.5rem 1.5rem;
    width: calc(100% - 3rem);
    text-align: center;
    border-bottom: none;
  }

  /* Turn menu icon into X */
  .mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .pricing-card.popular {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  color: white;
}

/* WhatsApp Icon SVG (Since no font-awesome is used, we inject it inline or use SVG in HTML) */
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
