/* ============================================================
   ChittaP — Premium Dark SaaS Landing Page
   A modern communication platform landing page.
   ============================================================ */

/* ---------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   --------------------------------------------------------- */
:root {
  --primary: #00A884;
  --primary-hover: #06CF9C;
  --primary-glow: rgba(0, 168, 132, 0.3);
  --background: #0B141A;
  --panel: #111B21;
  --sidebar: #202C33;
  --text: #E9EDEF;
  --secondary: #8696A0;
  --gold: #FFB800;
  --purple: #7C4DFF;
  --border: rgba(134, 150, 160, 0.15);
  --glass-bg: rgba(17, 27, 33, 0.7);
  --glass-border: rgba(134, 150, 160, 0.1);

  /* Derived / utility tokens */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 8px 32px var(--primary-glow);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------------------------------------------------------
   1. RESET & BASE
   --------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Selection */
::selection {
  background: var(--primary);
  color: var(--background);
}

::-moz-selection {
  background: var(--primary);
  color: var(--background);
}

/* Focus styles — accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Custom scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--sidebar);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--sidebar) var(--background);
}

/* ---------------------------------------------------------
   2. LAYOUT UTILITIES
   --------------------------------------------------------- */
.section {
  padding: 100px 24px;
  position: relative;
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0, 168, 132, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 168, 132, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   3. BUTTONS
   --------------------------------------------------------- */
.btn-primary,
.btn-secondary,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 168, 132, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 30px rgba(6, 207, 156, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(32, 44, 51, 0.8);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #FFC940);
  color: #0B141A;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 6px 30px rgba(255, 184, 0, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active,
.btn-secondary:active,
.btn-gold:active {
  transform: translateY(0);
}

/* ---------------------------------------------------------
   4. GLASS CARD
   --------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px;
  transition: all var(--transition);
}

.glass-card:hover {
  border-color: rgba(0, 168, 132, 0.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* ---------------------------------------------------------
   5. SCROLL REVEAL
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

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

/* Staggered children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.30s; }

/* ---------------------------------------------------------
   6. KEYFRAME ANIMATIONS
   --------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
  50%      { box-shadow: 0 0 40px var(--primary-glow), 0 0 60px rgba(0, 168, 132, 0.15); }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes waveform {
  0%, 100% { height: 4px; }
  50%      { height: 18px; }
}

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

@keyframes blink-tick {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* ---------------------------------------------------------
   7. NAVBAR
   --------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 24px;
  background: rgba(11, 20, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 20, 26, 0.92);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 12px 24px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 24px;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-buttons .btn-primary,
.nav-buttons .btn-secondary {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------------------------------------------------
   8. HERO
   --------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 168, 132, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(124, 77, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(255, 184, 0, 0.04) 0%, transparent 70%);
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero gradient orbs */
.hero-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-gradient:nth-child(1) {
  width: 500px;
  height: 500px;
  background: rgba(0, 168, 132, 0.12);
  top: -10%;
  left: -5%;
  animation: gradient-shift 12s ease-in-out infinite;
}

.hero-gradient:nth-child(2) {
  width: 400px;
  height: 400px;
  background: rgba(124, 77, 255, 0.08);
  bottom: 0;
  right: -5%;
  animation: gradient-shift 15s ease-in-out infinite reverse;
}

.hero-gradient:nth-child(3) {
  width: 300px;
  height: 300px;
  background: rgba(255, 184, 0, 0.06);
  top: 50%;
  left: 40%;
  animation: gradient-shift 18s ease-in-out infinite 3s;
}

/* Left content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 50%, #00D4AA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--secondary);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

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

.hero-stat .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stat .stat-number span {
  color: var(--primary);
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Right — phone mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.phone-frame {
  width: 300px;
  height: 620px;
  background: var(--panel);
  border-radius: 40px;
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 30px rgba(0, 0, 0, 0.2);
}

/* Notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--background);
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

/* Status bar dots */
.phone-frame::after {
  content: '● ● ●';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4px;
  color: var(--secondary);
  letter-spacing: 6px;
  z-index: 11;
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Phone header bar */
.phone-screen .screen-header {
  padding: 40px 16px 12px;
  background: var(--sidebar);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.screen-header .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.screen-header .user-info {
  flex: 1;
}

.screen-header .user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.screen-header .user-status {
  font-size: 0.65rem;
  color: var(--primary);
}

/* Messages */
.phone-screen .messages {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 168, 132, 0.03) 0%, transparent 50%),
    var(--background);
}

.chat-message {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  line-height: 1.5;
  position: relative;
  animation: slide-up 0.5s ease-out both;
}

.chat-message.received {
  align-self: flex-start;
  background: var(--sidebar);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.chat-message.sent {
  align-self: flex-end;
  background: var(--primary);
  border-bottom-right-radius: 4px;
  color: #fff;
}

.chat-message .message-time {
  display: block;
  font-size: 0.55rem;
  opacity: 0.6;
  text-align: right;
  margin-top: 4px;
}

.chat-message .message-ticks {
  font-size: 0.6rem;
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.chat-message .message-ticks.read {
  color: #53BDEB;
}

/* Typing indicator */
.typing-indicator {
  align-self: flex-start;
  background: var(--sidebar);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  padding: 10px 16px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.3s;
}

/* Voice note in phone */
.voice-note {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice-note .play-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
}

.voice-note .waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}

.voice-note .waveform span {
  width: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: waveform 0.8s ease-in-out infinite;
}

.voice-note .waveform span:nth-child(1) { height: 6px; animation-delay: 0s; }
.voice-note .waveform span:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.voice-note .waveform span:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.voice-note .waveform span:nth-child(4) { height: 16px; animation-delay: 0.3s; }
.voice-note .waveform span:nth-child(5) { height: 10px; animation-delay: 0.4s; }
.voice-note .waveform span:nth-child(6) { height: 14px; animation-delay: 0.5s; }
.voice-note .waveform span:nth-child(7) { height: 6px; animation-delay: 0.6s; }

.voice-note .duration {
  font-size: 0.6rem;
  opacity: 0.6;
  white-space: nowrap;
}

/* Media message */
.media-message {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--sidebar), var(--panel));
  border-radius: 8px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.media-message::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

/* Phone input bar */
.phone-screen .screen-input {
  padding: 8px 12px;
  background: var(--panel);
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.screen-input .input-field {
  flex: 1;
  height: 32px;
  background: var(--sidebar);
  border-radius: 16px;
  border: none;
  padding: 0 14px;
  font-size: 0.7rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
}

.screen-input .send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}

/* Floating decorative elements */
.hero-float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-float:nth-child(1) {
  width: 60px;
  height: 60px;
  background: rgba(0, 168, 132, 0.1);
  border: 1px solid rgba(0, 168, 132, 0.2);
  top: 15%;
  right: 8%;
  animation: float 6s ease-in-out infinite;
}

.hero-float:nth-child(2) {
  width: 40px;
  height: 40px;
  background: rgba(124, 77, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.2);
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite 2s;
}

.hero-float:nth-child(3) {
  width: 30px;
  height: 30px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.2);
  top: 30%;
  left: 45%;
  animation: float 7s ease-in-out infinite 1s;
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* ---------------------------------------------------------
   9. FEATURES
   --------------------------------------------------------- */
#features {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(0, 168, 132, 0.04) 0%, transparent 70%),
    var(--background);
}

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

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 168, 132, 0.25);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(0, 168, 132, 0.1);
  border: 1px solid rgba(0, 168, 132, 0.15);
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(0, 168, 132, 0.18);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: scale(1.08);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(124, 77, 255, 0.1);
  border-color: rgba(124, 77, 255, 0.15);
}

