/* ==========================================================================
   KIDS PROTECT+ DESIGN SYSTEM & CUSTOM STYLES
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --primary-blue: #5C92D1;
  --primary-blue-hover: #4a7ebb;
  --accent-green: #72C193;
  --accent-green-hover: #5eb081;
  --accent-orange: #F2994A;
  --accent-purple: #9B51E0;
  
  --dark-slate: #3A3F47;
  --dark-slate-light: #4A4F57;
  --text-gray: #6F7276;
  --text-light: #94A3B8;
  
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-blue-soft: rgba(92, 146, 209, 0.1);
  --bg-green-soft: rgba(114, 193, 147, 0.1);
  --bg-orange-soft: rgba(242, 153, 74, 0.1);
  --bg-purple-soft: rgba(155, 81, 224, 0.1);
  
  --border-color: #E2E8F0;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --shadow-sm: 0 2px 4px rgba(58, 63, 71, 0.04);
  --shadow-md: 0 10px 20px rgba(58, 63, 71, 0.08);
  --shadow-lg: 0 20px 40px rgba(58, 63, 71, 0.12);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--dark-slate-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* --- Layout Components --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  overflow: hidden;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4 {
  color: var(--dark-slate);
  font-weight: 700;
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* --- Button Component --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: var(--border-radius-sm);
}

.btn-primary {
  background-color: var(--accent-green);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(114, 193, 147, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(114, 193, 147, 0.5);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(92, 146, 209, 0.3);
}

.btn-secondary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 146, 209, 0.4);
}

.btn-link {
  background: none;
  color: var(--primary-blue);
  padding: 0;
}

.btn-link:hover {
  color: var(--primary-blue-hover);
  transform: translateX(4px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --- Section Header Component --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-subtitle {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--primary-blue);
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-gray);
}

/* --- Main Header / Navigation --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-color);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-svg {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-slate-light);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2.5px;
  background-color: var(--dark-slate);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, rgba(233, 240, 248, 0.6) 0%, rgba(248, 250, 252, 1) 100%);
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-blue-soft);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-avatars {
  display: flex;
  margin-right: 4px;
}

.avatar-trust {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-light);
  overflow: hidden;
  margin-right: -10px;
}

.avatar-trust img {
  width: 100%;
  height: 100%;
}

.trust-text {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Premium Device Mockup --- */
.phone-mockup-wrapper {
  position: relative;
  width: 300px;
  height: 600px;
  z-index: 1;
}

.phone-mockup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0c0d0f;
  border: 12px solid #2d3139;
  border-radius: 44px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 12px;
  background-color: #191b1f;
  border-radius: 6px;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  background-color: #f1f3f6;
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: scale(1.07);
}

.phone-screen img.active {
  opacity: 1;
}

.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background-color: #2d3139;
  border-radius: 2px;
  z-index: 10;
}

/* Floating UI cards */
.floating-card {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.floating-location {
  bottom: 80px;
  left: -40px;
  animation-delay: 0.5s;
}

.floating-block {
  top: 120px;
  right: -50px;
  animation-delay: 2s;
}

.floating-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-icon { background-color: var(--bg-blue-soft); }
.lock-icon { background-color: var(--bg-orange-soft); }

.floating-info {
  display: flex;
  flex-direction: column;
}

.floating-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.floating-val {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-slate);
}

/* Glow Background Effects */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
  width: 300px;
  height: 300px;
}

.glow-blue {
  background-color: var(--primary-blue);
  top: 10%;
  left: -50px;
}

.glow-green {
  background-color: var(--accent-green);
  bottom: 10%;
  right: -50px;
}

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

/* --- Features Section --- */
.features {
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  background-color: var(--bg-light);
}

.feature-card.active {
  background-color: var(--bg-light);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-blue-soft { background-color: var(--bg-blue-soft); }
.bg-green-soft { background-color: var(--bg-green-soft); }
.bg-orange-soft { background-color: var(--bg-orange-soft); }
.bg-purple-soft { background-color: var(--bg-purple-soft); }

.feature-info {
  flex: 1;
}

.feature-name {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.features-visual {
  display: flex;
  justify-content: center;
}

.phone-showcase {
  width: 280px;
  height: 560px;
  background-color: #0c0d0f;
  border: 10px solid #2d3139;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.screen-preview-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.screen-showcase-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  transform: scale(1.02);
}

.screen-showcase-img.active {
  opacity: 1;
  transform: scale(1.07);
}

/* --- How It Works Section --- */
.how-it-works {
  background-color: var(--bg-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.step-card {
  background-color: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-8px);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: var(--bg-white);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(92, 146, 209, 0.3);
}

.step-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.step-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-slate) 0%, #1e2126 100%);
  border-radius: var(--border-radius-lg);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--bg-white);
  box-shadow: var(--shadow-lg);
}

.cta-banner-content h3 {
  color: var(--bg-white);
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.cta-banner-content p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* --- Pricing Section --- */
.pricing {
  background-color: var(--bg-white);
}

.pricing-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.pricing-toggle {
  width: 56px;
  height: 30px;
  border-radius: 30px;
  background-color: var(--border-color);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition-normal);
}

.pricing-toggle.active {
  background-color: var(--accent-green);
}

.toggle-switch-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform var(--transition-normal);
}

.pricing-toggle.active .toggle-switch-dot {
  transform: translateX(26px);
}

