/* ==============================================================================
   A VPN WEB PORTAL — STYLESHEET
   Brand: A VPN (avpn.my.id)
   Aesthetic: Dark Obsidian, Cyber Emerald, High-Performance Kinetic Glow
   ============================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(13, 19, 31, 0.75);
  --bg-card-hover: rgba(19, 29, 48, 0.85);
  --border-card: rgba(0, 245, 155, 0.15);
  --border-focus: rgba(0, 245, 155, 0.5);

  --emerald: #00f59b;
  --emerald-glow: rgba(0, 245, 155, 0.35);
  --emerald-dark: #00b06c;
  --cyan: #00e5ff;
  --purple-glow: rgba(123, 97, 255, 0.25);
  
  --text-main: #f0f4fc;
  --text-muted: #8896b0;
  --text-dim: #50617e;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

/* --- BACKGROUND GLOW & MESH --- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  left: -200px;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}

/* --- BUTTONS & PILLS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #050a0f;
  box-shadow: 0 4px 20px var(--emerald-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 245, 155, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-glass {
  background: rgba(16, 25, 42, 0.7);
  backdrop-filter: blur(12px);
  color: var(--text-main);
  border: 1px solid var(--border-card);
}

.btn-glass:hover {
  background: rgba(24, 38, 64, 0.85);
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-large strong {
  display: block;
  font-size: 1.05rem;
}

.btn-large small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.85;
}

.btn-block {
  width: 100%;
}

.btn-google {
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 20px;
}

.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 20px;
}

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

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* --- NAVIGATION --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-shield {
  position: relative;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(0, 245, 155, 0.2), rgba(0, 229, 255, 0.1));
  border: 1px solid var(--emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.2rem;
}

.pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

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

.brand-domain {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--emerald);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 80px 24px 100px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--emerald) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.trust-item i {
  color: var(--emerald);
}

/* --- KINETIC CLIENT MOCKUP --- */
.hero-mockup-wrapper {
  position: relative;
}

.app-mockup-window {
  background: rgba(14, 20, 32, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 155, 0.3);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 245, 155, 0.15);
  position: relative;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.ctrl {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ctrl-close { background: #ff5f56; }
.ctrl-min { background: #ffbd2e; }
.ctrl-max { background: #27c93f; }

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

.mockup-tier-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 245, 155, 0.15);
  color: var(--emerald);
  font-family: var(--font-mono);
}

.mockup-shield-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  text-align: center;
}

.mockup-orb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(0, 245, 155, 0.25), rgba(0, 245, 155, 0.06));
  border: 2px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--emerald);
  box-shadow: 0 0 35px var(--emerald-glow);
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  animation: pulseOrb 3s infinite;
  outline: none;
}

.mockup-orb:hover {
  transform: scale(1.06);
  box-shadow: 0 0 50px rgba(0, 245, 155, 0.7);
}

.mockup-orb:active {
  transform: scale(0.96);
}

.mockup-orb.connecting {
  border-color: #f59e0b;
  color: #f59e0b;
  background: radial-gradient(circle at 35% 30%, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.06));
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.5);
  animation: pulseAmber 1s infinite alternate;
}

.mockup-orb.disconnected {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
  box-shadow: none;
  animation: none;
}

@keyframes pulseOrb {
  0% { box-shadow: 0 0 25px var(--emerald-glow); }
  50% { box-shadow: 0 0 50px rgba(0, 245, 155, 0.65); }
  100% { box-shadow: 0 0 25px var(--emerald-glow); }
}

@keyframes pulseAmber {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }
  100% { transform: scale(1.04); box-shadow: 0 0 45px rgba(245, 158, 11, 0.7); }
}

.mockup-status-text {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--emerald);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.mockup-status-text.disconnected {
  color: var(--text-dim);
}

.mockup-status-text.connecting {
  color: #f59e0b;
}

.mockup-protocol {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mockup-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 6px;
  letter-spacing: 0.3px;
  font-family: var(--font-mono);
}

.mockup-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
}