.feature-card:nth-child(2):hover .feature-icon {
  background: rgba(124, 77, 255, 0.18);
  box-shadow: 0 0 20px rgba(124, 77, 255, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.15);
}

.feature-card:nth-child(3):hover .feature-icon {
  background: rgba(255, 184, 0, 0.18);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(233, 30, 99, 0.1);
  border-color: rgba(233, 30, 99, 0.15);
}

.feature-card:nth-child(4):hover .feature-icon {
  background: rgba(233, 30, 99, 0.18);
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.3);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  color: var(--secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   10. MESSAGING SHOWCASE
   --------------------------------------------------------- */
#messaging {
  background:
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(0, 168, 132, 0.04) 0%, transparent 70%),
    var(--background);
}

.messaging-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.messaging-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.messaging-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.messaging-feature-item .mf-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 168, 132, 0.1);
  border: 1px solid rgba(0, 168, 132, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.messaging-feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.messaging-feature-item p {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.6;
}

/* Chat window showcase */
.messaging-showcase {
  position: relative;
}

.chat-window {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.chat-header {
  padding: 16px 20px;
  background: var(--sidebar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header .chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.chat-header .chat-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.chat-header .chat-info span {
  font-size: 0.75rem;
  color: var(--primary);
}

.chat-header .chat-actions {
  margin-left: auto;
  display: flex;
  gap: 16px;
  color: var(--secondary);
  font-size: 1.1rem;
}

.messages-area {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
  background:
    radial-gradient(circle at 30% 70%, rgba(0, 168, 132, 0.02) 0%, transparent 50%),
    var(--background);
}

.message {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  position: relative;
}

.message.received {
  align-self: flex-start;
  background: var(--sidebar);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.message.sent {
  align-self: flex-end;
  background: var(--primary);
  border-bottom-right-radius: 4px;
  color: #fff;
}

.message .message-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.68rem;
  opacity: 0.65;
  margin-top: 4px;
}

.message .message-ticks {
  font-size: 0.7rem;
}

.message .message-ticks.read {
  color: #53BDEB;
}

/* Voice note in showcase */
.message .voice-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.message .voice-note .play-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.message .voice-note .waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}

.message .voice-note .waveform span {
  width: 3px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  animation: waveform 0.9s ease-in-out infinite;
}

.message .voice-note .waveform span:nth-child(odd) { animation-delay: 0.1s; }
.message .voice-note .waveform span:nth-child(even) { animation-delay: 0.3s; }

.message .voice-note .duration {
  font-size: 0.72rem;
  opacity: 0.6;
  white-space: nowrap;
}

/* Media message in showcase */
.message .media-message {
  width: 100%;
  min-width: 200px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(0,168,132,0.15), rgba(124,77,255,0.1));
  border-radius: 10px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}

.message .media-message::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

/* Chat input */
.chat-input {
  padding: 14px 20px;
  background: var(--panel);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-input .emoji-btn,
.chat-input .attach-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.1rem;
  transition: color var(--transition);
  flex-shrink: 0;
}

.chat-input .emoji-btn:hover,
.chat-input .attach-btn:hover {
  color: var(--text);
}

.chat-input .input-wrapper {
  flex: 1;
  height: 40px;
  background: var(--sidebar);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 0 18px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--secondary);
}

.chat-input .send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  transition: all var(--transition);
}

