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

:root {
  --bg: #f9fafb;
  --primary: #3b82f6;
  --text: #111827;
  --text-muted: #6b7280;
  --border: rgba(0,0,0,0.08);
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
}
.logo-area { display: flex; align-items: center; gap: 0.6rem; }
.logo-icon {
  width: 30px; height: 30px; background: var(--primary);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 16px; height: 16px; color: #ffffff; }
.logo-text { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; }
.badge-pro {
  background: rgba(59,130,246,0.1); color: var(--primary);
  padding: 0.15rem 0.45rem; font-size: 0.6rem; font-weight: 800;
  border-radius: 4px; letter-spacing: 0.05em;
}
.header-links { display: flex; gap: 1.75rem; }
.header-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500;
  transition: color 0.15s; position: relative;
}
.header-links a:hover { color: var(--text); }
.header-links a.nav-active { color: var(--text); }
.header-links a.nav-active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 1px;
}
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.25rem; font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 600; border-radius: 8px;
  cursor: pointer; transition: all 0.15s; border: none; outline: none; text-decoration: none;
}
.btn-lg { padding: 0.85rem 1.75rem; font-size: 0.9rem; }
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.15); }
.btn-ghost { background: transparent; color: var(--text-muted); font-weight: 500; }
.btn-ghost:hover { color: var(--text); }
.btn-block { width: 100%; }
.btn-proxy { background: rgba(167,139,250,0.12); color: #7c3aed; border: 1px solid rgba(167,139,250,0.3); }
.btn-proxy:hover { background: rgba(167,139,250,0.22); transform: translateY(-1px); }

/* ── BG Effects ── */
.bg-glow {
  position: absolute; top: -150px; left: -150px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.bg-glow-right {
  position: absolute; top: 50px; right: -200px; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.03) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}

/* ── Hero ── */
.hero-section { position: relative; overflow: hidden; }
.hero {
  display: flex; gap: 5rem; align-items: center;
  min-height: calc(100vh - 64px); padding: 4rem 0;
  position: relative; z-index: 1;
}
.hero-left { flex: 1.15; }
.hero-right { flex: 0.85; display: flex; justify-content: flex-end; }

.live-badge-wrap {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,0,0,0.03); border: 1px solid var(--border);
  padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.7rem; font-weight: 600;
  margin-bottom: 1.75rem; color: var(--text-muted);
}
.live-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 8px var(--primary); flex-shrink:0; }

.hero-title { font-size: 4.5rem; font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.hero-title .highlight { color: var(--primary); }
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); line-height: 1.65; max-width: 460px; margin-bottom: 2.5rem; }
.hero-cta { display: flex; align-items: center; gap: 1rem; }

.trusted-wrap { display: flex; align-items: center; gap: 0.75rem; margin-top: 2.5rem; }
.avatars { display: flex; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg);
  background: #e5e7eb; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.avatar.hl { background: var(--primary); color: #ffffff; }
.trusted-text { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

/* ── Auth Card ── */
.auth-card {
  width: 100%; max-width: 390px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.auth-tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.75rem; }
.atab { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); padding-bottom: 0.75rem; cursor: pointer; position: relative; transition: color 0.15s; }
.atab:hover { color: var(--text); }
.atab.active { color: var(--text); }
.atab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--primary); border-radius: 1px; }

.form-group { margin-bottom: 1.1rem; }
.form-label { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.45rem; letter-spacing: 0.02em; }
.form-label a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.form-label a:hover { color: var(--text); }
.form-input {
  width: 100%; background: #ffffff; border: 1px solid var(--border);
  border-radius: 8px; padding: 0.8rem 0.9rem; font-family: 'Inter', sans-serif;
  color: var(--text); font-size: 0.85rem; transition: border-color 0.15s; outline: none;
}
.form-input:focus { border-color: var(--primary); }

