@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --bg-primary: #FAFBFA;
  --bg-secondary: #F3F7F4;
  --bg-cards: #FFFFFF;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --accent: #2F6B4F;
  --accent-deep: #4D8B68;
  --accent-light: #DFF3E8;
  --border-color: #E5E7EB;
  --glass-bg: rgba(255, 255, 255, 0.7);
  
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 8rem;
  
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
  letter-spacing: -1.5px;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.1;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

p {
  color: var(--text-secondary);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.65;
  font-weight: 500;
  max-width: 500px;
}

/* Layout */
.container {
  width: 95vw;
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: 24px;
}

section {
  padding: var(--spacing-2xl) 0;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.67rem 0; /* Reduced height by ~10% more */
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  font-size: 1.35rem; /* Reduced logo text size by ~10% */
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.5rem; /* Reduced spacing between items */
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.2px; /* Reduced font size by ~11% */
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

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

/* Navbar Buttons Refinement */
.nav-links .btn {
  padding: 0.4rem 0.85rem !important; /* Reduced vertical and horizontal padding */
  font-size: 13.5px !important; /* Reduced font size slightly */
}

.nav-links .btn-primary {
  background-color: var(--accent) !important; /* Official Oryva primary theme color */
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  margin-right: -8px; /* Align nicely */
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem var(--spacing-lg) 2rem;
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-nav-links > a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px 0;
  min-height: 44px; /* Minimum touch target */
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links > a:last-of-type {
  border-bottom: none;
}

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

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1.5rem;
}

.mobile-nav-actions .btn {
  width: 100%;
  min-height: 44px;
}

/* Prevent scroll when menu is open */
body.no-scroll {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 16px);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 107, 79, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-deep);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(47, 107, 79, 0.3);
}

.btn-secondary {
  background-color: var(--bg-cards);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.btn-secondary:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
  transform: scale(1.03);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--spacing-md) + 80px);
  padding-bottom: var(--spacing-sm);
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: calc(50% - 48px); /* Added an additional 28px natural breathing space */
  right: 10%;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-content {
  max-width: 100%;
}

@media (min-width: 993px) {
  .hero-content {
    align-self: flex-start;
    margin-top: 20px; /* Fine-tuned spacing to begin cleanly below the navbar */
  }

  .hero-visual {
    transform: scale(0.8) translateX(-35px); /* ~20% scale reduction and ~35px right breathing room */
    transform-origin: center right;
  }

  .hero-bg-glow {
    transform: translateY(-50%) scale(0.8);
    right: calc(10% + 35px); /* Match the visual's leftward shift */
  }
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  padding: 4.5px 10px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 11px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--accent);
  gap: 6px;
}

.hero h1 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.hero p {
  margin: 12px 0 24px;
  font-size: clamp(13px, 1.3vw, 15.5px);
  max-width: 440px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 0.45rem 1.25rem;
  font-size: 13.5px;
}

/* Hero Floating Composition */
.hero-visual {
  position: relative;
  width: 100%;
  height: 700px;
  perspective: 1000px;
  margin-top: -48px; /* Added an additional 28px natural breathing space */
}

.f-widget {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
  pointer-events: auto;
  animation: float-widget 6s ease-in-out infinite;
  z-index: 3;
}

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

.f-brain {
  position: absolute;
  width: 100%;
  max-width: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-slow {
  0% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 15px)); }
  100% { transform: translate(-50%, -50%); }
}

.fw-1 { top: 15%; left: 5%; animation-delay: 0s; } /* Focus Score */
.fw-2 { top: 10%; right: 10%; animation-delay: 1.5s; } /* Apps Blocked */
.fw-3 { bottom: 25%; left: 5%; animation-delay: 0.5s; } /* Progress */
.fw-4 { top: 40%; right: -5%; animation-delay: 2s; } /* Screen Time */
.fw-5 { bottom: 15%; right: 5%; animation-delay: 1s; } /* Wellness */

.fw-icon {
  width: 27px; height: 27px;
  border-radius: 9px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}

.fw-icon svg {
  width: 14px; height: 14px;
}

.fw-text strong {
  display: block;
  font-size: 11.5px;
  color: var(--text-primary);
  font-weight: 600;
}
.fw-text span {
  display: block;
  font-size: 9.5px;
  color: var(--text-secondary);
}

