/* 
  ================================================
  Variables & Design Tokens
  ================================================
*/
:root {
  /* Colors - Premium Dark Mode Theme */
  --bg-dark: #0f1218;
  --bg-card: #161b22;
  --bg-card-hover: #1e2530;
  --bg-light-gray: #13171f;
  
  --primary-gold: #cfa858;
  --primary-gold-hover: #e8bd63;
  --primary-gradient: linear-gradient(135deg, #cfa858 0%, #a88339 100%);
  
  --text-light: #f0f2f5;
  --text-muted: #94a3b8;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #1ebd5a;

  /* Typography */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Sizes & Spaces */
  --container-width: 1200px;
  --container-narrow: 800px;
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-lg: 20px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(207, 168, 88, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

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

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 100px 0;
}

.bg-light-gray {
  background-color: var(--bg-light-gray);
}

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

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* 
  ================================================
  Typography
  ================================================
*/
h1, h2, h3, h4, h5, h6 {
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* 
  ================================================
  Buttons
  ================================================
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #000;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(207, 168, 88, 0.3);
}

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

.btn-outline:hover {
  background: rgba(207, 168, 88, 0.1);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #fff;
}

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

/* 
  ================================================
  Navbar
  ================================================
*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(15, 18, 24, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo i {
  color: var(--primary-gold);
  font-size: 1.8rem;
}

.logo span {
  font-weight: 300;
  color: var(--primary-gold);
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-gold);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
}

/* 
  ================================================
  Hero Section
  ================================================
*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(207, 168, 88, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(207, 168, 88, 0.05) 0%, transparent 50%);
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(207, 168, 88, 0.1);
  border: 1px solid rgba(207, 168, 88, 0.2);
  color: var(--primary-gold);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-inline: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--primary-gold);
}

.stat-text h4 {
  margin: 0;
  font-size: 1.1rem;
}

.stat-text p {
  margin: 0;
  font-size: 0.9rem;
}

/* 
  ================================================
  Section Headers
  ================================================
*/
.section-header {
  margin-bottom: 60px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
}

/* 
  ================================================
  Features
  ================================================
*/
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(207, 168, 88, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon i {
  font-size: 30px;
  color: var(--primary-gold);
}

/* 
  ================================================
  Packages
  ================================================
*/
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.packages-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.package-card:hover {
  border-color: var(--primary-gold);
}

.package-card.premium {
  background: linear-gradient(to bottom, #1a202c, #161b22);
  border: 1px solid rgba(207, 168, 88, 0.5);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.premium-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #000;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.package-header {
  text-align: center;
  margin-bottom: 30px;
}

.package-icon {
  font-size: 48px;
  color: var(--primary-gold);
  margin-bottom: 16px;
}

.package-features {
  margin-bottom: 40px;
  flex: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.package-features li i {
  color: var(--primary-gold);
  font-size: 20px;
  margin-top: 2px;
}

.package-footer {
  margin-top: auto;
}

/* 
  ================================================
  Process Timeline
  ================================================
*/
.process-timeline {
  position: relative;
  padding: 20px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  width: calc(50% - 40px);
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  position: relative;
}

.timeline-content.right {
  margin-left: auto;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--bg-dark);
  border: 4px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
  color: var(--primary-gold);
}

/* 
  ================================================
  Testimonials
  ================================================
*/
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: rgba(207, 168, 88, 0.2);
  margin-bottom: 20px;
  display: inline-block;
}

.feedback {
  font-style: italic;
  margin-bottom: 30px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
}

.client-info h5 {
  margin: 0;
  font-size: 1rem;
}

.client-info span {
  font-size: 0.85rem;
  color: var(--primary-gold);
}

/* 
  ================================================
  FAQ Accordion
  ================================================
*/
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.accordion-header i {
  font-size: 1.5rem;
  color: var(--primary-gold);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
  background: rgba(207, 168, 88, 0.05);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 0 24px 24px 24px;
  max-height: 300px;
}

/* 
  ================================================
  Contact Section
  ================================================
*/
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-methods {
  margin: 40px 0;
}

.method {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.method i {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-gold);
}

.method h5 {
  margin: 0 0 5px 0;
}

.contact-form-container {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: 500;
}

.required {
  color: #ff4b4b;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary-gold);
  background: rgba(0, 0, 0, 0.2);
}

.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 
  ================================================
  Footer
  ================================================
*/
.footer {
  background: #0a0c10;
  padding: 80px 0 20px 0;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 400px;
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 24px;
}

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

.footer-links ul li a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* 
  ================================================
  Animations
  ================================================
*/
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 
  ================================================
  Responsive
  ================================================
*/
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .packages-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-list, .nav-actions .btn {
    display: none;
  }
  
  .nav-list.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-toggle {
    display: block;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .packages-grid, .packages-grid-4, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .package-card.premium {
    transform: none;
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-end;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
  }
  
  .timeline-content.right {
    margin-left: 0;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* 
  ================================================
  WhatsApp Floating Button & Menu
  ================================================
*/
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-btn {
  width: 65px;
  height: 65px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 35px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-green-hover);
}

.whatsapp-btn .pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.whatsapp-menu {
  width: 300px;
  background: var(--bg-card);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.whatsapp-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.whatsapp-menu-header {
  background: var(--whatsapp-green);
  padding: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.whatsapp-menu-header i:first-child {
  font-size: 24px;
}

.whatsapp-menu-header span {
  font-weight: 600;
  font-size: 0.95rem;
}

.close-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition);
}

.close-menu:hover {
  opacity: 1;
}

.whatsapp-menu-body {
  padding: 10px 0;
}

.whatsapp-menu-body a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.whatsapp-menu-body a:last-child {
  border-bottom: none;
}

.whatsapp-menu-body a:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--whatsapp-green);
  padding-left: 25px;
}

.whatsapp-menu-body a i {
  font-size: 18px;
  color: var(--whatsapp-green);
}

/* Responsive adjust for mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-menu {
    width: 260px;
    right: 0;
    position: absolute;
    bottom: 80px;
  }
}
