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

/* ==========================================
   1. DESIGN SYSTEM VARIABLES & RESET
   ========================================== */
:root {
  /* Color Palette */
  --color-white: #FFFFFF;
  --color-bg-pure: #FFFFFF;
  --color-bg-soft: #F6F9FC;
  --color-bg-gray: #EEF2F6;
  --color-bg-card: rgba(255, 255, 255, 0.75);
  --color-primary-green: #00C875;
  --color-emerald-accent: #0FAF6F;
  --color-emerald-glow: rgba(0, 200, 117, 0.12);
  --color-border: rgba(0, 0, 0, 0.05);
  --color-border-glow: rgba(0, 200, 117, 0.15);
  
  /* Text Colors */
  --color-text-charcoal: #111111;
  --color-text-gray: #4A505E;
  --color-text-muted: #8792A2;
  
  /* Shadows & Glows */
  --shadow-premium: 0 10px 40px -10px rgba(17, 24, 39, 0.04), 0 1px 3px rgba(17, 24, 39, 0.02);
  --shadow-card: 0 20px 50px -15px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 15px 40px -10px rgba(0, 200, 117, 0.22);
  --shadow-button: 0 8px 24px -6px rgba(0, 200, 117, 0.35);
  --shadow-button-hover: 0 16px 32px -8px rgba(0, 200, 117, 0.5);
  
  /* Fonts */
  --font-family-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout Constants */
  --max-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg-pure);
}

body {
  font-family: var(--font-family-body);
  color: var(--color-text-gray);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--color-bg-soft);
}

/* ==========================================
   2. TYPOGRAPHY & HEADINGS
   ========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-family-display);
  color: var(--color-text-charcoal);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

p {
  font-family: var(--font-family-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-text-gray);
}

/* ==========================================
   3. REUSABLE COMPONENTS & UTILITIES
   ========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Premium Glassmorphic Cards */
.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-card);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -20px rgba(17, 24, 39, 0.08), 0 0 0 1px rgba(0, 200, 117, 0.1);
  border-color: rgba(0, 200, 117, 0.2);
}

/* Buttons */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-emerald-accent) 100%);
  color: var(--color-white);
  font-family: var(--font-family-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.1rem 2.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-button-hover);
}

.btn-premium:hover::after {
  left: 125%;
  opacity: 1;
}

.btn-premium:active {
  transform: translateY(-1px);
}

/* Sections Base Styling */
section {
  padding: 8.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

/* Section Headline Blocks */
.section-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--color-text-gray);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-emerald-glow);
  color: var(--color-emerald-accent);
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--color-border-glow);
  margin-bottom: 1.25rem;
}

/* Ambient Radial Glow Lighting */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 117, 0.07) 0%, rgba(0, 200, 117, 0) 70%);
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
}

/* ==========================================
   4. SECTION 1: CINEMATIC HERO SECTION
   ========================================== */
#hero {
  padding: 10rem 0 8rem 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-soft) 100%);
  display: flex;
  align-items: center;
  min-height: 95vh;
}

#hero .hero-glow-1 {
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(0, 200, 117, 0.09) 0%, rgba(0, 200, 117, 0) 75%);
}

#hero .hero-glow-2 {
  bottom: 5%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 200, 117, 0.05) 0%, rgba(0, 200, 117, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.80fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-content h1 {
  margin-bottom: 1.5rem;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--color-text-charcoal) 60%, #444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .tagline {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-emerald-accent);
  margin-bottom: 1rem;
}

.hero-content p.description {
  font-size: 1.2rem;
  color: var(--color-text-gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Smartphone Mockup Container (Pure HTML/CSS) */
.phone-mockup-wrapper {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 380px;
  perspective: 1000px;
  z-index: 5;
}

.phone-mockup {
  background: #111111;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 100px -20px rgba(17, 24, 39, 0.15), 
              0 0 0 1px rgba(17, 24, 39, 0.8), 
              0 0 20px 2px rgba(0, 200, 117, 0.1);
  border: 4px solid #333333;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  position: relative;
  overflow: hidden;
}

/* Speaker Notch */
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background-color: #111111;
  border-radius: 0 0 16px 16px;
  z-index: 100;
}

.phone-screen {
  background-color: var(--color-bg-soft);
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow-y: hidden;
  position: relative;
  padding: 2.5rem 0.85rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Inside Mockup Interface Elements */
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
  margin-top: -0.5rem;
}

.phone-logo {
  font-family: var(--font-family-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-text-charcoal);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.phone-logo span {
  color: var(--color-primary-green);
}

.phone-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 200, 117, 0.1);
  color: var(--color-primary-green);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

.phone-live-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--color-primary-green);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

/* Mock Match Card */
.mock-match-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.02);
  transition: var(--transition-smooth);
}