/* Feature Preview Row */
.feature-preview {
  padding: var(--spacing-md) 0 var(--spacing-lg) 0; /* Reduced vertical gap to Multi-Layer section by ~50% */
  position: relative;
  z-index: 10;
}
.unified-card {
  background: var(--bg-cards);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.04);
  padding: clamp(20px, 4vw, 40px);
}
.preview-row {
  display: flex;
  gap: 32px;
  justify-content: space-between;
}
.preview-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Horizontally center icons and content */
  text-align: center; /* Horizontally center content */
  transition: all var(--transition-fast);
  padding: 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
}
.preview-card:hover {
  background: rgba(223, 243, 232, 0.3);
  transform: translateY(-4px);
}

/* Staggered reveal for preview cards */
#features .preview-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), background var(--transition-fast);
}

#features.active .preview-card {
    opacity: 1;
    transform: translateY(0);
}

#features.active .preview-card:nth-child(1) { transition-delay: 0.1s; }
#features.active .preview-card:nth-child(2) { transition-delay: 0.2s; }
#features.active .preview-card:nth-child(3) { transition-delay: 0.3s; }
#features.active .preview-card:nth-child(4) { transition-delay: 0.4s; }
#features.active .preview-card:nth-child(5) { transition-delay: 0.5s; }

/* Smooth Scroll Features Highlight Glow */
#features {
    scroll-margin-top: 80px;
    border-radius: var(--radius-xl);
}

.features-glow {
    animation: sectionGlow 2s ease-out forwards;
}

@keyframes sectionGlow {
    0% { box-shadow: 0 0 0 0 rgba(47, 107, 79, 0); }
    20% { box-shadow: 0 0 60px 15px rgba(47, 107, 79, 0.15); }
    100% { box-shadow: 0 0 0 0 rgba(47, 107, 79, 0); }
}
.icon-wrapper {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.preview-icon {
  color: var(--accent);
}
.preview-card h4 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.preview-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 24px;
}
.arrow-icon {
  color: var(--accent);
  margin-top: auto;
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.preview-card:hover .arrow-icon {
  opacity: 1;
  transform: translateX(4px);
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(95, 122, 97, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(95, 122, 97, 0.3);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--accent);
}

/* Plant Growth Section */
.growth-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  border: 1px solid var(--border-color);
}

.growth-visual img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.stat-item {
  background: var(--bg-tertiary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Pricing */
#pricing {
  padding: 2.5rem 0 var(--spacing-xl);
  margin-top: 0;
}

#pricing .text-center {
  max-width: 640px; /* Refined width that keeps description on max 2 lines */
  margin: 0 auto 3.5rem; /* Increased spacing to cards by ~32-40px */
}

#pricing h2 {
  font-size: clamp(1.4rem, 2.7vw, 2.1rem); /* Reduced size by another 10-15% */
  font-weight: 600; /* SemiBold */
  margin-bottom: 0.5rem; /* Balanced spacing to description */
  line-height: 1.2;
}

#pricing .text-center p {
  font-size: clamp(13px, 1.1vw, 14.5px); /* Reduced size by another 8-10% */
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  max-width: 1050px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 24px 50px rgba(95, 122, 97, 0.15);
  z-index: 1;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

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

.pricing-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.pricing-header p {
  font-size: 0.9rem;
  margin: 0.25rem auto 0;
}

.price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.25rem 0;
}

.price span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-list li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: '✓';
  color: var(--accent-secondary);
  font-weight: bold;
}