.divider { display: flex; align-items: center; margin: 1.5rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
.divider span { padding: 0 0.75rem; font-size: 0.65rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.04em; }

.social-btns { display: flex; gap: 0.75rem; }
.social-btns .btn { flex: 1; gap: 0.5rem; font-size: 0.8rem; }
.auth-footer { margin-top: 1.25rem; text-align: center; font-size: 0.78rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* ── Sections ── */
.lp-section { padding: 7rem 0; }
.alt-section { background: rgba(255,255,255,0.01); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--primary); background: rgba(34,255,136,0.1); border-radius: 4px;
  padding: 0.25rem 0.6rem; margin-bottom: 1.25rem;
}
.section-title { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.section-sub { font-size: 0.95rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.65; }

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem; transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover { border-color: rgba(34,255,136,0.2); background: rgba(34,255,136,0.02); }
.fc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.fc-icon.blue { background: rgba(59,130,246,0.1); color: var(--primary); }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

/* ── Services Preview ── */
.services-preview-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
.svc-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 0.75rem; text-align: center;
  cursor: pointer; transition: all 0.15s;
}
.svc-card:hover { border-color: rgba(34,255,136,0.25); background: rgba(34,255,136,0.03); transform: translateY(-2px); }
.svc-card.see-all { border-style: dashed; color: var(--text-muted); }
.svc-icon {
  width: 20px; height: 20px; margin: 0 auto 0.4rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border-radius: 5px;
  overflow: hidden; position: relative;
}
.svc-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.svc-name { font-size: 0.72rem; font-weight: 700; margin-bottom: 0.25rem; }
.svc-rate { font-size: 0.62rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.svc-price { font-size: 0.78rem; font-weight: 800; color: var(--primary); }

/* ── Proxy Preview ── */
.proxy-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: end; }
.proxy-prev-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 2rem 1.5rem; text-align: center; position: relative;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; align-items: center;
}
.proxy-prev-card.ppc-popular {
  border: 1px solid #009688; border-top-left-radius: 0; border-top-right-radius: 0;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  z-index: 2;
}
.ppc-popular-banner {
  position: absolute; top: -34px; left: -1px; right: -1px;
  background: #009688; color: #fff; font-size: 0.85rem; font-weight: 700;
  padding: 8px; border-top-left-radius: 8px; border-top-right-radius: 8px;
}
.ppc-icon-wrap {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.ppc-name { font-size: 1.1rem; font-weight: 600; color: #1e293b; margin-bottom: 1rem; }
.ppc-starts-from { font-size: 0.75rem; color: #64748b; margin-bottom: 0.2rem; }
.ppc-price { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin-bottom: 1.5rem; }
.ppc-per { font-size: 0.9rem; font-weight: 400; color: #475569; }

.ppc-btn-outline {
  display: block; width: 100%; border: 1px solid #009688; background: #fff; color: #009688;
  padding: 0.6rem; border-radius: 4px; font-weight: 600; margin-bottom: 1.5rem;
  transition: all 0.2s;
}
.ppc-btn-outline:hover { background: #009688; color: #fff; }
.ppc-btn-solid {
  display: block; width: 100%; border: 1px solid #f39c12; background: #f39c12; color: #fff;
  padding: 0.6rem; border-radius: 4px; font-weight: 600; margin-bottom: 1.5rem;
  transition: all 0.2s;
}
.ppc-btn-solid:hover { background: #e67e22; }

.ppc-features { list-style: none; padding: 0; margin: 0; text-align: left; width: 100%; }
.ppc-features li { font-size: 0.8rem; color: #475569; margin-bottom: 0.5rem; display: flex; align-items: center; }
.ppc-check { color: #009688; margin-right: 0.4rem; font-weight: bold; font-size: 0.9rem; }

/* ── API ── */
.api-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: center; }
.api-features { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.75rem; }
.api-feat { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.af-check { color: var(--primary); font-size: 0.9rem; font-weight: 800; flex-shrink: 0; }

.code-block {
  background: #ffffff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.code-hdr {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1rem; background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.r { background: #ff5f57; }
.code-dot.y { background: #febc2e; }
.code-dot.g { background: #28c840; }
.code-lang { margin-left: auto; font-size: 0.7rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.03em; }
.code-block pre { padding: 1.5rem; font-size: 0.8rem; line-height: 1.7; overflow-x: auto; }
.code-block code { font-family: 'Fira Code', 'Courier New', monospace; }
.ck { color: #c792ea; } /* keyword */
.cv { color: #82aaff; } /* variable */
.cs { color: #c3e88d; } /* string */
.cp { color: #89ddff; } /* punctuation */
.cc { color: #546e7a; font-style: italic; } /* comment */
.ci { color: #f78c6c; } /* interpolation */

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 480px; margin: 0 auto 4rem auto; }

/* Side-by-side combo: SMS card left, Proxy grid right */
.pricing-combo-grid {
  display: grid;
  grid-template-columns: minmax(300px, 400px) 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* The right-hand proxy shop wrapper card */
.proxy-shop-wrap { border-color: rgba(167,139,250,0.2) !important; background: rgba(167,139,250,0.02) !important; }

/* 4-column grid nested inside the proxy card */
.proxy-preview-grid--inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.proxy-preview-grid--inline .proxy-prev-card { font-size: 0.8rem; padding: 0.9rem 0.65rem; }
.proxy-preview-grid--inline .ppc-price { font-size: 1rem; }
.proxy-preview-grid--inline .ppc-name { font-size: 0.78rem; }
.proxy-preview-grid--inline .ppc-features { display: none; } /* hide feature list when embedded */


.pricing-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; transition: border-color 0.2s;
}
.pricing-card.featured { border-color: rgba(34,255,136,0.25); background: rgba(34,255,136,0.02); }
.pricing-card.proxy-card { border-color: rgba(167,139,250,0.2); background: rgba(167,139,250,0.02); }

.pc-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(34,255,136,0.1); color: var(--primary);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem; border-radius: 5px; margin-bottom: 1rem;
}
.proxy-tag { background: rgba(167,139,250,0.1); color: #a78bfa; }
.pc-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.pc-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1.5rem; }

.pc-plans { display: flex; flex-direction: column; gap: 0.55rem; }
.pc-plan {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.85rem 0.9rem; position: relative; overflow: hidden;
  transition: background 0.15s;
}
.pc-plan:hover { background: rgba(255,255,255,0.05); }
.pc-plan.best { border-color: rgba(34,255,136,0.3); background: rgba(34,255,136,0.04); }
.pc-plan.proxy-best { border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.04); }
.pc-best-badge {
  position: absolute; top: 0; right: 0;
  background: rgba(34,255,136,0.15); color: var(--primary);
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.05em;
  padding: 0.18rem 0.45rem; border-bottom-left-radius: 6px;
}
.proxy-badge { background: rgba(167,139,250,0.15); color: #a78bfa; }

.pc-plan-info { display: flex; flex-direction: column; gap: 0.1rem; }
.pc-plan-name { font-size: 0.84rem; font-weight: 700; }
.pc-plan-desc { font-size: 0.7rem; color: var(--text-muted); }
.pc-plan-price { font-size: 1.2rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
.proxy-price { color: #a78bfa; }

.pricing-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 2.5rem; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-trust-row {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase;
}

/* ── Mobile Responsiveness ── */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; gap: 3rem; padding: 2rem 0; }
  .hero-right { justify-content: center; width: 100%; }
  .auth-card { max-width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-preview-grid { grid-template-columns: repeat(4, 1fr); }
  .api-layout { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .api-layout .section-title, .api-layout .section-sub { text-align: center !important; }
  .api-features { align-items: center; }
  .pricing-combo-grid { grid-template-columns: 1fr; }
  .proxy-preview-grid--inline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-inner { flex-direction: column; gap: 1rem; padding: 1rem; }
  .header-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { max-width: 100%; margin: 0 auto 2rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .trusted-wrap { justify-content: center; }
  
  .features-grid { grid-template-columns: 1fr; }
  .services-preview-grid { grid-template-columns: repeat(3, 1fr); }
  
  .proxy-preview-grid, .proxy-preview-grid--inline { grid-template-columns: 1fr; }
  
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .services-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.2rem; }
}
