/* ============================================
   GenZig — Main Stylesheet
   Instagram + Telegram Mix Dark Theme
   ============================================ */

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

:root {
  --bg:        #0a0a0f;
  --bg2:       #111118;
  --bg3:       #1a1a26;
  --card:      #16161f;
  --border:    rgba(255,255,255,0.07);
  --purple:    #8b5cf6;
  --purple2:   #7c3aed;
  --pink:      #ec4899;
  --blue:      #3b82f6;
  --green:     #10b981;
  --orange:    #f59e0b;
  --red:       #ef4444;
  --grad:      linear-gradient(135deg, #8b5cf6, #ec4899);
  --grad2:     linear-gradient(135deg, #3b82f6, #8b5cf6);
  --text:      #f1f1f1;
  --text2:     #a0a0b0;
  --text3:     #6b6b80;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 8px 32px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

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

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

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 10px; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon { font-size: 22px; }

.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.btn-ghost {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text2);
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

.btn-primary {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  background: var(--grad);
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  gap: 10px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text2);
  padding: 8px 0;
}
.mobile-menu.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  padding: 100px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.hero-bg-blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.blur1 { width: 400px; height: 400px; background: rgba(139,92,246,0.15); top: -100px; left: -100px; }
.blur2 { width: 300px; height: 300px; background: rgba(236,72,153,0.1); top: 200px; right: -50px; }
.blur3 { width: 250px; height: 250px; background: rgba(59,130,246,0.1); bottom: 100px; left: 30%; }
.blur-cta { width: 600px; height: 400px; background: rgba(139,92,246,0.12); top: 50%; left: 50%; transform: translate(-50%,-50%); position: absolute; }

.hero-content { flex: 1; max-width: 560px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

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

.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

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

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-anon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  transition: all 0.2s;
}
.btn-anon:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139,92,246,0.4);
  transition: all 0.2s;
}
.btn-primary-lg:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,0.5); }

.hero-note {
  font-size: 12px;
  color: var(--text3);
}

/* MOCKUP */
.hero-mockup {
  flex: 0 0 300px;
  position: relative;
  z-index: 1;
}

.mockup-phone {
  width: 300px;
  background: var(--card);
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}

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

.mockup-avatar {
  width: 38px; height: 38px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.mockup-name { font-weight: 700; font-size: 14px; display: block; }
.mockup-status { font-size: 11px; color: var(--green); display: block; }

.mockup-messages {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  background: var(--bg2);
}

.msg-row { display: flex; flex-direction: column; }
.msg-row.sent { align-items: flex-end; }
.msg-row.received { align-items: flex-start; }

.msg-bubble {
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 13px;
  max-width: 85%;
  line-height: 1.4;
}
.msg-bubble.sent {
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-bubble.received {
  background: var(--bg3);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.msg-time {
  font-size: 10px;
  color: var(--text3);
  margin-top: 3px;
  padding: 0 4px;
}

.read-tick { color: #60a5fa; margin-left: 3px; }

.img-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fake-img {
  width: 32px; height: 32px;
  background: rgba(139,92,246,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--purple);
}

.voice-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}
.voice-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.voice-bar span {
  width: 3px;
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
  animation: voiceAnim 0.8s infinite alternate;
}
.voice-bar span:nth-child(1) { height: 8px; animation-delay: 0s; }
.voice-bar span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.voice-bar span:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.voice-bar span:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.voice-bar span:nth-child(5) { height: 16px; animation-delay: 0.4s; }
.voice-bar span:nth-child(6) { height: 10px; animation-delay: 0.5s; }
.voice-bar span:nth-child(7) { height: 14px; animation-delay: 0.6s; }
.voice-bar span:nth-child(8) { height: 8px; animation-delay: 0.7s; }

@keyframes voiceAnim {
  from { transform: scaleY(0.5); opacity: 0.5; }
  to   { transform: scaleY(1.2); opacity: 1; }
}

.voice-dur { font-size: 11px; color: rgba(255,255,255,0.7); }

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
}
.typing-indicator span {
  width: 7px; height: 7px;
  background: var(--text3);
  border-radius: 50%;
  animation: typingBounce 1s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
.typing-indicator small { font-size: 11px; color: var(--text3); margin-left: 4px; }

@keyframes typingBounce {
  0%,100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-5px); opacity: 1; }
}

.mockup-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  font-size: 18px;
  color: var(--text3);
}
.input-fake {
  flex: 1;
  font-size: 13px;
  color: var(--text3);
  font-family: 'Inter', sans-serif;
}
.send-icon { color: var(--purple); }

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}
.feat-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.3); }

