/* ═══════════════════════════════════════════════════════════════════════════════
   SENLOGIN Landing Page — Premium Dark Theme v2
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1424;
  --bg-card: #141929;
  --bg-card-hover: #1a2035;
  --border: rgba(99, 102, 241, 0.12);
  --border-hover: rgba(99, 102, 241, 0.3);
  --blue-500: #6366f1;
  --blue-400: #818cf8;
  --blue-300: #a5b4fc;
  --cyan-400: #22d3ee;
  --green-400: #4ade80;
  --yellow-400: #facc15;
  --red-400: #f87171;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gradient-primary: linear-gradient(135deg, #6366f1, #818cf8, #22d3ee);
  --gradient-button: linear-gradient(135deg, #6366f1, #7c3aed);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--blue-400); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-300); }
img { max-width: 100%; display: block; }

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

/* ── Typography ──────────────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }

.section-badge {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--blue-400);
  margin-bottom: 16px;
  background: rgba(99, 102, 241, 0.1);
  padding: 6px 16px; border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.section-title {
  font-size: 40px; font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px; line-height: 1.2;
}

.section-desc {
  font-size: 17px; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto;
  line-height: 1.7;
}

/* ── Animations ──────────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo img { height: 44px; width: auto; border-radius: 8px; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.header-nav a:hover { color: var(--text-primary); }

.lang-switch { display: flex; gap: 4px; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--border); }
.lang-btn {
  background: none; border: 1px solid transparent; border-radius: 6px;
  padding: 4px 10px; font-size: 12px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.lang-btn:hover { color: var(--text-primary); border-color: var(--border-hover); }
.lang-btn.active { color: var(--blue-400); border-color: var(--blue-500); background: rgba(99,102,241,0.1); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 140px 0 100px;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, rgba(99,102,241,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(34,211,238,0.05) 0%, transparent 50%);
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content { display: flex; align-items: center; gap: 60px; }
.hero-left { flex: 1; }
.hero-right { flex: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 24px; padding: 8px 20px;
  font-size: 13px; font-weight: 600;
  color: var(--blue-300); margin-bottom: 28px;
}

.hero h1 { margin-bottom: 24px; }
.hero-title-line {
  display: block; font-size: 52px; font-weight: 900;
  color: var(--text-primary); line-height: 1.1; letter-spacing: -1px;
}
.hero-title-gradient {
  display: block; font-size: 52px; font-weight: 900; line-height: 1.1; letter-spacing: -1px;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 36px; max-width: 500px;
}

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

.btn-primary-lg {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  background: var(--gradient-button);
  color: #fff; font-size: 15px; font-weight: 700;
  border: none; border-radius: 14px; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(99,102,241,0.35);
  text-decoration: none;
}
.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(99,102,241,0.45);
  color: #fff;
}

.btn-outline-lg {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; background: transparent;
  color: var(--text-primary); font-size: 15px; font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 14px;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.btn-outline-lg:hover {
  border-color: var(--blue-400); color: var(--blue-400);
  background: rgba(99,102,241,0.05);
}

/* Hero Stats */
.hero-stats {
  display: flex; align-items: center; gap: 32px;
}
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--text-primary); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Mockup */
.hero-mockup { perspective: 1000px; }
.mockup-window {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.5);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s;
}
.mockup-window:hover { transform: rotateY(0) rotateX(0); }

.mockup-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }
.mockup-title { margin-left: auto; font-size: 12px; color: var(--text-muted); font-weight: 600; letter-spacing: 1px; }

.mockup-content { display: flex; min-height: 240px; }
.mockup-sidebar {
  width: 140px; padding: 12px 8px;
  background: rgba(0,0,0,0.15); border-right: 1px solid var(--border);
}
.mockup-nav-item {
  padding: 8px 12px; border-radius: 8px; font-size: 11px;
  color: var(--text-muted); margin-bottom: 4px; cursor: default;
}
.mockup-nav-item.active { background: rgba(99,102,241,0.15); color: var(--blue-300); }
.mockup-main { flex: 1; padding: 12px; }

