/* style.css — WERE Connect Premium Design System */

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

:root {
  /* Design Tokens - HSL Palette (Premium Light Theme) */
  --bg-hue: 220;
  --bg-sat: 33%;
  --bg-light: 97%;
  
  --bg: hsl(var(--bg-hue), var(--bg-sat), var(--bg-light)); /* #f4f6f9 */
  --bg-card: rgba(255, 255, 255, 0.7); /* Frosted clean white glass */
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  
  --accent-hue: 174;
  --accent: hsl(var(--accent-hue), 90%, 36%); /* Darker teal for proper contrast: #069c84 */
  --accent-glow: hsla(var(--accent-hue), 90%, 36%, 0.12);
  
  --accent2-hue: 245;
  --accent2: hsl(var(--accent2-hue), 75%, 54%); /* Indigo: #4f46e5 */
  --accent2-glow: hsla(var(--accent2-hue), 75%, 54%, 0.12);
  
  --text: hsl(222, 47%, 12%); /* Deep navy slate text */
  --muted: hsl(222, 20%, 42%); /* Slate gray for readable descriptions */
  --muted-dark: hsl(222, 15%, 32%); /* Deeper slate for small text */
  
  --border: rgba(0, 0, 0, 0.07); /* Clean soft border */
  --border-hover: rgba(0, 0, 0, 0.14);
  --border-accent: hsla(var(--accent-hue), 90%, 36%, 0.25);
  
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 35px hsla(var(--accent-hue), 90%, 36%, 0.05);
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  --max-width: 1140px;
  --header-height: 80px;
  --font-title: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 10% 20%, hsla(var(--accent-hue), 90%, 36%, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, hsla(var(--accent2-hue), 75%, 54%, 0.07) 0%, transparent 50%),
    var(--bg);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Layout Utilities */
main {
  flex: 1;
  position: relative;
  width: 100%;
}

.section {
  padding: 80px 0;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(244, 246, 249, 0.7);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

header.scrolled {
  background: rgba(244, 246, 249, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: rgba(0, 0, 0, 0.03);
}

.brand span {
  background: linear-gradient(135deg, var(--text) 30%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand span.accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px; /* Clean gap between menu and language selector */
  margin-left: auto; /* Push it to the far right, separating it from the logo on the left */
}

.menu {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95); /* High contrast white background */
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px; /* Snug padding for larger buttons */
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.menu a {
  font-size: 16px; /* Enlarged menu button text */
  font-weight: 600; /* Medium bold */
  color: var(--text); /* Deep navy slate text for contrast */
  padding: 12px 26px; /* Enlarged button padding */
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}

.menu a:hover {
  color: var(--accent); /* Turn teal on hover */
  background: rgba(6, 156, 132, 0.05);
}

.menu a.active {
  color: #ffffff; /* White text for active */
  background: var(--accent); /* Solid teal background for the active link */
  box-shadow: 0 2px 8px rgba(6, 156, 132, 0.3);
  border: none;
}

/* Hamburger Toggle Button (Desktop hidden) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.menu-toggle .hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.02);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  box-shadow: 0 4px 15px hsla(var(--accent-hue), 90%, 36%, 0.15);
  color: #ffffff;
}

.btn.primary:hover {
  box-shadow: 0 6px 20px hsla(var(--accent-hue), 90%, 36%, 0.25), var(--shadow-glow);
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn.ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Pages Layout & Routing */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-top: calc(var(--header-height) + 20px);
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Styling Components */
.panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
  pointer-events: none;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  margin: 16px 0 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  width: fit-content;
}

.card:hover .pill {
  border-color: var(--border-accent);
  background: rgba(6, 156, 132, 0.08);
  color: var(--accent);
}

/* Typography & Text */
.kicker {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

h1 {
  font-family: var(--font-title);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 30%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 40%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smartphone Mockup CSS */
.mockup-container {
  position: relative;
}

.smartphone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  margin: 0 auto;
  border: 12px solid #cbd5e1;
  border-radius: 40px;
  background: #000;
  box-shadow: 
    var(--shadow-lg), 
    0 0 0 2px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(99, 102, 241, 0.06);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.smartphone-mockup:hover {
  transform: translateY(-10px) rotate(2deg);
}

/* Dynamic glow reflecting screen content */
.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 660px;
  background: radial-gradient(circle, rgba(6, 156, 132, 0.08) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.smartphone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #cbd5e1;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smartphone-camera {
  width: 8px;
  height: 8px;
  background: #64748b;
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.smartphone-speaker {
  width: 40px;
  height: 3px;
  background: #94a3b8;
  border-radius: 2px;
}

.smartphone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.smartphone-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 5;
}

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

.screen-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  transform: scale(1.05);
}

.screen-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dots underneath mockup */
.mockup-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(6, 156, 132, 0.2);
}

/* Page Specific styling */

/* Home Page */
#page-home .hero {
  min-height: auto; /* Remove screen fill */
  padding: 20px 0;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 24px;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Features Page */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 40px;
}

/* Features interactive list/tabs on click */
.features-interactive {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

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

.feature-select-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  gap: 16px;
}

.feature-select-btn:hover {
  background: rgba(0, 0, 0, 0.015);
  transform: translateX(5px);
}

.feature-select-btn.active {
  border-color: var(--accent);
  background: rgba(6, 156, 132, 0.04);
  box-shadow: var(--shadow-sm);
}

.feature-select-btn .icon {
  font-size: 24px;
  background: rgba(0,0,0,0.02);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: all 0.3s;
}

.feature-select-btn.active .icon {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(6, 156, 132, 0.3);
}

.feature-select-btn h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-select-btn p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Pros Page */
.benefits-intro {
  margin-bottom: 40px;
}

.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.comparison-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.01);
}