.feat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feat-icon.purple { background: rgba(139,92,246,0.15); color: var(--purple); }
.feat-icon.pink   { background: rgba(236,72,153,0.15);  color: var(--pink); }
.feat-icon.blue   { background: rgba(59,130,246,0.15);  color: var(--blue); }
.feat-icon.green  { background: rgba(16,185,129,0.15);  color: var(--green); }
.feat-icon.orange { background: rgba(245,158,11,0.15);  color: var(--orange); }
.feat-icon.red    { background: rgba(239,68,68,0.15);   color: var(--red); }

.feat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feat-card p  { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ============================================
   ANONYMOUS SECTION
   ============================================ */
.anon-section {
  padding: 80px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.anon-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.anon-text { flex: 1; }
.anon-text h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.anon-text p { font-size: 15px; color: var(--text2); margin-bottom: 24px; line-height: 1.7; }

.anon-list { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.anon-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text2); }
.anon-list li i { color: var(--green); font-size: 13px; }

.anon-visual { flex: 0 0 320px; }

.anon-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.anon-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.anon-ghost-icon { font-size: 28px; }
.anon-card-title { font-weight: 700; font-size: 14px; }
.anon-card-sub { font-size: 12px; color: var(--green); }

.anon-msgs { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.anon-msg { font-size: 13px; color: var(--text2); line-height: 1.5; }
.anon-name { font-weight: 700; color: var(--purple); margin-right: 6px; }
.anon-msg.you .you-name { color: var(--pink); }
.anon-msg.you { color: var(--text); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; margin-bottom: 14px; }
.cta-section p { font-size: 17px; color: var(--text2); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text3); transition: color 0.2s; }
.footer-links a:hover { color: var(--purple); }

/* ============================================
   AUTH PAGES (Login / Signup)
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  position: relative;
}

.auth-blur1 { width: 400px; height: 400px; background: rgba(139,92,246,0.12); top: -100px; left: -100px; }
.auth-blur2 { width: 300px; height: 300px; background: rgba(236,72,153,0.08); bottom: -50px; right: -50px; }

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 36px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo .logo-text { font-size: 28px; }

.auth-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; text-align: center; }
.auth-sub   { font-size: 14px; color: var(--text2); text-align: center; margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text2); }

.form-input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--purple); }
.form-input::placeholder { color: var(--text3); }

.form-input-wrap {
  position: relative;
}
.form-input-wrap .form-input { padding-right: 44px; }
.toggle-pass {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text3);
  cursor: pointer;
  font-size: 15px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 6px;
  box-shadow: 0 4px 20px rgba(139,92,246,0.35);
}
.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text3);
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-anon-sm {
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-anon-sm:hover { background: rgba(255,255,255,0.08); }

.auth-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  margin-top: 20px;
}
.auth-footer-text a { color: var(--purple); font-weight: 600; }

.forgot-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--purple);
  margin-top: -12px;
  margin-bottom: 18px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 90px;
  }
  .hero-btns { justify-content: center; }
  .hero-mockup { flex: unset; }
  .anon-inner { flex-direction: column; }
  .anon-visual { width: 100%; }
  .anon-card { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-title { font-size: 34px; }
  .mockup-phone { width: 100%; max-width: 300px; margin: 0 auto; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .auth-card { padding: 28px 20px; }
}
