/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - Updated for Flux branding */
  --primary-color: #4A6B7C;
  --primary-color-dark: #374955;
  --primary-color-light: #5D7A8B;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  
  /* Text Colors - Improved for better contrast */
  --text-color: #1f2937;
  --text-color-light: #4b5563;  /* Darker gray for better contrast (was #6b7280) */
  --text-color-medium: #6b7280; /* Original light color for less important text */
  --text-color-dark: #111827;
  --text-white: #ffffff;
  
  /* Background Colors */
  --body-color: #ffffff;
  --container-color: #f9fafb;
  --card-color: #ffffff;
  --border-color: #e5e7eb;
  --shadow-light: 0 2px 8px rgba(74, 107, 124, 0.1);
  --shadow-medium: 0 4px 20px rgba(74, 107, 124, 0.15);
  --shadow-strong: 0 10px 40px rgba(74, 107, 124, 0.2);
  
  /* Typography */
  --body-font: 'Inter', system-ui, -apple-system, sans-serif;
  --h1-font-size: 3.5rem;
  --h2-font-size: 2.5rem;
  --h3-font-size: 1.75rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 4.5rem;
  --border-radius: 0.75rem;
  --border-radius-sm: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Animation */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media screen and (max-width: 768px) {
  :root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-weight-regular);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-color-dark);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-color-light);
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

input {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* ===== REUSABLE CLASSES ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section__title {
  margin-bottom: var(--spacing-sm);
}

.section__description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.highlight {
  color: var(--primary-color);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-medium);
  font-size: var(--normal-font-size);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--text-white);
  box-shadow: var(--shadow-light);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color));
}

.btn--secondary {
  background: var(--body-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-light);
}

.btn--secondary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn--large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
}

/* ===== ENHANCED HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  contain: layout;
}

.header.scroll-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-light);
  border-bottom-color: var(--border-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* ===== ENHANCED NAVIGATION BRAND ===== */
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: var(--transition);
  z-index: 1001;
}

.nav__brand:hover {
  transform: translateY(-1px);
}

.nav__logo {
  width: 40px;
  height: 40px;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(74, 107, 124, 0.1));
  contain: layout style paint;
}

.nav__logo:hover {
  transform: scale(1.05) rotate(2deg);
}

.nav__title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-color-dark);
  transition: var(--transition);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ENHANCED NAVIGATION MENU ===== */
.nav__menu {
  position: relative;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav__item {
  position: relative;
}

.nav__link {
  font-weight: var(--font-weight-medium);
  color: var(--text-color);
  position: relative;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.nav__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
  opacity: 0;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  z-index: -1;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  border-radius: 1px;
}

.nav__link:hover::before {
  opacity: 0.1;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

/* ===== ENHANCED NAVIGATION ACTIONS ===== */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  z-index: 1001;
}

.nav__actions .btn {
  font-size: var(--small-font-size);
  padding: var(--spacing-xs) var(--spacing-md);
}

/* Hide all navigation menu elements */
.nav__menu,
.nav__list,
.nav__item,
.nav__link,
.nav__toggle,
.nav__close {
  display: none !important;
}

.nav__toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  background: var(--body-color);
  border: 1px solid var(--primary-color);
  box-shadow: var(--shadow-light);
}

.nav__toggle:hover {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.nav__close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  padding: var(--spacing-xs);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  background: var(--body-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
}

.nav__close:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: scale(1.1) rotate(90deg);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: calc(var(--header-height) + var(--spacing-3xl)) 0 var(--spacing-3xl);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  contain: layout;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(74, 107, 124, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__title {
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  color: var(--text-color-dark);
  font-weight: var(--font-weight-bold);
}

.hero__description {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  color: var(--text-color);
  max-width: 500px;
  font-weight: var(--font-weight-regular);
}

.hero__actions {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-3xl);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--spacing-xl);
}

.stat {
  text-align: center;
  position: relative;
}

.stat::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 1px;
}

.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat__label {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-weight-medium);
}

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

.hero__phone {
  position: relative;
  z-index: 2;
}

.hero__phone::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(74, 107, 124, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
}

.hero__phone-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 25px;
  background: #000;
}

