@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-dark: #0D3B3E;      /* Deep Slate Teal */
  --primary-brand: #17A2A3;     /* Mid Teal */
  --secondary-brand: #34C38F;   /* Emerald Green */
  --accent-light: #A6E3C2;      /* Mint Green */
  --bg-soft: #F5FBF7;           /* Soft Sage Off-white */
  --bg-white: #FFFFFF;          /* Pure White */
  
  /* Text Colors */
  --text-main: #1C3335;         /* Deep Slate Gray */
  --text-light: #5A7173;        /* Slate Gray */
  --text-muted: #8E9F9F;        /* Light Slate Gray */
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--primary-dark) 0%, #1A5458 100%);
  --grad-brand: linear-gradient(135deg, var(--primary-brand) 0%, var(--secondary-brand) 100%);
  --grad-soft: linear-gradient(135deg, var(--bg-soft) 0%, #EBF4F0 100%);
  --grad-glass: rgba(255, 255, 255, 0.85);

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(13, 59, 62, 0.03);
  --shadow-md: 0 10px 25px rgba(13, 59, 62, 0.06);
  --shadow-lg: 0 20px 40px rgba(13, 59, 62, 0.1);
  --shadow-hover: 0 24px 48px rgba(13, 59, 62, 0.15);
  --shadow-inset: inset 0 2px 4px rgba(13, 59, 62, 0.06);

  /* Borders */
  --border-thin: 1px solid #E3ECE8;
  --border-thick: 2px solid var(--accent-light);

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

  /* Layout & Sizing */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-round: 50px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; position: relative; padding-bottom: 15px; }
h2.underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--grad-brand);
  border-radius: var(--radius-round);
}
h2.underline-center {
  text-align: center;
  padding-bottom: 15px;
}
h2.underline-center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--grad-brand);
  border-radius: var(--radius-round);
}

h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

a {
  color: var(--primary-brand);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: var(--primary-dark);
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5.5rem 0;
}
.section-dark {
  background: var(--grad-primary);
  color: var(--bg-soft);
}
.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--bg-white);
}
.section-dark p {
  color: #A3C2C4;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-round);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn-primary {
  background: var(--grad-brand);
  color: var(--bg-white);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, #138788 0%, #299F74 100%);
  color: var(--bg-white);
}
.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--primary-dark);
  border: var(--border-thin);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background-color: var(--bg-soft);
  border-color: var(--accent-light);
}

.btn-dark {
  background-color: var(--primary-dark);
  color: var(--bg-white);
}
.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background-color: #082628;
}

.btn-sos {
  background: linear-gradient(135deg, #E65C5C 0%, #D14343 100%);
  color: var(--bg-white);
  animation: pulse-sos 2s infinite;
}
.btn-sos:hover {
  background: linear-gradient(135deg, #F06A6A 0%, #E65C5C 100%);
  box-shadow: 0 0 20px rgba(230, 92, 92, 0.4);
}

@keyframes pulse-sos {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 92, 92, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(230, 92, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 92, 92, 0);
  }
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 70px;
  box-shadow: var(--shadow-md);
  border-bottom: var(--border-thin);
}

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

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary-dark);
}
.logo-icon {
  width: 42px;
  height: 42px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  line-height: 1;
}
.logo-tagline {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--primary-brand);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-dark);
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-brand);
  transition: var(--transition-smooth);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--primary-brand);
}

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border: var(--border-thin);
  z-index: 1001;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.dropdown-item:hover {
  background-color: var(--bg-soft);
  color: var(--primary-brand);
}
.dropdown-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-brand);
  fill: none;
  stroke-width: 2;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: var(--radius-round);
  transition: var(--transition-smooth);
}

