/* ==========================================================
   NewsCut — Editorial, blue & white
   ========================================================== */

:root {
  /* Color */
  --blue-900: #061d4a;
  --blue-800: #0b3d91;
  --blue-700: #1351c4;
  --blue-500: #2f6fed;
  --blue-100: #e6efff;
  --blue-050: #f3f7ff;
  --ink:      #0a1530;
  --ink-soft: #45506b;
  --line:     #d9e1f1;
  --white:    #ffffff;
  --off:      #fafbff;
  --accent:   #ffce3a; /* warm spark for callouts */

  /* Type */
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans:  "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --hindi: "Noto Sans Devanagari", "Poppins", sans-serif;
  --hindi-serif: "Noto Sans Devanagari", Georgia, serif;

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[lang="hi"] {
  font-family: var(--hindi);
}

a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

img, svg { display: block; max-width: 100%; }

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-800);
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
  flex-shrink: 1;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-soft);
  position: relative;
}
.nav-links a:hover {
  color: var(--blue-800);
  text-decoration: none;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--blue-700);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
  flex-shrink: 0;
}

.lang-btn {
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--blue-800);
  color: var(--white);
}

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

  .header-inner { height: 60px; }

  .brand-logo {
    height: 28px;
    max-width: 110px;
  }
}

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

.hero {
  position: relative;
  padding: clamp(40px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 90% 0%, var(--blue-100) 0%, transparent 60%),
    radial-gradient(60% 50% at 0% 100%, var(--blue-050) 0%, transparent 70%),
    var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-700);
  padding: 6px 12px;
  border: 1px solid var(--blue-100);
  background: var(--blue-050);
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}

body[lang="hi"] .hero-title {
  font-family: var(--hindi-serif);
  font-size: clamp(38px, 6.5vw, 78px);
  line-height: 1.15;
}

.hero-title span { display: block; }
.hero-title .accent {
  font-style: italic;
  color: var(--blue-800);
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.55;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--blue-800);
  color: var(--white);
  box-shadow: 0 8px 24px -10px rgba(11,61,145,0.5);
}
.btn-primary:hover {
  background: var(--blue-900);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-800);
  border-color: var(--blue-100);
}
.btn-ghost:hover {
  background: var(--blue-050);
  text-decoration: none;
}

/* Play Store style download button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 18px;
  background: #000000;
  color: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  font-family: var(--sans);
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease;
  box-shadow: 0 10px 30px -12px rgba(10,21,48,0.45);
}
.btn-store:hover {
  background: #000;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -14px rgba(10,21,48,0.55);
}

.store-icon {
  width: 28px;
  height: 30px;
  flex-shrink: 0;
}

.store-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.store-small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.store-big {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Red danger button */
.btn-danger {
  background: #d92638;
  color: var(--white);
  border: 1px solid #d92638;
  box-shadow: 0 8px 24px -10px rgba(217,38,56,0.5);
}
.btn-danger:hover {
  background: #b71d2d;
  border-color: #b71d2d;
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  gap: clamp(20px, 4vw, 44px);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--blue-800);
  letter-spacing: -0.01em;
}

.hero-meta span {
  font-size: 13px;
  color: var(--ink-soft);
}

/* Hero card / phone mockup */
.hero-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}

.phone {
  position: relative;
  width: 290px;
  filter: drop-shadow(0 40px 60px rgba(6,29,74,0.25)) drop-shadow(0 12px 20px rgba(6,29,74,0.12));
  animation: phoneIn 1s cubic-bezier(0.2,0.8,0.2,1) both;
  animation-delay: 0.35s;
}

@keyframes phoneIn {
  from { opacity: 0; transform: translateY(30px) rotate(-2deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0); }
}

.phone-frame {
  position: relative;
  background: #0a1530;
  border-radius: 42px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #0a1530;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone-notch::before,
.phone-notch::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #1a2548;
  border-radius: 50%;
}
.phone-notch::before { left: 18px; }
.phone-notch::after { right: 18px; }