.comparison-card.negative {
  border-color: rgba(239, 68, 68, 0.15);
  background: rgba(239, 68, 68, 0.015);
}

.comparison-card.positive {
  border-color: rgba(16, 185, 129, 0.15);
  background: rgba(16, 185, 129, 0.015);
}

.comparison-card h4 {
  font-family: var(--font-title);
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comparison-card li {
  font-size: 14px;
  color: var(--muted);
  position: relative;
  padding-left: 20px;
}

.comparison-card.negative li::before {
  content: '✕';
  color: #ef4444;
  position: absolute;
  left: 0;
}

.comparison-card.positive li::before {
  content: '✓';
  color: #10b981;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Contact Page */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-method .icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-method h4 {
  font-family: var(--font-title);
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-method p {
  font-size: 16px;
  font-weight: 600;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px rgba(6, 156, 132, 0.15);
}

/* Privacy Page */
.privacy-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.privacy-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--accent);
}

.privacy-card ul {
  margin-top: 12px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-card li {
  font-size: 14.5px;
  color: var(--muted);
}

/* Footer styling */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: rgba(244, 246, 249, 0.9);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 14px;
  color: var(--muted-dark);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted-dark);
}

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

/* Scroll and Entrance Animations */
.reveal-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Delay modifiers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Text reveal mask (Stripe/Apple style) */
.reveal-text-container {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}

.reveal-text {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-active .reveal-text {
  transform: translateY(0);
}

/* View Transitions Customizations */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent layout shift during transition */
main {
  view-transition-name: main-content;
}

.smartphone-mockup {
  view-transition-name: smartphone-mockup;
}

/* Reduced Motion media queries */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  .reveal-in {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .reveal-text {
    transform: none !important;
  }
  
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* Responsive media queries */
@media (max-width: 960px) {
  h1 {
    font-size: 46px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  .grid2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .grid3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features-interactive {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .comparison-box {
    grid-template-columns: 1fr;
  }
  
  .smartphone-mockup {
    width: 250px;
    height: 500px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Show hamburger button on mobile */
  }

  /* Hamburger to X transition */
  .menu-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%; /* Stretch full-width of screen */
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column !important;
    padding: 24px !important;
    gap: 12px !important;
    align-items: stretch !important;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 99;
  }
  
  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .menu a {
    display: block !important; /* Force display on mobile dropdown */
    width: 100% !important;
    text-align: center !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
  }
  
  .menu a.active {
    background: var(--accent) !important;
    color: #ffffff !important;
  }
  
  /* Show menu icon or fallback navigation */
  .nav {
    flex-wrap: nowrap;
    gap: 16px;
  }
  
  .nav .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 38px;
  }
}

/* ==========================================================
   WERE Connect New Elements: Badges, Slideshow & Footer
   ========================================================== */

/* Official Download Badges */
.download-badges-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 24px;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 18px;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 145px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.official-badge:hover {
  transform: translateY(-2px);
  background: #111111;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.official-badge .badge-svg {
  flex-shrink: 0;
}

.official-badge .badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.official-badge .badge-sub {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #a0a0a0;
  line-height: 1;
  margin-bottom: 2px;
}

.official-badge .badge-main {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Hero Slideshow Section (16:9) */
.slideshow-section {
  margin-top: 10px; /* Reduced margin to close space */
  margin-bottom: 40px;
  width: 100%;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* Forces 16:9 aspect ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #000;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16/9) {
  .slideshow-wrapper {
    height: 0;
    padding-bottom: 56.25%; /* 9/16 = 56.25% */
  }
}

.slideshow-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

@supports not (aspect-ratio: 16/9) {
  .slideshow-slides {
    position: absolute;
    top: 0;
    left: 0;
  }
}

.slideshow-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.slideshow-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.slideshow-slide.active img {
  transform: scale(1.05);
}

.slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  color: #ffffff;
  z-index: 10;
  text-align: left;
}

.slideshow-caption h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slideshow-caption p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  max-width: 600px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Slideshow navigation buttons */
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}

.slideshow-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  scale: 1.05;
}

