/* ============================================================
   Galaner Ltd — multi-vertical marketing & design
   Self-contained stylesheet, no external dependencies.
   ============================================================ */

:root {
  --bg: #0c1512;
  --bg-soft: #101b16;
  --panel: #14231d;
  --panel-edge: rgba(230, 199, 106, 0.14);
  --ink: #eef5f0;
  --ink-muted: #a3b8ac;
  --accent: #d4a942;
  --accent-2: #3ecf8e;
  --accent-grad: linear-gradient(120deg, #d4a942 0%, #e6c76a 100%);
  --danger: #ff6b7a;
  --radius: 16px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navbar ---------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12, 21, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-edge);
}

.site-nav .nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }

.brand .brand-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.nav-links a.danger { color: var(--danger); }
.nav-links a.lang { color: var(--accent-2); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--panel-edge);
  border-radius: 8px;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--panel-edge);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(212, 169, 66, 0.22), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(62, 207, 142, 0.14), transparent 60%),
    linear-gradient(100deg, rgba(12, 21, 18, 0.97) 30%, rgba(12, 21, 18, 0.86)),
    url("../images/hero-desk.jpg") center / cover no-repeat,
    var(--bg);
}

.hero .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(62, 207, 142, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 17ch;
}

.hero h1 .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 1.12rem;
  color: var(--ink-muted);
}

.hero .cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent-grad);
  color: #0c1512;
  box-shadow: 0 8px 24px rgba(212, 169, 66, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--panel-edge);
}
.btn-ghost:hover { border-color: var(--accent); }

.btn-danger {
  background: var(--danger);
  color: #fff;
}

/* ---------- Stats strip ---------- */

.stats {
  border-top: 1px solid var(--panel-edge);
  border-bottom: 1px solid var(--panel-edge);
  background: var(--bg-soft);
}

.stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 0;
  text-align: center;
}

.stats .num {
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats .label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .stats .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p { margin-top: 16px; color: var(--ink-muted); font-size: 1.05rem; }

/* ---------- Cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(212, 169, 66, 0.55); }

.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(212, 169, 66, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.card .icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-muted); font-size: 0.95rem; }

/* audience cards (advertisers / brands) */
.card.feature {
  padding: 36px;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(212, 169, 66, 0.1), transparent 70%),
    var(--panel);
}

/* feature-card photo header */
.card.feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card.feature .card-photo {
  margin: -36px -36px 24px;
  height: 210px;
  overflow: hidden;
  position: relative;
}
.card.feature .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card.feature .card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 21, 18, 0.1), rgba(20, 35, 29, 0.55) 92%, var(--panel));
}
.card.feature .btn { align-self: flex-start; margin-top: auto; }
.card.feature h3 { font-size: 1.4rem; }
.card.feature ul {
  margin: 16px 0 22px;
  padding-left: 20px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.card.feature li { margin-bottom: 8px; }

/* ---------- About split ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.about-grid h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.about-grid .sub {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.about-grid p { color: var(--ink-muted); margin-bottom: 14px; }

.about-visual {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--panel-edge);
  overflow: hidden;
  min-height: 320px;
  background: var(--panel);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(212, 169, 66, 0.12), rgba(12, 21, 18, 0.35) 80%);
  pointer-events: none;
}

.about-visual .mark {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.about-visual .mark span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h3 { font-size: 1.25rem; margin-bottom: 16px; }
.contact-info p { color: var(--ink-muted); margin-bottom: 12px; }
.contact-info .line { margin-bottom: 18px; }
.contact-info .line strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 4px;
}

form.contact-form .form-row { margin-bottom: 16px; }

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  color: var(--ink);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 0.98rem;
}

form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

form.contact-form ::placeholder { color: #6f8378; }

/* ---------- Unsubscribe page ---------- */

.page-hero {
  padding: 170px 0 60px;
  background:
    radial-gradient(700px 400px at 80% -20%, rgba(255, 107, 122, 0.18), transparent 60%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.page-hero p { margin-top: 14px; color: var(--ink-muted); max-width: 60ch; }

.unsub-form input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  color: var(--ink);
  padding: 13px 16px;
  font-size: 1rem;
  margin-bottom: 16px;
}
.unsub-form input:focus { outline: none; border-color: var(--danger); }

.notice {
  border-left: 3px solid var(--accent-2);
  background: rgba(62, 207, 142, 0.07);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-top: 22px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--panel-edge);
  background: var(--bg-soft);
  padding: 56px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.site-footer p, .site-footer li { color: var(--ink-muted); font-size: 0.92rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer a.danger { color: var(--danger); }

.footer-bottom {
  border-top: 1px solid var(--panel-edge);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