.m-stat {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.m-stat .lbl {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 600;
}

.m-stat .val {
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
  margin-top: 2px;
}

.m-stat .val.highlight {
  color: var(--emerald);
}

.mockup-ad-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 229, 255, 0.06);
  border: 1px dashed rgba(0, 229, 255, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
}

.ad-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.ad-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ad-content i {
  color: var(--cyan);
}

.ad-btn {
  background: var(--cyan);
  color: #050a0f;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.ad-btn:hover {
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

/* --- SECTION SHARED STYLES --- */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--emerald);
  margin-bottom: 12px;
}

h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 50px;
}

/* --- NETWORK TICKER --- */
.ticker-section {
  background: rgba(10, 15, 24, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 24px;
}

.ticker-header {
  max-width: 1240px;
  margin: 0 auto 36px;
  text-align: center;
}

.ticker-header p {
  color: var(--text-muted);
}

.servers-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.server-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.srv-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.srv-flag {
  font-size: 1.8rem;
}

.srv-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.srv-city {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.srv-metrics {
  text-align: right;
}

.srv-ping {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--emerald);
}

.srv-tier {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.srv-tier.pro {
  background: rgba(0, 245, 155, 0.15);
  color: var(--emerald);
}

/* --- COMPARISON TABLE --- */
.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 10px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.comparison-table th {
  color: var(--text-dim);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-table th.brand-th {
  color: var(--emerald);
  background: rgba(0, 245, 155, 0.05);
}

.comparison-table td.brand-td {
  background: rgba(0, 245, 155, 0.03);
  font-weight: 600;
  color: var(--text-main);
}

.good { color: var(--emerald); margin-right: 8px; }
.warn { color: #f59e0b; margin-right: 8px; }
.bad  { color: #ef4444; margin-right: 8px; }

/* --- FEATURES GRID --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 32px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--emerald);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- PRICING --- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured-plan {
  border-color: var(--emerald);
  background: linear-gradient(180deg, rgba(16, 28, 44, 0.9), rgba(12, 19, 32, 0.85));
  box-shadow: 0 15px 50px rgba(0, 245, 155, 0.15);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 32px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #050a0f;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.plan-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.plan-tag.pro {
  color: var(--emerald);
}

.price-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.price-display .currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-display .amount {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.price-display .period {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.price-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.price-features li i {
  color: var(--emerald);
  font-size: 0.9rem;
}

.price-features li.disabled {
  color: var(--text-dim);
}

.price-features li.disabled i {
  color: var(--text-dim);
}

/* --- DOWNLOAD SECTION --- */
.download-box {
  background: linear-gradient(135deg, rgba(16, 24, 38, 0.9), rgba(9, 14, 23, 0.9));
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.download-left h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.download-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.release-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.release-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.release-meta i {
  color: var(--emerald);
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-card {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px 20px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: rgba(0, 245, 155, 0.15);
  color: var(--emerald);
  border-radius: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.step-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.step-text code {
  font-family: var(--font-mono);
  color: var(--emerald);
}

/* --- AUTH MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #0f1624;
  border: 1px solid var(--border-focus);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 245, 155, 0.15);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-head {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid var(--emerald);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.5rem;
}

.modal-head h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.modal-divider::before, .modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-divider span {
  padding: 0 12px;
}

.auth-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap i {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.input-wrap input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px 12px 40px;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.input-wrap input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.auth-error-msg {
  color: #ff5f56;
  font-size: 0.82rem;
  margin-bottom: 14px;
  display: none;
}

/* User Dashboard in Modal */
.user-avatar-badge {
  font-size: 2.8rem;
  color: var(--emerald);
  margin-bottom: 8px;
}

.user-tier-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 245, 155, 0.15);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  margin-top: 6px;
}

.user-tier-pill.pro {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #050a0f;
}

.user-details-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
  text-align: left;
}

.u-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.82rem;
}

.u-row span {
  color: var(--text-dim);
}

.u-row code {
  font-family: var(--font-mono);
  color: var(--text-main);
}

.badge-status-active {
  background: rgba(0, 245, 155, 0.15);
  color: var(--emerald);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.token-copy-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.token-copy-box button {
  background: transparent;
  border: none;
  color: var(--emerald);
  cursor: pointer;
}

.voucher-box {
  background: rgba(0, 245, 155, 0.04);
  border: 1px dashed var(--border-card);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.voucher-box h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.voucher-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.voucher-input-group {
  display: flex;
  gap: 8px;
}

.voucher-input-group input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-main);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: 700;
  outline: none;
}

.voucher-msg {
  font-size: 0.82rem;
  margin-top: 8px;
  font-weight: 600;
}

.voucher-msg.success { color: var(--emerald); }
.voucher-msg.error { color: #ff5f56; }

.modal-actions-footer {
  display: flex;
  gap: 12px;
}

/* --- FOOTER --- */
.footer {
  background: #040609;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 24px 30px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0;
  max-width: 320px;
}

.domain-flag {
  font-size: 0.8rem;
  color: var(--emerald);
  font-family: var(--font-mono);
}

.footer-col h4 {
  font-size: 0.88rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

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

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- MULTI-PLATFORM DOWNLOAD CARDS --- */
.download-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.platform-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--emerald);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.platform-card.featured-platform {
  border-color: rgba(0, 245, 155, 0.4);
  background: linear-gradient(180deg, rgba(16, 26, 42, 0.85), rgba(10, 15, 26, 0.8));
}

.plat-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--emerald);
  color: #050a0f;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.plat-badge.android-badge {
  background: linear-gradient(135deg, #00f59b, #00e5ff);
}

.plat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--emerald);
  margin-bottom: 20px;
}

.plat-icon-wrap.android-icon {
  color: #00f59b;
  background: rgba(0, 245, 155, 0.12);
}

.plat-icon-wrap.chrome-icon {
  color: #ffbd2e;
  border-color: rgba(255, 189, 46, 0.3);
  background: rgba(255, 189, 46, 0.1);
}

.plat-icon-wrap.apple-icon {
  color: #00e5ff;
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.1);
}

.platform-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.plat-spec {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--emerald);
  margin-bottom: 14px;
  display: block;
}

