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

:root {
  --ink: #0A0F1E;
  --paper: #F5F2EB;
  --gold: #E8A020;
  --gold-light: #F5C453;
  --green: #13544E;     /* Integrated app primary color */
  --green-mid: #1c746b; /* Integrated app hover color */
  --cream: #FDF9F0;
  --muted: #6B7280;
  --border: rgba(10,15,30,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(253,249,240,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo img {
  height: 35px;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
}
.nav-logo span.accent { color: var(--gold); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  opacity: 0.7; transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: flex; gap: 0.8rem;
}
.btn-outline {
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--ink); border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 500;
  background: transparent; color: var(--ink);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-primary {
  padding: 0.5rem 1.2rem;
  background: var(--green); color: white;
  border: none; border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 500;
  cursor: pointer; transition: background 0.2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--green-mid); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -20%; left: 20%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,69,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text { padding-top: 5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(232,160,32,0.12);
  border: 1px solid rgba(232,160,32,0.3);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem; font-weight: 500;
  color: #9A6A10;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
}
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
h1 em::after {
  content: '';
  position: absolute; bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.hero-sub {
  font-size: 1.05rem; font-weight: 300; line-height: 1.7;
  color: #4B5563;
  max-width: 480px;
  margin-bottom: 2.4rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; align-items: center;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-hero {
  display: inline-block;
  text-decoration: none;
  padding: 0.85rem 2rem;
  background: var(--green); color: white;
  border: none; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(26,107,69,0.3);
}
.btn-hero:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-ghost {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  text-decoration: none; opacity: 0.6; transition: opacity 0.2s;
}
.btn-ghost:hover { opacity: 1; }
.btn-ghost svg { width: 18px; height: 18px; }

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem; font-weight: 700;
  color: var(--ink);
}
.stat-val span { color: var(--gold); }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.1rem; }

/* Hero visual */
.hero-visual {
  display: flex; flex-direction: column; gap: 1rem;
  padding-top: 5rem;
  animation: fadeLeft 0.7s 0.2s ease both;
}
.card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 2px 16px rgba(10,15,30,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(10,15,30,0.1); }

.card-main {
  position: relative;
  overflow: hidden;
}
.card-main::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
.card-tag {
  display: inline-block;
  background: rgba(26,107,69,0.1);
  color: var(--green); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem; border-radius: 4px;
  margin-bottom: 0.8rem;
}
.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem;
}
.card-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-bottom: 1rem; }
.progress-bar {
  height: 6px; background: #EEE; border-radius: 3px; overflow: hidden;
  margin-bottom: 0.5rem;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold-light));
  border-radius: 3px;
  animation: growBar 1.2s 0.8s ease both;
  width: 0;
}
.progress-fill.fill-72 { --target: 72%; }
.progress-fill.fill-45 { --target: 45%; }
@keyframes growBar {
  to { width: var(--target); }
}
.card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--muted);
}
.card-meta strong { color: var(--ink); font-weight: 600; }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10B981; display: inline-block; margin-right: 0.3rem;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}

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

.mini-card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 1rem;
}
.mini-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  margin-bottom: 0.6rem; font-size: 1rem;
}
.mini-icon.gold { background: rgba(232,160,32,0.15); }
.mini-icon.green { background: rgba(26,107,69,0.12); }
.mini-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem; font-weight: 700;
}
.mini-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }

/* ── HOW IT WORKS ── */
.section { padding: 7rem 4rem; }
.section-label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-sub {
  font-size: 1rem; color: var(--muted); font-weight: 300;
  max-width: 500px; line-height: 1.7; margin-top: 1rem;
}

.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 4rem;
}
.how-step {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  transition: box-shadow 0.3s;
}
.how-step:hover { box-shadow: 0 8px 32px rgba(10,15,30,0.08); }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem; font-weight: 800;
  color: rgba(10,15,30,0.06);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.6rem;
}
.step-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── ROLES ── */
.roles-section {
  background: var(--ink);
  padding: 7rem 4rem;
  position: relative;
  overflow: hidden;
}
.roles-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 600px; height: 100%;
  background: radial-gradient(ellipse at right, rgba(232,160,32,0.08) 0%, transparent 60%);
}
.roles-section .section-label { color: var(--gold); }
.roles-section .section-title { color: white; }
.roles-section .section-sub { color: rgba(255,255,255,0.5); }

.roles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 4rem;
}
.role-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(4px);
  transition: border-color 0.3s, background 0.3s;
}
.role-card:hover {
  border-color: rgba(232,160,32,0.3);
  background: rgba(255,255,255,0.06);
}
.role-avatar {
  font-size: 2rem; margin-bottom: 1rem;
}
.role-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: white; margin-bottom: 0.6rem;
}
.role-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  line-height: 1.65; margin-bottom: 1.2rem;
}
.role-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.role-features li {
  font-size: 0.82rem; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 0.5rem;
}
.role-features li::before {
  content: '→'; color: var(--gold); font-weight: 600;
}

/* ── CTA ── */
.cta-section {
  padding: 7rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(26,107,69,0.06) 100%);
}
.cta-section .section-title { margin: 0 auto; max-width: 600px; }
.cta-section .section-sub { margin: 1rem auto 2.5rem; text-align: center; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; }
.btn-lg {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.btn-lg.green {
  background: var(--green); color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(26,107,69,0.25);
}
.btn-lg.green:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-lg.outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-lg.outline:hover { background: var(--ink); color: var(--cream); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: white;
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; gap: 0.4rem;
}
.footer-logo img {
  height: 30px;
  width: auto;
  border-radius: 4px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 0.3rem; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── DOMAIN GRID IN HERO ── */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  padding-top: 2rem;
}
.domain-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(10,15,30,0.06);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}
.domain-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(10,15,30,0.15);
}
.domain-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.domain-card:hover .domain-img {
  transform: scale(1.08);
}
.domain-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.85) 0%, rgba(10,15,30,0.3) 60%, rgba(10,15,30,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  color: white;
}
.domain-badge {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}
.domain-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 0 1.5rem; min-height: auto; padding-top: 5rem; padding-bottom: 3rem; }
  .hero-visual { display: none; }
  .section, .roles-section, .cta-section { padding: 4rem 1.5rem; }
  .how-grid, .roles-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
}