/* iPhone 16 Pro Frame Styles */
.iphone-frame {
  position: relative;
  width: 300px;
  height: 650px;
  background: linear-gradient(145deg, #1f1f1f, #2d2d2d, #1a1a1a);
  border-radius: 45px;
  padding: 8px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  filter: drop-shadow(var(--shadow-strong));
  contain: layout style paint;
  border: 1px solid #404040;
}

.iphone-frame:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

/* Dynamic Island */
.iphone-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 30px;
  background: #000;
  border-radius: 15px;
  z-index: 3;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Side buttons */
.iphone-frame::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 120px;
  width: 4px;
  height: 60px;
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 37px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Volume buttons */
.iphone-frame {
  position: relative;
}

.iphone-frame .volume-up {
  position: absolute;
  left: -2px;
  top: 200px;
  width: 4px;
  height: 40px;
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.iphone-frame .volume-down {
  position: absolute;
  left: -2px;
  top: 250px;
  width: 4px;
  height: 40px;
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Action button */
.iphone-frame .action-button {
  position: absolute;
  left: -2px;
  top: 160px;
  width: 4px;
  height: 25px;
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Power button */
.iphone-frame .power-button {
  position: absolute;
  right: -2px;
  top: 180px;
  width: 4px;
  height: 80px;
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ===== FEATURES SECTION ===== */
.features {
  background: var(--body-color);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

/* Add spacing between hero feature and other feature cards */
.feature-card:not(.feature-card--hero) {
  margin-top: var(--spacing-lg);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: var(--card-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border-color);
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* ===== HERO FEATURE CARD ===== */
.feature-card--hero {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(74, 107, 124, 0.03) 100%);
  border: 2px solid rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-3xl);
  padding-top: calc(var(--spacing-3xl) + var(--spacing-2xl));
  padding-bottom: var(--spacing-3xl);
  padding-left: var(--spacing-2xl);
  padding-right: var(--spacing-2xl);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.feature-card--hero::before {
  background: linear-gradient(90deg, #10B981, #059669);
  height: 6px;
  transform: scaleX(1);
}

.feature-card--hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30px, -30px);
  z-index: 1;
}

.feature-card--hero .feature-card__icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
  border: 2px solid rgba(16, 185, 129, 0.3);
  margin: 0 auto var(--spacing-lg);
  position: relative;
  z-index: 5;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.2);
}

.feature-card--hero .feature-card__title {
  color: var(--text-color-dark);
  font-size: 1.5rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-sm);
  position: relative;
  z-index: 5;
}

/* ===== FEATURE CARD COMPONENTS ===== */
.feature-card__icon {
  width: 80px;
  height: 80px;
  background: rgba(74, 107, 124, 0.1);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  transition: var(--transition);
  border: 2px solid rgba(74, 107, 124, 0.1);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(74, 107, 124, 0.15);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-color-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.feature-card__description {
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.feature-card--hero .feature-card__description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
  position: relative;
  z-index: 5;
  color: var(--text-color);
  font-weight: var(--font-weight-medium);
}

/* Hero feature card specific list styling */
.feature-card--hero .feature-card__list {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.feature-card--hero .feature-card__list li {
  color: var(--text-color);
  font-weight: var(--font-weight-medium);
  padding-left: var(--spacing-lg);
  position: relative;
}

.feature-card--hero .feature-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  transform: none;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.feature-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card__list li {
  position: relative;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-xs);
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.feature-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  transform: none;
  width: 8px;
  height: 8px;
  background: var(--text-color-dark);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-card__badge {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
}

.feature-card--hero .feature-card__badge {
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  top: var(--spacing-md);
  z-index: 10;
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
}

.badge--primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--text-white);
  box-shadow: 0 2px 4px rgba(74, 107, 124, 0.2);
}

.badge--success {
  background: linear-gradient(135deg, #10B981, #059669);
  color: var(--text-white);
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
  animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
  }
}

/* ===== TRIAL OFFER SECTION ===== */
.features__cta {
  margin-top: var(--spacing-3xl);
}

.trial-offer {
  background: linear-gradient(135deg, var(--container-color) 0%, #f0f9ff 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-3xl);
  text-align: center;
  position: relative;
  border: 2px solid rgba(74, 107, 124, 0.1);
  overflow: hidden;
}

.trial-offer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234A6B7C' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20v20h20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.trial-offer__content {
  position: relative;
  z-index: 2;
  padding-top: var(--spacing-3xl);
}

.trial-offer__title {
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-color-dark);
  margin-bottom: var(--spacing-sm);
}

.trial-offer__description {
  font-size: 1.125rem;
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.6;
}

.trial-offer__description strong {
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
}

.trial-offer__features {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.trial-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: var(--font-weight-medium);
  color: var(--text-color);
  background: var(--body-color);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.trial-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.trial-offer__btn {
  background: linear-gradient(135deg, #10B981, #059669);
  color: var(--text-white);
  border: none;
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}

.trial-offer__btn::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.trial-offer__btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, #0d9488, #047857);
}

.trial-offer__badge {
  position: absolute;
  top: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
}

/* ===== RESPONSIVE FEATURE CARDS ===== */
@media screen and (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .feature-card--hero {
    grid-column: 1 / -1;
  }
  
  .trial-offer__features {
    gap: var(--spacing-md);
  }
}

@media screen and (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .feature-card {
    padding: var(--spacing-lg);
  }
  
  .feature-card__icon {
    width: 64px;
    height: 64px;
  }
  
  .trial-offer {
    padding: var(--spacing-xl);
  }
  
  .trial-offer__features {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .trial-feature {
    justify-content: center;
    width: 100%;
    max-width: 280px;
  }
}

@media screen and (max-width: 480px) {
  .feature-card {
    padding: var(--spacing-md);
  }
  
  .feature-card__icon {
    width: 56px;
    height: 56px;
  }
  
  .trial-offer__title {
    font-size: 1.5rem;
  }
  
  .trial-offer__description {
    font-size: 1rem;
  }
}

/* ===== ENHANCED SIGNUP SECTION ===== */
.signup {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.signup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

.signup__badge {
  margin-bottom: var(--spacing-lg);
}

.signup__title {
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
}

.signup__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.signup__description strong {
  color: var(--text-white);
  font-weight: var(--font-weight-bold);
}



/* ===== ENHANCED SIGNUP FORM ===== */
.signup__form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.signup__form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-3xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: var(--spacing-xl);
}

.form__header {
  margin-bottom: var(--spacing-xl);
}

.form__title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
}

.form__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.form__group {
  margin-bottom: var(--spacing-xl);
}

.form__input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  transition: var(--transition);
  margin-bottom: var(--spacing-md);
}

.form__input-wrapper:focus-within {
  background: #ffffff;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form__icon {
  position: absolute;
  left: var(--spacing-md);
  z-index: 2;
  pointer-events: none;
}

.form__input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
  border-radius: var(--border-radius);
  background: transparent;
  color: #1f2937 !important;
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  -webkit-text-fill-color: #1f2937 !important;
}

