/* ===================================================================
   FillRadar — Stylesheet
   Redesigned based on sApp Template structure and effects
   Deep Green / Emerald Palette · Modern Glassmorphism
   =================================================================== */

/* --- Fonts: self-hosted ------------------------------------------
   Manrope (variable, 400-800) and a Material Symbols Outlined subset holding only the icons
   the site uses. Served from this origin rather than Google Fonts, so a visit sends nothing to a
   third party before the visitor has chosen anything, and so the stylesheet is no longer held up
   by a chain of @imports. Adding an icon means regenerating the subset - see SEO_STRATEGY.md. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('assets/fonts/material-symbols-subset.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* --- Design Tokens ------------------------------------------------ */
:root {
  /* Brand colors */
  --green-950: #051408;
  --green-900: #0f3d18;
  --green-800: #1a5c27;
  --green-700: #1B5E20;
  --green-600: #2E7D32;
  --green-500: #2ea34b;
  --green-400: #4CAF50;
  --green-100: #e8f5e9;
  --green-50:  #f1f8e9;
  --gold-500:  #ffb300;

  /* Neutrals */
  --white:     #ffffff;
  --gray-50:   #fafafa;
  --gray-100:  #f5f5f5;
  --gray-200:  #eeeeee;
  --gray-300:  #e0e0e0;
  --gray-400:  #bdbdbd;
  --gray-500:  #9e9e9e;
  --gray-600:  #757575;
  --gray-700:  #616161;
  --gray-800:  #424242;
  --gray-900:  #212121;
  --slate-900: #0b150e;

  /* Semantic */
  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-500);
  --surface:        var(--white);
  --surface-alt:    var(--gray-50);
  --border:         var(--gray-200);
  --accent:         var(--green-500);
  --accent-dark:    var(--green-800);
  --accent-light:   var(--green-100);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 40%, var(--green-800) 100%);
  --gradient-accent: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 50%, var(--green-400) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(5, 20, 8, 0.95) 0%, rgba(15, 61, 24, 0.9) 100%);
  --gradient-light: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);

  /* Typography */
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-xs:   0.75rem;
  --font-size-sm:   0.875rem;
  --font-size-base: 1rem;
  --font-size-md:   1.125rem;
  --font-size-lg:   1.25rem;
  --font-size-xl:   1.5rem;
  --font-size-2xl:  2rem;
  --font-size-3xl:  2.5rem;
  --font-size-4xl:  3.25rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Borders & Shadows */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg:  0 16px 36px rgba(0,0,0,0.08);
  --shadow-xl:  0 24px 48px rgba(0,0,0,0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Layout */
  --container-max: 1140px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

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

/* Focus ring */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Container ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* --- Section Base ------------------------------------------------- */
.section {
  padding: var(--space-20) 0;
  position: relative;
}

.section--alt {
  background-color: var(--surface-alt);
}

.section--primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  background: var(--green-50);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}

.section--primary .section__label {
  background: rgba(255, 255, 255, 0.1);
  color: var(--green-100);
}

.section__title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}

.section--primary .section__title {
  color: var(--white);
}

.section__subtitle {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.7;
}

.section--primary .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__header .section__subtitle {
  margin: 0 auto;
}

/* --- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: var(--font-size-sm);
  border: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-8);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  line-height: 1.5;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(46, 163, 75, 0.35);
}

.btn--primary:hover {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(46, 163, 75, 0.45);
  transform: translateY(-2px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  background-color: var(--white);
  color: var(--green-900);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--large {
  font-size: var(--font-size-base);
  padding: var(--space-4) var(--space-10);
}

.btn--google-play {
  background-color: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-5);
  box-shadow: var(--shadow-md);
}

.btn--google-play:hover {
  background-color: var(--slate-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--google-play svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* --- Preloader ---------------------------------------------------- */