.slideshow-btn.prev {
  left: 16px;
}

.slideshow-btn.next {
  right: 16px;
}

/* Indicators */
.slideshow-indicators {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 15;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  width: 24px;
  background: var(--accent);
  border-radius: 4px;
}

/* Main Footer Styles */
.main-footer {
  background: #0c4674; /* Logo Blue */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
  margin-top: 80px;
  color: #ffffff; /* Make default text white */
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-col .brand {
  margin-bottom: 8px;
}

/* Override brand text inside footer to be legibly white */
.main-footer .brand {
  color: #ffffff;
}
.main-footer .brand div {
  color: #ffffff;
}
.main-footer .brand span.accent {
  background: linear-gradient(135deg, #4dcbc8 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  font-size: 14px;
  color: #cbd5e1; /* Soft light grey text */
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08); /* White transparency */
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-links-col h4,
.footer-download-col h4 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff; /* White heading */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 14px;
  color: #cbd5e1; /* Soft light grey links */
}

.footer-links-col a:hover {
  color: #4dcbc8; /* Accent light teal */
  padding-left: 4px;
}

.footer-download-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-download-col .small-info {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white divider */
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #cbd5e1;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.footer-bottom-links a {
  color: #cbd5e1;
}

.footer-bottom-links a:hover {
  color: #4dcbc8;
}

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

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .slideshow-caption h3 {
    font-size: 20px !important;
  }
  
  .slideshow-caption p {
    font-size: 14px !important;
  }
  
  .slideshow-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* Language selector */
.lang-select-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid rgba(0, 0, 0, 0.08); /* Vertical divider inside the menu pill */
  padding-left: 8px;
  margin-left: 4px;
}

.lang-select-el {
  background: transparent; /* Transparent background to blend in the menu */
  border: none;
  padding: 12px 34px 12px 18px; /* Match menu button padding with space for arrow */
  border-radius: var(--radius-full);
  font-family: var(--font-title);
  font-size: 16px; /* Match menu buttons */
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none; /* No shadow when integrated */
}

.lang-select-container::after {
  content: '▼';
  font-size: 9px;
  color: var(--muted);
  position: absolute;
  right: 14px; /* Perfectly aligned inside the pill */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.lang-select-el:hover {
  background: rgba(6, 156, 132, 0.05); /* Same hover styling as menu buttons */
  color: var(--accent);
}

.lang-select-el:focus {
  background: rgba(6, 156, 132, 0.05);
}

/* Header download badges */
.header-download-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-download-badges .official-badge {
  padding: 8px 14px;
  min-width: 125px;
  border-radius: 8px;
}

.header-download-badges .official-badge .badge-text {
  display: flex;
  flex-direction: column;
}

.header-download-badges .official-badge .badge-sub {
  font-size: 8px;
  font-weight: 500;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.header-download-badges .official-badge .badge-main {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: rgba(37, 211, 102, 0.4);
  top: 0;
  left: 0;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Pillars Redesign - Compact Grid Layout */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.pillar-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.pillar-card-img {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.pillar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pillar-card:hover .pillar-card-img img {
  transform: scale(1.06);
}

.pillar-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pillar-num {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pillar-card-content h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  background: linear-gradient(135deg, var(--text) 50%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pillar-card-content p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Animations for compact pillars */
.pillar-card.reveal-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Features Redesign */
.features-redesign {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.feature-img-box {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.feature-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-img-box:hover img {
  transform: scale(1.04);
}

.feature-text-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.feature-text-box h3 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text) 40%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-text-box p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* Page Banner */
/* Page Banner */
.page-banner {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for 16:9 cinematic feel */
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  margin-top: calc(-1 * var(--header-height) - 20px);
  margin-bottom: 40px;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 10s ease;
}

.page-banner:hover .banner-bg {
  transform: scale(1.05);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(8, 11, 17, 0.2) 0%, rgba(8, 11, 17, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
}

.banner-overlay h2 {
  font-family: var(--font-title);
  font-size: 48px; /* Bigger titles */
  font-weight: 800;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-overlay p {
  font-size: 18px; /* Legible description text */
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  max-width: 800px;
}
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Slideshow Text Big Bold */
.slideshow-caption h3 {
  font-size: 36px !important;
  font-weight: 800 !important;
  margin-bottom: 12px;
}

.slideshow-caption p {
  font-size: 18px !important;
  font-weight: 600 !important;
  max-width: 750px;
}

@media (max-width: 960px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .pillar-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
    gap: 16px;
  }
  
  .pillar-card-img {
    width: 100px;
    height: 100px;
  }
  
  .pillar-card-content {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .lang-select-container {
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 8px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important; /* Divider line on top of language selector */
    display: block !important;
    width: 100% !important;
  }
  
  .lang-select-el {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: var(--shadow-sm) !important;
    font-size: 15px !important;
    padding: 12px 36px 12px 20px !important;
    border-radius: var(--radius-full) !important;
    text-align: left !important;
  }
  
  .lang-select-container::after {
    right: 20px !important; /* Position arrow on right of full-width selector */
  }
  
  .header-download-badges {
    display: none; /* Hide header badges on small mobile screens to prevent clutter */
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* Interactive Stepper Layout for How It Works */
.how-interactive-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.how-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.how-step-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.how-step-item:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.16);
  transform: translateX(5px);
}

/* User Steps (Teal Accent) styling */
#how-user-steps .how-step-item {
  border-left: 4px solid var(--accent);
}

#how-user-steps .how-step-num {
  border: 2.5px solid var(--accent);
  background: rgba(6, 156, 132, 0.06);
  color: var(--accent);
}

#how-user-steps .how-step-item.active {
  border-color: var(--accent);
  background: rgba(6, 156, 132, 0.05);
  box-shadow: var(--shadow-sm);
}

#how-user-steps .how-step-item.active .how-step-num {
  background: var(--accent);
  color: #ffffff;
}

/* Pro Steps (Indigo Accent2) styling */
#how-pro-steps .how-step-item {
  border-left: 4px solid var(--accent2);
}

#how-pro-steps .how-step-num {
  border: 2.5px solid var(--accent2);
  background: rgba(79, 70, 229, 0.06);
  color: var(--accent2);
}

#how-pro-steps .how-step-item.active {
  border-color: var(--accent2);
  background: rgba(79, 70, 229, 0.05);
  box-shadow: var(--shadow-sm);
}

#how-pro-steps .how-step-item.active .how-step-num {
  background: var(--accent2);
  color: #ffffff;
}

.how-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.how-step-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.how-step-text h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--text) !important; /* Standard solid text color, no color tint or gradient */
  margin: 0;
}

