/* ============================================
   Hermes — The Live Aid | Landing Styles
   ============================================ */

:root {
  --bg: #07071a;
  --bg-2: #0d0d24;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5fa;
  --text-dim: #a8a8c0;
  --text-muted: #6a6a85;

  --accent-1: #7c5cff;
  --accent-2: #00d4ff;
  --accent-3: #ff6ec7;
  --grad: linear-gradient(135deg, #7c5cff 0%, #00d4ff 100%);
  --grad-warm: linear-gradient(135deg, #ff6ec7 0%, #ffaa5e 100%);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.35);

  --container: 1200px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Background animation ===== */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7c5cff 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation-duration: 25s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
  top: 40%;
  right: -15%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ff6ec7 0%, transparent 70%);
  bottom: -10%;
  left: 30%;
  opacity: 0.3;
  animation-duration: 35s;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.05); }
  66% { transform: translate(-40px, 60px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 30%, transparent 80%);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 7, 26, 0.6);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(7, 7, 26, 0.85);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: 'Unbounded', sans-serif;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 20px rgba(124, 92, 255, 0.5));
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(-15deg) scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: var(--text-dim);
  position: relative;
  transition: color 0.2s ease;
}

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

.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(7, 7, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.3s ease;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 0;
}

.mobile-menu a:hover {
  color: var(--text);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 20px 40px; font-size: 17px; border-radius: 14px; }

.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00d4ff 0%, #7c5cff 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

.header-cta { flex-shrink: 0; }

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, transparent 0%, rgba(124, 92, 255, 0.03) 50%, transparent 100%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--accent-2);
  margin-bottom: 20px;
}

.section h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.65;
}

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

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 80px) 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  margin-bottom: 24px;
  color: var(--text-dim);
}

.badge .dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-unit {
  font-size: 20px;
  color: var(--text-dim);
  -webkit-text-fill-color: var(--text-dim);
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.3;
}

/* ===== Phone mockup ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
}

.phone {
  width: 320px;
  height: 640px;
  background: linear-gradient(145deg, #1a1a35, #0a0a20);
  border-radius: 44px;
  padding: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(0, 0, 0, 0.6),
    var(--shadow-glow);
  transform: rotateY(-12deg) rotateX(4deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-12deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-12deg) rotateX(4deg) translateY(-12px); }
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0d0d24 0%, #07071a 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 50px 16px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-name {
  font-weight: 700;
  font-size: 14px;
}

.chat-status {
  font-size: 11px;
  color: #00ff88;
}

.chat-body {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  animation: msgIn 0.5s ease forwards;
}

.msg-bot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.msg-user {
  background: var(--grad);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  color: white;
}

.delay-0 { animation-delay: 0.3s; }
.delay-1 { animation-delay: 0.9s; }
.delay-2 { animation-delay: 1.5s; }
.delay-3 { animation-delay: 2.2s; }
.delay-4 { animation-delay: 2.8s; }
.delay-5 { animation-delay: 3.4s; }

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

.msg-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.msg-btn {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(124, 92, 255, 0.2);
  border: 1px solid rgba(124, 92, 255, 0.4);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #b8a4ff;
}

.typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
  opacity: 0;
  animation: msgIn 0.5s ease forwards;
}

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

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

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

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
  top: 18%;
  left: -8%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 18%;
  right: -8%;
  animation-delay: -2s;
}

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

.floating-icon {
  font-size: 24px;
  filter: drop-shadow(0 0 10px rgba(124, 92, 255, 0.5));
}

.floating-title {
  font-weight: 700;
  font-size: 14px;
}

.floating-sub {
  font-size: 12px;
  color: var(--text-dim);
}

/* ===== Cards (advantages) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

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

.card:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(124, 92, 255, 0.15);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(0, 212, 255, 0.15));
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 20px;
}

.card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== Works grid ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.work-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.work-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--grad);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--surface-2);
}

.work-card.highlight {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(0, 212, 255, 0.08));
  border-color: rgba(124, 92, 255, 0.3);
}

.work-card.highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.2) 0%, transparent 50%);
  animation: rotateBg 15s linear infinite;
  z-index: -1;
}

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

.work-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad);
  color: white;
  border-radius: 6px;
}

.work-emoji {
  font-size: 36px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 16px rgba(124, 92, 255, 0.4));
}

.work-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ===== Disciplines ===== */
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.disc-group {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.disc-group:hover {
  border-color: rgba(124, 92, 255, 0.3);
  background: var(--surface-2);
}

.disc-group h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  transition: all 0.2s ease;
  cursor: default;
}