.preloader-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.preloader-wapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader {
  position: relative;
  z-index: 10001;
  width: 150px;
  height: 150px;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.dot {
  transform-origin: center;
  animation: gooPulse 2s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: -1s;
}

@keyframes gooPulse {
  0%, 100% {
    transform: scale(0.6) translate(-30px, 0);
  }
  50% {
    transform: scale(1.1) translate(30px, 0);
  }
}

.loader-section {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--green-950);
  z-index: 10000;
  transition: transform var(--duration-slow) cubic-bezier(0.77, 0, 0.175, 1);
}

.section-left {
  left: 0;
}

.section-right {
  right: 0;
}

.preloader-main.loaded .loader-section.section-left {
  transform: translateX(-100%);
}

.preloader-main.loaded .loader-section.section-right {
  transform: translateX(100%);
}

.preloader-main.loaded .preloader {
  opacity: 0;
}

.preloader-main.loaded {
  display: none;
}

/* --- Header & Navbar ---------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled,
.header.header--standalone {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

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

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: var(--font-size-lg);
  transition: color var(--duration-fast) var(--ease-out);
}

.header.scrolled .header__brand,
.header.header--standalone .header__brand {
  color: var(--text-primary);
}

.header__brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: contain;
}

.footer-items__logo img,
.footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.header__nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.header__nav-links li {
  display: flex;
  align-items: center;
}

.header__nav-links a {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

.header.scrolled .header__nav-links a,
.header.header--standalone .header__nav-links a {
  color: var(--text-secondary);
}

.header__nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-out);
}

.header__nav-links a:hover,
.header__nav-links a.active {
  color: var(--white);
}

.header.scrolled .header__nav-links a:hover,
.header.scrolled .header__nav-links a.active,
.header.header--standalone .header__nav-links a:hover,
.header.header--standalone .header__nav-links a.active {
  color: var(--text-primary);
}

.header__nav-links a:hover::after,
.header__nav-links a.active::after {
  width: 100%;
}

/* --- Header Dropdown Menu ---------------------------------------- */
.header__nav-links li.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  user-select: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.header.scrolled .dropdown-toggle,
.header.header--standalone .dropdown-toggle {
  color: var(--text-secondary);
}

.dropdown-toggle:hover,
.has-dropdown:hover .dropdown-toggle {
  color: var(--white);
}

.header.scrolled .dropdown-toggle:hover,
.header.scrolled .has-dropdown:hover .dropdown-toggle,
.header.header--standalone .dropdown-toggle:hover,
.header.header--standalone .has-dropdown:hover .dropdown-toggle {
  color: var(--text-primary);
}

.dropdown-chevron {
  display: inline-block;
  font-size: 0.7rem;
  margin-left: 4px;
  line-height: 1;
  transition: transform var(--duration-fast) var(--ease-out);
}

.has-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 175px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 1010;
  display: flex;
  flex-direction: column;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-menu li {
  width: 100%;
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary) !important;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background: var(--green-50);
  color: var(--green-800) !important;
}

/* Mobile Submenu */
.mobile-sub-menu {
  list-style: none;
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-sub-menu a {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  opacity: 0.85;
}

.header.scrolled .btn--secondary,
.header.header--standalone .btn--secondary {
  color: var(--green-900);
  border-color: var(--green-800);
}

.header.scrolled .btn--secondary:hover,
.header.header--standalone .btn--secondary:hover {
  background-color: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
}

.header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--white);
}

.header.scrolled .header__menu-btn,
.header.header--standalone .header__menu-btn {
  color: var(--text-primary);
}

.header__menu-btn svg {
  width: 28px;
  height: 28px;
}

/* --- Mobile Menu Overlay ------------------------------------------ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--slate-900);
  z-index: 999;
  padding: calc(var(--header-height) + var(--space-8)) var(--space-8) var(--space-8);
  flex-direction: column;
  gap: var(--space-8);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
}

.mobile-menu__links a {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--white);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__links a:hover {
  color: var(--accent);
}

/* --- Hero Section ------------------------------------------------- */
.hero-section {
  position: relative;
  background: var(--gradient-primary);
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-24);
  overflow: hidden;
  color: var(--white);
}

