/* =============================================
   GET YOUR NEWS — STYLESHEET
   Dark mode, modern, clean
   ============================================= */

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

:root {
  --bg:         #0a0a0f;
  --bg-surface: #111118;
  --bg-card:    #16161f;
  --bg-card-2:  #1c1c28;
  --border:     #1e1e2e;
  --border-2:   #2a2a3e;
  --accent:     #5b7fff;
  --accent-2:   #7c5bff;
  --accent-glow:rgba(91, 127, 255, 0.15);
  --text:       #f0f0f5;
  --text-muted: #7a7a99;
  --text-dim:   #4a4a66;
  --green:      #22c55e;
  --red:        #ef4444;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.2s ease;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; }

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

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

code {
  background: var(--bg-card-2);
  border: 1px solid var(--border-2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.85em;
  color: var(--accent);
}

/* =============================================
   LAYOUT
   ============================================= */

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

.container-sm {
  max-width: 720px;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header p {
  margin-top: 12px;
  font-size: 1.1rem;
}

.section-tag {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(91, 127, 255, 0.3);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(91, 127, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 127, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
}

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-2);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}

.btn-outline:hover {
  background: var(--bg-card-2);
  border-color: var(--accent);
  color: var(--accent);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   NAVBAR
   ============================================= */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

#navbar.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 15, 0.95);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

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

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

.nav-cta { margin-left: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.mobile-link {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color var(--transition);
}

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

/* =============================================
   HERO
   ============================================= */

.hero {
  padding: 160px 24px 96px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Telegram Preview Card */
.hero-preview {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.tg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 400px;
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(91, 127, 255, 0.08);
}

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

.tg-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.tg-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.tg-status {
  font-size: 0.75rem;
  color: var(--green);
}

.tg-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.tg-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.tg-msg-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.tg-msg-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.tg-msg-footer {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* =============================================
   HOW IT WORKS
   ============================================= */

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step h3 {
  color: var(--text);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  padding-top: 60px;
  flex-shrink: 0;
}

/* =============================================
   TOPICS
   ============================================= */

/* Carousel */
.topics-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  padding: 16px 0;
}

.topics-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.topics-track .topic-card {
  flex: 0 0 calc(33.333% - 14px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.topic-card.peek {
  transform: scale(0.93);
  opacity: 0.35;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
  line-height: 1;
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(91, 127, 255, 0.3);
}

.carousel-arrow:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(91, 127, 255, 0.5);
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

.topic-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}

.topic-card-featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card), rgba(91, 127, 255, 0.05));
}

.topic-card-featured:hover {
  border-color: var(--accent);
}

.topic-featured-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.topic-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.topic-card h3 {
  color: var(--text);
  margin-bottom: 10px;
}

.topic-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.topic-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.topics-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* =============================================
   PRICING
   ============================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--transition);
}

.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--bg-card), rgba(91, 127, 255, 0.07));
  box-shadow: 0 0 48px rgba(91, 127, 255, 0.1);
}

.pricing-featured-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.pricing-old {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: line-through;
  align-self: center;
  margin-right: 4px;
}

.pricing-discount-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-trial {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check { color: var(--green); font-weight: 700; }
.cross { color: var(--text-dim); font-weight: 700; }

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* =============================================
   FAQ
   ============================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--bg-card-2); }

.faq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  background: var(--bg-card);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
  text-align: center;
  background: var(--bg);
}

.cta-inner {
  margin: 0 auto;
}

.cta-inner h2 {
  margin-bottom: 16px;
}

.cta-inner p {
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.cta-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 56px 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 220px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .nav-links,
  .nav-cta { display: none; }

  .hamburger { display: flex; }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step { max-width: 100%; }

  .step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .topics-track .topic-card {
    flex: 0 0 calc(100% - 14px);
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero { padding: 120px 24px 72px; }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links { gap: 32px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
}
