/* ============================================================
   Clean Lava — Brand Stylesheet
   Colors: #B7410E (lava orange), #7A2C0A (dark accent),
           #1A1A1A (ink), #595959 (muted), #FFF4E6 (warm)
   Fonts:  DM Sans (body) + DM Mono (technical)
   ============================================================ */

/* ----- Reset & Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange:     #B7410E;
  --orange-dark:#7A2C0A;
  --ink:        #1A1A1A;
  --muted:      #595959;
  --warm:       #FFF4E6;
  --bg-dark:    #1A1A1A;
  --bg-card:    #231008;
  --bg-card2:   #2D1810;
  --text-light: #E8D5C4;
  --text-dim:   #A08070;
  --border:     #3D2010;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', Arial, sans-serif;
  background: linear-gradient(160deg, #1A1A1A 0%, #2D1810 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

code, .mono {
  font-family: 'DM Mono', 'Courier New', monospace;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #D4521A;
}

img, svg {
  display: block;
}

/* ----- Layout ----- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-warm {
  background: #FFF4E6;
  color: var(--ink);
}

.section-warm .section-label { color: var(--orange); }
.section-warm .section-title { color: var(--ink); }
.section-warm .section-subtitle { color: var(--muted); }

/* ----- Navigation ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
}

.logo:hover { color: var(--text-light); }

.logo-text {
  letter-spacing: -0.01em;
}

.nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--orange-dark);
  color: #fff;
}

/* ----- Section Labels ----- */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-light);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ----- Hero ----- */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(183, 65, 14, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(183, 65, 14, 0.12);
  border: 1px solid rgba(183, 65, 14, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--orange);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-title .accent {
  color: var(--orange);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ----- Buttons ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-light);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ----- Problem Cards ----- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

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

.problem-icon {
  width: 52px;
  height: 52px;
  background: rgba(183, 65, 14, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-light);
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ----- Verticals ----- */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vertical-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.vertical-card:hover {
  border-color: var(--orange-dark);
  transform: translateY(-3px);
}

.vertical-card--featured {
  border-color: var(--orange);
  background: rgba(183, 65, 14, 0.05);
}

.vertical-icon {
  margin-bottom: 16px;
}

.vertical-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.vertical-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}

.vertical-card p {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 20px;
}

.vertical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  color: var(--orange);
  background: rgba(183, 65, 14, 0.1);
  border: 1px solid rgba(183, 65, 14, 0.2);
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: 0.03em;
}

/* ----- Architecture Diagram ----- */
.diagram-wrapper {
  background: #0F0A06;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 48px;
  overflow-x: auto;
}

.architecture-diagram {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ----- How It Works Steps ----- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
}

.step strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ----- Privacy Cards ----- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.privacy-card {
  background: #fff;
  border: 1px solid #EDD5B5;
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.privacy-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(183, 65, 14, 0.1);
}

.privacy-icon {
  width: 48px;
  height: 48px;
  background: rgba(183, 65, 14, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.privacy-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.privacy-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ----- CTA Section ----- */
.section-cta {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(183, 65, 14, 0.08) 100%);
  border-top: 1px solid var(--border);
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.cta-note a {
  color: var(--orange);
}

/* ----- Access Form ----- */
.access-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.form-hidden { display: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.form-group .optional {
  color: #5A4030;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #4A3020;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(183, 65, 14, 0.06);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23595959' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-group select option {
  background: #1A1A1A;
  color: var(--text-light);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ----- Footer ----- */
.footer {
  background: #0F0A06;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9375rem;
}

.footer-address {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-legal {
  font-size: 0.8125rem;
  color: #4A3020;
  border-top: 1px solid #1F1008;
  padding-top: 20px;
}

/* ============================================================
   RESPONSIVE — Mobile-first adjustments
   (Most Clean Lava visitors will be on mobile in Lagos)
   ============================================================ */

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .hero { padding: 80px 0 72px; }

  .hero-title { font-size: 2.25rem; }

  .problem-grid,
  .verticals-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-actions { flex-direction: column; align-items: center; }

  .hero-trust { gap: 16px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .diagram-wrapper { padding: 16px; }

  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.75rem; }
  .hero-badge { font-size: 0.6875rem; padding: 5px 12px; }
}
