/* ===========================================
   CWET - Brand Variables
   =========================================== */
:root {
  --color-primary: #0892d0;
  --color-primary-dark: #1F8BB6;
  --color-primary-deep: #0a5d80;
  --color-secondary: #87ceeb;
  --color-secondary-light: #80C9E4;
  --color-accent-green: #03fc90;
  --color-accent-turquoise: #80E0E0;
  --color-gray: #909294;
  --color-light-gray: #f5f7fa;
  --color-white: #ffffff;
  --color-text: #1f2937;
  --color-text-light: #6b7280;

  --color-soft: #28a745;
  --color-moderate: #ffc107;
  --color-hard: #dc3545;

  --shadow-sm: 0 4px 12px rgba(8, 70, 110, 0.10);
  --shadow-md: 0 10px 30px rgba(8, 70, 110, 0.18);
  --shadow-lg: 0 25px 50px rgba(8, 70, 110, 0.28);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --transition: 0.25s ease;
}

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

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background:
    radial-gradient(circle at 15% 20%, rgba(135, 206, 235, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(3, 252, 144, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #0a5d80 0%, #0892d0 50%, #1F8BB6 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'><g fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1.5'><circle cx='150' cy='150' r='80'/><circle cx='180' cy='180' r='40'/><circle cx='120' cy='200' r='25'/><circle cx='1050' cy='650' r='100'/><circle cx='1080' cy='680' r='50'/><circle cx='1020' cy='700' r='30'/><circle cx='900' cy='100' r='60'/><circle cx='930' cy='130' r='25'/><circle cx='200' cy='700' r='70'/><circle cx='230' cy='720' r='35'/></g></svg>");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

/* ===========================================
   Animated floating bubbles (brand colors)
   =========================================== */
.bg-bubbles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(1px);
  animation: float-bubble linear infinite;
  will-change: transform;
}

.bubble::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 18%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(2px);
}

/* Colors based on CWET brand palette */
.bubble.b-sky        { background: radial-gradient(circle at 30% 30%, #b3e5fc 0%, #87ceeb 60%, #4fc3f7 100%); }
.bubble.b-electric   { background: radial-gradient(circle at 30% 30%, #4fc3f7 0%, #0892d0 60%, #1F8BB6 100%); }
.bubble.b-turquoise  { background: radial-gradient(circle at 30% 30%, #b2ebf2 0%, #80E0E0 60%, #26c6da 100%); }
.bubble.b-green      { background: radial-gradient(circle at 30% 30%, #c8e6c9 0%, #03fc90 60%, #00bf6a 100%); opacity: 0.28; }
.bubble.b-white      { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 60%, rgba(255,255,255,0.15) 100%); opacity: 0.45; }

/* Sizes */
.bubble.s-xs { width: 18px;  height: 18px; }
.bubble.s-s  { width: 32px;  height: 32px; }
.bubble.s-m  { width: 58px;  height: 58px; }
.bubble.s-l  { width: 90px;  height: 90px; }
.bubble.s-xl { width: 130px; height: 130px; filter: blur(2px); }

/* Spawn positions and animation timing (each bubble unique) */
.bubble:nth-child(1)  { left:  6%; bottom: -120px; animation-duration: 22s; animation-delay:  0s; }
.bubble:nth-child(2)  { left: 18%; bottom: -120px; animation-duration: 28s; animation-delay:  6s; }
.bubble:nth-child(3)  { left: 32%; bottom: -120px; animation-duration: 18s; animation-delay:  2s; }
.bubble:nth-child(4)  { left: 48%; bottom: -120px; animation-duration: 26s; animation-delay:  9s; }
.bubble:nth-child(5)  { left: 62%; bottom: -120px; animation-duration: 30s; animation-delay:  4s; }
.bubble:nth-child(6)  { left: 76%; bottom: -120px; animation-duration: 20s; animation-delay:  1s; }
.bubble:nth-child(7)  { left: 88%; bottom: -120px; animation-duration: 24s; animation-delay:  7s; }
.bubble:nth-child(8)  { left: 12%; bottom: -120px; animation-duration: 32s; animation-delay: 12s; }
.bubble:nth-child(9)  { left: 40%; bottom: -120px; animation-duration: 25s; animation-delay: 15s; }
.bubble:nth-child(10) { left: 70%; bottom: -120px; animation-duration: 27s; animation-delay: 10s; }
.bubble:nth-child(11) { left: 25%; bottom: -120px; animation-duration: 21s; animation-delay: 18s; }
.bubble:nth-child(12) { left: 55%; bottom: -120px; animation-duration: 29s; animation-delay: 20s; }

@keyframes float-bubble {
  0% {
    transform: translateY(0) translateX(0) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 0.35;
    transform: translateY(-10vh) translateX(0) scale(0.85);
  }
  50% {
    transform: translateY(-55vh) translateX(20px) scale(1);
  }
  90% {
    opacity: 0.35;
    transform: translateY(-100vh) translateX(-15px) scale(1.05);
  }
  100% {
    transform: translateY(-110vh) translateX(0) scale(0.9);
    opacity: 0;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; opacity: 0.2; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }

/* ===========================================
   Top bar (logo + lang switcher)
   - Desktop: floating (pointer-events guarded)
   - Mobile: solid sticky header
   =========================================== */
.top-bar {
  position: fixed;
  top: 20px;
  left: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  pointer-events: none;
}

.top-bar .logo,
.top-bar .lang-switcher {
  pointer-events: auto;
}

.logo {
  height: 90px;
  width: auto;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.45))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.04);
}

.lang-switcher {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.3px;
  min-height: 40px;
}

.lang-switcher:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===========================================
   Main split layout
   =========================================== */
.main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  min-height: 100vh;
  height: 100vh;
  padding: 100px 50px 30px;
  align-items: center;
}

.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 100%;
}

/* ===== Left panel (Results) ===== */
.panel-results {
  color: var(--color-white);
  padding-right: 10px;
  text-align: center;
  align-items: center;
}

.panel-results .panel-title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.5px;
}

.panel-results .panel-subtitle {
  font-size: 15px;
  opacity: 0.92;
  margin-bottom: 22px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Glasses Visualization (frosted glass card) ===== */
.glasses-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 6px 16px;
  margin-bottom: 24px;
  padding: 30px 26px 28px;
  width: 100%;
  max-width: 560px;
  align-self: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.glass-item {
  display: contents;
}

.glass-svg {
  grid-row: 1;
  width: 94px;
  height: 128px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
  transition: transform 0.3s ease;
  align-self: end;
}

.glass-item:hover .glass-svg {
  transform: translateY(-5px) scale(1.03);
}

.glass-label {
  grid-row: 2;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  margin-top: 10px;
  align-self: start;
}

.glass-sub {
  grid-row: 3;
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.4;
  padding: 0 2px;
  text-align: center;
  align-self: start;
  margin-top: 2px;
}

/* Place each glass item's children in the right column */
.glass-item:nth-child(1) .glass-svg,
.glass-item:nth-child(1) .glass-label,
.glass-item:nth-child(1) .glass-sub { grid-column: 1; }

.glass-item:nth-child(2) .glass-svg,
.glass-item:nth-child(2) .glass-label,
.glass-item:nth-child(2) .glass-sub { grid-column: 2; }

.glass-item:nth-child(3) .glass-svg,
.glass-item:nth-child(3) .glass-label,
.glass-item:nth-child(3) .glass-sub { grid-column: 3; }

.btn-products {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 12px 22px;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  align-self: center;
  margin-top: 20px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-products:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-products .arrow {
  display: inline-block;
  transition: var(--transition);
}

body[dir="rtl"] .btn-products .arrow {
  transform: scaleX(-1);
}

.btn-products:hover .arrow {
  transform: translateX(3px);
}

body[dir="rtl"] .btn-products:hover .arrow {
  transform: scaleX(-1) translateX(3px);
}

/* ===== Right panel (Form) ===== */
.panel-form {
  align-items: center;
}

.form-card {
  width: 100%;
  max-width: 480px;
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  max-height: calc(100vh - 130px);
  overflow-x: hidden;
  overflow-y: auto;
}

/* Hide scrollbar but keep functionality */
.form-card::-webkit-scrollbar {
  width: 6px;
}
.form-card::-webkit-scrollbar-track {
  background: transparent;
}
.form-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100px;
}
.form-card::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.form-card h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--color-white);
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.form-card .form-intro {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  font-size: 13.5px;
  line-height: 1.55;
}

.form-card .form-intro strong {
  color: var(--color-white);
  font-weight: 700;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 13px;
  color: var(--color-white);
}

.form-group label .required { color: #ffb4b4; }

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
}
.form-group input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.78);
}
.form-group input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-white);
  -webkit-box-shadow: 0 0 0 1000px rgba(8, 70, 110, 0.6) inset;
  transition: background-color 999999s ease-in-out 0s;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.radio-option { position: relative; }

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 6px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 0;
}