.form__input::placeholder {
  color: var(--text-color-light);
  -webkit-text-fill-color: var(--text-color-light);
}

/* Override browser autofill styles */
.form__input:-webkit-autofill,
.form__input:-webkit-autofill:hover,
.form__input:-webkit-autofill:focus,
.form__input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
  -webkit-text-fill-color: #1f2937 !important;
}

.btn--signup {
  width: 100%;
  justify-content: center;
  gap: var(--spacing-xs);
  background: linear-gradient(135deg, var(--secondary-color), #d97706);
  position: relative;
  overflow: hidden;
}

.btn--signup:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn__icon {
  transition: var(--transition);
}

.btn--signup:hover .btn__icon {
  transform: translateX(2px);
}

/* ===== FORM BENEFITS ===== */
.form__benefits {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.form__benefit {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--small-font-size);
  font-weight: var(--font-weight-medium);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form__benefit:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.form__note {
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  text-align: center;
}

.social-proof__stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.social-proof__stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
  transition: var(--transition);
}

.social-proof__stat:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.social-proof__number {
  display: block;
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-white);
  margin-bottom: var(--spacing-xs);
}

.social-proof__label {
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-medium);
}

/* ===== TESTIMONIALS ===== */
.social-proof__testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 600px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  text-align: left;
}

.testimonial:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.testimonial__content {
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.testimonial__content::before {
  content: '"';
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: -10px;
  left: -10px;
  font-family: serif;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary-color), #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  color: var(--text-white);
  font-size: var(--small-font-size);
}

.testimonial__info {
  display: flex;
  flex-direction: column;
}

.testimonial__name {
  color: var(--text-white);
  font-weight: var(--font-weight-semibold);
  font-size: var(--small-font-size);
}

.testimonial__role {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--smaller-font-size);
}

/* ===== FOOTER ===== */
.footer {
  background: #111827;
  color: #ffffff;
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  width: 40px;
  height: 40px;
  margin-bottom: var(--spacing-sm);
  filter: brightness(0) invert(1);
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
}

