/* ============================================================
   ThinkSolutions — clean corporate-tech
   ============================================================ */

:root {
  --ink:        #0b1220;
  --ink-2:      #1a2233;
  --slate:      #475569;
  --slate-2:    #64748b;
  --line:       #e5e9f0;
  --line-2:     #eef1f6;
  --bg:         #ffffff;
  --bg-soft:    #f7f9fc;
  --bg-softer:  #fbfcfe;
  --brand:      #0c4860;
  --brand-2:    #2b7d9b;
  --brand-ink:  #082f40;
  --accent:     #549078;
  --white:      #ffffff;

  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(11,18,32,.04), 0 12px 32px -12px rgba(11,18,32,.14);
  --shadow-lg:  0 24px 60px -20px rgba(11,18,32,.28);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Sora', var(--font);

  --maxw: 1140px;
}

/* reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-weight: 600; font-size: .98rem; padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(12,72,96,.6); }
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate-2); background: var(--bg-soft); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }

.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.kicker-light { color: var(--brand-2); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; color: var(--ink); }
.brand-mark { color: var(--brand); display: inline-flex; }
.brand-mark svg { border-radius: 8px; display: block; }
.brand-mark img { width: 34px; height: 34px; display: block; }
.brand-mark-sm img { width: 30px; height: 30px; }
.brand-name span { color: var(--accent); }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a { padding: 9px 14px; border-radius: 8px; font-weight: 500; font-size: .96rem; color: var(--slate); transition: color .15s, background .15s; }
.nav-menu a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-menu .nav-cta { color: #fff; background: var(--ink); margin-left: 6px; }
.nav-menu .nav-cta:hover { background: var(--brand); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 72px; background:
  radial-gradient(1200px 500px at 80% -10%, rgba(43,125,155,.12), transparent 60%),
  radial-gradient(900px 500px at 0% 10%, rgba(84,144,120,.08), transparent 55%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { font-size: .86rem; font-weight: 600; color: var(--slate-2); letter-spacing: .01em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; }
.grad { background: linear-gradient(100deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.16rem; color: var(--slate); margin-top: 22px; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 26px; font-size: .95rem; color: var(--slate-2); }
.hero-note strong { color: var(--ink); }

/* hero orbit visual */
.hero-visual { display: flex; justify-content: center; }
.orbit { position: relative; width: 340px; height: 340px; max-width: 100%; }
.orbit::before, .orbit::after {
  content: ""; position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1px dashed var(--line);
}
.orbit::before { width: 300px; height: 300px; }
.orbit::after { width: 200px; height: 200px; border-color: var(--line-2); }
.orbit-core {
  position: absolute; inset: 0; margin: auto; width: 104px; height: 104px; border-radius: 26px;
  background: linear-gradient(150deg, var(--brand-2), var(--brand-ink)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.orbit-core img { width: 64px; height: 64px; display: block; }
.chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: .82rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.chip-1 { top: 2%; left: 50%; transform: translateX(-50%); }
.chip-2 { top: 44%; right: -6%; animation-delay: .8s; }
.chip-3 { bottom: 2%; left: 50%; transform: translateX(-50%); animation-delay: 1.6s; }
.chip-4 { top: 44%; left: -6%; animation-delay: 2.4s; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(var(--tx,0)); } 50% { transform: translateY(-8px) translateX(var(--tx,0)); } }
.chip-1, .chip-3 { --tx: -50%; }

/* ---------- generic section ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--line-2); }
.section-dark, .section-cta { border-top: none; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-sub { margin-top: 16px; font-size: 1.1rem; color: var(--slate); }

/* what-we-do cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7deea; }
.card-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--brand); background: rgba(12,72,96,.08); width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--slate); }

/* ---------- flagship ---------- */
.section-flag { background: var(--bg-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.flag-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.flag-name { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(100deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.flag-tag { font-size: 1.28rem; font-weight: 600; color: var(--ink); margin-bottom: 20px; font-family: var(--font-display); }
.flag-copy p { color: var(--slate); margin-bottom: 16px; }
.flag-line { color: var(--ink) !important; }
.flag-copy .hero-actions { margin-top: 26px; }

/* loop visual */
.flag-visual { display: flex; justify-content: center; }
.loop { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.loop-row { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-softer); font-size: .98rem; }
.loop-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); flex: none; }
.loop-arrow { text-align: center; color: var(--brand-2); font-size: 1.1rem; line-height: 1.4; }
.loop-win { background: linear-gradient(120deg, rgba(12,72,96,.10), rgba(84,144,120,.10)); border-color: rgba(12,72,96,.25); color: var(--brand-ink); }
.loop-win .dot { background: var(--accent); }

/* three users */
.users { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.user { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.user h4 { font-size: 1.14rem; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.user ul li { position: relative; padding-left: 24px; color: var(--slate); margin-bottom: 10px; font-size: .97rem; }
.user ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.flag-foot { text-align: center; margin-top: 44px; font-size: 1.06rem; color: var(--slate); max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- waitlist / cta ---------- */
.section-cta { background: linear-gradient(135deg, var(--ink) 0%, #142046 55%, var(--brand-ink) 100%); color: #fff; }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.7rem); }
.cta-inner p { color: #c8d0ea; margin-top: 14px; font-size: 1.1rem; }
.waitlist-form { display: flex; gap: 10px; margin: 30px auto 0; max-width: 560px; flex-wrap: wrap; justify-content: center; }
.waitlist-form input, .waitlist-form select {
  flex: 1 1 180px; min-width: 0; padding: 14px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); color: #fff; font-size: 1rem; font-family: var(--font);
}
.waitlist-form input::placeholder { color: #aeb8d6; }
.waitlist-form select { color: #fff; }
.waitlist-form select option { color: #111; }
.waitlist-form input:focus, .waitlist-form select:focus { outline: 2px solid var(--brand-2); background: rgba(255,255,255,.14); }
.waitlist-form .btn-primary { flex: 0 0 auto; }
.form-msg { margin-top: 16px; min-height: 1.2em; font-size: .95rem; color: #8ef0c0; font-weight: 600; }

/* ---------- family ---------- */
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fam-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: #fff; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.fam-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fam-flagship { border-color: rgba(12,72,96,.35); box-shadow: 0 20px 44px -24px rgba(12,72,96,.4); background: linear-gradient(180deg, #fff, #fbfcff); }
.fam-top { margin-bottom: 18px; }
.fam-badge { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: rgba(12,72,96,.1); padding: 5px 11px; border-radius: 999px; }
.fam-badge-soon { color: var(--slate-2); background: var(--bg-soft); }
.fam-badge-live { color: var(--accent); background: rgba(84,144,120,.12); }
.fam-badge-live::before { content: "●"; font-size: .7em; margin-right: 5px; vertical-align: middle; }
.fam-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.fam-card p { color: var(--slate); flex: 1; margin-bottom: 18px; }
.fam-link { font-weight: 600; color: var(--brand); }
.fam-link:hover { color: var(--brand-ink); }
.fam-link-muted { color: var(--slate-2); font-weight: 600; }

/* ---------- approach (dark) ---------- */
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2 { color: #fff; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle { padding: 26px 22px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.principle h4 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.principle p { color: #aab4d4; font-size: .96rem; }

/* ---------- contact ---------- */
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 48px; }
.contact-copy { max-width: 34em; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-top: 4px; }
.contact-copy p { color: var(--slate); margin-top: 14px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c8d0ea; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-mark { color: var(--brand-2); }
.footer-brand { display: flex; flex-direction: column; gap: 6px; max-width: 300px; }
.footer-brand .brand-name { display: inline-flex; }
.footer-tag { color: #8b96ba; font-size: .95rem; margin-top: 8px; }
.footer-nav { display: flex; gap: 64px; }
.footer-nav h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; font-family: var(--font); }
.footer-nav a { display: block; color: #aab4d4; padding: 6px 0; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { padding-top: 24px; }
.footer-legal p { color: #7f8ab0; font-size: .86rem; }

/* ---------- pricing (Nabor) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center; transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-mid { border-color: #d7deea; }
.price-best { border-color: rgba(12,72,96,.4); box-shadow: 0 22px 48px -24px rgba(12,72,96,.45); background: linear-gradient(180deg, #fff, #fbfcff); }
.price-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.price-homes { font-weight: 600; color: var(--slate-2); font-size: 1rem; }
.price-amt { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; color: var(--ink); margin: 8px 0; letter-spacing: -.03em; }
.price-amt span { font-size: 1rem; font-weight: 600; color: var(--slate-2); letter-spacing: 0; }
.price-note { color: var(--slate); font-size: .95rem; }

.revenue { margin-top: 56px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.revenue h3 { font-size: 1.5rem; margin-bottom: 24px; text-align: center; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rev-grid strong { display: block; color: var(--brand); font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 8px; }
.rev-grid p { color: var(--slate); font-size: .96rem; }

/* service tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .flag-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .cards-3, .users, .family-grid, .pricing-grid, .rev-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .revenue { padding: 28px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; gap: 4px;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { padding: 12px 14px; }
  .nav-menu .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .contact-inner { padding: 32px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .principles { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn-primary { width: 100%; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { width: 100%; }
  .footer-nav { gap: 40px; }
}

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