.mockup-row {
  display: grid; grid-template-columns: 30px 100px 70px 60px 80px;
  gap: 8px; align-items: center; padding: 8px 8px;
  border-radius: 6px; font-size: 11px; color: var(--text-muted);
}
.mockup-row:not(.header-row):hover { background: rgba(99,102,241,0.05); }
.mockup-row.header-row { font-weight: 700; color: var(--text-secondary); border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.profile-name { color: var(--blue-300); font-weight: 600; }
.browser-tag { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-align: center; }
.browser-tag.chrome { background: rgba(66,133,244,0.15); color: #4285f4; }
.browser-tag.edge { background: rgba(0,120,212,0.15); color: #0078d4; }
.browser-tag.coccoc { background: rgba(87,179,63,0.15); color: #57b33f; }
.browser-tag.brave { background: rgba(251,84,43,0.15); color: #fb542b; }
.status-dot { font-size: 10px; font-weight: 600; }
.status-dot.live { color: var(--green-400); }
.status-dot.warning { color: var(--yellow-400); }
.proxy-text { font-size: 10px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════════════════════ */
.features { padding: 120px 0; background: var(--bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 28px;
  transition: all 0.4s; position: relative; overflow: hidden;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.08);
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-primary); opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.feature-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════════════════
   BROWSERS
   ═══════════════════════════════════════════════════════════════════════════════ */
.browsers { padding: 120px 0; background: var(--bg-primary); }

.browser-showcase {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}

.browser-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 24px; width: 200px;
  text-align: center; transition: all 0.4s;
}
.browser-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.browser-card-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.browser-card-icon img { width: 56px; height: 56px; object-fit: contain; }

.browser-card-name { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.browser-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════════ */
.how-it-works { padding: 120px 0; background: var(--bg-secondary); }
.steps { display: flex; gap: 0; justify-content: center; align-items: center; }

.step { text-align: center; flex: 0 0 240px; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gradient-button);
  color: #fff; font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 24px rgba(99,102,241,0.3);
}
.step-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.step-connector { flex: 0 0 80px; display: flex; align-items: center; justify-content: center; padding-bottom: 60px; }
.step-line { width: 100%; height: 2px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); border-radius: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════════ */
.pricing { padding: 120px 0; background: var(--bg-primary); }

.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; max-width: 1000px; margin: 0 auto;
}

.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 24px; text-align: center;
  transition: all 0.4s; position: relative;
}
.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.08);
}
.price-card.popular {
  border-color: var(--blue-500);
  box-shadow: 0 0 40px rgba(99,102,241,0.12);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-button); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 16px;
  border-radius: 20px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px;
}
.price-icon { font-size: 36px; margin-bottom: 12px; }
.price-name { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; }
.price-features { list-style: none; margin-bottom: 20px; }
.price-features li {
  font-size: 14px; color: var(--text-muted);
  padding: 6px 0; display: flex; align-items: center;
  justify-content: center; gap: 8px;
}
.price-features li .check { color: var(--green-400); font-weight: 700; }
.price-features li .cross { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════════
   DOWNLOAD
   ═══════════════════════════════════════════════════════════════════════════════ */
.download { padding: 120px 0; background: var(--bg-secondary); text-align: center; }

.download-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 28px; padding: 64px 48px;
  max-width: 700px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.download-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15), transparent 70%);
  pointer-events: none;
}
.download-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-primary);
}
.download-icon-svg { margin: 0 auto 20px; }
.download-title { font-size: 32px; font-weight: 800; color: var(--text-primary); margin-bottom: 12px; }
.download-desc { font-size: 16px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; }

.download-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 48px;
  background: var(--gradient-button);
  color: #fff; font-size: 17px; font-weight: 700;
  border: none; border-radius: 16px; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 30px rgba(99,102,241,0.4);
  text-decoration: none;
}
.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.5);
  color: #fff;
}

.download-meta {
  margin-top: 24px; display: flex; gap: 32px;
  justify-content: center; flex-wrap: wrap;
}
.download-meta span {
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
.footer {
  padding: 48px 0; background: #060a14;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 32px; width: auto; border-radius: 6px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-left { order: 1; }
  .hero-right { order: 2; width: 100%; max-width: 500px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-title-line, .hero-title-gradient { font-size: 42px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 32px; }
  .mockup-window { transform: none; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(20px); padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .header-nav.open .lang-switch {
    border-left: none; margin-left: 0; padding-left: 0;
    padding-top: 12px; border-top: 1px solid var(--border);
  }
  .hamburger { display: block; }

  .hero { padding: 120px 0 60px; }
  .hero-title-line, .hero-title-gradient { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary-lg, .btn-outline-lg { width: 100%; max-width: 300px; justify-content: center; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 22px; }

  .features, .browsers, .how-it-works, .pricing, .download { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }

  .browser-showcase { flex-direction: column; align-items: center; }
  .browser-card { width: 100%; max-width: 300px; }

  .steps { flex-direction: column; gap: 40px; }
  .step { flex: none; }
  .step-connector { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }

  .download-box { padding: 40px 24px; }
  .download-title { font-size: 24px; }

  .section-title { font-size: 26px; }
  .section-desc { font-size: 15px; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ── Scrollbar ───────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }
