/* Sail Automate — theme tokens matching OneLoveMusic (frontend/src/assets/tokens.css) */

:root {
  --bg: #0E0B12;
  --surface: #17131F;
  --surface-tint: #1F1528;
  --surface-alt: #100E17;
  --border: #2A2438;
  --text: #F0EDF5;
  --text-body: #C4BFCF;
  --text-muted: #6B647A;
  --accent: #E8175D;
  --accent-dark: #C4134F;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Oswald', sans-serif;
  --nav-h: 60px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

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

.accent-text { color: var(--accent); }

/* ---- Nav ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(14, 11, 18, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__glyph { width: 28px; height: 28px; }

.wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.5px;
}

.wordmark__a { color: var(--text); }
.wordmark__b { color: var(--accent); }

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

.btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: var(--accent-dark); }

.btn--outline {
  border: 1px solid var(--text);
  color: var(--text);
}
.btn--outline:hover { background: var(--text); color: var(--bg); }

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.nav__cta { padding: 7px 16px; font-size: 0.78rem; }

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

.hero {
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(14, 11, 18, 0.55) 55%, rgba(14, 11, 18, 0.25) 100%),
    linear-gradient(135deg, var(--accent) 0%, rgba(0, 0, 0, 0.6) 100%);
  padding: 110px 24px 120px;
  text-align: center;
}

.hero__inner { max-width: 820px; margin: 0 auto; }

.hero h1 {
  font-size: 64px;
  margin: 14px 0 20px;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 34px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 500;
}

.hero .kicker { color: #fff; opacity: 0.85; }

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

.section { padding: 80px 24px; }

.section--alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__inner { max-width: 1080px; margin: 0 auto; }

.section h2 {
  font-size: 42px;
  margin: 8px 0 18px;
}

.section__lead { max-width: 760px; margin-bottom: 40px; }

/* ---- Service cards ---- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 26px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card p { font-size: 0.95rem; }

/* ---- Showcase screenshots ---- */

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.shot--wide { grid-column: 1 / -1; }

.shot__bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border);
}

.shot__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

.shot figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

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

.about {
  display: flex;
  gap: 48px;
  align-items: center;
}

.about__photo img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.about__text { flex: 1; }

.about__text p { max-width: 640px; margin-bottom: 14px; }

/* ---- CTA band ---- */

.cta-band {
  background:
    linear-gradient(135deg, var(--accent) 0%, rgba(0, 0, 0, 0.7) 100%);
  padding: 90px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: 40px;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-band .btn--accent {
  background: #fff;
  color: var(--accent-dark);
}
.cta-band .btn--accent:hover {
  background: var(--text);
}

.cta-band__plain {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.cta-band__plain .accent-text { color: #fff; font-weight: 500; }

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

.footer {
  padding: 28px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--accent); }

/* ---- Responsive ---- */

@media (max-width: 767px) {
  .hero { padding: 70px 20px 80px; }
  .hero h1 { font-size: 40px; }
  .section { padding: 56px 20px; }
  .section h2 { font-size: 32px; }
  .shots { grid-template-columns: 1fr; }
  .about { flex-direction: column; text-align: center; }
  .about__text p { margin-left: auto; margin-right: auto; }
  .about__photo img { width: 200px; height: 200px; }
  .cta-band h2 { font-size: 30px; }
  .btn--lg { font-size: 0.85rem; padding: 12px 22px; }
}