.radio-option label .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.radio-option[data-color="soft"] label .dot { background: linear-gradient(135deg, #34d058, #28a745); }
.radio-option[data-color="moderate"] label .dot { background: linear-gradient(135deg, #ffd54f, #ffc107); }
.radio-option[data-color="hard"] label .dot { background: linear-gradient(135deg, #e74c3c, #dc3545); }

.radio-option input[type="radio"]:checked + label {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  color: var(--color-white);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(8, 146, 208, 0.35);
}

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
  display: none;
}

.form-status.error {
  display: block;
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
}

.form-status.success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ===========================================
   Solutions Page
   =========================================== */
html.solutions-page,
html:has(body.solutions-body),
body.solutions-body {
  overflow-y: auto;
  overflow-x: hidden;
  height: auto;
}

.solutions-body .top-bar {
  pointer-events: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
  min-height: 40px;
}

.back-link:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary-dark);
}

.back-link .back-arrow {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}

body[dir="rtl"] .back-link .back-arrow {
  transform: scaleX(-1);
}

.sol-main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 28px 70px;
  color: var(--color-white);
}

/* ===== Hero ===== */
.sol-hero {
  text-align: center;
  margin-bottom: 50px;
}

.sol-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sol-eyebrow.accent {
  background: linear-gradient(135deg, var(--color-accent-green), var(--color-accent-turquoise));
  color: var(--color-primary-deep);
  border-color: rgba(255, 255, 255, 0.4);
}

.sol-title {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.sol-subtitle {
  font-size: clamp(15px, 1.8vw, 19px);
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===== Intro Glass Panel ===== */
.sol-intro {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

.glass-panel {
  width: 100%;
  max-width: 820px;
  padding: 32px 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-align: center;
}

.glass-panel h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-white);
}

.glass-panel p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.92;
}

.glass-panel p strong {
  color: var(--color-accent-turquoise);
  font-weight: 700;
}

/* ===== Section Titles ===== */
.sol-section-title {
  text-align: center;
  margin-bottom: 36px;
}

.sol-section-title h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
}

.sol-section-title p {
  font-size: 14.5px;
  opacity: 0.88;
}

/* ===== Appliances Grid ===== */
.sol-appliances {
  margin-bottom: 70px;
}

.appliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.appliance-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: var(--transition);
}