.footer__title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
  color: #ffffff;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer__link:hover {
  color: #ffffff;
  padding-left: var(--spacing-xs);
}

.footer__bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--small-font-size);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

/* ===== FORM STATES & ANIMATIONS ===== */
.signup__form-wrapper.submitting {
  opacity: 0.8;
  pointer-events: none;
}

.signup__form-wrapper.submitting .signup__form {
  transform: scale(0.98);
  transition: var(--transition);
}

.signup__form.success-submitted {
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); box-shadow: 0 0 30px rgba(16, 185, 129, 0.3); }
  100% { transform: scale(1); }
}

.form__input-wrapper.focused {
  background: var(--text-white);
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form__input-wrapper.focused .form__input {
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
}

.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 20%, 40%, 60%, 80% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
}

.loading {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Form message styles */
.form-message {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-medium);
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
}

.form-message--success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message--error {
  background: rgba(239, 68, 68, 0.1);
  color: #7f1d1d;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Enhanced button loading state */
.btn--signup .loading circle {
  stroke-dasharray: 37.7;
  stroke-dashoffset: 37.7;
  animation: loading-circle 1.5s ease-in-out infinite;
}

@keyframes loading-circle {
  to {
    stroke-dashoffset: 0;
  }
}

/* Social proof animations */
.social-proof__number {
  transition: all 0.3s ease;
}

.social-proof__stat:hover .social-proof__number {
  transform: scale(1.1);
  color: var(--secondary-color);
}

/* Testimonial hover effects */
.testimonial:hover .testimonial__content::before {
  color: rgba(255, 255, 255, 0.5);
}

.testimonial:hover .testimonial__avatar {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}



/* Enhanced form focus states */
.form__input:focus {
  outline: none;
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
}

.form__input-wrapper:focus-within .form__icon {
  color: var(--secondary-color);
  transform: scale(1.1);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .success-submitted,
  .shake,
  .loading {
    animation: none !important;
  }
  
  .testimonial:hover .testimonial__avatar,
  .social-proof__stat:hover .social-proof__number {
    transform: none;
  }
}

/* ===== PERFORMANCE & BROWSER COMPATIBILITY ===== */
/* Improve font rendering across browsers */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* GPU acceleration for smooth animations */
.feature-card,
.btn,
.nav__menu {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Reduce layout thrashing */
.hero__phone-img,
.nav__logo {
  contain: layout style paint;
}

/* Critical path CSS optimization */
.hero,
.header {
  contain: layout;
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.7);
    --border-color: #000000;
  }
  
  .btn--secondary {
    border-width: 3px;
    font-weight: var(--font-weight-bold);
  }
  
  .feature-card {
    border-width: 2px;
  }
  
  /* Enhanced text contrast for high contrast mode */
  :root {
    --text-color-light: #111827;
    --text-color-medium: #374151;
  }
  
  .feature-card__list li::before,
  .trial-offer__features li::before,
  .form__benefits li::before {
    background: var(--text-color);
    width: 10px;
    height: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero__description,
  .section__description,
  .feature-card__description,
  .trial-offer__description,
  .signup__description,
  .form__description {
    color: var(--text-color-light);
    font-weight: var(--font-weight-medium);
  }
}

/* Focus management for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Enhanced focus indicators */
.keyboard-navigation *:focus {
  outline: 3px solid var(--secondary-color) !important;
  outline-offset: 2px !important;
  border-radius: var(--border-radius-sm);
}

/* Skip links for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--text-white);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  border-radius: var(--border-radius);
  z-index: 9999;
  font-weight: var(--font-weight-semibold);
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* ===== PRINT STYLES ===== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .header,
  .nav__toggle,
  .nav__close,
  .hero__actions,
  .signup,
  .footer,
  .btn {
    display: none !important;
  }
  
  .hero {
    padding: 0;
    background: white;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .feature-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid black;
  }
  
  @page {
    margin: 2cm;
  }
}

/* ===== BROWSER COMPATIBILITY FIXES ===== */
/* Safari-specific fixes */
@supports (-webkit-backdrop-filter: blur(20px)) {
  .header {
    -webkit-backdrop-filter: blur(20px);
  }
  
  .signup__form,
  .testimonial {
    -webkit-backdrop-filter: blur(10px);
  }
}



/* Edge/IE compatibility */
@supports not (backdrop-filter: blur(20px)) {
  .header {
    background: rgba(255, 255, 255, 0.98);
  }
  
  .signup__form {
    background: rgba(74, 107, 124, 0.95);
  }
}

/* ===== FINAL OPTIMIZATIONS ===== */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero__phone::before {
    animation: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --body-color: #0F172A;
    --text-color: #F1F5F9;
    --text-color-light: #94A3B8;
    --text-color-dark: #F8FAFC;
    --container-color: #1E293B;
    --card-color: #334155;
    --border-color: #475569;
  }
  
  .hero {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
  }
  
  /* Ensure footer maintains dark background and light text in dark mode */
  .footer {
    background: #111827;
    color: #ffffff;
  }
  
  .footer__title {
    color: #ffffff;
  }
  
  .footer__link:hover {
    color: #ffffff;
  }
}