.feature-list.disabled li {
  opacity: 0.5;
}
.feature-list.disabled li::before {
  content: '×';
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Utilities */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

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

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .growth-section, .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .preview-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .preview-card {
    min-width: 250px;
    /* Mobile-first premium card upgrade */
    background: rgba(223, 243, 232, 0.25); /* Subtle glass background */
    border: 1px solid rgba(95, 122, 97, 0.15); /* Soft border */
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04); /* Soft shadow */
    border-radius: var(--radius-lg); /* Large rounded corners */
    padding: 18px 16px 16px; /* Proper padding, balanced top */
  }

  .preview-card:hover {
    transform: none; /* Disable desktop hover on mobile */
    background: rgba(223, 243, 232, 0.25);
  }

  .preview-card:active {
    transform: scale(0.98); /* Touch feedback */
  }

  .preview-card .icon-wrapper {
    margin-bottom: 14px; /* Reduced vertical whitespace */
  }

  .preview-card h4 {
    font-size: 16.5px; /* Slightly reduced title */
    margin-bottom: 6px; /* Tighter gap */
  }

  .preview-card p {
    margin-bottom: 16px; /* Reduced vertical whitespace */
    font-size: 13.5px; /* Slightly reduced description for readability */
  }

  .preview-card .arrow-icon {
    opacity: 0.85; /* Better default visibility */
  }

  .preview-card:hover .arrow-icon {
    transform: none; /* Disable hover animation */
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .hero-visual {
    height: 520px;
    margin-top: 20px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }

  .f-brain {
    max-width: 380px;
  }

  /* Secure widget positioning on tablets */
  .fw-1 { top: 12%; left: 2%; }
  .fw-2 { top: 8%; right: 2%; }
  .fw-3 { bottom: 20%; left: 2%; }
  .fw-4 { top: 42%; right: 2%; }
  .fw-5 { bottom: 10%; right: 2%; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Optimized Mobile Floating Cards (35-40% smaller) */
  .f-widget {
    padding: 8px 10px;
    gap: 6px;
    border-radius: 12px;
  }
  
  .fw-icon {
    width: 22px; height: 22px;
    border-radius: 7px;
  }
  
  .fw-icon svg {
    width: 12px; height: 12px;
  }
  
  .fw-text strong {
    font-size: 9px;
  }
  
  .fw-text span {
    font-size: 8px;
  }
  
  .preview-row {
    flex-direction: column;
    gap: 16px; /* Equal, tight spacing on phones */
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }

  .hero-visual {
    height: 380px;
    margin-top: 10px;
    max-width: 420px;
  }

  .f-brain {
    max-width: 280px;
  }

  /* Secure widget positioning on mobile */
  .fw-1 { top: 8%; left: 0%; }
  .fw-2 { top: 5%; right: 0%; }
  .fw-3 { bottom: 25%; left: 0%; }
  .fw-4 { top: 45%; right: 0%; }
  .fw-5 { bottom: 8%; right: 0%; }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 290px;
    max-width: 320px;
  }

  .f-brain {
    max-width: 200px;
  }

  .f-widget {
    padding: 6px 8px;
    gap: 4px;
    border-radius: 8px;
  }

  .fw-text strong {
    font-size: 8.5px;
  }
  
  .fw-text span {
    font-size: 7.5px;
  }

  /* Narrow mobile widget positioning */
  .fw-1 { top: 5%; left: -2%; }
  .fw-2 { top: 2%; right: -2%; }
  .fw-3 { bottom: 20%; left: -2%; }
  .fw-4 { top: 44%; right: -2%; }
  .fw-5 { bottom: 2%; right: -2%; }
}

/* Multi-Layer Protection Section Redesign */
#multi-layer-protection {
  padding: 2rem 0; /* Reduced top gap to feature overview section by ~50% */
}

#multi-layer-protection .text-center {
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

#multi-layer-protection .hero-subtitle {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

#multi-layer-protection h2 {
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

#multi-layer-protection p {
  font-size: clamp(13px, 1.7vw, 14.5px);
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.5;
}

#multi-layer-protection .features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

#multi-layer-protection .feature-card {
  padding: 1rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

/* Premium Card Highlight */
#multi-layer-protection .premium-card {
  border-color: rgba(95, 122, 97, 0.4);
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-primary));
}

#multi-layer-protection .feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
}

#multi-layer-protection .feature-icon svg {
  width: 18px;
  height: 18px;
}

#multi-layer-protection .feature-card h3 {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.3;
}

#multi-layer-protection .premium-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--accent-light);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

#multi-layer-protection .feature-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
  max-width: none;
}

/* Responsiveness for Multi-Layer Protection */
@media (max-width: 992px) {
  #multi-layer-protection .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  #multi-layer-protection {
    padding: 1.5rem 0; /* Reduced mobile top gap by ~50% */
  }
  #multi-layer-protection .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1rem;
  }
}