.chat-input .send-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* ---------------------------------------------------------
   11. GROUPS & COMMUNITIES
   --------------------------------------------------------- */
#groups {
  background:
    radial-gradient(ellipse 50% 40% at 30% 50%, rgba(124, 77, 255, 0.04) 0%, transparent 70%),
    var(--background);
}

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

.group-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.group-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 77, 255, 0.25);
  box-shadow: 0 8px 32px rgba(124, 77, 255, 0.15);
}

.group-card .group-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: rgba(124, 77, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all var(--transition);
}

.group-card:hover .group-icon {
  background: rgba(124, 77, 255, 0.2);
  box-shadow: 0 0 24px rgba(124, 77, 255, 0.25);
  transform: scale(1.08);
}

.group-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.group-card p {
  color: var(--secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Community preview card */
.community-preview {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.community-preview .community-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.15), rgba(0, 168, 132, 0.1));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.community-preview .community-avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}

.community-preview .community-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.community-preview .community-info span {
  font-size: 0.8rem;
  color: var(--secondary);
}

.community-preview .community-channels {
  padding: 16px 24px;
}

.community-preview .channel-item {
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
  color: var(--text);
  font-size: 0.88rem;
}

.community-preview .channel-item:hover {
  background: rgba(134, 150, 160, 0.08);
}

.community-preview .channel-item .channel-icon {
  font-size: 1rem;
  color: var(--secondary);
}

.community-preview .channel-item .channel-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ---------------------------------------------------------
   12. CALLS
   --------------------------------------------------------- */
#calls {
  background:
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(0, 168, 132, 0.04) 0%, transparent 70%),
    var(--background);
}

.calls-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.calls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.call-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.call-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 132, 0.25);
  box-shadow: var(--shadow-glow);
}