.hero-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
}

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

.hero-content h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: var(--font-size-md);
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: var(--space-10);
}

.button-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

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

.android-frame {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 19.5;
  background-color: #0c180e;
  border: 11px solid #000000; /* Black phone bezel */
  border-radius: 38px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 1;
}

/* Punch-hole camera (Android style) */
.android-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  z-index: 10;
}

/* Speaker receiver grill */
.android-frame::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: #111e14;
  border-radius: 3px;
  z-index: 10;
}

.android-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px; /* Slightly smaller to fit bezel curve */
  transition: transform var(--duration-slow) var(--ease-out);
}

.hero-thumb .android-frame {
  transform: rotate(-3deg);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5), 
    0 0 40px rgba(46, 163, 75, 0.45), 
    0 0 80px rgba(46, 163, 75, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  transition: all var(--duration-slow) var(--ease-out);
}

.hero-thumb:hover .android-frame {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6), 
    0 0 50px rgba(46, 163, 75, 0.55), 
    0 0 100px rgba(46, 163, 75, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.shape-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.shape-bottom svg {
  width: 100%;
  height: 90px;
  fill: var(--white);
}

/* --- Counter Area ------------------------------------------------- */
.counter-area {
  position: relative;
  z-index: 4;
  margin-top: -60px;
  padding-bottom: var(--space-16);
}

.counter-grid {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-10) var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  border: 1px solid var(--border);
  text-align: center;
}

.counter-item {
  position: relative;
}

.counter-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

.counter-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.1;
  display: block;
}

.counter-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

/* --- Features Section (Image Box) --------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.image-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.image-box:hover {
  transform: translateY(-8px);
  border-color: var(--green-400);
  box-shadow: var(--shadow-lg);
}

.image-box__icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  color: var(--green-800);
  transition: all var(--duration-normal) var(--ease-out);
}

.image-box:hover .image-box__icon-wrapper {
  background: var(--gradient-accent);
  color: var(--white);
  transform: rotate(6deg) scale(1.05);
  box-shadow: 0 8px 16px rgba(46, 163, 75, 0.25);
}

.image-box__icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.image-box h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.image-box p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Content / Showcase Sections --------------------------------- */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.showcase-row--reverse {
  direction: rtl;
}

.showcase-row--reverse > * {
  direction: ltr;
}

.showcase-content h2 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
  line-height: 1.25;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.showcase-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.showcase-list-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-list-item__icon svg {
  width: 20px;
  height: 20px;
}

.showcase-list-item__text h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.showcase-list-item__text p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.showcase-visual .android-frame {
  width: 270px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4), 
    0 0 35px rgba(46, 163, 75, 0.35), 
    0 0 70px rgba(46, 163, 75, 0.2);
}

/* Staggered double visual on EV section */
.ev-visual-stack {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  align-items: center;
}

.ev-visual-stack .android-frame {
  width: 230px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4), 
    0 0 30px rgba(46, 163, 75, 0.35), 
    0 0 60px rgba(46, 163, 75, 0.2);
}

.ev-visual-stack .android-frame:nth-child(2) {
  margin-top: var(--space-16);
}

/* --- How It Works Section (Work Area) ----------------------------- */
.work-section {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.work-section .shape-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}

.work-section .shape-top svg {
  width: 100%;
  height: 70px;
  fill: var(--white);
}

.work-section .intro h2 {
  color: var(--white);
}

.work-section .intro p {
  color: rgba(255, 255, 255, 0.8);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
  position: relative;
  margin-top: var(--space-8);
}

.work-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.work-step__icon-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.work-step:hover .work-step__icon-box {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--green-400);
  border-style: solid;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.work-step__icon-box .material-symbols-outlined,
.work-step__icon-box svg {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: var(--white);
  transition: transform var(--duration-normal) var(--ease-out);
}