.mock-match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.05);
  border-color: rgba(0, 200, 117, 0.15);
}

.mock-match-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.mock-teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.mock-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-charcoal);
}

.mock-score {
  font-family: var(--font-family-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-charcoal);
  letter-spacing: 0.1em;
}

/* Floating Widgets surrounding phone */
.floating-widget {
  position: absolute;
  z-index: 15;
  animation: float 6s ease-in-out infinite;
}

.float-w-1 {
  top: 15%;
  left: -20%;
  animation-delay: 0s;
}

.float-w-2 {
  bottom: 20%;
  right: -15%;
  animation-delay: 2s;
}

.mini-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.mini-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(17, 24, 39, 0.08);
  border-color: rgba(0, 200, 117, 0.25);
}

.mini-card-icon {
  width: 36px;
  height: 36px;
  background-color: var(--color-emerald-glow);
  color: var(--color-primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-card-text p:first-child {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.mini-card-text p:last-child {
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-charcoal);
}

/* ==========================================
   5. SECTION 2: LIVE MATCH EXPERIENCE
   ========================================== */
#live-experience {
  background-color: var(--color-bg-pure);
}

#live-experience .glow-1 {
  bottom: -10%;
  right: -5%;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

/* Dashboard Console Grid */
.dashboard-console {
  background-color: var(--color-bg-soft);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.dashboard-console:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(17, 24, 39, 0.08), 0 0 0 1px rgba(0, 200, 117, 0.05);
  border-color: rgba(0, 200, 117, 0.15);
}

.console-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.console-tab {
  background: none;
  border: none;
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.console-tab svg {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
}

.console-tab.active {
  background-color: var(--color-white);
  color: var(--color-emerald-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 200, 117, 0.1);
}

.console-tab:hover:not(.active) {
  color: var(--color-text-charcoal);
  background-color: var(--color-bg-gray);
}

/* Active Match Widget */
.match-widget-view {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.match-widget-view.active {
  display: block;
}

.widget-score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
}

.widget-team-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.widget-team-box.home {
  align-items: flex-end;
}

.widget-team-box.away {
  align-items: flex-start;
}

.team-name {
  font-family: var(--font-family-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-charcoal);
}

.team-badge-circle {
  width: 44px;
  height: 44px;
  background-color: var(--color-bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.widget-middle-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

.widget-score-numbers {
  font-family: var(--font-family-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text-charcoal);
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.widget-match-timer {
  background-color: rgba(0, 200, 117, 0.08);
  color: var(--color-primary-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* Statistics Progress Section */
.widget-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  background: var(--color-white);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-charcoal);
}

.stat-header span:nth-child(2) {
  color: var(--color-text-muted);
  font-weight: 500;
}

.stat-track {
  height: 6px;
  background-color: var(--color-bg-gray);
  border-radius: 100px;
  overflow: hidden;
  display: flex;
}

.stat-fill-home {
  height: 100%;
  background-color: var(--color-primary-green);
  border-radius: 100px 0 0 100px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-fill-away {
  height: 100%;
  background-color: var(--color-text-charcoal);
  border-radius: 0 100px 100px 0;
  margin-left: auto;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Momentum SVG Graph */
.momentum-graph-box {
  margin-top: 1.25rem;
  background: var(--color-white);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.momentum-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-charcoal);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.momentum-title span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.momentum-svg-wrapper {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
}

.momentum-centerline {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px dashed var(--color-border);
  z-index: 1;
}

/* ==========================================
   6. SECTION 3: SPORTS ANALYTICS SECTION
   ========================================== */
#analytics {
  background-color: var(--color-bg-soft);
}

#analytics .glow-1 {
  top: -10%;
  left: -5%;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.analytics-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.analytics-card {
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.analytics-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -20px rgba(17, 24, 39, 0.08), 0 0 0 1px rgba(0, 200, 117, 0.1);
  border-color: rgba(0, 200, 117, 0.2);
}

.analytics-card.full-width {
  grid-column: span 2;
}

.analytics-card-title {
  font-family: var(--font-family-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-charcoal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Circular Gauge Widget */
.probability-dial-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  position: relative;
}

.gauge-svg {
  width: 150px;
  height: 150px;
  transform: rotate(-90deg);
}

.gauge-track {
  fill: none;
  stroke: var(--color-bg-gray);
  stroke-width: 12px;
}

.gauge-fill {
  fill: none;
  stroke: var(--color-primary-green);
  stroke-width: 12px;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 220; /* Dynamically modified in script.js */
  transition: stroke-dashoffset 1s ease-in-out;
}

.gauge-container {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.gauge-percentage-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.gauge-val {
  font-family: var(--font-family-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text-charcoal);
}

.gauge-lbl {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.probability-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

.prob-lbl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prob-lbl-name {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.prob-lbl-val {
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-charcoal);
}

/* History Streak Indicators */
.streak-wrapper {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.streak-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
}

.streak-dot.win {
  background-color: var(--color-primary-green);
}

.streak-dot.draw {
  background-color: #8E95A5;
}

.streak-dot.loss {
  background-color: #FF5A5F;
}

/* Modern Analytics Dashboard Grid Visual */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table tr {
  transition: var(--transition-fast);
}

.comparison-table tr:hover td {
  background-color: rgba(0, 200, 117, 0.03);
  color: var(--color-text-charcoal);
}

.comparison-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table td {
  padding: 0.85rem 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-gray);
  border-bottom: 1px solid rgba(0,0,0,0.02);
  font-weight: 500;
  transition: var(--transition-fast);
}

.comparison-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--color-primary-green);
}

/* ==========================================
   7. SECTION 4: MOBILE EXPERIENCE SECTION
   ========================================== */
#mobile-experience {
  background-color: var(--color-white);
}

#mobile-experience .glow-1 {
  top: 20%;
  right: -5%;
  background: radial-gradient(circle, rgba(0, 200, 117, 0.09) 0%, rgba(0, 200, 117, 0) 70%);
}

.mobile-mockup-container {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
}

.mobile-mockup-container .phone-mockup-wrapper {
  margin: 0 auto;
}

/* Floating widgets styled separately for Section 4 */
.sec4-float {
  position: absolute;
  z-index: 10;
  animation: float 7s ease-in-out infinite;
}

.sec4-w-1 {
  top: 15%;
  left: -15%;
  animation-delay: 1s;
}

.sec4-w-2 {
  top: 45%;
  right: -25%;
  animation-delay: 3s;
}

.sec4-w-3 {
  bottom: 15%;
  left: -20%;
  animation-delay: 0.5s;
}

/* ==========================================
   8. SECTION 5: TRUST & COMMUNITY SECTION
   ========================================== */
#trust-community {
  background-color: var(--color-bg-soft);
}

#trust-community .glow-1 {
  bottom: -15%;
  left: 5%;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.trust-item-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-premium);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.trust-item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 117, 0.18);
  box-shadow: 0 25px 50px -15px rgba(17, 24, 39, 0.06);
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  background-color: var(--color-emerald-glow);
  color: var(--color-emerald-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border-glow);
}