.call-card .call-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 168, 132, 0.1);
  border: 1px solid rgba(0, 168, 132, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.call-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.call-card p {
  font-size: 0.82rem;
  color: var(--secondary);
  line-height: 1.55;
}

/* Call illustration — CSS art */
.call-illustration {
  position: relative;
  display: flex;
  justify-content: center;
}

.call-interface {
  width: 320px;
  height: 400px;
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.call-interface .call-bg {
  flex: 1;
  background: linear-gradient(180deg, rgba(0,168,132,0.12) 0%, rgba(124,77,255,0.08) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.call-interface .call-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  animation: pulse-glow 3s ease-in-out infinite;
}

.call-interface .call-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.call-interface .call-status {
  font-size: 0.8rem;
  color: var(--primary);
}

.call-interface .call-duration {
  font-size: 0.85rem;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}

/* Participant thumbnails */
.call-interface .call-participants {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.call-interface .participant-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--sidebar);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Call controls */
.call-interface .call-controls {
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
  background: var(--sidebar);
  border-top: 1px solid var(--border);
}

.call-interface .control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(134, 150, 160, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: all var(--transition);
}

.call-interface .control-btn:hover {
  background: rgba(134, 150, 160, 0.25);
}

.call-interface .control-btn.end-call {
  background: #E53935;
  color: #fff;
}

.call-interface .control-btn.end-call:hover {
  background: #F44336;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.4);
}

/* ---------------------------------------------------------
   13. MARKETPLACE
   --------------------------------------------------------- */
#marketplace {
  background:
    radial-gradient(ellipse 50% 40% at 40% 60%, rgba(255, 184, 0, 0.04) 0%, transparent 70%),
    var(--background);
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.category-tags .tag {
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--secondary);
  transition: all var(--transition);
  cursor: pointer;
}

.category-tags .tag:hover,
.category-tags .tag.active {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.25);
  color: var(--gold);
}

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

.product-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 184, 0, 0.25);
  box-shadow: 0 8px 32px rgba(255, 184, 0, 0.12);
}

.product-card .product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--sidebar), var(--panel));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.product-card .product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.product-card .product-details {
  padding: 20px;
}

.product-card .product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.product-card .product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.product-card .product-seller {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--secondary);
}

.product-card .seller-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.product-card .product-rating {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.78rem;
}

/* ---------------------------------------------------------
   14. SECURITY
   --------------------------------------------------------- */
#security {
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0, 168, 132, 0.04) 0%, transparent 70%),
    var(--background);
}

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

.security-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.security-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 168, 132, 0.25);
  box-shadow: var(--shadow-glow);
}

.security-card .security-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(0, 168, 132, 0.1);
  border: 1px solid rgba(0, 168, 132, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition);
}

.security-card:hover .security-icon {
  animation: pulse-glow 2s ease-in-out infinite;
  background: rgba(0, 168, 132, 0.15);
  transform: scale(1.1);
}

.security-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.security-card p {
  color: var(--secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   15. HOW IT WORKS
   --------------------------------------------------------- */
#how-it-works {
  background:
    radial-gradient(ellipse 50% 40% at 60% 40%, rgba(124, 77, 255, 0.04) 0%, transparent 70%),
    var(--background);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connector line behind steps */
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--purple), var(--gold), var(--primary));
  opacity: 0.3;
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  transition: all var(--transition);
}

.step:hover .step-number {
  background: rgba(0, 168, 132, 0.12);
  box-shadow: 0 0 30px var(--primary-glow);
  transform: scale(1.1);
}

.step:nth-child(2) .step-number {
  border-color: var(--purple);
  color: var(--purple);
}

.step:nth-child(2):hover .step-number {
  background: rgba(124, 77, 255, 0.12);
  box-shadow: 0 0 30px rgba(124, 77, 255, 0.3);
}

.step:nth-child(3) .step-number {
  border-color: var(--gold);
  color: var(--gold);
}

.step:nth-child(3):hover .step-number {
  background: rgba(255, 184, 0, 0.12);
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.3);
}

.step:nth-child(4) .step-number {
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

.step:nth-child(4):hover .step-number {
  background: rgba(6, 207, 156, 0.12);
  box-shadow: 0 0 30px rgba(6, 207, 156, 0.3);
}

.step-connector {
  display: none; /* Handled by the ::before pseudo-element */
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   16. PLATFORMS
   --------------------------------------------------------- */
#platforms {
  background:
    radial-gradient(ellipse 50% 40% at 50% 60%, rgba(0, 168, 132, 0.04) 0%, transparent 70%),
    var(--background);
}

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

.platform-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 168, 132, 0.25);
  box-shadow: var(--shadow-glow);
}

