/* ============ Ethios Capital — Stylesheet (light / startup theme) ============ */

:root {
  --ink: #16213a;
  --ink-soft: #55617a;
  --bg: #fafbfe;
  --white: #ffffff;
  --line: #e7eaf3;

  --indigo: #6366f1;
  --violet: #8b5cf6;
  --teal: #14b8a6;
  --amber: #f59e0b;

  --indigo-soft: #eef0fe;
  --teal-soft: #e6faf7;
  --amber-soft: #fef3e2;
  --violet-soft: #f3eefe;

  --grad: linear-gradient(100deg, var(--indigo), var(--violet));

  --heading: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow-soft: 0 6px 24px rgba(22, 33, 58, 0.06);
  --shadow-lift: 0 16px 44px rgba(22, 33, 58, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section { padding: 6rem 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 3.2rem;
}

.section-sub {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

.btn-ghost {
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  transform: translateY(-2px);
}

.btn-block { width: 100%; text-align: center; }

/* ============ Navigation ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 18px rgba(22, 33, 58, 0.08);
  padding: 0.65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--grad);
  color: var(--white);
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.brand-text {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-text em { font-style: normal; color: var(--indigo); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--indigo); }

.nav-cta {
  background: var(--grad);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 85% 12%, rgba(139, 92, 246, 0.14), transparent 65%),
    radial-gradient(560px 400px at 8% 88%, rgba(20, 184, 166, 0.12), transparent 65%),
    radial-gradient(700px 460px at 55% 108%, rgba(99, 102, 241, 0.10), transparent 60%),
    var(--bg);
}

.hero-inner {
  position: relative;
  padding-top: 8.5rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo);
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.6rem;
}

.hero h1 { max-width: 840px; }

.hero-sub {
  max-width: 600px;
  margin-top: 1.5rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.hero-strip {
  display: flex;
  gap: 1rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.strip-item {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.strip-item strong {
  font-family: var(--heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.strip-item span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

/* ============ About ============ */
.about { background: var(--white); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.about-copy p + p { margin-top: 1.2rem; }
.about-copy { color: var(--ink-soft); font-size: 1.05rem; }

.about-stats {
  display: flex;
  gap: 1rem;
  margin-top: 2.6rem;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  background: var(--indigo-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.stat:nth-child(2) { background: var(--teal-soft); }
.stat:nth-child(3) { background: var(--amber-soft); }

.stat-num {
  font-family: var(--heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ============ Services ============ */
.services { background: var(--bg); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.card-indigo:hover { border-color: var(--indigo); }
.card-teal:hover { border-color: var(--teal); }
.card-amber:hover { border-color: var(--amber); }

.card-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  border-radius: 16px;
  margin-bottom: 1.4rem;
}
.card-indigo .card-icon { background: var(--indigo-soft); }
.card-teal .card-icon { background: var(--teal-soft); }
.card-amber .card-icon { background: var(--amber-soft); }

.card h3 { margin-bottom: 0.7rem; }
.card > p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 1.3rem; }

.card ul { list-style: none; }
.card li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}
.card-indigo li::before { color: var(--indigo); }
.card-teal li::before { color: var(--teal); }
.card-amber li::before { color: var(--amber); }

/* ============ Approach ============ */
.approach { background: var(--white); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.step {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.step-num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--grad);
  color: var(--white);
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 12px;
}

.step h3 { margin: 1rem 0 0.5rem; font-size: 1.15rem; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }

.ethos {
  margin-top: 3.5rem;
  padding: 1.8rem 2.2rem;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--indigo-soft), var(--violet-soft));
  max-width: 780px;
}
.ethos p {
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.6;
}
.ethos em { color: var(--indigo); font-style: normal; font-weight: 600; }

/* ============ Team ============ */
.team { background: var(--bg); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.member {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.member-photo {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 14px;
}
.mp-1 { background: linear-gradient(135deg, #eef0fe, #dfe3fd); }
.mp-2 { background: linear-gradient(135deg, #e6faf7, #ccf3ec); }
.mp-3 { background: linear-gradient(135deg, #fef3e2, #fde7c4); }
.mp-4 { background: linear-gradient(135deg, #f3eefe, #e6dbfc); }

.member-photo span {
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(22, 33, 58, 0.35);
}

.member h3 { font-size: 1.12rem; }
.member-role {
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0.25rem 0 0.6rem;
}
.member-bio { color: var(--ink-soft); font-size: 0.88rem; }

/* ============ Contact ============ */
.contact { background: var(--white); }

.contact-copy { color: var(--ink-soft); margin-top: 1rem; max-width: 460px; }

.contact-details { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.3rem; }

.contact-item { display: flex; flex-direction: column; }
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.contact-item a, .contact-item p {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
}
.contact-item a:hover { color: var(--indigo); }

.contact-form {
  background: var(--bg);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 2.2rem;
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.form-note {
  margin-top: 1rem;
  text-align: center;
  color: #0e9f6e;
  font-weight: 600;
}

/* ============ Footer ============ */
.footer {
  background: var(--bg);
  border-top: 1.5px solid var(--line);
  color: var(--ink-soft);
  padding: 3.2rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1.5px solid var(--line);
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-name {
  font-family: var(--heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}
.footer-name em { font-style: normal; color: var(--indigo); }
.footer-tag { font-size: 0.85rem; color: var(--ink-soft); }

.footer-links { display: flex; gap: 1.7rem; flex-wrap: wrap; }
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-links a:hover { color: var(--indigo); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #8b93a7;
  flex-wrap: wrap;
}
.disclaimer { max-width: 520px; text-align: right; }

/* ============ Reveal animation (only active when JS confirms support) ============ */
html.anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.anim .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(300px, 80vw);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(22, 33, 58, 0.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .team-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4.2rem 0; }

  /* Center hero content on small screens */
  .hero-inner { text-align: center; }
  .hero-actions { justify-content: center; }
  .strip-item { align-items: center; text-align: center; }

  /* Center footer content on small screens */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .disclaimer { text-align: center; }
}