/* Navigation Drawer (Mobile) */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 6rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: var(--transition-smooth);
}
.nav-drawer.active {
  right: 0;
}
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.nav-drawer-links .nav-link {
  font-size: 1.1rem;
}
.drawer-submenu {
  padding-left: 1rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 2px solid var(--accent-light);
}
.drawer-submenu-item {
  font-size: 0.95rem;
  color: var(--text-light);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13, 59, 62, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  background: radial-gradient(circle at 80% 20%, #E6F3EE 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(52, 195, 143, 0.05);
  filter: blur(60px);
}
.hero-content {
  max-width: 620px;
}
.hero-content h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}
.hero-content p.subheading {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.5;
  font-weight: 300;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: var(--border-thick);
}
.hero-badge-overlay {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background-color: var(--bg-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float-badge 3s ease-in-out infinite;
  border: var(--border-thin);
}
.hero-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--secondary-brand);
  fill: none;
  stroke-width: 2;
}
.hero-badge-text h5 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-badge-text p {
  margin: 0;
  font-size: 0.75rem;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.problem-section {
  background-color: var(--bg-white);
  border-top: var(--border-thin);
  border-bottom: var(--border-thin);
}
.problem-card {
  background-color: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border-left: 6px solid var(--primary-brand);
  box-shadow: var(--shadow-sm);
}
.problem-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}
.problem-illustration {
  display: flex;
  justify-content: center;
  position: relative;
}
.problem-illustration svg {
  max-width: 380px;
  height: auto;
}

/* ==========================================================================
   SERVICES CARDS
   ========================================================================== */
.services-header {
  margin-bottom: 4rem;
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 54px;
  height: 54px;
  background-color: var(--bg-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-brand);
  transition: var(--transition-smooth);
}
.service-card:hover .service-icon {
  background: var(--grad-brand);
  color: var(--bg-white);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-brand);
}
.service-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: var(--transition-fast);
}
.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   HOW IT WORKS (PROCESS)
   ========================================================================== */
.process-section {
  background-color: var(--bg-white);
  border-top: var(--border-thin);
}
.process-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 4rem;
}
.process-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
.process-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--bg-soft);
  color: var(--primary-brand);
  font-size: 1.75rem;
  font-weight: 700;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}
.process-step:hover .process-number {
  background: var(--grad-brand);
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}
.process-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   BEST FOR
   ========================================================================== */
.bestfor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.bestfor-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.bestfor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.bestfor-icon-wrap {
  width: 60px;
  height: 60px;
  background-color: var(--bg-soft);
  color: var(--secondary-brand);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}
.bestfor-card:hover .bestfor-icon-wrap {
  background-color: var(--accent-light);
  color: var(--primary-dark);
}
.bestfor-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.bestfor-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   WHY CHOOSE ELDRA
   ========================================================================== */
.why-section {
  background-color: var(--bg-white);
}
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
  margin-top: 2rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why-icon {
  width: 24px;
  height: 24px;
  background-color: var(--bg-soft);
  border-radius: 50%;
  color: var(--secondary-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}
.why-item-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.why-item-text p {
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}
.pricing-toggle-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-dark);
}
.pricing-toggle-label.inactive {
  color: var(--text-muted);
}
.pricing-switch {
  position: relative;
  display: inline-block;
  width: 68px;
  height: 38px;
}
.pricing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.pricing-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-dark);
  transition: .4s;
  border-radius: 34px;
}
.pricing-slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.pricing-switch input:checked + .pricing-slider {
  background-color: var(--primary-brand);
}
.pricing-switch input:checked + .pricing-slider:before {
  transform: translateX(30px);
}

.pricing-badge-promo {
  background-color: #FFF3CD;
  color: #856404;
  border: 1px solid #FFEEBA;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-round);
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}
.price-card.popular {
  border: 2px solid var(--primary-brand);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.price-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--grad-brand);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-round);
}
.price-badge-founding {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #FFF3CD;
  color: #856404;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-round);
  border: 1px solid #FFEEBA;
}

.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.price-best-for {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.price-amount-wrap {
  margin-bottom: 2rem;
}
.price-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  height: 20px;
}
.price-amount {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}
.price-period {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 400;
}

