/* ==========================================================================
   Ratify Square - Modern Coming Soon & Temporary Landing Page (LIGHT MODE)
   Target Platform: Squarespace E-Commerce
   Domain: ratifysquare.com
   ========================================================================== */

/* --- Design Tokens & Color System (Light Mode) --- */
:root {
  --bg-light: #f8fafc;
  --bg-gradient: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-border: rgba(226, 232, 240, 0.9);
  --bg-card-hover: #ffffff;

  --primary-emerald: #059669;
  --primary-emerald-light: #10b981;
  --primary-cyan: #0891b2;
  --primary-blue: #2563eb;
  --primary-purple: #7c3aed;
  --primary-amber: #d97706;
  --primary-rose: #e11d48;

  --gradient-main: linear-gradient(135deg, #059669 0%, #2563eb 50%, #7c3aed 100%);
  --gradient-glow: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(37, 99, 235, 0.15));

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-glow: 0 10px 30px rgba(5, 150, 105, 0.15);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.text-center {
  text-align: center !important;
}

/* --- Ambient Background & Mesh Glows --- */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  animation: pulseSphere 12s infinite alternate ease-in-out;
}

.sphere-1 {
  width: 600px;
  height: 600px;
  background: #a7f3d0;
  top: -150px;
  left: -150px;
}

.sphere-2 {
  width: 650px;
  height: 650px;
  background: #bfdbfe;
  bottom: -200px;
  right: -150px;
  animation-delay: -4s;
}

.sphere-3 {
  width: 450px;
  height: 450px;
  background: #ddd6fe;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes pulseSphere {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.2;
  }

  50% {
    transform: scale(1.15) translate(30px, -20px);
    opacity: 0.35;
  }

  100% {
    transform: scale(0.95) translate(-20px, 30px);
    opacity: 0.2;
  }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.9;
}

/* --- Page Structure --- */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Light Glassmorphic UI Containers --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card-hover);
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg);
  transition: 0.8s;
  pointer-events: none;
}

.btn-glow:hover::after {
  left: 100%;
}

.btn-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* --- Header / Navigation --- */
.navbar {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(5, 150, 105, 0.3));
  border-radius: 8px;
}

.logo-img-sm {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--primary-emerald);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-emerald);
  box-shadow: 0 0 8px var(--primary-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(5, 150, 105, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

/* --- Hero Section --- */
.hero-section {
  padding: 70px 0 80px;
  text-align: center;
}

.hero-container {
  max-width: 900px;
}

.hero-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.badge-icon {
  color: var(--primary-amber);
}

.badge-sparkle {
  color: var(--primary-emerald);
  animation: spinSparkle 4s linear infinite;
}

@keyframes spinSparkle {
  to {
    transform: rotate(360deg);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #0f172a;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* --- Email Subscription Form --- */
.hero-form-wrapper {
  max-width: 650px;
  margin: 0 auto 50px;
}

.subscribe-form {
  margin-bottom: 18px;
}

.input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: var(--transition);
}

.input-group:focus-within {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.2);
}

.input-icon {
  padding: 0 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
}

#emailInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 0;
}

#emailInput::placeholder {
  color: var(--text-dim);
}

.form-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.social-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 10px 20px;
  border-radius: 40px;
  width: fit-content;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.counter-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.highlight-count {
  color: var(--primary-emerald);
  font-weight: 700;
}

/* --- Hero Graphic / Mockup --- */
.hero-visual {
  margin-top: 40px;
  position: relative;
}

.mockup-wrapper {
  position: relative;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background-color: #ef4444;
}

.dot-yellow {
  background-color: #f59e0b;
}

.dot-green {
  background-color: #10b981;
}

.window-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: monospace;
  font-weight: 600;
}

.window-badge {
  font-size: 0.72rem;
  background: #dbeafe;
  color: var(--primary-blue);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Floating Micro Widgets */
.floating-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: floatWidget 6s infinite ease-in-out alternate;
  text-align: left;
}

.widget-rating {
  bottom: 24%;
  left: -20%;
}

.widget-proof {
  bottom: 30%;
  right: -20%;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  animation-delay: -3s;
}

