/* ============================================================
   Sqowe — landing page styles
   Built on the brand book (sqowe-brand/AI_WEB_DESIGN.md)
   ============================================================ */

:root {
  /* Brand colors */
  --sqowe-dark: #222222;
  --sqowe-light-purple: #8E88A3;
  --sqowe-dark-purple: #5B5377;
  --sqowe-grey: #B2B3B2;
  --sqowe-gradient: linear-gradient(135deg, #5B5377 0%, #8E88A3 100%);

  /* Semantic */
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --text: #222222;
  --text-soft: #5b5b66;
  --border: #e7e7ec;

  /* Type */
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(34, 34, 34, .06);
  --shadow-lg: 0 16px 40px rgba(34, 34, 34, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--sqowe-light-purple);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
.section-head p { margin-top: 16px; color: var(--text-soft); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-gradient { background: var(--sqowe-gradient); color: #fff; }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(91, 83, 119, .35); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { background: transparent; color: var(--sqowe-dark-purple); border-color: var(--sqowe-dark-purple); }
.btn-outline:hover { background: var(--sqowe-dark-purple); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(34, 34, 34, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-header .logo { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: rgba(255, 255, 255, .8); font-weight: 500; font-size: .95rem; transition: color .2s ease; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 9px 18px; font-size: .9rem; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--sqowe-dark);
  overflow: hidden;
  min-height: 90vh;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../assets/hero.jpg') center 62% / cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  /* Darken only where the text lives (top + left); keep the house + lit
     windows in the center-bottom clearly visible. */
  background:
    linear-gradient(180deg, rgba(34, 34, 34, .60) 0%, rgba(34, 34, 34, .15) 32%, rgba(34, 34, 34, 0) 58%),
    linear-gradient(100deg, rgba(34, 34, 34, .85) 0%, rgba(34, 34, 34, .45) 42%, rgba(34, 34, 34, .08) 70%, rgba(91, 83, 119, .12) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 80px; max-width: 920px; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--sqowe-light-purple); }
.hero p {
  margin-top: 24px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
  color: rgba(255, 255, 255, .85);
  max-width: 640px;
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-keywords {
  position: absolute;
  left: 0; right: 0; bottom: 40px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 44px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
.hero-keywords b { color: #ab9ff0; font-weight: 700; }

/* ---------- Product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sqowe-light-purple); }
.card .tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sqowe-dark-purple);
  background: rgba(142, 136, 163, .14);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 1rem; flex: 1; }
.card .card-link {
  margin-top: 22px;
  font-weight: 600;
  color: var(--sqowe-dark-purple);
}
.card .card-link::after { content: ' \2192'; transition: margin-left .2s ease; }
.card:hover .card-link::after { margin-left: 4px; }

.cards--secondary { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.cards--secondary .card { flex-direction: row; align-items: baseline; gap: 18px; padding: 24px 28px; }
.cards--secondary .card h3 { font-size: 1.1rem; margin: 0; white-space: nowrap; }
.cards--secondary .card p { font-size: .95rem; }

/* ---------- Bridge (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; }
.split p { margin-top: 18px; color: var(--text-soft); font-size: 1.08rem; }
.split ul { margin: 24px 0 0; padding: 0; list-style: none; }
.split li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-soft); }
.split li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px; border-radius: 4px;
  background: var(--sqowe-gradient);
}
.split-visual {
  border-radius: var(--radius);
  background: var(--sqowe-gradient);
  color: #fff;
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}
.split-visual .big { font-size: 3rem; font-weight: 700; line-height: 1.1; }
.split-visual .protocols {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.split-visual .protocols span {
  font-size: .8rem;
  background: rgba(255, 255, 255, .18);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Heritage ---------- */
.heritage { text-align: center; }
.heritage .quote {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 300;
  line-height: 1.5;
}
.heritage .sign { margin-top: 24px; color: var(--text-soft); font-size: .95rem; }
.heritage .sign strong { color: var(--text); }

/* ---------- CTA strip ---------- */
.cta {
  background: var(--sqowe-dark);
  color: #fff;
  text-align: center;
}
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
.cta p { margin-top: 14px; color: rgba(255, 255, 255, .8); }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, .7);
  padding: 56px 0 32px;
}
.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.site-footer .logo { height: 24px; margin-bottom: 16px; }
.site-footer .f-contact span { display: block; line-height: 1.9; }
.site-footer a:hover { color: #fff; }
.site-footer .f-links { display: flex; gap: 48px; }
.site-footer .f-links h4 { color: #fff; font-size: .9rem; margin-bottom: 12px; }
.site-footer .f-links a { display: block; line-height: 2; color: rgba(255, 255, 255, .7); font-size: .92rem; }
.site-footer .copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav { display: none; }
  .cards, .cards--secondary { grid-template-columns: 1fr; }
  .cards--secondary .card { flex-direction: column; }
  .cards--secondary .card h3 { white-space: normal; }
  .site-footer .footer-top { flex-direction: column; }
}
