/* === TWH Ventures - Technology & Ventures === */
:root {
  --bg: #0a0a0f;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --white: #ffffff;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --gradient: linear-gradient(135deg, #06b6d4, #8b5cf6);
  --gradient-2: linear-gradient(135deg, #0ea5e9, #a855f7);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--gray-400);
  line-height: 1.7;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* === Header - Glass dark === */
header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.hd-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 32px; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { text-decoration: none; font-weight: 800; font-size: 1.2rem; color: var(--white); letter-spacing: -0.3px; }
.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hd-nav { display: flex; gap: 24px; }
.hd-nav a { text-decoration: none; font-size: 0.85rem; font-weight: 500; color: var(--gray-400); transition: color 0.2s; }
.hd-nav a:hover { color: var(--white); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 100px;
  font-weight: 600; font-size: 0.85rem; text-decoration: none;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-gradient { background: var(--gradient); color: var(--white); }
.btn-gradient:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--gray-300); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-hover); color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: 0.8rem; }

/* === Hero === */
.hero {
  padding: 140px 32px 80px;
  text-align: center; position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
}
.hero .inner { max-width: 750px; margin: 0 auto; }
.hero .badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(139,92,246,0.15));
  color: var(--cyan); padding: 5px 18px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  border: 1px solid rgba(6,182,212,0.15);
  margin-bottom: 20px;
}
.hero h1 { font-size: 3rem; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.hero h1 .hl { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1rem; color: var(--gray-500); max-width: 520px; margin: 0 auto 28px; }

/* === Sections === */
section { padding: 80px 32px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-center { text-align: center; }

.sec-num {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px; position: relative; z-index: 2;
}

h2 {
  font-size: 2rem; font-weight: 800; color: var(--white);
  line-height: 1.2; margin-bottom: 8px; position: relative; z-index: 2;
}
h2 .hl { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { color: var(--gray-500); font-size: 0.95rem; max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }

/* === Services - Glass cards === */
.svc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 24px;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.svc-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-3px); }
.svc-card .s-icon { font-size: 1.8rem; margin-bottom: 12px; }
.svc-card .s-line {
  width: 30px; height: 3px;
  background: var(--gradient); border-radius: 2px;
  margin-bottom: 12px;
}
.svc-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.svc-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* === Process - Horizontal gradient === */
.proc-row { display: flex; gap: 24px; justify-content: center; max-width: 800px; margin: 0 auto; }
.proc-step { flex: 1; text-align: center; position: relative; }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px; left: 60%; width: 80%;
  height: 2px; background: linear-gradient(90deg, var(--cyan), var(--purple));
}
.proc-step .p-dot {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-weight: 700; font-size: 1rem;
  position: relative; z-index: 1;
}
.proc-step h4 { font-size: 0.9rem; color: var(--white); margin-bottom: 4px; }
.proc-step p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; }

/* === Stats === */
.stat-grid { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item .s-num { font-size: 2.2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item .s-lbl { font-size: 0.8rem; color: var(--gray-500); margin-top: 2px; }

/* === About === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-text p { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.8; }
.about-text .highlight {
  background: linear-gradient(135deg, rgba(6,182,212,0.04), rgba(139,92,246,0.04));
  border-left: 3px solid var(--cyan);
  padding: 16px 20px; border-radius: 0 10px 10px 0;
  color: var(--gray-300); font-size: 0.92rem; margin: 16px 0;
}
.about-info {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; backdrop-filter: blur(8px);
}
.about-info h4 { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.ai-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.ai-row:last-child { border: none; }
.ai-row .k { color: var(--gray-500); }
.ai-row .v { color: var(--gray-200); font-weight: 600; }

/* === Testimonials === */
.testi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; backdrop-filter: blur(8px);
}
.testi-card .t-text { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 14px; }
.testi-card .t-auth { font-weight: 700; color: var(--white); font-size: 0.85rem; }
.testi-card .t-role { font-size: 0.78rem; color: var(--gray-500); }

/* === CTA === */
.cta-gradient {
  text-align: center; position: relative; overflow: hidden;
}
.cta-gradient::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient); opacity: 0.05;
}
.cta-gradient .section-inner { position: relative; z-index: 1; }
.cta-gradient h2 { color: var(--white); }
.cta-gradient p { color: var(--gray-400); margin-bottom: 24px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* === Footer === */
footer { padding: 50px 32px 24px; border-top: 1px solid var(--border); }
.ft-inner { max-width: 1140px; margin: 0 auto; }
.ft-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 28px; }
.ft-col h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 10px; }
.ft-col p { color: var(--gray-500); font-size: 0.82rem; line-height: 1.7; max-width: 300px; }
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 7px; }
.ft-col ul li a { color: var(--gray-500); text-decoration: none; font-size: 0.82rem; }
.ft-col ul li a:hover { color: var(--cyan); }
.ft-bot { padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: var(--gray-500); }
.ft-bot a { color: var(--gray-500); text-decoration: none; }
.ft-bot a:hover { color: var(--cyan); }

/* === Sub-pages === */
.pagehd { padding: 120px 32px 40px; text-align: center; }
.pagehd h1 { font-size: 2.2rem; color: var(--white); }
.pagehd p { color: var(--gray-500); max-width: 480px; margin: 8px auto 0; }

.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.cf input, .cf textarea {
  width: 100%; padding: 14px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; color: var(--gray-200); font-size: 0.92rem;
  margin-bottom: 14px; font-family: inherit;
  transition: border-color 0.2s;
}
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--cyan); }
.cf textarea { min-height: 120px; resize: vertical; }
.ci-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; backdrop-filter: blur(8px);
}
.ci-card h4 { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.ci-item { display: flex; gap: 12px; margin-bottom: 14px; }
.ci-item .ci-ico { width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-item .ci-l { color: var(--gray-500); font-size: 0.78rem; }
.ci-item .ci-v { color: var(--gray-200); font-size: 0.85rem; }

.privacy { max-width: 780px; margin: 0 auto; padding: 40px 20px; }
.privacy h3 { color: var(--white); font-size: 1.15rem; margin: 28px 0 10px; }
.privacy p { color: var(--gray-500); line-height: 1.8; margin-bottom: 10px; font-size: 0.9rem; }

@media (max-width: 900px) {
  .hd-nav { display: none; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 2rem; }
  .svc-row { grid-template-columns: 1fr; }
  .proc-row { flex-direction: column; max-width: 400px; margin: 0 auto; }
  .proc-step:not(:last-child)::after { top: unset; left: 22px; width: 2px; height: 40px; bottom: -30px; }
  .about-grid { grid-template-columns: 1fr; }
  .testi-row { grid-template-columns: 1fr; }
  .cf-grid { grid-template-columns: 1fr; }
}
