/* procus template — recreation for Potencialize Me (self-contained) */

:root {
  --primary: #141414;
  --primary-rgb: 20, 20, 20;
  --base: #ffff00;
  --black: #000000;
  --white: #ffffff;
  --muted: #666666;
  --line: #e6e6e6;
  --bg-soft: #f6f6f4;
  --radius: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Section rhythm ---------- */
section { padding: 90px 0; }
.section-top { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-top h2, .section-lead h2 { margin: 0; }
.section-top p { color: var(--muted); margin-top: 16px; }

h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; font-weight: 700; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; font-weight: 700; }
h3 { font-size: 24px; font-weight: 600; }
.hl, h1 span, h2 span { position: relative; }
.hl, h2 span, h1 span {
  background: linear-gradient(transparent 82%, var(--base) 82%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  transition: all .25s ease;
  cursor: pointer;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--base); color: var(--primary); border-color: var(--base); }
.btn-secondary { background: transparent; color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.logo { font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 500; color: var(--primary); transition: color .2s; }
.main-nav a:hover { color: var(--muted); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; }
.hero-left p { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 460px; }
.hero-left .btn { margin-top: 30px; }
.hero-image { margin-top: 40px; border-radius: var(--radius); }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: center;
  justify-content: center;
}
.tag {
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  font-weight: 600;
  font-size: 15px;
}
.tag.fill { background: var(--primary); color: var(--white); border-color: var(--primary); }
.tag.yellow { background: var(--base); border-color: var(--base); }
.tag.circle {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--base); border-color: var(--base); font-size: 22px;
}

/* ---------- Services tabs ---------- */
.services .section-lead { max-width: 900px; margin-bottom: 50px; }
.services .section-lead p { color: var(--muted); margin-top: 16px; }
.tabs { display: grid; grid-template-columns: 5fr 6fr; gap: 50px; align-items: start; }
.tab-menu { display: flex; flex-direction: column; }
.tab-btn {
  text-align: left; background: none; border: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 0; font-size: 24px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: color .2s; font-family: inherit;
}
.tab-btn.active { color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .35s ease; }
.tab-panel img { border-radius: var(--radius); }
.tab-panel .body { color: var(--muted); margin-top: 24px; }
.tab-panel .body p + p { margin-top: 14px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.center-btn { text-align: center; margin-top: 50px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--primary); color: var(--white); }
.testimonials h2 { color: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.testi {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 32px;
}
.testi .quote-icon { color: var(--base); font-size: 30px; }
.testi .quote { display: block; margin: 18px 0 24px; font-size: 17px; }
.testi .author { display: flex; align-items: center; gap: 14px; }
.testi .author img { width: 52px; height: 52px; border-radius: 50%; }
.testi .author h4 { margin: 0; font-size: 17px; }
.testi .author p { margin: 0; color: rgba(255,255,255,.6); font-size: 14px; text-transform: capitalize; }

/* ---------- Founder ---------- */
.founder-profile {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.founder-photo { width: 280px; height: 280px; border-radius: 50%; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder-copy h2 { margin: 20px 0 24px; }
.founder-copy p { color: var(--muted); font-size: 17px; margin: 0; }
.founder-copy p + p { margin-top: 16px; }

/* ---------- Tools / Dual Audio ---------- */
.tools { background: var(--primary); color: var(--white); }
.tool-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px; padding: 50px;
}
.tool-card h3 { color: var(--white); font-size: 32px; margin: 16px 0; }
.tool-card p { color: rgba(255,255,255,.72); font-size: 18px; }
.tool-card .badge {
  display: inline-block; background: var(--base); color: var(--primary);
  font-weight: 600; font-size: 13px; padding: 7px 16px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .5px;
}
.tool-card .btn-primary { background: var(--base); color: var(--primary); border-color: var(--base); margin-top: 24px; }
.tool-card .btn-primary:hover { background: var(--white); border-color: var(--white); }

/* ---------- Contact ---------- */
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-lead h2 { margin: 0 0 20px; }
.contact-lead p { color: var(--muted); }
.contact-lead img { margin-top: 30px; border-radius: var(--radius); }
.contact-info { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; }
.contact-info h3 { margin: 20px 0 12px; font-size: 30px; }
.contact-info p { color: var(--muted); margin: 0 0 28px; font-size: 17px; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { background: var(--base); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.marquee-track span { font-size: 34px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: var(--white); padding: 80px 0 30px; }
.footer-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.site-footer h4 { color: var(--white); text-transform: capitalize; margin: 0 0 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 7px 0; }
.site-footer li a, .footer-col p { color: rgba(255,255,255,.7); }
.site-footer li a:hover { color: var(--base); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 60px; padding-top: 26px; color: rgba(255,255,255,.6);
  gap: 20px; flex-wrap: wrap;
}
.footer-bottom .links { display: flex; gap: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero .container, .services .tabs, .contact .container { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-card { grid-template-columns: 1fr; padding: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 78px; left: 0; right: 0; background: var(--white);
    padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px;
  }
}
@media (max-width: 768px) {
  .founder-profile { grid-template-columns: 1fr; gap: 36px; }
  .founder-photo { margin: 0 auto; }
  .founder-copy { max-width: 720px; margin: 0 auto; text-align: center; }
}
@media (max-width: 600px) {
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

/* ============================================================
   Subpages (extension landing + legal) — procus visual pattern
   ============================================================ */

/* Slim footer variant for subpages */
.site-footer.slim { padding: 40px 0; }
.site-footer.slim .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* Eyebrow / small label */
.eyebrow {
  display: inline-block;
  color: var(--primary);
  background: var(--base);
  font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}

/* Centered page hero */
.page-hero { text-align: center; padding: 80px 0 60px; }
.page-hero h1 { max-width: 900px; margin: 20px auto 0; }
.page-hero p { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.page-hero .btns { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* How it works — steps */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.how-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: box-shadow .25s, transform .25s;
}
.how-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.06); transform: translateY(-4px); }
.how-card .step {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--base); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; margin-bottom: 20px;
}
.how-card h3 { margin: 0 0 10px; font-size: 21px; }
.how-card p { margin: 0; color: var(--muted); }

/* Note / private-by-design block */
.note { background: var(--bg-soft); }
.note .box { max-width: 780px; margin: 0 auto; text-align: center; }
.note .box p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.note a { border-bottom: 2px solid var(--base); font-weight: 600; }

/* Legal article */
.legal { padding: 70px 0 90px; }
.legal .container { max-width: 820px; }
.crumbs { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--primary); }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin: 0; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 12px 0 34px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p { color: #333; margin: 0 0 14px; }
.legal a { border-bottom: 2px solid var(--base); font-weight: 500; }
.legal a:hover { background: var(--base); }

@media (max-width: 991px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* Apps we built (inside dark tools section) */
.apps-head { margin: 64px 0 26px; }
.apps-head h3 { color: var(--white); font-size: 26px; margin: 0; }
.apps-head h3 span { background: linear-gradient(transparent 82%, var(--base) 82%); }
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 32px;
  transition: border-color .25s, transform .25s;
}
.app-card:hover { border-color: var(--base); transform: translateY(-4px); }
.app-card .app-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--base); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.app-card h4 { color: var(--white); font-size: 22px; margin: 0 0 6px; }
.app-card .url { color: var(--base); font-weight: 600; font-size: 14px; }
.app-card p { color: rgba(255,255,255,.72); margin: 12px 0 20px; flex: 1; }
.app-card .visit { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.app-card .visit:hover { color: var(--base); }

@media (max-width: 600px) {
  .apps-grid { grid-template-columns: 1fr; }
}