.phone-screen {
  background: #f3f7ff;
  border-radius: 32px;
  overflow: hidden;
  height: 580px;
  position: relative;
  display: flex;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating chip */
.phone-float {
  position: absolute;
  left: -28px;
  top: 30%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px -10px rgba(6,29,74,0.2);
  animation: floatIn 1s ease both;
  animation-delay: 0.85s;
  z-index: 4;
}

.float-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ed172;
  box-shadow: 0 0 0 3px rgba(46,209,114,0.18);
  animation: pulse 2s ease-in-out infinite;
}

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

@keyframes floatIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-card { min-height: 560px; margin-top: 24px; }
  .phone-float { left: 50%; transform: translateX(-50%); top: auto; bottom: -16px; }
  @keyframes floatIn {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
  }
}

/* ============ SECTION SHELLS ============ */

.section {
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
}

.section-features { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-langs { background: var(--white); }
.section-legal { background: var(--white); border-top: 1px solid var(--line); }
.section-legal.alt { background: var(--off); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

body[lang="hi"] .section-title { font-family: var(--hindi-serif); line-height: 1.3; }

/* ============ FEATURES LIST (editorial rows) ============ */

.features-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(24px, 4vw, 40px) clamp(8px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s ease;
  position: relative;
}

.feature-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue-700);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1);
}

.feature-row:hover {
  background: var(--blue-050);
  padding-left: clamp(20px, 4vw, 40px);
}

.feature-row:hover::before {
  transform: scaleY(1);
}

.feature-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--blue-800);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  position: relative;
}

.feature-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue-700);
  margin-top: 12px;
}

.feature-content h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

body[lang="hi"] .feature-content h3 {
  font-family: var(--hindi-serif);
  font-weight: 700;
  line-height: 1.3;
}

.feature-content p {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
  max-width: 60ch;
}

.feature-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .feature-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 8px 20px;
  }
  .feature-num { font-size: 38px; grid-row: 1; }
  .feature-tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }
  .feature-content {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .feature-num::after { display: none; }
}

/* ============ LANGUAGES GRID ============ */

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.lang-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.25s ease;
}

.lang-card.live {
  background: var(--blue-050);
  border-color: var(--blue-100);
}

.lang-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(11,61,145,0.2);
}

.lang-flag {
  font-size: 32px;
  margin-bottom: 12px;
}

.lang-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.lang-status {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lang-card.live .lang-status { color: var(--blue-700); }

/* ============ LEGAL BLOCKS ============ */

.legal-wrap { max-width: 780px; }

.legal-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin: -32px 0 32px;
  font-style: italic;
}

.legal-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}

body[lang="hi"] .legal-body h3 { font-family: var(--hindi-serif); line-height: 1.4; }

.legal-body p, .legal-body li {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 14px;
}

.legal-list { padding-left: 22px; margin: 0 0 14px; }
.legal-list li { margin-bottom: 8px; }

.delete-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ============ CONTACT CARD ============ */

.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding: 20px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -16px rgba(11,61,145,0.18);
}

.contact-icon {
  font-size: 28px;
  color: var(--blue-700);
  flex-shrink: 0;
}

.contact-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.contact-email {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-800);
  letter-spacing: -0.01em;
}

.contact-email:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

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

.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.foot-logo {
  height: 34px;
  width: auto;
  max-width: 130px;
  display: block;
  object-fit: contain;
  flex-shrink: 1;
  filter: brightness(1) invert(0);
}

.foot-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.foot-links a {
  color: rgba(255,255,255,0.8);
}
.foot-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.foot-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .foot-brand {
    justify-content: center;
  }

  .foot-logo {
    height: 28px;
    max-width: 110px;
  }

  .foot-meta { align-items: center; }
}

/* ============ MOTION ============ */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-copy > * { animation: rise 0.7s ease both; }
.hero-copy .eyebrow    { animation-delay: 0.05s; }
.hero-copy .hero-title { animation-delay: 0.15s; }
.hero-copy .hero-sub   { animation-delay: 0.25s; }
.hero-copy .hero-cta   { animation-delay: 0.35s; }
.hero-copy .hero-meta  { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