.platform-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.plat-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

.plat-features span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plat-features i {
  color: var(--emerald);
  font-size: 0.75rem;
}

.plat-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 10px;
  display: block;
}

/* ANDROID GUIDE BOX */
.android-guide-box {
  background: rgba(13, 19, 31, 0.6);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 30px;
  margin-top: 30px;
}

.guide-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.g-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.g-num {
  width: 32px;
  height: 32px;
  background: rgba(0, 245, 155, 0.15);
  color: var(--emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.g-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.g-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.glow-emerald-hover:hover {
  border-color: var(--emerald) !important;
  box-shadow: 0 0 20px var(--emerald-glow) !important;
}

/* --- TOAST NOTIFICATION SYSTEM --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100vw - 48px);
  pointer-events: none;
}

.toast-card {
  background: rgba(14, 20, 32, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-focus);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 245, 155, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  pointer-events: auto;
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  position: relative;
  overflow: hidden;
}

.toast-card.active {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.3rem;
  color: var(--emerald);
  margin-top: 2px;
  flex-shrink: 0;
}

.toast-icon.error { color: #ef4444; }
.toast-icon.info { color: var(--cyan); }

.toast-content h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text-main);
}

.toast-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--emerald);
  width: 100%;
  animation: toastTimer linear forwards;
}

@keyframes toastTimer {
  from { width: 100%; }
  to { width: 0%; }
}

/* --- POLICY MODAL WINDOW --- */
.policy-window {
  max-width: 580px;
}

.policy-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: left;
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 8px;
}

.policy-body h4 {
  font-size: 1.05rem;
  color: var(--emerald);
  margin: 16px 0 6px;
}

.policy-body p {
  margin-bottom: 12px;
}

.policy-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-body li {
  margin-bottom: 6px;
}

/* Button Active Physics */
.btn:active {
  transform: scale(0.96) !important;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-row {
    justify-content: center;
  }
  .download-box {
    grid-template-columns: 1fr;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .nav-links {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