.work-step:hover .work-step__icon-box .material-symbols-outlined,
.work-step:hover .work-step__icon-box svg {
  color: var(--white);
  transform: scale(1.1);
}

.work-step__number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  font-size: var(--font-size-xs);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.work-step h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.work-step p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 290px;
  margin: 0 auto;
}

/* Connectors */
.steps-grid::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.05));
  z-index: 1;
}

/* --- Screenshots Section ----------------------------------------- */
.screenshots-area {
  padding: var(--space-20) 0;
  overflow: hidden;
}

.app-screenshots-slides {
  margin-top: var(--space-10);
  position: relative;
  width: 100%;
}

.slider-mid {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: var(--space-8) 0;
  -webkit-overflow-scrolling: touch;
}

.slider-mid::-webkit-scrollbar {
  display: none;
}

.slider-mid__track {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  padding: 0 var(--space-6);
}

.slider-slide {
  flex-shrink: 0;
  width: 250px;
  scroll-snap-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: zoom-in;
  opacity: 0.55;
  transform: scale(0.9);
}

.slider-slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.slider-slide .android-frame {
  width: 100%;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-nav {
  position: static;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 10;
}

#slider-prev {
  left: -28px;
}

#slider-next {
  right: -28px;
}

.slider-btn:hover {
  background: var(--gradient-accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.05);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1200px) {
  #slider-prev {
    left: 0;
  }
  #slider-next {
    right: 0;
  }
}

@media (max-width: 768px) {
  .slider-btn {
    display: none; /* Hide on mobile and rely on touch swipe */
  }
}

/* --- Review Section ----------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
}

.review-card__body {
  padding: var(--space-8) var(--space-6);
  flex-grow: 1;
}

.review-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-4);
  color: var(--gold-500);
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-card__title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.review-card__text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.review-card__meta {
  background: var(--green-950);
  color: var(--white);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.review-card__reviewer h5 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: 2px;
}

.review-card__reviewer span {
  font-size: var(--font-size-xs);
  opacity: 0.7;
  display: block;
}

.review-card__quote-icon {
  position: absolute;
  bottom: 60px;
  right: var(--space-6);
  width: 40px;
  height: auto;
  opacity: 0.15;
}

/* --- Price Plan Area ---------------------------------------------- */
.price-plan-section {
  background: var(--gradient-primary);
  color: var(--white);
}

.price-plan-section .section__title {
  color: var(--white);
}

.price-plan-section .section__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: 1140px;
  margin: 0 auto;
  /* The section sits on a near-black gradient; without this the grid gap shows raw dark
     background between the white cards as three flat vertical bars. A softer, rounded tint
     reads as an intentional recessed panel instead. */
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl);
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

