/* ========================================
   ZEFINX PREMIUM FINTECH THEME
   Dark luxury + Glassmorphism + Glow
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --bg-dark: #0B0B0F;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  --primary: #FF3B3B;
  --primary-dark: #cc2f2f;
  --accent: #FFD700;
  --accent-dim: rgba(255, 215, 0, 0.15);
  --gradient-cta: linear-gradient(135deg, #FF3B3B 0%, #FFD700 100%);
  --gradient-text: linear-gradient(135deg, #FF3B3B 0%, #FFD700 100%);
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(255, 59, 59, 0.18) 0%, transparent 60%);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.40);
  --font-heading: 'Inter', 'Jost', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-glow: 0 0 40px rgba(255, 59, 59, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
  --spacing-2xl: 96px;
}

/* --- Global Reset & Base --- */
.homepage-premium,
.homepage-premium *,
.homepage-premium *::before,
.homepage-premium *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

.homepage-premium {
  background: var(--bg-dark);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.homepage-premium h1,
.homepage-premium h2,
.homepage-premium h3,
.homepage-premium h4,
.homepage-premium h5,
.homepage-premium h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--spacing-sm);
}

.homepage-premium h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.homepage-premium h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.homepage-premium h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.homepage-premium h4 { font-size: 1.25rem; }

.homepage-premium p {
  margin: 0 0 var(--spacing-sm);
  color: var(--text-secondary);
}

.homepage-premium a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.homepage-premium a:hover {
  color: var(--accent);
}

.homepage-premium img {
  max-width: 100%;
  height: auto;
}

/* --- Utility Classes --- */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.section-wrapper {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

/* --- Premium Container --- */
.premium-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ========================================
   NAVBAR
   ======================================== */
.premium-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  background: rgba(11, 11, 15, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition), box-shadow var(--transition);
}

.premium-navbar.scrolled {
  background: rgba(11, 11, 15, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.premium-navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.premium-navbar .nav-logo img {
  height: 48px;
  width: auto;
  filter: brightness(1.1);
}

.premium-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.premium-navbar .nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

.premium-navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: 1px;
  transition: width var(--transition);
}

.premium-navbar .nav-links a:hover,
.premium-navbar .nav-links a.active {
  color: var(--text-primary);
}

.premium-navbar .nav-links a:hover::after,
.premium-navbar .nav-links a.active::after {
  width: 100%;
}

/* Dropdown */
.premium-navbar .nav-dropdown {
  position: relative;
}

.premium-navbar .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(20, 20, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--spacing-xs) 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.premium-navbar .nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.premium-navbar .nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.premium-navbar .nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.premium-navbar .nav-dropdown-menu a::after {
  display: none;
}

.premium-navbar .dropdown-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 4px 16px;
}

.premium-navbar .dropdown-header {
  padding: 8px 20px 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.premium-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 116px;
  overflow: hidden;
}

/* Animated glow background */
.premium-hero .hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.premium-hero .hero-glow::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.12) 0%, transparent 70%);
  will-change: opacity;
  animation: heroGlow1 8s ease-in-out infinite alternate;
}

.premium-hero .hero-glow::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
  will-change: opacity;
  animation: heroGlow2 10s ease-in-out infinite alternate;
}

@keyframes heroGlow1 {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes heroGlow2 {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Grid pattern overlay */
.premium-hero .hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.premium-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.premium-hero .hero-text {
  max-width: 600px;
}

.premium-hero .hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.premium-hero .hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 520px;
}

.premium-hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

/* Floating dashboard preview */
.premium-hero .hero-visual {
  position: relative;
}

.hero-dashboard {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 59, 0.5), var(--accent), transparent);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--border-glass);
}

.dashboard-header .dash-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-header .dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #00E676;
}

.dashboard-header .dash-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E676;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Fake chart SVG */
.dashboard-chart {
  width: 100%;
  height: 160px;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.dashboard-chart svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 59, 59, 0.4));
}

.chart-area {
  fill: url(#chartGradient);
  opacity: 0.3;
}

.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
}