.tags span:hover {
  background: rgba(124, 92, 255, 0.15);
  border-color: rgba(124, 92, 255, 0.4);
  color: var(--text);
  transform: translateY(-2px);
}

.disc-note {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(0, 212, 255, 0.05));
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: var(--radius);
}

.disc-note-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.disc-note p {
  font-size: 16px;
  color: var(--text-dim);
}

.disc-note strong {
  color: var(--text);
}

/* ===== Steps ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateX(8px);
}

.step-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}

.step-content h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}

.step-quote {
  display: inline-block;
  padding: 10px 16px;
  background: rgba(0, 212, 255, 0.06);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
}

/* ===== Referral ===== */
.referral-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  padding: 56px;
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 92, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.referral-content h2 {
  margin: 16px 0 16px;
}

.referral-lead {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 32px;
}

.referral-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.rstep {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--text-dim);
}

.rstep strong {
  color: var(--text);
  font-weight: 700;
}

.rstep-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
}

.referral-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.discount-circle {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discount-inner {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 30px 60px rgba(124, 92, 255, 0.5),
    inset 0 4px 0 rgba(255, 255, 255, 0.2);
  animation: discountPulse 3s ease-in-out infinite;
}

@keyframes discountPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.discount-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 80px;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -0.04em;
}

.discount-num span {
  font-size: 40px;
  vertical-align: super;
}

.discount-label {
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 6px;
}

.discount-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rotateRing 30s linear infinite;
}

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

/* ===== Audience ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.aud-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.aud-card:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: 0 20px 40px rgba(124, 92, 255, 0.15);
}

.aud-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(124, 92, 255, 0.4));
}

.aud-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.aud-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== FAQ ===== */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item[open] {
  background: var(--surface-2);
  border-color: rgba(124, 92, 255, 0.3);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-2);
  transition: all 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--grad);
  color: white;
  border-color: transparent;
}

.faq-body {
  padding: 0 28px 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
  animation: fadeIn 0.4s ease;
}

.faq-body a {
  color: var(--accent-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.faq-body a:hover {
  border-color: var(--accent-2);
}

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

/* ===== CTA section ===== */
.cta-section {
  padding-bottom: 140px;
}

.cta-card {
  padding: 80px 60px;
  background:
    radial-gradient(ellipse at top left, rgba(124, 92, 255, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(0, 212, 255, 0.04));
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23p)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-foot {
  font-size: 14px !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

/* ===== Footer ===== */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer .logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h4 {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-2);
}

.footer-col a.btn {
  display: inline-flex;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-tag {
  font-weight: 500;
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav { gap: 20px; font-size: 13px; }
  .hero-inner { gap: 40px; }
  .phone { width: 280px; height: 580px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .referral-card { padding: 40px; gap: 40px; }
}

@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: left; }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-cta { gap: 12px; }

  .section { padding: 70px 0; }
  .section-head { margin-bottom: 48px; }

  .step { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .step-num { font-size: 42px; }

  .referral-card { grid-template-columns: 1fr; padding: 36px 28px; text-align: left; gap: 32px; }
  .referral-visual { order: -1; }
  .discount-circle { width: 220px; height: 220px; }
  .discount-inner { width: 160px; height: 160px; }
  .discount-num { font-size: 60px; }
  .discount-num span { font-size: 30px; }

  .cta-card { padding: 50px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  .floating-card { display: none; }

  .btn-xl { padding: 16px 28px; font-size: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 28px; }

  .phone { width: 260px; height: 540px; transform: rotateY(0); animation: none; }
  @keyframes phoneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  .card { padding: 24px; }
  .work-card { padding: 22px; }
  .disc-group { padding: 22px; }

  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-body { padding: 0 20px 20px; }

  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  border-radius: 10px;
}

::selection {
  background: var(--accent-1);
  color: white;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