.pricing-table {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: left;
  color: var(--text-primary);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-table--popular {
  border: 2px solid var(--accent);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

.pricing-table--popular::before {
  content: 'POPULAR';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
}

.pricing-table--featured {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.pricing-table--featured::before {
  content: 'BEST VALUE';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--green-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
}

.pricing-table__trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-md);
  margin: -10px 0 14px 0;
  border: 1px solid var(--green-200);
}

.pricing-table__type {
  font-size: var(--font-size-xs);
  font-weight: 800;
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 0.08em;
  display: block;
}

.pricing-table__price {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: #000000;
  margin: var(--space-2) 0 var(--space-6);
  line-height: 1;
}

.pricing-table__price small {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: #000000;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-8);
}

.pricing-list li {
  font-size: var(--font-size-sm);
  color: #000000;
  border-bottom: 1px solid var(--gray-100);
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.pricing-list li span.pricing-text {
  flex: 1;
  display: block;
}

.pricing-list li strong,
.pricing-list li span.pricing-text strong {
  color: #000000;
  font-weight: 700;
}

.pricing-list li .material-symbols-outlined {
  font-size: 18px;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-list li.disabled {
  color: var(--text-muted);
  opacity: 0.65;
}

.pricing-list li.disabled span.pricing-text {
  text-decoration: line-through;
}

.pricing-list li.disabled .material-symbols-outlined {
  color: var(--gray-400);
  text-decoration: none !important;
}

.pricing-table .btn {
  width: 100%;
  font-size: var(--font-size-sm);
}

.pricing-notice {
  text-align: center;
  margin-top: var(--space-10);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.pricing-notice a {
  color: var(--white);
  text-decoration: underline;
}

/* --- FAQ Section (Accordion) -------------------------------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease-out);
}

.faq-card.active {
  border-color: var(--green-400);
  box-shadow: var(--shadow-md);
}

.faq-card__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  line-height: 1.4;
}

.faq-card__question:hover {
  color: var(--accent-dark);
}

.faq-card__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
  color: var(--text-muted);
}

.faq-card.active .faq-card__icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-card__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-card__answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-card__answer-inner a {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* --- Final CTA / Download Area ------------------------------------ */
.download-section {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.download-section .container {
  position: relative;
  z-index: 2;
}

.download-content {
  max-width: 780px;
  margin: 0 auto;
}

.download-content h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.download-content p {
  font-size: var(--font-size-md);
  opacity: 0.85;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.download-content .button-group {
  justify-content: center;
}

/* --- Footer ------------------------------------------------------- */
.footer-area {
  background: var(--slate-900);
  color: var(--gray-400);
  padding: var(--space-16) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  padding-bottom: var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: var(--space-8);
}

.footer-items h4 {
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-items__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  font-weight: 800;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

.footer-items__logo img {
  width: 32px;
  height: 32px;
}

.footer-items p {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: var(--font-size-sm);
  color: var(--gray-400);
}

.footer-nav a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.social-icon:hover {
  background: var(--gradient-accent);
  color: var(--white);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-6) 0;
  font-size: var(--font-size-xs);
  color: var(--gray-600);
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* --- Scroll To Top ------------------------------------------------ */
.scroll-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

/* --- Lightbox ---------------------------------------------------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal) var(--ease-out);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  pointer-events: auto;
}

.lightbox__image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.lightbox__image.fade-out {
  opacity: 0;
  transform: scale(0.97);
}

.lightbox__caption-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 320px;
  color: var(--white);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  padding: 0 var(--space-2);
}

.lightbox__caption {
  font-weight: 500;
  opacity: 0.95;
  margin-right: var(--space-4);
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox__counter {
  font-weight: 600;
  color: var(--green-400);
  background: rgba(76, 175, 80, 0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  flex-shrink: 0;
  border: 1px solid rgba(76, 175, 80, 0.3);
  letter-spacing: 0.05em;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2010;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--green-400);
  transform: scale(1.05);
  border-color: var(--green-400);
}

.lightbox__close svg,
.lightbox__prev svg,
.lightbox__next svg {
  width: 24px;
  height: 24px;
}

.lightbox__close {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
}

.lightbox__prev {
  position: absolute;
  left: var(--space-12);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  position: absolute;
  right: var(--space-12);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox__next:hover {
  transform: translateY(-50%) scale(1.05);
}

/* --- Media Queries ------------------------------------------------ */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }
  .counter-grid {
    padding: var(--space-8) var(--space-4);
  }
  .lightbox__prev {
    left: var(--space-4);
  }
  .lightbox__next {
    right: var(--space-4);
  }
}

@media (max-width: 992px) {
  .hero-section__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }
  .hero-content {
    margin: 0 auto;
  }
  .button-group {
    justify-content: center;
  }
  .hero-thumb {
    order: -1;
  }
  .hero-thumb img {
    width: 250px;
    transform: rotate(0);
  }
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8) var(--space-4);
  }
  .counter-item:nth-child(2)::after {
    display: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }
  .showcase-visual {
    order: -1;
  }
  .showcase-list-item {
    text-align: left;
  }
  .ev-visual-stack .phone-mock:nth-child(2) {
    margin-top: 0;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .steps-grid::after {
    display: none;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pricing-table--featured {
    transform: scale(1);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-20: 3.5rem;
    --space-16: 2.5rem;
  }
  .header__nav-links,
  .header__nav .btn {
    display: none;
  }
  .header__menu-btn {
    display: block;
  }
  .preloader {
    width: 100px;
    height: 100px;
  }
  .counter-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .counter-item:not(:last-child)::after {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .ev-visual-stack {
    flex-direction: column;
  }
  .lightbox__prev,
  .lightbox__next {
    display: none; /* Swipe only on mobile */
  }
  .lightbox__close {
    top: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
  }
  .lightbox__content {
    max-width: 95vw;
    gap: var(--space-4);
  }
  .lightbox__image {
    max-height: 75vh;
  }
  .lightbox__caption-wrapper {
    max-width: 280px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Utility / Animations ----------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Legal Pages Styling ----------------------------------------- */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-20);
  background-color: var(--surface-alt);
  min-height: 100vh;
}

.legal-container {
  max-width: 880px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: var(--space-8);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background-color: var(--green-50);
  color: var(--green-800);
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(46, 163, 75, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.legal-header h1 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-5);
}

.legal-updated .material-symbols-outlined {
  font-size: 18px;
  color: var(--green-700);
}

.legal-lead {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

/* Quick Navigation / Table of Contents */
.legal-toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.legal-toc__title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.legal-toc__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.legal-toc__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--duration-fast) var(--ease-out);
}

.legal-toc__link:hover {
  background: var(--green-50);
  color: var(--green-800);
  border-color: rgba(46, 163, 75, 0.3);
  transform: translateY(-1px);
}

/* Legal Cards */
.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-fast) var(--ease-out);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}

.legal-card:hover {
  box-shadow: var(--shadow-md);
}

.legal-card__title {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  line-height: 1.3;
}

.legal-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-800);
  font-size: 22px;
  flex-shrink: 0;
}

