/* Kollabi — markkinointisivusto (kollabi.fi)
   Sama ilme kuin sovelluksen tervetuloruudussa: syvä navy, valkoinen teksti,
   kulta-aksentti. Värit vastaavat sovelluksen globals.css:n tumman teeman arvoja. */

:root {
  --ink: #080d18;
  --navy: #0e1626;
  --navy-raised: #141f33;
  --white: #f5f7fa;
  --muted: rgba(245, 247, 250, 0.62);
  --gold: #e3b44d;
  --gold-soft: rgba(227, 180, 77, 0.14);
  --border: rgba(245, 247, 250, 0.1);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 0.5rem; }
h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }

a { color: inherit; }

/* --- Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 13, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s;
}

.header-nav a:hover { color: var(--white); }

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.12s, opacity 0.15s;
}

.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--gold); color: var(--ink); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245, 247, 250, 0.28);
}
.btn-ghost {
  background: var(--white);
  color: var(--ink) !important;
  padding: 9px 18px;
  border-radius: 10px;
}

/* --- Hero --- */

.hero {
  padding: 96px 0 88px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(227, 180, 77, 0.13), transparent),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(62, 92, 138, 0.2), transparent);
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.lead {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* --- Sections --- */

.section { padding: 72px 0; }
.section-alt { background: var(--navy); }

.section-lead {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--navy-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.card p { font-size: 0.92rem; color: var(--muted); }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 14px;
}

/* --- FAQ --- */

.faq {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: var(--navy-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.2rem;
}

.faq details[open] summary::after { content: '−'; }

.faq details p {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* --- CTA --- */

.cta-section {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(227, 180, 77, 0.1), transparent);
}

.cta-section .section-lead { margin: 12px auto 28px; }

/* --- Footer --- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  background: var(--ink);
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-copyright { margin-top: 12px; font-size: 0.78rem; }

/* --- Responsive --- */

@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 56px 0; }
  .header-nav a:not(.btn) { display: none; }
}