/* Improved loading states */
.loading-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Error state styling */
.error-state {
  color: #DC2626;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  text-align: center;
}

/* Success state styling */
.success-state {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  text-align: center;
}

/* Content security */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== FEEDBACK POPUP STYLES ===== */
.feedback-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.feedback-popup-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.feedback-popup {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 85%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  position: relative;
}

.feedback-popup.show {
  transform: scale(1) translateY(0);
}

.feedback-popup__header {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.feedback-popup__icon {
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
}

.feedback-popup__icon svg {
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

.feedback-popup__title {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--spacing-xs) 0;
}

.feedback-popup__subtitle {
  color: #6b7280;
  font-size: var(--normal-font-size);
  margin: 0;
}

.feedback-popup__content {
  padding: var(--spacing-md);
}

.feedback-popup__benefits {
  margin-bottom: var(--spacing-lg);
}

.feedback-benefit {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #f1f5f9;
}

.feedback-benefit:last-child {
  border-bottom: none;
}

.feedback-benefit__icon {
  font-size: 1.25rem;
  width: 30px;
  text-align: center;
}

.feedback-benefit__text {
  color: #1f2937;
  font-weight: var(--font-weight-medium);
}

.feedback-popup__next-steps {
  background: #f8fafc;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-sm);
}

.feedback-popup__next-steps h4 {
  color: #1f2937;
  font-size: var(--small-font-size);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--spacing-xs) 0;
}

.feedback-popup__next-steps ol {
  margin: 0;
  padding-left: var(--spacing-md);
  color: #4b5563;
  font-size: var(--small-font-size);
}

.feedback-popup__next-steps li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.5;
}

.feedback-popup__actions {
  display: flex;
  gap: var(--spacing-sm);
  padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.feedback-popup__actions .btn {
  flex: 1;
  justify-content: center;
  gap: var(--spacing-xs);
}

.feedback-popup__share {
  background: linear-gradient(135deg, #64748b, #475569);
  color: white;
}

.feedback-popup__share:hover {
  background: linear-gradient(135deg, #475569, #334155);
  transform: translateY(-2px);
}

.feedback-popup__close {
  background: linear-gradient(135deg, var(--secondary-color), #d97706);
}

.feedback-popup__close:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-2px);
}

/* Share notification */
.share-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
  z-index: 1000000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  font-weight: var(--font-weight-medium);
}

.share-notification.show {
  transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .feedback-popup {
    width: 95%;
    margin: var(--spacing-md);
  }
  
  .feedback-popup__header {
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  }
  
  .feedback-popup__content {
    padding: var(--spacing-md);
  }
  
  .feedback-popup__actions {
    flex-direction: column;
    padding: 0 var(--spacing-md) var(--spacing-md);
  }
  
  .feedback-popup__title {
    font-size: 1.25rem;
  }
}

/* Animation for popup elements */
@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.feedback-popup.show {
  animation: popupSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Error popup styles */
.error-popup .error-header {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.error-popup .feedback-popup__title {
  color: #DC2626;
}

.error-popup .feedback-popup__subtitle {
  color: #7F1D1D;
}

.error-close {
  background: linear-gradient(135deg, #EF4444, #DC2626);
}

.error-close:hover {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  transform: translateY(-2px);
}

/* Friendly popup styles */
.friendly-popup .friendly-header {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.friendly-popup .feedback-popup__title {
  color: #059669;
}

.friendly-popup .feedback-popup__subtitle {
  color: #065f46;
}

.friendly-close {
  background: linear-gradient(135deg, #10B981, #059669);
}

.friendly-close:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
} /* Cache buster: 1749297946 */