.legal-card p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

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

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.legal-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-500);
}

.legal-list li strong {
  color: var(--text-primary);
}

/* Legal Link Cards Grid */
.legal-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

.legal-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--font-size-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.legal-link-card:hover {
  background: var(--green-50);
  border-color: rgba(46, 163, 75, 0.3);
  color: var(--green-800);
  transform: translateY(-2px);
}

/* Callout Box */
.legal-callout {
  background: var(--green-50);
  border: 1px solid rgba(46, 163, 75, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.legal-callout__icon {
  color: var(--green-800);
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-callout__content p {
  color: var(--green-950);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin-bottom: 0;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Widgets Showcase Section ------------------------------------ */
.section__label--green-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-600);
}

.section__label--green-dot::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-500);
}

.widget-preview-wrapper {
  flex: 1;
  max-width: 520px;
  width: 100%;
}

.widget-preview-card {
  position: relative;
  background: linear-gradient(145deg, #1b263b 0%, #0e1626 50%, #0a0f1d 100%);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 48px rgba(10, 20, 35, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.widget-preview-glow {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(46, 163, 75, 0.25) 0%, rgba(46, 163, 75, 0) 70%);
  pointer-events: none;
}

.widgets-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widgets-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.widget-box {
  background: #121926;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-family: var(--font-family);
  transition: transform var(--duration-fast) var(--ease-out);
}

.widget-box:hover {
  transform: translateY(-2px);
}

.widget-box--small {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.widget-box__header {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.widget-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.widget-heart {
  font-size: 13px;
  line-height: 1;
}

.widget-box__price {
  margin: 10px 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.widget-box__price .price-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.widget-box__price .price-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.widget-box__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.widget-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
}

.widget-badge .material-symbols-outlined {
  font-size: 13px;
}

.widget-tag-mini {
  font-size: 0.68rem;
  font-weight: 700;
  color: #2ea34b;
  white-space: nowrap;
}

.widget-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.widget-box--medium {
  padding: 18px;
  width: 100%;
}

.widget-box__med-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.widget-tag-green {
  color: #2ea34b;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.widget-station-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-station-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-station-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rank-num {
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  width: 16px;
  flex-shrink: 0;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1.2;
}

.brand-badge--asda {
  background: #78be20;
  color: #ffffff;
}

.brand-badge--murco {
  background: #004b87;
  color: #ffffff;
}

.brand-badge--tesco {
  background: #ee1c2e;
  color: #ffffff;
}

.station-info {
  flex: 1;
  overflow: hidden;
}

.station-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.station-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.station-price--green {
  color: #2ea34b;
}

/* Widget Filter Tags Group */
.widget-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-6);
}

.widget-tag-pill {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  font-family: var(--font-family);
}

.widget-tag-pill:hover,
.widget-tag-pill.active {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .widgets-top-row {
    grid-template-columns: 1fr;
  }
}

/* --- Price Alerts Section & Notification Card --------------------- */
.alert-settings-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 12px 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.alert-setting-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

.alert-setting-item:last-child {
  border-bottom: none;
}

.alert-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-icon-box .material-symbols-outlined {
  font-size: 24px;
}

.alert-setting-info {
  flex: 1;
}

.alert-setting-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
  line-height: 1.3;
}