/* Dashboard stats row */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.dash-stat {
  text-align: center;
  padding: var(--spacing-xs);
}

.dash-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.dash-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-stat-value.positive {
  color: #00E676;
}

.dash-stat-value.accent {
  color: var(--accent);
}

/* Floating card elements */
.float-card {
  position: absolute;
  background: rgba(20, 20, 28, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 3;
  will-change: transform;
  animation: float 6s ease-in-out infinite;
}

.float-card-1 {
  top: -16px;
  right: 0;
}

.float-card-2 {
  bottom: -16px;
  left: 0;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card .fc-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.float-card .fc-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.float-card .fc-value.green { color: #00E676; }
.float-card .fc-value.red { color: var(--primary); }

/* ========================================
   BUTTONS
   ======================================== */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-premium-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 59, 59, 0.3);
}

.btn-premium-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 59, 59, 0.45);
  color: #fff;
}

.btn-premium-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass-hover);
}

.btn-premium-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: var(--text-primary);
}

/* ========================================
   GLASS CARDS
   ======================================== */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, rgba(255, 59, 59, 0.04) 0%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

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

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.service-premium-card {
  position: relative;
}

.service-premium-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 1.4rem;
  color: #fff;
}

.service-premium-card h4 {
  margin-bottom: var(--spacing-xs);
}

.service-premium-card p {
  font-size: 0.92rem;
  margin-bottom: var(--spacing-sm);
}

.service-premium-card .card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.service-premium-card .card-link:hover {
  gap: 10px;
  color: var(--accent);
}

/* ========================================
   FEATURES / WHY US
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature-item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.feature-item .fi-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 59, 59, 0.1);
  border: 1px solid rgba(255, 59, 59, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  pointer-events: none;
}

.about-tabs {
  display: flex;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.about-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.about-tab-btn.active,
.about-tab-btn:hover {
  background: var(--gradient-cta);
  border-color: transparent;
  color: #fff;
}

.about-tab-content {
  display: none;
}

.about-tab-content.active {
  display: block;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.pillar-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.pillar-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ========================================
   DASHBOARD PREVIEW SECTION
   ======================================== */
.dashboard-preview-section {
  position: relative;
  overflow: hidden;
}