@keyframes floatWidget {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

.widget-stars {
  color: var(--primary-amber);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.widget-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.widget-tag {
  font-size: 0.75rem;
  color: var(--primary-emerald);
  font-weight: 700;
}

.widget-icon {
  font-size: 1.5rem;
}

.widget-body strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.widget-body span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Section Headers & Alignment --- */
.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-emerald);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

/* --- Countdown Timer Section --- */
.countdown-section {
  padding: 60px 0;
}

.timer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.timer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  min-width: 110px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.timer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-main);
}

.timer-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.timer-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 600;
}

.timer-divider {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dim);
}

/* --- Features Section --- */
.features-section {
  padding: 70px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 30px;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-emerald {
  background: #ecfdf5;
  color: var(--primary-emerald);
}

.icon-blue {
  background: #eff6ff;
  color: var(--primary-blue);
}

.icon-purple {
  background: #f5f3ff;
  color: var(--primary-purple);
}

.icon-amber {
  background: #fffbeb;
  color: var(--primary-amber);
}

.icon-cyan {
  background: #ecfeff;
  color: var(--primary-cyan);
}

.icon-rose {
  background: #fff1f2;
  color: var(--primary-rose);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Ultra-Smooth Standard Executive ROI Calculator --- */
.calculator-section {
  padding: 50px 0 80px;
}

.calculator-card {
  padding: 40px;
  background: #ffffff;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

/* Left Column: Sliders */
.calc-controls-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.slider-group {
  display: flex;
  flex-direction: column;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.slider-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-emerald);
  font-size: 1.2rem;
  background: #ecfdf5;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #a7f3d0;
}

.slider-track-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* NOTE: NO CSS TRANSITION ON RANGE SLIDER TO ENSURE BUTTERY 60FPS DRAGGING */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  will-change: background;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-emerald);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
  cursor: grab;
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-emerald);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
  cursor: grab;
}

.slider-minmax {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* Preset Pills */
.preset-pills {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.preset-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.preset-pill:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.preset-pill.active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: var(--primary-emerald);
  font-weight: 700;
}

/* Right Column: Standard Metric Breakdown */
.calc-results-col {
  display: flex;
}

.calc-results-card {
  width: 100%;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 10px 25px rgba(15, 23, 42, 0.04);
}

.metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.highlight-lift {
  color: var(--primary-blue);
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: #e2e8f0;
}

.roi-highlight-box {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.1);
}

.roi-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary-emerald);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.roi-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-emerald);
  line-height: 1;
  margin-bottom: 6px;
}

.roi-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.calc-footer-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.calc-footer-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

.domain-badge {
  display: inline-block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  color: var(--primary-emerald);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 10px;
}

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

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

/* --- Real-Time Social Proof Toast Notification --- */
.live-proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.live-proof-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.9rem;
}

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

.proof-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.proof-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.proof-time {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.proof-badge {
  background: #ecfdf5;
  color: var(--primary-emerald);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  align-self: flex-start;
  border: 1px solid #a7f3d0;
}

/* --- Modal Overlay --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 460px;
  width: 100%;
  padding: 36px;
  text-align: center;
  position: relative;
  background: #ffffff;
  transform: scale(0.9);
  transition: var(--transition);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.modal-content h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.modal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.modal-referral label {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.copy-box {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 1px solid #cbd5e1;
}

.copy-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--primary-emerald);
  font-family: monospace;
  font-weight: 700;
  padding: 0 10px;
  outline: none;
}

.modal-btn {
  width: 100%;
}

/* --- Toast Container --- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #ffffff;
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-emerald);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  font-size: 0.9rem;
  font-weight: 500;
  animation: fadeInRight 0.3s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .floating-widget {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .input-group {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .input-icon {
    display: none;
  }

  #emailInput {
    width: 100%;
    text-align: center;
  }

  .btn-glow {
    width: 100%;
  }

  .timer-grid {
    gap: 8px;
  }

  .timer-card {
    min-width: 70px;
    padding: 14px 10px;
  }

  .timer-value {
    font-size: 2rem;
  }

  .timer-divider {
    font-size: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}