/* Tensiflex.com — custom styles layered on top of Tailwind */
:root {
  --bg: #07090f;
  --bg-2: #0b1220;
  --bg-3: #111a2e;
  --line: rgba(148, 163, 184, 0.12);
  --text: #e6edf7;
  --muted: #94a3b8;
  --accent: #22d3ee;
  --accent-2: #06b6d4;
  --amber: #f59e0b;
  --grad: radial-gradient(1200px 600px at 80% -10%, rgba(34, 211, 238, 0.18), transparent 60%),
          radial-gradient(900px 500px at -10% 10%, rgba(99, 102, 241, 0.18), transparent 60%);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
.font-display { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -0.02em; }

.bg-hero {
  background:
    var(--grad),
    linear-gradient(180deg, #07090f 0%, #0a1020 60%, #07090f 100%);
}

.glass {
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.6), rgba(17, 26, 46, 0.35));
  border: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

.card {
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.55), rgba(11, 18, 32, 0.55));
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 20px 60px -20px rgba(34, 211, 238, 0.25);
}

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.2rem; border-radius: 12px;
  font-weight: 600; letter-spacing: -0.005em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
  color: #04111a;
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(34, 211, 238, 0.7); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.5); color: #fff; }

.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, rgba(0,0,0,.7), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0,0,0,.7), transparent 70%);
}

.text-gradient {
  background: linear-gradient(120deg, #e6edf7 0%, #22d3ee 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dot { width: 6px; height: 6px; border-radius: 999px; background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }

/* nav */
.nav-link {
  position: relative;
  color: var(--muted);
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: linear-gradient(90deg, #22d3ee, #a78bfa);
  border-radius: 2px;
}

/* logo mark */
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: conic-gradient(from 220deg at 50% 50%, #22d3ee, #6366f1, #a78bfa, #22d3ee);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08), 0 6px 20px -6px rgba(34,211,238,0.6);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 6px;
  background: var(--bg-2); border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.06);
}
.logo-mark::before {
  content: ""; position: absolute; inset: 11px;
  background: linear-gradient(135deg, #22d3ee, #a78bfa);
  border-radius: 2px; z-index: 1;
}

/* form */
.field {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  background: rgba(11, 18, 32, 0.7);
  border: 1px solid var(--line);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field:focus { border-color: rgba(34, 211, 238, 0.55); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15); }
.field::placeholder { color: #64748b; }
label.lbl { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; font-weight: 500; }

/* tag */
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .65rem; font-size: .75rem; font-weight: 500;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

/* reveal: pure-CSS fade-up animation that does not hide content if JS or animations are blocked */
@keyframes tfFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.reveal { animation: tfFadeUp .55s ease-out both; }

/* footer */
footer a:hover { color: #fff; }

/* prose */
.prose-light h2 { color: #fff; }
.prose-light p, .prose-light li { color: #cbd5e1; }
.prose-light strong { color: #fff; }

/* divider */
.hr-soft { border: 0; height: 1px; background: var(--line); }

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: #cbd5e1;
}

/* icon container */
.icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #67e8f9;
}

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

/* ---------- additions: process, architecture, testimonials, faq ---------- */
.section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px){ .section { padding-top: 8rem; padding-bottom: 8rem; } }

.eyebrow {
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: #67e8f9; font-weight: 600;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 600; letter-spacing: -.02em;
  background: linear-gradient(120deg, #22d3ee, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.connector {
  position: absolute; top: 28px; left: 56px; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(34,211,238,.4), rgba(34,211,238,0));
}

.archi {
  background:
    radial-gradient(600px 280px at 30% 50%, rgba(34,211,238,.10), transparent 60%),
    radial-gradient(500px 240px at 75% 50%, rgba(167,139,250,.10), transparent 60%);
}
.archi-node {
  background: linear-gradient(180deg, rgba(17,26,46,.85), rgba(11,18,32,.85));
  border: 1px solid var(--line);
  border-radius: 14px;
}

.qmark {
  position: absolute; top: -10px; left: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem; line-height: 1; color: rgba(34,211,238,0.18);
  pointer-events: none;
}

details.faq { border: 1px solid var(--line); border-radius: 14px; background: rgba(17,26,46,0.45); }
details.faq + details.faq { margin-top: .75rem; }
details.faq summary {
  display: block; /* override default list-item to hide native marker reliably */
  list-style: none;
  padding: 1.1rem 1.25rem; cursor: pointer;
  color: #fff; font-weight: 500;
  position: relative; padding-right: 3rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::marker { content: ""; }
details.faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%;
  width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid #67e8f9; border-bottom: 2px solid #67e8f9;
  transform: rotate(45deg); transition: transform .25s ease;
}
details.faq[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details.faq .faq-body { padding: 0 1.25rem 1.25rem; color: #cbd5e1; font-size: .95rem; line-height: 1.6; }

.industry-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  padding: 1.1rem 1.2rem; border-radius: 14px;
  background: linear-gradient(180deg, rgba(17,26,46,.55), rgba(11,18,32,.55));
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}
.industry-tile:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, 0.4); }
.industry-tile .ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,211,238,.15), rgba(167,139,250,.15));
  border: 1px solid rgba(34,211,238,0.25);
  color: #67e8f9;
  display: inline-flex; align-items: center; justify-content: center;
}

.bullet-line { position: relative; padding-left: 1.1rem; }
.bullet-line::before { content:""; position:absolute; left:0; top:.6rem; width:6px; height:6px; border-radius:999px; background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }

.divider-glow {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.45), transparent);
}

/* ---------- founder section ---------- */
.portrait {
  position: relative; overflow: hidden; border-radius: 18px;
  background: linear-gradient(180deg, rgba(17,26,46,.55), rgba(11,18,32,.55));
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.portrait::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,9,15,0.85) 100%);
  pointer-events: none; z-index: 1;
}
.portrait img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease, filter .4s ease;
}
.portrait:hover { border-color: rgba(34,211,238,0.4); box-shadow: 0 24px 64px -24px rgba(34,211,238,.35); }
.portrait:hover img { transform: scale(1.03); }
.portrait .ribbon {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: #cbd5e1; background: rgba(7,9,15,0.6); border: 1px solid var(--line);
  padding: .35rem .6rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.portrait .ribbon::before {
  content:""; width:6px; height:6px; border-radius:999px; background:#22d3ee; box-shadow: 0 0 8px #22d3ee;
}
.portrait-feature { aspect-ratio: 4 / 3.2; }
.portrait-thumb { aspect-ratio: 16 / 11; }

.founder-bio p + p { margin-top: 1rem; }

.bigquote {
  position: relative; padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  border-left: 2px solid rgba(34,211,238,0.6);
  color: #e2e8f0; font-size: 1.05rem; line-height: 1.6;
}
.bigquote::before {
  content: "“"; position: absolute; left: .5rem; top: -.2rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 3rem;
  color: rgba(34,211,238,0.45);
}

.linkedin-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line); color: #fff; font-weight: 500;
  transition: border-color .25s ease, transform .15s ease, background .25s ease;
}
.linkedin-cta:hover { border-color: rgba(34,211,238,0.5); background: rgba(34,211,238,0.06); transform: translateY(-1px); }
.linkedin-cta svg { color: #67e8f9; }


