/* Agnos Consulting — Revolut-style: pure black, white type, pill buttons */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary:    #08090D;   /* deep blue-black — page base */
  --bg-secondary:  #111318;   /* grey-blue-black — footer, cards */
  --bg-tertiary:   #1A1C23;   /* lighter grey-black — stat bar, profile cards */
  --bg-card:       rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border:        rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(255, 255, 255, 0.25);
  --text-primary:  #FFFFFF;
  --text-secondary:#9096A8;   /* blue-grey mid tone */
  --text-muted:    #52566A;   /* blue-grey muted */
  --radius:        12px;
  --radius-lg:     20px;
  --radius-pill:   100px;
  --max-width:     1140px;
  --nav-height:    72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(17, 19, 24, 0.92);  /* grey-blue-black nav */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo span, .footer-logo span { color: #FF6B35; }

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

nav ul a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

nav ul a:hover,
nav ul a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  background: #FFFFFF !important;
  color: #000000 !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-pill) !important;
}

.nav-cta:hover {
  background: #E8E8E8 !important;
}

/* ── HAMBURGER (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO WRAPPER + OFFICE BACKGROUND ── */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

/* Layered dark desk/office atmosphere */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Base desk surface — deep blue-black with warm undertone suggesting polished surface */
.desk-surface {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, #0E1018 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%,  #0A0C14 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%,  #0C0E18 0%, transparent 60%),
    linear-gradient(180deg, #06070A 0%, #0C0E16 40%, #12141E 100%);
}

/* Subtle ambient light from above — like a ceiling light over a desk */
.desk-surface::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(160, 170, 220, 0.06) 0%, transparent 70%);
}

/* Translucent geometric shapes — glass panels catching light */
.shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

/* Large panel — bottom left, angled like a desk surface or document */
.shape-1 {
  width: 420px;
  height: 260px;
  bottom: -40px;
  left: -60px;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(-12deg);
  backdrop-filter: blur(4px);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Medium panel — top right corner */
.shape-2 {
  width: 280px;
  height: 180px;
  top: 10%;
  right: -40px;
  background: rgba(180, 190, 230, 0.09);
  transform: rotate(8deg);
  backdrop-filter: blur(3px);
  border-color: rgba(200, 210, 255, 0.2);
}

/* Thin tall panel — right side, vertical like a monitor edge */
.shape-3 {
  width: 140px;
  height: 340px;
  top: 20%;
  right: 14%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(3deg);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Small bright shard — catches light, upper centre-left */
.shape-4 {
  width: 180px;
  height: 90px;
  top: 18%;
  left: 12%;
  background: rgba(200, 210, 255, 0.1);
  transform: rotate(-6deg);
  backdrop-filter: blur(3px);
  border-color: rgba(220, 225, 255, 0.22);
}

/* Horizon line — desk edge meeting wall */
.shape-5 {
  width: 70%;
  height: 1px;
  bottom: 32%;
  left: 15%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  border: none;
  border-radius: 0;
}

/* Subtle perspective grid — like desk surface lines */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  opacity: 0.5;
}

/* Vignette — darkens edges for depth, lifts content to centre */
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 30%, rgba(6,7,10,0.7) 100%);
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 100px) 24px 120px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.7;
  font-weight: 400;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: #FFFFFF;
  color: #000000;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: #E8E8E8;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  margin-left: 12px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

/* ── SECTIONS ── */
section {
  padding: 100px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg-tertiary);   /* slightly lighter grey-black for contrast */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 24px;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #FFFFFF;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ── SERVICE CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.card ul {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card ul li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ── TWO-COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── PROFILE PHOTO ── */
.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--border);
  display: block;
  margin-bottom: 24px;
}

/* ── PROFILE CARD ── */
.profile-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.profile-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 4px;
}

.profile-title {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
}

.profile-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.achievement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.achievement-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.achievement-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-detail-text {
  font-size: 14px;
}

.contact-detail-text strong {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.contact-detail-text a {
  color: var(--text-primary);
  text-decoration: none;
}

.contact-detail-text a:hover { text-decoration: underline; }

.form-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: #FFFFFF;
  cursor: pointer;
}

.consent-row label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}

.consent-row label a {
  color: var(--text-primary);
  text-decoration: underline;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 500;
}

.form-status.success {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: #34D399;
}

.form-status.error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: #F87171;
}

/* ── LEGAL / PROSE PAGES ── */
.prose-page {
  padding: calc(var(--nav-height) + 60px) 24px 100px;
}

.prose-inner {
  max-width: 760px;
  margin: 0 auto;
}

.prose-inner h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 8px;
}

.prose-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.prose-inner h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.3px;
}

.prose-inner h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text-secondary);
}

.prose-inner p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose-inner ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 16px;
}

.prose-inner ul li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.7;
}

.prose-inner ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.prose-inner a {
  color: var(--text-primary);
  text-decoration: underline;
}

.info-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
}

.info-box p { margin: 0; font-size: 14px; }
.info-box strong { color: var(--text-primary); }

/* ── FOOTER ── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #111318;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
  }
  .hamburger { display: flex; }
  .hero p { font-size: 16px; }
  .btn-outline { margin-left: 0; margin-top: 12px; display: block; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 24px; }
  .profile-card { padding: 24px; }
}