.platform-card .platform-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: rgba(0, 168, 132, 0.08);
  border: 1px solid rgba(0, 168, 132, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all var(--transition);
}

.platform-card:hover .platform-icon {
  transform: scale(1.1);
  background: rgba(0, 168, 132, 0.15);
  box-shadow: 0 0 24px var(--primary-glow);
}

.platform-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.platform-card p {
  color: var(--secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

.coming-soon-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-top: 12px;
}

/* ---------------------------------------------------------
   17. CTA SECTION
   --------------------------------------------------------- */
.cta-section {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg,
      rgba(0, 168, 132, 0.12) 0%,
      rgba(124, 77, 255, 0.08) 50%,
      rgba(0, 168, 132, 0.12) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease-in-out infinite;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 168, 132, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(124, 77, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
}

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

.cta-content .section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 20px;
}

.cta-content .section-subtitle {
  margin-bottom: 40px;
}

.cta-content .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Decorative floating orbs for CTA */
.cta-section .cta-float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-section .cta-float:nth-child(1) {
  width: 200px;
  height: 200px;
  background: rgba(0, 168, 132, 0.08);
  top: -60px;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.cta-section .cta-float:nth-child(2) {
  width: 150px;
  height: 150px;
  background: rgba(124, 77, 255, 0.08);
  bottom: -40px;
  left: 8%;
  animation: float 10s ease-in-out infinite 2s;
}

/* ---------------------------------------------------------
   18. FOOTER
   --------------------------------------------------------- */
.footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 64px 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  color: var(--secondary);
  font-size: 0.88rem;
  padding: 6px 0;
  transition: color var(--transition);
}

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

/* Brand column */
.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(134, 150, 160, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--secondary);
  transition: all var(--transition);
}

.social-links a:hover {
  background: rgba(0, 168, 132, 0.1);
  border-color: rgba(0, 168, 132, 0.25);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--secondary);
}

.footer-bottom a {
  color: var(--secondary);
  transition: color var(--transition);
}

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

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

/* ---------------------------------------------------------
   BRIDGE STYLES — HTML ↔ CSS class alignment
   --------------------------------------------------------- */

/* Navbar hidden (scroll direction) */
.navbar.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 168, 132, 0.08);
  border: 1px solid rgba(0, 168, 132, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-glow 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Gradient text (standalone class) */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 50%, #00D4AA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #FFC940 50%, #FFE082 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge-gold {
  background: rgba(255, 184, 0, 0.12);
  color: var(--gold);
  border-color: rgba(255, 184, 0, 0.2);
}

/* Hero stat items (HTML uses .stat-item / .stat-divider) */
.stat-item {
  text-align: left;
}

.stat-item .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  display: block;
}

.stat-item .stat-label {
  font-size: 0.78rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  align-self: center;
}

