/* =========================================================
   Mediascope OÜ — Design System
   Inspired by: bold neo-modern SaaS style (Chatin, Dribbble)
   Palette adapted to media/news brand: forest green + acid lime
   ========================================================= */

:root {
  --forest: #10241C;      /* near-black deep green (headings, dark sections) */
  --forest-2: #1B3012;    /* dark olive green */
  --lime: #C8FF4D;        /* acid lime — primary accent */
  --lime-dark: #A6E024;
  --cream: #F6F4EA;       /* warm off-white background */
  --white: #FFFFFF;
  --ink: #16211B;
  --muted: #5B6B62;
  --blue: #BFE3FF;
  --pink: #FFD9E6;
  --yellow: #FFE7A8;
  --purple: #D6C8FF;
  --border: rgba(16,36,28,0.10);
  --shadow: 0 20px 45px rgba(16,36,28,0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --ff-head: 'Sora', 'Inter', sans-serif;
  --ff-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--forest);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

.highlight { color: var(--forest); background: var(--lime); padding: 0 .18em; border-radius: 8px; }
.highlight-light { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: var(--lime); }
.btn-primary:hover { background: var(--forest-2); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--lime); }
.btn-ghost { color: var(--forest); font-weight: 600; padding: 13px 14px; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,244,234,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { color: var(--forest); display: flex; }
.logo-text { font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; color: var(--forest); }

.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--forest); opacity: 0.75; transition: opacity .15s; }
.main-nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0;
  background: none; border: none; cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--forest); border-radius: 2px; }

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}
.hero-bg-word {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(60px, 14vw, 220px);
  color: rgba(16,36,28,0.05);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: -0.02em;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-dark); box-shadow: 0 0 0 4px rgba(198,255,77,.35); }

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-rating { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem;
  border: 3px solid var(--cream);
  margin-left: -10px;
  font-family: var(--ff-head);
}
.avatars .avatar:first-child { margin-left: 0; }
.rating-text { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.rating-text i { color: #F5B400; margin-right: 4px; }

.hero-visual { position: relative; }
.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3.6;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.glass-card {
  position: absolute;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(16,36,28,0.15);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-head);
}
.card-alert { top: 8%; left: -8%; max-width: 250px; }
.card-alert i { background: var(--lime); color: var(--forest); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.glass-title { margin: 0; font-weight: 700; font-size: 0.85rem; color: var(--forest); }
.glass-sub { margin: 2px 0 0; font-size: 0.75rem; color: var(--muted); font-family: var(--ff-body); }

.card-stat { bottom: 6%; right: -6%; text-align: left; flex-direction: column; align-items: flex-start; }
.glass-num { margin: 0; font-size: 1.8rem; font-weight: 800; color: var(--forest); }

.card-lang { top: 45%; right: -10%; gap: 8px; padding: 10px 14px; }
.card-lang span {
  background: var(--forest); color: var(--lime);
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 8px; border-radius: 6px;
}

/* ================= TRUST STRIP ================= */
.trust-strip { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.trust-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0; }
.trust-tags { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.trust-tags span { font-weight: 600; font-size: 0.92rem; color: var(--forest); display: flex; align-items: center; gap: 8px; opacity: 0.85; }
.trust-tags i { color: var(--lime-dark); }

/* ================= SECTION GENERIC ================= */
.section { padding: 100px 0; }
.section-eyebrow {
  font-weight: 700; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--lime-dark); margin: 0 0 14px;
  -webkit-text-stroke: 0.3px var(--forest-2);
}
.section-eyebrow.light { color: var(--lime); -webkit-text-stroke: none; }
.section-title { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; max-width: 780px; margin-bottom: 20px; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 680px; line-height: 1.65; margin-bottom: 0; }

/* ================= SERVICES ================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--forest);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); line-height: 1.6; margin: 0; font-size: 0.95rem; }

/* ================= HOW IT WORKS ================= */
.how-section { background: var(--white); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.how-step {
  position: relative;
  padding: 28px 22px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.how-num {
  display: block;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--lime-dark);
  -webkit-text-stroke: 1.5px var(--forest);
  margin-bottom: 14px;
}
.how-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.how-step p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }

/* ================= STATEMENT (dark) ================= */
.statement-section { background: var(--forest); padding: 100px 0; overflow: hidden; }
.statement-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.statement-copy h2 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 20px; }
.statement-copy p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.7; margin-bottom: 30px; max-width: 480px; }
.statement-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.statement-photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); }
.card-mini {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.9);
  padding: 10px 16px; font-size: 0.85rem; font-weight: 700; color: var(--forest);
}
.card-mini i { color: var(--lime-dark); margin-right: 8px; }

