/* Variable Definitions */
:root {
  --primary: #0B192A; /* Deep Navy */
  --secondary: #E8F1F5; /* Pale Cyan Background */
  --accent: #00A3C4; /* Electric Blue Accent */
  --accent-light: #B2EBF2;
  --text-dark: #0B192A;
  --text-light: #E8F1F5;
  --white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.1);
  --serif: "Cormorant Garamond", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3.5rem; }
h3 { font-size: 2.2rem; }

em {
  font-style: italic;
  color: var(--accent);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--white);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Layout Utilities */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

/* Navigation Redesign - Floating Pill Style */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  padding: 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  top: 10px;
  padding: 0.6rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none !important;
  padding: 0 !important;
}

.logo {
  font-family: var(--serif);
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--accent);
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-block;
}

.btn-nav:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-nav.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.5rem;
  padding: 5px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 18px 36px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background: #008eb0;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 163, 196, 0.3);
}

.hero-image-container {
  position: relative;
  height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bento Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--secondary);
  padding: 3rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 163, 196, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--accent);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card p {
  color: rgba(11, 25, 42, 0.7);
  font-size: 1rem;
}

.service-card.primary {
  grid-column: span 2;
  background: var(--primary);
  color: var(--white);
}

.service-card.primary h3 { color: var(--white); }
.service-card.primary p { color: rgba(255, 255, 255, 0.7); }

/* Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.step-num {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 0rem;
  font-weight: 700;
  line-height: 1;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--secondary);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  cursor: pointer;
}

summary {
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

/* CTA Floating */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.05) translateY(-5px);
  background-color: #128c7e;
}

/* Pricing Section */
.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--primary);
  color: var(--white);
  padding: 5rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 40px 100px rgba(11, 25, 42, 0.4);
}

.price {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.price span {
  font-size: 1.5rem;
  opacity: 0.6;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Media Queries for Optimization */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-image-container { height: 400px; width: 100%; max-width: 600px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
  .service-card { padding: 2rem 1.5rem; }
  .service-card.primary { grid-column: auto; }
  .service-icon { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 1.5rem; }
  .process-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .footer-logo { margin: 0 auto 1.5rem; }
}

@media (max-width: 768px) {
  nav { top: 15px; width: 90%; padding: 0.7rem 1.5rem; }
  .logo { font-size: 1.1rem; }
  .nav-links {
    position: fixed;
    top: 80px; 
    left: 50%;
    transform: translate(-50%, -20px);
    width: 100%;
    max-width: calc(100vw - 40px);
    height: auto;
    max-height: 85vh;
    border-radius: 24px;
    background: var(--white);
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, 0);
  }

  .nav-links li {
    margin: 1.2rem 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }


  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }

  h1 { font-size: 2.4rem; line-height: 1.25; }
  h2 { font-size: 1.8rem; line-height: 1.3; }
  .hero { padding-top: 140px; }
  .hero-text p { font-size: 1.1rem; }
  .section { padding: 40px 0; }
  .pricing-card { padding: 4rem 1rem; margin: 0 1rem; width: auto; }
  .price { font-size: 3.2rem; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin: 0 auto 1.5rem; }

  /* Use padding for balance instead of global hiding */
  body, html { overflow-x: hidden; width: 100%; position: relative; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .hero-text p { font-size: 1.1rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-primary { width: 100%; text-align: center; }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
  }
}