/* Float cards (hero decorative) */
.hero-float {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.float-card svg {
  flex-shrink: 0;
}

.float-1 { top: 10%; right: -5%; animation: float 6s ease-in-out infinite; }
.float-2 { bottom: 30%; right: -8%; animation: float 8s ease-in-out infinite 2s; }
.float-3 { bottom: 10%; left: -3%; animation: float 7s ease-in-out infinite 1s; }

/* Phone chat header mock */
.chat-header-mock {
  padding: 36px 14px 10px;
  background: var(--sidebar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-mock .chat-avatar {
  flex-shrink: 0;
}

.chat-user-info {
  flex: 1;
  min-width: 0;
}

.chat-username {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.chat-status-text {
  display: block;
  font-size: 0.65rem;
  color: var(--primary);
}

.chat-header-icons {
  display: flex;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.chat-header-icons svg {
  display: inline-block;
}

/* Phone messages container */
.messages-mock {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 168, 132, 0.03) 0%, transparent 50%),
    var(--background);
}

/* Chat messages visibility for animation */
.chat-message,
.message {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.chat-message.visible,
.message.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Phone input bar mock */
.chat-input-mock {
  padding: 8px 12px;
  background: var(--panel);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--secondary);
}

.input-emoji, .input-mic {
  flex-shrink: 0;
  font-size: 1rem;
}

.input-placeholder {
  flex: 1;
  background: var(--sidebar);
  border-radius: 16px;
  padding: 6px 14px;
  font-size: 0.7rem;
  color: var(--secondary);
}

/* Voice note elements (vn- prefix) */
.vn-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
}

.sent .vn-play {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.received .vn-play {
  background: rgba(0, 168, 132, 0.2);
  color: var(--primary);
}

.vn-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}

.vn-waveform span {
  width: 3px;
  border-radius: 2px;
  animation: waveform 0.8s ease-in-out infinite;
}

.sent .vn-waveform span { background: rgba(255, 255, 255, 0.5); }
.received .vn-waveform span { background: rgba(134, 150, 160, 0.5); }

.vn-waveform span:nth-child(1) { height: 6px; animation-delay: 0s; }
.vn-waveform span:nth-child(2) { height: 12px; animation-delay: 0.08s; }
.vn-waveform span:nth-child(3) { height: 8px; animation-delay: 0.16s; }
.vn-waveform span:nth-child(4) { height: 16px; animation-delay: 0.24s; }
.vn-waveform span:nth-child(5) { height: 10px; animation-delay: 0.32s; }
.vn-waveform span:nth-child(6) { height: 14px; animation-delay: 0.4s; }
.vn-waveform span:nth-child(7) { height: 6px; animation-delay: 0.48s; }
.vn-waveform span:nth-child(8) { height: 18px; animation-delay: 0.56s; }
.vn-waveform span:nth-child(9) { height: 8px; animation-delay: 0.64s; }
.vn-waveform span:nth-child(10) { height: 12px; animation-delay: 0.72s; }
.vn-waveform span:nth-child(11) { height: 4px; animation-delay: 0.8s; }
.vn-waveform span:nth-child(12) { height: 10px; animation-delay: 0.88s; }
.vn-waveform span:nth-child(13) { height: 16px; animation-delay: 0.96s; }
.vn-waveform span:nth-child(14) { height: 6px; animation-delay: 1.04s; }
.vn-waveform span:nth-child(15) { height: 14px; animation-delay: 1.12s; }

.vn-duration {
  font-size: 0.6rem;
  opacity: 0.6;
  white-space: nowrap;
}

.voice-note-msg .voice-note,
.voice-note-message .voice-note {
  margin: 2px 0;
}

/* Messaging Showcase — chat sidebar */
.chat-window {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chat-sidebar {
  width: 320px;
  background: var(--panel);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.sidebar-icons {
  display: flex;
  gap: 12px;
  cursor: pointer;
}

.sidebar-search {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sidebar);
  margin: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--secondary);
}

.chat-list {
  flex: 1;
  overflow-y: auto;
}

.chat-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  transition: background var(--transition);
  cursor: pointer;
}

.chat-list-item:hover,
.chat-list-item.active {
  background: rgba(0, 168, 132, 0.06);
}

.list-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.list-info {
  flex: 1;
  min-width: 0;
}

.list-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-preview {
  display: block;
  font-size: 0.78rem;
  color: var(--secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-meta {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.list-time {
  font-size: 0.68rem;
  color: var(--secondary);
}

.unread-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* Chat main area */
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--background);
  min-width: 0;
}

.chat-main-header {
  padding: 12px 20px;
  background: var(--sidebar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-main-header .chat-avatar {
  flex-shrink: 0;
}

.messages-area {
  flex: 1;
}

/* Date separator */
.date-separator {
  text-align: center;
  margin: 8px 0 12px;
}

.date-separator span {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(17, 27, 33, 0.9);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--secondary);
}

/* Message sender name (groups) */
.msg-sender {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

/* Reply bubble */
.reply-bubble {
  background: rgba(0, 0, 0, 0.15);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.reply-name {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.72rem;
  margin-bottom: 2px;
}

.reply-text {
  display: block;
  color: var(--secondary);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Media preview in messages */
.media-preview {
  margin-bottom: 6px;
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(0, 168, 132, 0.12), rgba(124, 77, 255, 0.08));
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.media-placeholder span {
  font-size: 0.68rem;
  color: var(--secondary);
}

.media-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

/* Message reactions */
.message-reactions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.reaction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.68rem;
  cursor: pointer;
  transition: background var(--transition);
}

.reaction:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Typing indicator in showcase */
.typing-indicator .typing-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-right: 4px;
}

.typing-indicator .typing-text {
  font-size: 0.75rem;
  color: var(--secondary);
  margin-right: 6px;
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.typing-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary);
  animation: typing 1.4s ease-in-out infinite;
}

.typing-dots .dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dots .dot:nth-child(3) { animation-delay: 0.3s; }

/* Chat input bar (showcase) */
.chat-input .input-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: color var(--transition);
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
}

.chat-input .input-btn:hover {
  color: var(--text);
}

.chat-input .input-field {
  flex: 1;
  height: 40px;
  background: var(--sidebar);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 0 18px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--secondary);
}

.chat-input .mic-btn {
  background: var(--primary);
  color: #fff;
  transition: all var(--transition);
}

.chat-input .mic-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* Group stats */
.group-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.group-desc {
  color: var(--secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.group-stat {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-text {
  font-size: 0.78rem;
  color: var(--secondary);
}

/* Call window illustration */
.call-window {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 500px;
  margin: 0 auto;
}

.call-window-header {
  padding: 12px 16px;
  background: var(--sidebar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.call-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.call-window-dots span:nth-child(1) { background: #E53935; }
.call-window-dots span:nth-child(2) { background: #FFB800; }
.call-window-dots span:nth-child(3) { background: #00A884; }

.call-window-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
}

.call-participants {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: linear-gradient(180deg, rgba(0, 168, 132, 0.08), rgba(124, 77, 255, 0.04));
  min-height: 240px;
}

.participant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.participant-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.main-participant .participant-avatar {
  width: 80px;
  height: 80px;
  animation: pulse-glow 3s ease-in-out infinite;
}

.participant-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.speaking-indicator {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 14px;
}

.speaking-indicator span {
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
  animation: waveform 0.6s ease-in-out infinite;
}

.speaking-indicator span:nth-child(1) { height: 4px; animation-delay: 0s; }
.speaking-indicator span:nth-child(2) { height: 10px; animation-delay: 0.1s; }
.speaking-indicator span:nth-child(3) { height: 6px; animation-delay: 0.2s; }
.speaking-indicator span:nth-child(4) { height: 14px; animation-delay: 0.3s; }
.speaking-indicator span:nth-child(5) { height: 8px; animation-delay: 0.4s; }

.participant-grid {
  display: flex;
  gap: 16px;
}

.participant.small .participant-avatar {
  width: 48px;
  height: 48px;
  font-size: 0.9rem;
}

.participant.small span {
  font-size: 0.72rem;
  color: var(--secondary);
}

.call-controls {
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  background: var(--sidebar);
  border-top: 1px solid var(--border);
}

.call-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(134, 150, 160, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.call-btn:hover {
  background: rgba(134, 150, 160, 0.25);
}

.call-btn-end {
  background: #E53935 !important;
  color: #fff;
}

.call-btn-end:hover {
  background: #F44336 !important;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.4);
}

/* Marketplace — product card tweaks for HTML structure */
.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.product-placeholder span {
  font-size: 0.72rem;
  color: var(--secondary);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(0, 168, 132, 0.9);
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-badge-gold {
  background: rgba(255, 184, 0, 0.9);
  color: #0B141A;
}

.product-info {
  padding: 18px;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.product-seller {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--secondary);
}

.seller-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.seller-verified {
  color: var(--primary);
  font-weight: 700;
}

.marketplace-cta {
  text-align: center;
  margin-top: 40px;
}

/* Category tags (HTML uses .category-tag instead of .tag) */
.category-tag {
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--secondary);
  transition: all var(--transition);
  cursor: pointer;
}

.category-tag:hover,
.category-tag.active {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.25);
  color: var(--gold);
}

/* Security shield animation */
.shield-anim {
  transition: transform var(--transition);
}

.security-card:hover .shield-anim {
  transform: scale(1.15);
}

/* Step content and icon */
.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 168, 132, 0.1);
  border: 1px solid rgba(0, 168, 132, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.step-content p {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 220px;
}

/* Platform device SVG container */
.platform-device {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: rgba(0, 168, 132, 0.08);
  border: 1px solid rgba(0, 168, 132, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.platform-card:hover .platform-device {
  transform: scale(1.1);
  background: rgba(0, 168, 132, 0.15);
  box-shadow: 0 0 24px var(--primary-glow);
}

.platform-card .btn-primary {
  margin-top: 16px;
  padding: 10px 24px;
  font-size: 0.82rem;
}

/* CTA section additions */
.cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-subtitle {
  color: var(--secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--secondary);
  margin-top: 16px;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.btn-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Section alt background */
.section-alt {
  background: linear-gradient(180deg, var(--background) 0%, var(--panel) 50%, var(--background) 100%);
}

/* Footer desc */
.footer-desc {
  color: var(--secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

/* Social link styles */
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(134, 150, 160, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(0, 168, 132, 0.1);
  border-color: rgba(0, 168, 132, 0.25);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Button size variants */
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* Platforms grid — 3 columns for this section */
#platforms .platforms-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Groups grid — 4 columns for 4 items */
#groups .groups-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Marketplace grid — 4 columns */
#marketplace .marketplace-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------------------------------------------------------
   19. SECTION RADIAL BG ACCENTS (supplementary)
   --------------------------------------------------------- */
.section-bg-accent {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------------------------------
   20. RESPONSIVE — 1024px (Tablet)
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .section {
    padding: 80px 20px;
  }

  .hero .container {
    gap: 40px;
  }

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

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

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

  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-timeline::before {
    display: none;
  }

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

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

  .calls-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .messaging-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .chat-sidebar {
    width: 260px;
  }

  .float-1, .float-2, .float-3 {
    display: none;
  }
}

/* ---------------------------------------------------------
   21. RESPONSIVE — 768px (Mobile)
   --------------------------------------------------------- */
@media (max-width: 768px) {
  .section {
    padding: 64px 16px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  /* Navbar → mobile */
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(11, 20, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 12px 20px;
  }

  .nav-buttons {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hero → stacked */
  .hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
    margin-bottom: 32px;
  }

  .hero-stats {
    justify-content: center;
    gap: 24px;
  }

  .hero-mockup {
    order: 2;
  }

  .phone-frame {
    width: 260px;
    height: 540px;
  }

  /* Grids → single col */
  .features-grid,
  .security-grid,
  .platforms-grid,
  #platforms .platforms-grid,
  .marketplace-grid,
  #marketplace .marketplace-grid,
  .groups-grid,
  #groups .groups-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calls-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Steps → single col */
  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-number {
    width: 64px;
    height: 64px;
    font-size: 1.2rem;
  }

  /* Chat window → hide sidebar on mobile */
  .chat-sidebar {
    display: none;
  }

  .chat-window {
    flex-direction: column;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-bottom-links {
    justify-content: center;
  }

  /* CTA */
  .cta-section {
    padding: 64px 16px;
  }

  /* Chat window */
  .chat-window {
    border-radius: var(--radius-md);
  }

  .messages-area {
    min-height: 240px;
    padding: 14px;
  }

  .message {
    max-width: 85%;
  }

  /* Call illustration */
  .call-window {
    max-width: 100%;
  }
}

/* ---------------------------------------------------------
   22. RESPONSIVE — 480px (Small Mobile)
   --------------------------------------------------------- */
@media (max-width: 480px) {
  .section {
    padding: 48px 14px;
  }

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

  .section-subtitle {
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-stat {
    text-align: center;
  }

  .phone-frame {
    width: 230px;
    height: 480px;
    border-radius: 30px;
  }

  .phone-frame::before {
    width: 100px;
    height: 24px;
    border-radius: 0 0 14px 14px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-gold {
    padding: 12px 24px;
    font-size: 0.88rem;
    width: 100%;
    max-width: 280px;
  }

  .feature-card,
  .group-card,
  .security-card,
  .platform-card,
  .call-card {
    padding: 24px 18px;
  }

  .product-card .product-details {
    padding: 14px;
  }

  .category-tags {
    gap: 8px;
  }

  .category-tags .tag {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .community-preview .community-header {
    padding: 14px 16px;
  }

  .community-preview .community-channels {
    padding: 10px 16px;
  }

  .call-interface {
    width: 100%;
    max-width: 280px;
    height: 340px;
  }

  .cta-content .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------------------------------------------------------
   23. ACCESSIBILITY — Reduced Motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-gradient,
  .hero-float,
  .cta-section .cta-float {
    animation: none;
  }

  .typing-indicator span {
    animation: none;
    opacity: 0.5;
  }

  .voice-note .waveform span {
    animation: none;
    height: 8px;
  }
}

/* ---------------------------------------------------------
   24. PRINT (optional)
   --------------------------------------------------------- */
@media print {
  .navbar,
  .hero-float,
  .hero-gradient,
  .cta-float {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }

  .section {
    padding: 32px 0;
  }
}