.toggle-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-gray);
  cursor: pointer;
}

.toggle-label.active {
  color: var(--dark-slate);
}

.badge-discount {
  background-color: var(--bg-green-soft);
  color: var(--accent-green);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.pricing-card.popular {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-green);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(114, 193, 147, 0.3);
}

.plan-header {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.plan-name {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.plan-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-original {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: line-through;
  height: 24px;
  line-height: 24px;
  transition: opacity var(--transition-normal);
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-slate);
  display: inline-flex;
  align-items: baseline;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 4px;
}

.plan-price .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-gray);
  margin-left: 4px;
}

.plan-body {
  flex: 1;
  margin-bottom: 32px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.plan-features li.muted {
  color: var(--text-light);
}

.check-icon, .close-icon {
  flex-shrink: 0;
}

/* Custom Plan styles (Premium Blue & Family Purple themes) */
.pricing-card.plan-premium {
  border-color: var(--primary-blue);
  background-color: var(--bg-blue-soft);
}

.pricing-card.plan-premium .plan-price {
  color: var(--primary-blue);
}

.pricing-card.plan-family .plan-price {
  color: var(--accent-purple);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* --- Testimonials Section --- */
.testimonials {
  background-color: var(--bg-light);
}

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

.testimonial-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.rating {
  color: var(--accent-orange);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.comment {
  font-size: 0.95rem;
  color: var(--dark-slate-light);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.95rem;
  color: var(--dark-slate);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- FAQ Section (Accordion) --- */
.faq {
  background-color: var(--bg-white);
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary-blue);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background-color: var(--bg-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-slate);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-light);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background-color: var(--bg-light);
}

.faq-answer p {
  padding: 24px;
  color: var(--text-gray);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust based on content height */
}

/* --- Conversion Modal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--dark-slate);
}

.modal-body {
  padding: 40px;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 24px;
}

/* Form Styling */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-slate-light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--primary-blue);
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  margin-top: 4px;
}

.form-checkbox label {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 400;
  cursor: pointer;
}

/* Success Toast Notification */
.success-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--bg-white);
  border-left: 5px solid var(--accent-green);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-sm);
  padding: 20px 24px;
  z-index: 2500;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-toast.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toast-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.toast-text {
  display: flex;
  flex-direction: column;
}

.toast-text strong {
  font-size: 0.95rem;
  color: var(--dark-slate);
}

.toast-text span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* --- Footer --- */
.main-footer {
  background-color: var(--dark-slate);
  color: var(--bg-white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-about {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-page {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: var(--bg-light);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.legal-container h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  color: var(--dark-slate);
}

.legal-container h2 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--dark-slate);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.legal-container h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--dark-slate);
}

.legal-container p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-slate-light);
  margin-bottom: 16px;
}

.legal-container ul, .legal-container ol {
  margin-left: 24px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.legal-container li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-slate-light);
  margin-bottom: 8px;
}

.legal-container strong {
  color: var(--dark-slate);
}

/* --- Legal Box (Bordered Box) --- */
.legal-box {
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-light);
  padding: 28px 32px;
  border-radius: var(--border-radius-md);
  margin-top: 24px;
  margin-bottom: 28px;
}

.legal-box h2, .legal-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  border-bottom: none;
  padding-bottom: 0;
  font-size: 1.25rem;
}

.legal-box p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-box p:last-child {
  margin-bottom: 0;
}

/* --- Legal Table --- */
.legal-table-wrapper {
  overflow-x: auto;
  margin: 36px 0;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.legal-table th, .legal-table td {
  padding: 18px 24px;
  border-bottom: 1.5px solid var(--border-color);
  border-right: 1.5px solid var(--border-color);
  vertical-align: top;
}

.legal-table th:last-child, .legal-table td:last-child {
  border-right: none;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table th {
  background-color: var(--bg-light);
  color: var(--dark-slate);
  font-weight: 700;
  font-size: 0.95rem;
}

.legal-table th h2, .legal-table th h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: none;
  padding-bottom: 0;
  color: var(--dark-slate);
}

/* Table Header (Spanning all columns) */
.legal-table th.table-title {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  text-align: center;
  padding: 16px 24px;
}

.legal-table th.table-title h2 {
  color: var(--bg-white);
  font-size: 1.15rem;
}

.legal-table td p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-table td p:last-child {
  margin-bottom: 0;
}

.legal-table td ul {
  margin-left: 20px;
  margin-bottom: 0;
  margin-top: 6px;
}

.legal-table td li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.5;
}

.legal-table td li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 110px;
    padding-bottom: 40px;
  }
  
  .legal-container {
    padding: 24px;
    border-radius: var(--border-radius-md);
  }
  
  .legal-container h1 {
    font-size: 1.75rem;
  }
  
  .legal-container h2 {
    font-size: 1.35rem;
    margin-top: 28px;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 68px;
  }
  
  .features-visual {
    order: -1;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .header-cta {
    display: none; /* Hide header cta on small screens to fit toggle */
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    padding: 12px 24px;
  }

  .phone-mockup-wrapper {
    width: 260px;
    height: 520px;
  }

  .floating-card {
    padding: 10px 14px;
    gap: 8px;
  }

  .floating-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
  }

  .floating-info {
    font-size: 0.85rem;
  }

  .floating-location {
    left: -20px;
    bottom: 60px;
  }

  .floating-block {
    right: -25px;
    top: 100px;
  }
}