.how-step-text p {
  font-size: 14.5px;
  color: var(--text) !important; /* Standard solid text color, no color tint or gradient */
  line-height: 1.6;
  margin: 0;
}

/* Comment ça marche - Specific overrides for maximum legibility */
#page-how-it-works .panel {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: var(--shadow-lg) !important;
}

#page-how-it-works h2 {
  color: var(--text) !important; /* Standard solid text color */
}

#page-how-it-works .lead {
  color: var(--text) !important; /* Standard solid text color */
}

/* Mini Mockup */
.how-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.smartphone-mockup-mini {
  width: 250px;
  height: 500px;
  border: 10px solid #cbd5e1;
  border-radius: 36px;
  background: #000;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.how-mockup-screens {
  position: relative;
  width: 100%;
  height: 100%;
}

.how-screen-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.how-screen-slide.active {
  opacity: 1;
  z-index: 2;
}

.how-screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsiveness */
@media (max-width: 960px) {
  .how-interactive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .how-mockup-wrapper {
    order: -1; /* Display mockup on top on mobile */
  }
}

/* ==========================================================
   WERE Connect Promo & Pricing Redesign
   ========================================================== */
.promo-pricing-section {
  padding-bottom: 80px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 40px;
}

.promo-card, .pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-card:hover, .pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.08);
}

/* Specific Offer Card (Glowing and animated) */
.promo-card.glow-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 246, 255, 0.85) 100%);
  border: 1px solid hsla(var(--accent-hue), 90%, 36%, 0.18);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  overflow: hidden;
}

.promo-card.glow-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, hsla(var(--accent-hue), 90%, 36%, 0.05) 0%, transparent 70%);
  pointer-events: none;
  animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.promo-badge {
  align-self: flex-start;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  padding: 6px 14px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
  z-index: 2;
}

.promo-main {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  z-index: 2;
}

.promo-huge {
  font-family: var(--font-title);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-subtext {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent2);
  margin-top: 4px;
}

.promo-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted-dark);
  margin-bottom: 28px;
  z-index: 2;
}

.promo-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  z-index: 2;
}

.promo-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* Pricing Card Styles */
.price-header {
  margin-bottom: 28px;
}

.price-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  display: flex;
  flex-direction: column;
  margin: 12px 0 16px;
}

.price-currency {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-dark);
}

.price-value {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-sub {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.price-features li {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-dark);
}

.price-action {
  margin-top: auto;
}

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

/* Responsive adjustments */
@media (max-width: 960px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .promo-huge {
    font-size: 48px;
  }
  
  .promo-subtext {
    font-size: 22px;
  }
}