.trust-icon-box svg {
  width: 24px;
  height: 24px;
}

.trust-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-card-content p {
  font-size: 0.95rem;
  color: var(--color-text-gray);
}

/* ==========================================
   9. SECTION 6: FINAL CTA SECTION
   ========================================== */
#final-cta {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-soft) 100%);
  padding: 10rem 0;
}

#final-cta .glow-1 {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 200, 117, 0.12) 0%, rgba(0, 200, 117, 0) 70%);
}

.final-cta-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 36px;
  padding: 5rem 3rem;
  box-shadow: 0 40px 100px -30px rgba(17, 24, 39, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 200, 117, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-content {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.final-cta-content h2 {
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.final-cta-content p.subtitle {
  font-family: var(--font-family-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-emerald-accent);
  margin-bottom: 1.5rem;
}

.final-cta-content p.description {
  font-size: 1.15rem;
  color: var(--color-text-gray);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-btn-box {
  margin-bottom: 3.5rem;
}

.final-cta-btn-box .btn-premium {
  font-size: 1.25rem;
  padding: 1.3rem 3.5rem;
  box-shadow: 0 12px 30px -4px rgba(0, 200, 117, 0.4);
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-charcoal);
}

.trust-badge-item svg {
  color: var(--color-primary-green);
  width: 18px;
  height: 18px;
}

/* ==========================================
   10. INTERACTION & ANIMATION STYLES
   ========================================== */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
  0% { transform: scale(0.92); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(0.92); opacity: 0.6; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Fade Up Animation Classes */
.reveal-element {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Footer disclaimer for realistic landing page look */
footer {
  background-color: var(--color-bg-soft);
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

footer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================
   11. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
    text-align: center;
  }
  
  .hero-content p.description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .split-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .analytics-panel {
    grid-template-columns: 1fr;
  }
  
  .analytics-card.full-width {
    grid-column: span 1;
  }
  
  .floating-widget, .sec4-float {
    display: none; /* Hide floating dashboard widgets on tablet/mobile to focus screen real estate */
  }
  
  .final-cta-wrapper {
    padding: 4rem 1.5rem;
  }
  
  .final-cta-content h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.75rem; }
  
  .btn-premium {
    width: 100%;
    padding: 1rem 2rem;
  }
  
  .widget-score-header {
    padding: 1rem;
  }
  
  .team-name {
    font-size: 0.95rem;
  }
  
  .widget-score-numbers {
    font-size: 1.75rem;
  }
  
  .trust-badges-row {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