.appliance-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  border-color: rgba(255, 255, 255, 0.35);
}

.appliance-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
  color: var(--color-accent-turquoise);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.appliance-icon svg {
  width: 44px;
  height: 44px;
}

.appliance-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.appliance-card p {
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.88;
}

/* ===== Solution CTA ===== */
.sol-cta {
  display: flex;
  justify-content: center;
}

.cta-panel {
  width: 100%;
  max-width: 760px;
  padding: 44px 44px 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--radius-lg);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  text-align: center;
}

.cta-panel h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  margin: 14px 0 12px;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
}

.cta-panel > p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 26px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 28px;
  max-width: 460px;
  text-align: start;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14.5px;
  line-height: 1.55;
}

.benefits-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.benefits-list .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-green), var(--color-accent-turquoise));
  color: var(--color-primary-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(3, 252, 144, 0.30);
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent-green) 0%, var(--color-accent-turquoise) 100%);
  color: var(--color-primary-deep);
  border: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow:
    0 12px 28px rgba(3, 252, 144, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  width: auto;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 36px rgba(3, 252, 144, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--color-primary-deep);
}

/* ===== Solutions Responsive ===== */
@media (max-width: 991px) {
  .solutions-body .top-bar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 14px rgba(8, 70, 110, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  .sol-main { padding: 28px 18px 50px; }

  .sol-hero { margin-bottom: 36px; }

  .glass-panel { padding: 26px 22px; }

  .sol-intro { margin-bottom: 44px; }

  .sol-appliances { margin-bottom: 50px; }

  .appliance-grid { grid-template-columns: 1fr; gap: 16px; }

  .appliance-card { padding: 22px 20px; }

  .cta-panel { padding: 36px 24px 32px; }

  .benefits-list { max-width: 100%; }
}

@media (max-width: 480px) {
  .sol-main { padding: 24px 14px 40px; }

  .sol-title { font-size: 24px; }

  .glass-panel { padding: 22px 18px; }

  .glass-panel h2 { font-size: 19px; }

  .appliance-card { padding: 20px 18px; }

  .appliance-icon { width: 60px; height: 60px; }
  .appliance-icon svg { width: 38px; height: 38px; }

  .cta-panel { padding: 30px 18px 26px; }

  .btn-cta { padding: 15px 26px; font-size: 15px; width: 100%; }
}

/* ===========================================
   Thank You Page
   =========================================== */
.thank-you {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 25px 25px;
}

.thank-you-card {
  max-width: 540px;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 45px 38px;
  text-align: center;
  box-shadow:
    0 25px 50px rgba(8, 70, 110, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 42px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.thank-you-card h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--color-primary);
  margin-bottom: 14px;
  font-weight: 700;
}

.thank-you-card p {
  color: var(--color-text-light);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.thank-you-card .btn {
  width: auto;
  padding: 13px 34px;
  margin-top: 0;
}

/* ===========================================
   Responsive (Tablet & Mobile)
   =========================================== */
@media (max-height: 760px) and (min-width: 992px) {
  .main { padding: 95px 40px 20px; }
  .form-card { padding: 24px 26px; }
  .panel-results .panel-subtitle { margin-bottom: 14px; }
  .glass-svg { width: 82px; height: 112px; }
  .glass-label { font-size: 15px; margin-top: 8px; }
  .glass-sub { font-size: 12.5px; }
  .glasses-wrap { gap: 4px 12px; margin-bottom: 18px; padding: 22px 18px 20px; max-width: 500px; }
  .form-group { margin-bottom: 11px; }
  .logo { height: 75px; }
}

/* ===========================================
   Mobile / Tablet (< 992px)
   - Solid sticky header bar replaces floating top-bar
   - Content stacks vertically with comfortable scroll
   =========================================== */
@media (max-width: 991px) {
  html, body { overflow: auto; height: auto; }

  body::before { opacity: 0.7; }

  .top-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 14px rgba(8, 70, 110, 0.18);
    pointer-events: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  .logo {
    height: 54px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
  }

  .lang-switcher {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 9px 18px;
    font-size: 13.5px;
    box-shadow: 0 3px 10px rgba(8, 146, 208, 0.32);
  }

  .lang-switcher:hover {
    background: var(--color-primary-dark);
  }

  .main {
    grid-template-columns: 1fr;
    height: auto;
    min-height: calc(100vh - 80px);
    padding: 28px 20px 36px;
    gap: 28px;
  }

  .panel { max-height: none; }

  .panel-results {
    text-align: center;
    padding-right: 0;
  }

  .panel-results .panel-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .glasses-wrap {
    gap: 6px 10px;
    margin-bottom: 22px;
    padding: 24px 16px 22px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .glass-item { max-width: 110px; }

  .btn-products {
    align-self: center;
    padding: 13px 26px;
    font-size: 14.5px;
    min-height: 48px;
  }

  .form-card {
    max-width: 100%;
    max-height: none;
    overflow: visible;
    padding: 28px 24px;
  }

  .form-card h2 { font-size: 22px; }

  .form-group input { padding: 13px 14px; font-size: 15px; min-height: 48px; }

  .radio-option label { padding: 12px 8px; min-height: 56px; }

  .btn { padding: 15px 28px; font-size: 16px; min-height: 52px; }
}

/* ===========================================
   Small phones (< 480px)
   =========================================== */
@media (max-width: 480px) {
  .top-bar { padding: 9px 14px; }

  .logo { height: 48px; }

  .lang-switcher { padding: 8px 16px; font-size: 13px; }

  .main { padding: 22px 16px 30px; gap: 24px; }

  .panel-results .panel-title { font-size: 26px; }

  .glasses-wrap { gap: 4px 6px; padding: 20px 10px 18px; }

  .glass-svg { width: 76px; height: 104px; }

  .glass-label { font-size: 14.5px; margin-top: 8px; }

  .glass-sub { font-size: 12px; }

  .glass-label { font-size: 14px; }

  .glass-sub { font-size: 11px; }

  .form-card { padding: 26px 20px; }

  .radio-group { gap: 6px; }

  .radio-option label {
    padding: 11px 4px;
    font-size: 11.5px;
    min-height: 64px;
    gap: 5px;
  }

  .radio-option label .dot {
    width: 20px;
    height: 20px;
  }
}
