/* Daufintech Ventures — corporate home page.
   Plain CSS, no build step. Brand colors live in :root; sections follow page order. */

:root {
  --ink: #171c28;          /* dark navy base */
  --navy: #1b2130;
  --paper: #f2f5fa;        /* light portfolio background */
  --white: #fff;
  --mint: #65e8f7;         /* cyan accent */
  --sky: #0b78dc;          /* blue accent */
  --accent: linear-gradient(90deg, var(--sky), var(--mint));
  --muted: #aeb8c9;
  --line: rgba(255, 255, 255, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { width: min(1180px, 100% - 40px); margin: auto; }

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  background:
    radial-gradient(circle at 76% 28%, rgba(11, 120, 220, .22), transparent 31%),
    radial-gradient(circle at 95% 70%, rgba(101, 232, 247, .12), transparent 30%),
    linear-gradient(135deg, #171c28 0%, #1b2130 62%, #141925 100%);
}
/* The faint concentric circles on the right */
.hero::after {
  content: "";
  position: absolute;
  right: -9%;
  top: 110px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(101, 232, 247, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(11, 120, 220, .035), 0 0 0 140px rgba(101, 232, 247, .02);
  pointer-events: none;
}

header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}
.brand { display: block; width: min(430px, 58vw); text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }


.nav { display: flex; gap: 30px; align-items: center; }
.nav a { text-decoration: none; color: #dce5ee; font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--mint); }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 72px;
  padding: 92px 0 120px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mint);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--mint); }

h1 {
  margin: 24px 0 28px;
  font-family: Manrope, sans-serif;
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  line-height: .96;
  letter-spacing: -.065em;
  max-width: 950px;
}
/* "With better tools." — gradient text */
h1 em {
  font-style: normal;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { max-width: 650px; color: #c4cfda; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; }

.explore { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; text-decoration: none; font-weight: 600; }
.explore i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-style: normal;
  transition: .25s;
}
.explore:hover i { transform: translateY(4px); }

.principle { padding: 26px 0 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.principle strong { display: block; color: var(--white); font-family: Manrope, sans-serif; font-size: 17px; margin-bottom: 6px; }

/* ================= PORTFOLIO ================= */
.ventures { background: var(--paper); color: var(--ink); padding: 110px 0 124px; }
.kicker { color: #086dca; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 13px; }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 55px; }
.section-head h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 14px 0 0;
}
.section-head p { margin: 0; color: #526071; font-size: 18px; max-width: 550px; justify-self: end; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  position: relative;
  min-height: 410px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(7, 17, 31, .15); }
.card:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
/* "Coming soon" cards are plain divs: no link, no hover lift */
.card.soon:hover { transform: none; box-shadow: none; }
.card .soon-badge {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
}
.card .num { font-family: Manrope, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; padding-right: 40px; }
.card h3 {
  font-family: Manrope, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin: 0 0 16px;
}
.card p { max-width: 470px; margin: 0; color: inherit; opacity: .84; font-size: 17px; }
.card .card-action { display: inline-block; margin-top: 24px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.card .go { position: absolute; right: 30px; top: 28px; font-size: 28px; transition: .25s; }
.card:hover .go { transform: translate(5px, -5px); }

/* Card colors */
.book   { background: linear-gradient(135deg, #d8f8ff, #b7deff); }
.wealth { background: linear-gradient(145deg, #1b2130, #103e70); color: var(--white); }
.stuff  { background: linear-gradient(135deg, #e3e9f4, #c6d5ea); }
.swing  { background: linear-gradient(135deg, #8feef7, #5cb9f2); }

/* Big faint initials, bottom-right of each card */
.glyph {
  position: absolute;
  right: 30px;          /* same inset as the ↗ arrow, so the initials sit fully inside the card */
  bottom: 24px;
  font-family: Manrope, sans-serif;
  font-size: 180px;
  line-height: .74;     /* trims the empty space above/below the capitals */
  font-weight: 800;
  letter-spacing: -.06em;
  opacity: .08;
  pointer-events: none;
}
.wealth .glyph { color: var(--mint); }
.glyph.wide { font-size: 140px; }   /* four characters (6040) need a smaller size to stay inside the card */

/* ================= MISSION ================= */
.about { padding: 104px 0; background: linear-gradient(145deg, #171c28, #1c2434); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.about h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin: 12px 0;
}
.about-copy { color: #bdc8d4; font-size: 19px; }
.about-copy p { margin: 0 0 22px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.value { border-top: 1px solid var(--line); padding-top: 18px; }
.value strong { color: var(--white); display: block; margin-bottom: 6px; }
.value span { color: #8f9dac; font-size: 14px; }

/* ================= FOOTER ================= */
footer { padding: 32px 0; background: #121722; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; color: #8f9dac; font-size: 14px; }
.foot strong { color: var(--white); }
.foot a { color: #bcebf4; text-decoration: none; text-underline-offset: 4px; }
.foot a:hover, .foot a:focus-visible { text-decoration: underline; }

/* ================= RESPONSIVE ================= */
@media (max-width: 800px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 78px 0 86px; gap: 54px; }
  .hero::after { width: 360px; height: 360px; top: 220px; }
  .section-head, .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head p { justify-self: start; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 340px; }
  .values { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
  .ventures, .about { padding: 80px 0; }
  /* The draft hides the nav here; we keep it, smaller. */
  .nav { gap: 18px; }
}
@media (max-width: 480px) {
  .wrap { width: min(100% - 28px, 1180px); }
  h1 { font-size: 3.25rem; }
  .card { padding: 26px; min-height: 320px; }
  .card .go { right: 24px; top: 20px; }
  .glyph { right: 24px; bottom: 20px; font-size: 140px; }
  .glyph.wide { font-size: 104px; }
  .brand { width: 245px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .explore i, .card .go { transition: none; }
}