.alert-setting-info p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.4;
  margin: 0;
}

/* iOS/Android Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  transition: 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  border-radius: 30px;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #2ea34b;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL (Google Analytics Consent)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 22px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.cookie-banner__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

.cookie-banner__text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--green-600);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner__text a:hover {
  color: var(--green-700);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.cookie-banner__btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all var(--duration-fast) ease;
  border: none;
  font-family: inherit;
}

.cookie-banner__btn--accept {
  background: var(--green-600);
  color: var(--white);
}

.cookie-banner__btn--accept:hover {
  background: var(--green-700);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transform: translateY(-1px);
}

.cookie-banner__btn--decline {
  background: var(--gray-100);
  color: var(--text-primary);
  border: 1px solid var(--gray-200);
}

.cookie-banner__btn--decline:hover {
  background: var(--gray-200);
  color: #000000;
}

@media (max-width: 576px) {
  .cookie-banner {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    padding: 18px;
  }
  
  .cookie-banner__actions {
    flex-direction: column-reverse;
  }
  
  .cookie-banner__btn {
    width: 100%;
  }
}

/* ===================================================================
   HERO BETA BADGE
   =================================================================== */
.hero-beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
  color: var(--green-600);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  width: fit-content;
}

.hero-beta-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ===================================================================
   EARLY ACCESS MODAL
   =================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