.dashboard-preview-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 59, 59, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.dashboard-mockup {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mockup-window {
  background: rgba(15, 15, 22, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
}

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

.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FEBC2E; }
.mockup-dot.green { background: #28C840; }

.mockup-body {
  padding: var(--spacing-md);
}

.mockup-chart-area {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  margin-bottom: var(--spacing-sm);
  position: relative;
  overflow: hidden;
}

.mockup-chart-area svg {
  width: 100%;
  height: 100%;
}

.mockup-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
}

.mockup-metric {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  text-align: center;
}

.mockup-metric .mm-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.mockup-metric .mm-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mockup-metric .mm-value.green { color: #00E676; }
.mockup-metric .mm-value.red { color: var(--primary); }
.mockup-metric .mm-value.gold { color: var(--accent); }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.testimonial-card {
  padding: var(--spacing-lg);
}

.testimonial-card .tc-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.testimonial-card .tc-quote::before {
  content: '"';
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.testimonial-card .tc-author {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-card .tc-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  align-items: stretch;
}

.pricing-card {
  padding: var(--spacing-lg);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(255, 59, 59, 0.3);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
  overflow: visible;
}

.pricing-card.featured::before {
  background: linear-gradient(90deg, transparent, rgba(255, 59, 59, 0.4), transparent);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  background: var(--gradient-cta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card .plan-name {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card .plan-price {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-card .plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg);
  text-align: left;
}

.pricing-card .plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card .plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ========================================
   BLOG / INSIGHTS
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.blog-card h4 {
  font-size: 1.05rem;
  margin-bottom: var(--spacing-xs);
}

.blog-card p {
  font-size: 0.88rem;
}

.blog-card .blog-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card .blog-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
  position: relative;
  padding: var(--spacing-2xl) 0;
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.08) 0%, rgba(255, 215, 0, 0.04) 50%, transparent 100%);
}

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

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: var(--spacing-sm);
}

.final-cta p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.trust-card {
  text-align: center;
}

.trust-card i {
  font-size: 1.8rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
  display: block;
}

.trust-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.premium-footer {
  background: rgba(5, 5, 8, 0.8);
  border-top: 1px solid var(--border-glass);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-brand .nav-logo img {
  height: 40px !important;
  width: auto;
  max-width: 140px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 0.95rem;
}

.footer-social a:hover {
  background: var(--gradient-cta);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-payments {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-payments .pay-icon {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========================================
   FLOATING BUTTONS
   Stacked above the chatbot widget (which sits at bottom:16px right:16px)
   ======================================== */
.floating-btns {
  position: fixed;
  bottom: 88px; /* 16px chatbot bottom + 56px toggle + 16px gap */
  right: 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fab-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.fab-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.fab-phone {
  background: #0A84FF;
  box-shadow: 0 4px 20px rgba(10, 132, 255, 0.35);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   RESPONSIVE
   ======================================== */

/* --- Prevent horizontal overflow globally --- */
.homepage-premium {
  overflow-x: hidden;
  width: 100%;
}

.homepage-premium *,
.homepage-premium *::before,
.homepage-premium *::after {
  max-width: 100%;
}

/* Exclude SVGs and explicitly sized elements from max-width override */
.homepage-premium svg,
.homepage-premium svg * {
  max-width: none;
}

/* hide body scroll when mobile nav open */
.homepage-premium.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .phone-call,
body.nav-open .whatsapp-chat,
body.nav-open .whatsapp-chat-box,
body.nav-open .chatbot-icon,
body.nav-open [class*="floating"],
body.nav-open [class*="whatsapp"],
body.nav-open [class*="phone-call"] {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease !important;
}

/* hide desktop CTA on mobile, show on desktop */
.nav-cta-desktop {
  display: block;
}

.nav-cta-mobile {
  display: none !important;
}

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .premium-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .premium-hero .hero-text {
    max-width: 100%;
  }

  .premium-hero .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .premium-hero .hero-buttons {
    justify-content: center;
  }

  .premium-hero .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .float-card { display: none; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .blog-grid,
  .pricing-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .mockup-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 40px;
    --spacing-2xl: 56px;
  }

  /* Container padding tighter on mobile */
  .premium-container {
    padding: 0 16px;
  }

  /* Section wrapper less padding */
  .section-wrapper {
    padding: var(--spacing-xl) 0;
  }

  /* --- Navbar mobile --- */
  .nav-cta-desktop {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    z-index: 1051;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #cc2f2f);
    box-shadow: 0 3px 12px rgba(255, 59, 59, 0.35);
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  }

  .nav-hamburger:active {
    transform: scale(0.9);
    box-shadow: 0 1px 6px rgba(255, 59, 59, 0.3);
  }

  .nav-hamburger span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s, width 0.25s;
  }

  .nav-hamburger span:nth-child(1) { transform: translateY(-5.5px); }
  .nav-hamburger span:nth-child(2) { transform: translateY(0); width: 14px; }
  .nav-hamburger span:nth-child(3) { transform: translateY(5.5px); }

  .nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    width: 18px;
  }

  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    width: 18px;
  }

  .premium-navbar .nav-inner {
    padding: 0 16px;
  }

  .premium-navbar .nav-logo img {
    height: 36px !important;
  }

  /* ── Drawer Header (logo + close) ── */
  .premium-navbar .nav-links .drawer-header-item {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 0;
    margin: -80px -12px 0.5rem;
    list-style: none;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .premium-navbar .nav-links .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: rgba(15, 15, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .premium-navbar .drawer-logo img {
    height: 36px;
    width: auto;
  }

  .premium-navbar .drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 59, 59, 0.3);
    background: rgba(255, 59, 59, 0.1);
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--primary);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
  }

  .premium-navbar .drawer-close:active {
    transform: scale(0.88);
    background: rgba(255, 59, 59, 0.2);
  }

  /* ── Drawer panel (right slide) ── */
  .premium-navbar .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(330px, 86vw);
    background: rgba(15, 15, 22, 0.94);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      -20px 0 60px rgba(0, 0, 0, 0.4),
      -4px 0 16px rgba(0, 0, 0, 0.2),
      inset 1px 0 0 rgba(255, 255, 255, 0.06);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 1050;
    padding: 80px 12px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(102%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
  }

  .premium-navbar .nav-links.open {
    transform: translateX(0);
  }

  /* Scrollbar */
  .premium-navbar .nav-links::-webkit-scrollbar { width: 3px; }
  .premium-navbar .nav-links::-webkit-scrollbar-track { background: transparent; }
  .premium-navbar .nav-links::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }

  /* ── Overlay ── */
  .premium-navbar .nav-links::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .premium-navbar .nav-links.open::before {
    opacity: 1;
    pointer-events: auto;
  }

  /* ── Item stagger animations ── */
  .premium-navbar .nav-links > li {
    opacity: 0;
    transform: translateX(24px) scale(0.96);
    transition: none;
  }

  .premium-navbar .nav-links.open > li {
    animation: premNavItemIn 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  .premium-navbar .nav-links.open > li:nth-child(2)  { animation-delay: 0.05s; }
  .premium-navbar .nav-links.open > li:nth-child(3)  { animation-delay: 0.08s; }
  .premium-navbar .nav-links.open > li:nth-child(4)  { animation-delay: 0.11s; }
  .premium-navbar .nav-links.open > li:nth-child(5)  { animation-delay: 0.14s; }
  .premium-navbar .nav-links.open > li:nth-child(6)  { animation-delay: 0.17s; }
  .premium-navbar .nav-links.open > li:nth-child(7)  { animation-delay: 0.20s; }
  .premium-navbar .nav-links.open > li:nth-child(8)  { animation-delay: 0.23s; }
  .premium-navbar .nav-links.open > li:nth-child(9)  { animation-delay: 0.26s; }
  .premium-navbar .nav-links.open > li:nth-child(10) { animation-delay: 0.29s; }
  .premium-navbar .nav-links.open > li:nth-child(11) { animation-delay: 0.32s; }

  @keyframes premNavItemIn {
    0% { opacity: 0; transform: translateX(24px) scale(0.96); }
    60% { opacity: 1; transform: translateX(-2px) scale(1.005); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
  }

  /* ── Nav links styling ── */
  .premium-navbar .nav-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.72rem 0.85rem;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
    transition: background 0.22s, color 0.22s, transform 0.18s;
    -webkit-tap-highlight-color: transparent;
  }

  .premium-navbar .nav-links a:hover,
  .premium-navbar .nav-links a:focus-visible {
    background: rgba(255, 59, 59, 0.08);
    color: var(--primary);
  }

  .premium-navbar .nav-links a:active {
    transform: scale(0.97);
    background: rgba(255, 59, 59, 0.12);
    transition-duration: 0.08s;
  }

  .premium-navbar .nav-links a.active {
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.12), rgba(255, 59, 59, 0.06));
    color: var(--primary);
    position: relative;
  }

  .premium-navbar .nav-links a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
  }

  .premium-navbar .nav-links a::after {
    display: none;
  }

  /* ── Dropdown inside drawer ── */
  .premium-navbar .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding: 0 0.4rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .premium-navbar .nav-dropdown.mob-open .nav-dropdown-menu {
    max-height: 600px;
  }

  .premium-navbar .nav-dropdown-menu a {
    font-size: 0.85rem;
    padding: 0.55rem 0.85rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
  }

  .premium-navbar .nav-dropdown-menu a:hover {
    color: var(--primary);
    background: rgba(255, 59, 59, 0.06);
  }

  /* ── Mobile CTA ── */
  .nav-cta-mobile {
    display: block !important;
    margin-top: 0.5rem;
    padding: 0 0.4rem;
  }

  .nav-cta-mobile .btn-premium {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #cc2f2f) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(255, 59, 59, 0.3);
    transition: transform 0.15s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
  }

  .nav-cta-mobile .btn-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
  }

  .nav-cta-mobile .btn-premium:active {
    transform: scale(0.97);
  }

  /* --- Hero mobile --- */
  .premium-hero {
    min-height: auto;
    padding: 128px 0 48px;
  }

  /* Disable heavy glow animations on mobile to prevent jank */
  .premium-hero .hero-glow::before,
  .premium-hero .hero-glow::after {
    animation: none;
  }

  .premium-hero .hero-grid {
    display: none;
  }

  .premium-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-lg);
    padding: 0 16px;
    overflow: visible;
  }

  .premium-hero .hero-text {
    max-width: 100%;
  }

  .premium-hero .hero-headline {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .premium-hero .hero-sub {
    font-size: 1rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .premium-hero .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .premium-hero .hero-visual {
    max-width: 100%;
    margin: 0 auto;
  }

  .float-card {
    display: none;
  }

  .section-tag {
    font-size: 0.7rem;
    padding: 6px 14px;
    letter-spacing: 0.06em;
  }

  /* --- Buttons mobile --- */
  .btn-premium {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9rem;
    text-align: center;
  }

  /* --- Stats mobile --- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .stat-number {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  /* --- Grids single column on mobile --- */
  .services-grid,
  .blog-grid,
  .trust-grid,
  .seo-links-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .features-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .accountability-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  /* --- Cards mobile --- */
  .glass-card {
    padding: 20px;
    border-radius: var(--radius-md);
  }

  .testimonial-card {
    padding: 20px;
  }

  /* --- Dashboard mockup mobile --- */
  .dashboard-mockup {
    margin-left: 0;
    margin-right: 0;
  }

  .mockup-body {
    padding: 12px;
  }

  .mockup-chart-area {
    height: 160px;
  }

  .mockup-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .mockup-metric {
    padding: 10px 8px;
  }

  .mockup-metric .mm-value {
    font-size: 1.1rem;
  }

  .mockup-metric .mm-label {
    font-size: 0.65rem;
  }

  /* --- Hero dashboard card on mobile --- */
  .hero-dashboard {
    padding: 16px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .dash-stat-value {
    font-size: 1.05rem;
  }

  .dash-stat-label {
    font-size: 0.65rem;
  }

  /* --- Footer mobile --- */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-social {
    justify-content: center;
  }

  /* --- Final CTA mobile --- */
  .final-cta {
    padding: var(--spacing-xl) 0;
  }

  .final-cta p {
    font-size: 0.95rem;
  }

  /* --- Floating buttons mobile --- */
  .floating-btns {
    bottom: 82px; /* chatbot bottom 16px + 56px toggle + 10px gap */
    right: 16px;
    gap: 10px;
  }

  .fab-btn {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  /* --- Footer logo mobile --- */
  .footer-brand .nav-logo img {
    height: 34px !important;
    max-width: 120px;
  }

  /* --- Pricing mobile --- */
  .pricing-card.featured {
    transform: none;
  }
}

/* --- Small phones (max-width: 480px) --- */
@media (max-width: 480px) {
  .premium-container {
    padding: 0 12px;
  }

  .premium-hero {
    padding: 118px 0 40px;
  }

  .premium-hero .hero-content {
    padding: 0 12px;
  }

  .premium-hero .hero-headline {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .premium-hero .hero-sub {
    font-size: 0.92rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 16px 8px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .mockup-metrics {
    grid-template-columns: 1fr;
  }

  .about-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .about-tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  h2 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .glass-card {
    padding: 16px;
  }
}

/* Fresh Activity / SEO Cards */
.seo-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .seo-links-grid {
    grid-template-columns: 1fr;
  }
}

.seo-link-card h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

.seo-link-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-link-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-glass);
}

.seo-link-card ul li:last-child {
  border-bottom: none;
}

.seo-link-card ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.seo-link-card ul li a:hover {
  color: var(--primary);
}

/* Accountability / Identity section */
.accountability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .accountability-grid {
    grid-template-columns: 1fr;
  }
}

.accountability-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accountability-grid ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.accountability-grid ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

.accountability-grid ul li:last-child {
  border-bottom: none;
}