.price-features {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}
.price-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--secondary-brand);
  fill: none;
  stroke-width: 2.5;
  margin-top: 3px;
  flex-shrink: 0;
}
.price-features li.excluded {
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-features li.excluded svg {
  stroke: var(--text-muted);
}

.price-card .btn {
  width: 100%;
}

/* ==========================================================================
   PARTNER SECTION
   ========================================================================== */
.partner-section {
  background: var(--grad-primary);
  color: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.partner-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background-color: rgba(23, 162, 163, 0.08);
  filter: blur(80px);
}
.partner-content {
  max-width: 800px;
  margin: 0 auto;
}
.partner-content h2 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}
.partner-content p {
  color: #A3C2C4;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   CONTACT & ENQUIRY FORM
   ========================================================================== */
.contact-section {
  background-color: var(--bg-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info-panel {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: var(--border-thin);
  box-shadow: var(--shadow-sm);
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}
.contact-info-item {
  display: flex;
  gap: 1.25rem;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-soft);
  color: var(--primary-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.contact-info-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.contact-info-text p, .contact-info-text a {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-form-panel {
  background: var(--bg-white);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: var(--border-thin);
  box-shadow: var(--shadow-lg);
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--bg-soft);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition-smooth);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-brand);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(23, 162, 163, 0.1);
}
.form-control::placeholder {
  color: var(--text-muted);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-control:is(:user-invalid) {
  border-color: #E65C5C;
  background-color: #FFF5F5;
}
.form-feedback-error {
  color: #E65C5C;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}
.form-control:is(:user-invalid) + .form-feedback-error {
  display: block;
}

/* ==========================================================================
   ABOUT & INTERNALS
   ========================================================================== */
.internal-hero {
  padding: calc(var(--header-height) + 3rem) 0 4rem 0;
  background: var(--grad-primary);
  color: var(--bg-soft);
  text-align: center;
}
.internal-hero h1 {
  color: var(--bg-white);
  font-size: 3rem;
  margin-bottom: 1rem;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #A3C2C4;
}
.breadcrumbs a {
  color: #A3C2C4;
}
.breadcrumbs a:hover {
  color: var(--bg-white);
}

.about-values-section {
  background-color: var(--bg-white);
}
.value-card {
  text-align: center;
  padding: 2.5rem;
  background-color: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: var(--border-thin);
  transition: var(--transition-smooth);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-white);
  border-color: var(--accent-light);
}
.value-icon {
  width: 70px;
  height: 70px;
  background: var(--grad-brand);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}
.value-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Service Detail Features */
.service-details-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
  align-items: center;
}
.service-feature-list {
  margin: 2rem 0;
}
.service-feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.service-feature-icon {
  width: 28px;
  height: 28px;
  background-color: var(--accent-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}
.service-feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}
.service-feature-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.service-cta-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   MODALS / DIALOGS
   ========================================================================== */
dialog {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 540px;
  width: 90%;
  margin: auto;
  outline: none;
}
dialog::backdrop {
  background-color: rgba(13, 59, 62, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
dialog .dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
dialog .dialog-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 0.25rem;
}
dialog .dialog-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
dialog .btn {
  margin-top: 2rem;
  width: 100%;
}

/* Custom CSS Dialog/Popover selector styling */
[popover]:is(:popover-open, .\:popover-open) {
  display: block;
}

/* SOS Demo Alert */
.sos-demo-screen {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  font-family: monospace;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
  display: none;
}
.sos-demo-screen.active {
  display: block;
}
.sos-alert-pulse {
  width: 16px;
  height: 16px;
  background-color: #FF4D4D;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: 20px;
  animation: pulse-sos 1s infinite;
}
.sos-log-line {
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(5px);
  animation: logLineFade 0.5s forwards;
}
@keyframes logLineFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary-dark);
  color: #A3C2C4;
  padding: 5.5rem 0 2rem 0;
  border-top: 1px solid #1E4F52;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand h3 {
  color: var(--bg-white);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer-brand p {
  color: #A3C2C4;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.footer-logo {
  color: var(--bg-white) !important;
}
.footer-logo svg path {
  fill: var(--bg-white);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-soft);
  transition: var(--transition-smooth);
}
.footer-social-link:hover {
  background-color: var(--primary-brand);
  color: var(--bg-white);
  transform: translateY(-3px);
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.footer-heading {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-link {
  color: #A3C2C4;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-link:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-contact-info li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  align-items: flex-start;
}
.footer-contact-info svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-brand);
  fill: none;
  stroke-width: 2;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #1E4F52;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-link {
  color: #A3C2C4;
}
.footer-legal-link:hover {
  color: var(--bg-white);
}

.footer-final-text {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #799596;
}

/* ==========================================================================
   SCROLL REVEAL (Intersection Observer)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  .grid-4, .services-grid, .pricing-grid, .bestfor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 850px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero {
    text-align: center;
    padding-top: calc(var(--header-height) + 2rem);
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-badge-overlay {
    left: 20px;
  }
  .process-container {
    flex-direction: column;
    gap: 2.5rem;
  }
  .process-container::before {
    display: none;
  }
  .why-list {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .service-details-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 580px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .grid-3, .grid-4, .services-grid, .pricing-grid, .bestfor-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
  .contact-info-panel, .contact-form-panel {
    padding: 2rem 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