body.modal-open {
  overflow: hidden !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 36px 32px;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open .modal__dialog {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all 0.2s ease;
}

.modal__close:hover {
  background: var(--gray-200);
  color: #000000;
  transform: rotate(90deg);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__header {
  margin-bottom: 20px;
}

.modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  animation: pulse-dot 2s infinite;
}

.modal__title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #000000;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.modal__description {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}

.modal .form-group {
  margin-bottom: 6px;
  text-align: left;
}

.modal .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.modal .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.modal .input-icon {
  position: absolute;
  left: 14px;
  color: #9ca3af;
  font-size: 20px;
  pointer-events: none;
}

.modal .form-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #111827;
  background: #f9fafb;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}

.modal .form-input:focus {
  border-color: var(--green-600);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.modal .form-input.input-error {
  border-color: #ef4444;
  background: #fff5f5;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.modal .form-error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 6px;
}

.modal .form-error-msg.visible {
  display: block;
}

.modal__submit-btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  margin-top: 16px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.modal__submit-btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.modal__submit-btn.is-loading .btn-text {
  visibility: hidden;
  opacity: 0;
}

.modal__submit-btn.is-loading .btn-spinner {
  display: block;
}

.btn-spinner {
  display: none;
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin-loader 0.8s linear infinite;
}

@keyframes spin-loader {
  to {
    transform: rotate(360deg);
  }
}

.modal__privacy-note {
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
  margin-top: 14px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Modal Success View */
.modal__success {
  text-align: center;
  padding: 10px 0 0 0;
}

.modal__success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.modal__success-icon span {
  font-size: 36px;
}

@media (max-width: 576px) {
  .modal {
    padding: 16px;
  }
  .modal__dialog {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .modal__title {
    font-size: 1.35rem;
  }
}


/* ===================================================================
   Home-page additions and content pages (features, LPG, boat fuel)
   =================================================================== */

/* Fuel-type chips under the hero copy */
.fuel-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-6);
  padding: 0;
}
.fuel-chips li {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.counter-grid {
  grid-template-columns: repeat(4, 1fr);
}

.features-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.features-grid--4 .image-box {
  padding: var(--space-8) var(--space-6);
}
.features-grid .image-box p a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: underline;
}
.section__more {
  text-align: center;
  margin-top: var(--space-10);
}
.section__subtitle a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: underline;
}
.boat-note {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  line-height: 1.6;
  padding: var(--space-2) var(--space-2) 0;
}

@media (max-width: 1200px) {
  .features-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .features-grid--4 { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .counter-grid { grid-template-columns: repeat(2, 1fr); padding: var(--space-6) var(--space-3); }
  .counter-item:not(:last-child)::after { display: none; }
  .counter-number { font-size: var(--font-size-2xl); }
}

/* --- Content pages ------------------------------------------------ */
.page-main {
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-20);
}
.page-wrap {
  max-width: 920px;
  margin: 0 auto;
}
.page-head {
  margin-bottom: var(--space-10);
}
.page-head h1 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.15;
  margin: var(--space-2) 0 var(--space-4);
  color: var(--text-primary);
}
.page-head .lead {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  line-height: 1.8;
}
.page-head .button-group {
  margin-top: var(--space-6);
  justify-content: flex-start;
}
.breadcrumb {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.breadcrumb a { color: var(--green-700); font-weight: 600; }

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.panel h2 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.panel h2 .material-symbols-outlined { color: var(--green-800); }
.panel h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin: var(--space-5) 0 var(--space-2);
  color: var(--text-primary);
}
.panel p,
.panel li {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}
.panel p + p { margin-top: var(--space-3); }
.panel ul { padding-left: var(--space-5); margin-top: var(--space-2); }
.panel li { margin-bottom: var(--space-1); }
.panel a { color: var(--green-700); font-weight: 600; text-decoration: underline; }

.feature-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-4);
}
.feature-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.feature-row__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-row h3 { margin: 0 0 var(--space-1); }
.feature-row p { margin: 0; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
.stat-strip div {
  background: var(--green-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
}
.stat-strip strong {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--green-900);
}
.stat-strip span {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 600;
}

.callout {
  border-left: 4px solid var(--gold-500);
  background: #fff8e1;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
}
.callout p { color: var(--gray-800); }

.table-scroll { overflow-x: auto; margin-top: var(--space-4); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  min-width: 520px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
  color: var(--text-secondary);
}
.compare-table th {
  color: var(--text-primary);
  font-weight: 800;
  background: var(--green-50);
}
.compare-table td:first-child { color: var(--text-primary); font-weight: 700; }

.cta-band {
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: var(--font-size-2xl); font-weight: 800; margin-bottom: var(--space-3); }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: var(--space-6); }

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.related-links a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--font-size-sm);
  text-decoration: none;
}
.related-links a:hover { border-color: var(--green-400); color: var(--green-700); }

@media (max-width: 768px) {
  .feature-rows { grid-template-columns: 1fr; }
  .page-head h1 { font-size: var(--font-size-2xl); }
  .panel { padding: var(--space-6) var(--space-5); }
}
.feature-rows + p,
.stat-strip + .feature-rows { margin-top: var(--space-5); }
