/* Kanakaw marketing site */
:root {
  --bg: #0b0d12;
  --bg-soft: #12151d;
  --card: #171b26;
  --border: #262c3b;
  --text: #e8ebf2;
  --muted: #9aa3b5;
  --accent: #6c8cff;
  --accent-2: #9a6cff;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: var(--muted); font-size: 15px; }
.main-nav a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  color: #fff;
}
.btn.large { padding: 14px 34px; font-size: 17px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; }

/* Hero */
.hero { padding: 90px 0 70px; text-align: center; background: radial-gradient(ellipse at top, #1a2036 0%, var(--bg) 60%); }
.hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 70px 0; }
section.alt { background: var(--bg-soft); }
.section-title { text-align: center; font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 46px; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Feature rows (alternating copy + image) */
.feature-rows { display: flex; flex-direction: column; gap: 56px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-media { order: 1; }
.feature-copy h3 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 12px; }
.feature-copy p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.feature-media img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
@media (max-width: 720px) {
  .feature-row { grid-template-columns: 1fr; gap: 20px; }
  .feature-row.reverse .feature-copy { order: 1; }
  .feature-row.reverse .feature-media { order: 2; }
}

/* Showcase gallery */
.showcase-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.shot img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.35s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  font-size: 13px; line-height: 1.45; color: #fff;
  background: linear-gradient(to top, rgba(5, 7, 12, 0.9), rgba(5, 7, 12, 0));
  opacity: 0; transition: opacity 0.25s ease;
}
.shot:hover figcaption { opacity: 1; }
.showcase-cta { text-align: center; margin-top: 34px; }
@media (max-width: 900px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (hover: none) { .shot figcaption { opacity: 1; } }

/* Steps */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px 26px 26px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { text-align: center; background: linear-gradient(120deg, #1b2340, #241b40); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 28px; }

/* Footer */
.site-footer { padding: 46px 0 36px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 2fr 1fr 1fr; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); font-size: 15px; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--muted); font-size: 14px; max-width: 320px; margin-top: 10px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Legal / content pages */
.page { max-width: 800px; margin: 0 auto; padding: 60px 20px 80px; }
.page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; letter-spacing: -0.5px; }
.page .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.page h2 { font-size: 22px; margin: 34px 0 12px; }
.page h3 { font-size: 18px; margin: 24px 0 10px; }
.page p, .page li { color: #c6cddd; font-size: 16px; }
.page ul, .page ol { padding-left: 24px; margin: 10px 0; }
.page li { margin-bottom: 6px; }

/* Contact */
.contact-cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 30px; }

/* Responsive */
@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 18px 20px; gap: 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
  .hero { padding: 60px 0 50px; }
}