/* ================= MARKET ================= */
.market-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.market-points { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.market-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--ink); line-height: 1.5; }
.market-points i { color: var(--lime-dark); margin-top: 3px; }
.market-chart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.chart-title { font-family: var(--ff-head); font-weight: 700; color: var(--forest); margin: 0 0 18px; }
.chart-wrap { height: 260px; position: relative; }
.chart-caption { font-size: 0.8rem; color: var(--muted); margin: 16px 0 0; }

/* ================= PRICING ================= */
.pricing-section { background: var(--white); }
.billing-toggle { display: flex; align-items: center; gap: 16px; margin: 40px 0 10px; font-weight: 600; }
.billing-toggle #labelMonthly.active, .billing-toggle #labelAnnual.active { color: var(--forest); }
.billing-toggle span { color: var(--muted); font-size: 0.95rem; }
.billing-toggle em { color: var(--lime-dark); font-style: normal; }
.switch { width: 52px; height: 30px; background: var(--forest); border-radius: var(--radius-pill); border: none; position: relative; cursor: pointer; padding: 0; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); transition: transform .2s ease; }
.switch[aria-pressed="true"] .knob { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.price-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column;
}
.price-card.featured { background: var(--forest); color: var(--white); transform: scale(1.03); box-shadow: var(--shadow); }
.price-card.featured h3, .price-card.featured .price-desc { color: var(--white); }
.price-card.featured .price-amount, .price-card.featured .currency, .price-card.featured .period { color: var(--lime); }
.price-card.featured .price-features li { color: rgba(255,255,255,0.85); }
.price-card.featured .price-features i { color: var(--lime); }
.badge { position: absolute; top: -14px; left: 30px; background: var(--lime); color: var(--forest); font-size: 0.75rem; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); }
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 22px; }
.price-amount { font-family: var(--ff-head); font-weight: 800; margin: 0 0 26px; color: var(--forest); }
.currency { font-size: 1.4rem; vertical-align: top; }
.amount { font-size: 2.6rem; }
.period { font-size: 1rem; color: var(--muted); font-weight: 500; }
.amount-text { font-size: 2.2rem; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink); }
.price-features i { color: var(--lime-dark); margin-top: 2px; }

/* ================= ABOUT ================= */
.about-inner { max-width: 760px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.about-facts div { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; }
.about-facts span { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.about-facts strong { font-size: 0.95rem; color: var(--forest); font-family: var(--ff-head); }
.about-note { font-size: 0.92rem; color: var(--muted); line-height: 1.6; border-left: 3px solid var(--lime); padding-left: 16px; }

/* ================= FAQ ================= */
.faq-section { background: var(--white); }
.faq-list { max-width: 780px; margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; }
.faq-item summary { font-weight: 700; font-family: var(--ff-head); color: var(--forest); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--lime-dark); transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 14px 0 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

/* ================= CTA / CONTACT ================= */
.cta-section { position: relative; background: var(--forest); padding: 110px 0; overflow: hidden; }
.cta-bg-word {
  position: absolute; bottom: -6%; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(60px, 13vw, 200px);
  color: rgba(255,255,255,0.04);
  white-space: nowrap; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
.cta-title { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 18px; }
.cta-sub { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 40px; }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 34px; text-align: left; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-md);
  border: 1px solid var(--border); font-family: var(--ff-body); font-size: 0.95rem;
  background: var(--cream); color: var(--ink);
}
.contact-form textarea { width: 100%; margin-bottom: 18px; resize: vertical; }
.contact-form select { appearance: none; }
.form-note { text-align: center; margin: 14px 0 0; font-size: 0.88rem; color: var(--lime-dark); font-weight: 600; min-height: 20px; }

/* ================= FOOTER ================= */
.site-footer { background: var(--forest-2); color: rgba(255,255,255,0.85); padding-top: 70px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 1; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: var(--lime); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.92rem; transition: color .15s; }
.footer-col a:hover { color: var(--lime); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 280px; }
.footer-brand .logo-text, .footer-brand .logo-mark { color: var(--lime); }
.social-links { display: flex; gap: 10px; margin-top: 8px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--lime); color: var(--forest); }

.footer-bigword {
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(60px, 15vw, 220px);
  color: rgba(255,255,255,0.05);
  text-align: center; line-height: 1; margin: 10px 0 -30px;
  letter-spacing: -0.02em;
  position: relative; z-index: 0;
}
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 24px; font-size: 0.82rem; color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 1; flex-wrap: wrap; gap: 8px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner, .market-inner, .statement-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 20px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .how-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 14px 18px; }
  .service-grid, .how-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .card-alert, .card-stat, .card-lang { position: static; margin-top: 14px; max-width: none; }
  .hero-visual { display: flex; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Mobile nav drawer */
@media (max-width: 980px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
}
