/* Devin — Governance Framework for Build-to-Rent Property Investment */
:root {
  --gold: #c49b2a;
  --gold-hover: #e1af1e;
  --dark: #141414;
  --darker: #0a0a0a;
  --light: #f5f5f5;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --border: #e5e5e5;
  --font-heading: 'Helvetica Neue', 'Arial', sans-serif;
  --font-body: 'Helvetica Neue', 'Arial', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

nav { display: flex; align-items: center; gap: 32px; }

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:hover, nav a.active { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}

.btn:hover { background: var(--gold-hover); }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

/* Hero */
.hero {
  padding: 180px 40px 120px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-content h2 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Sections */
section { padding: 100px 40px; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 700px;
  line-height: 1.7;
}

/* Framework section */
.dark-section {
  background: var(--dark);
  color: var(--white);
}

.dark-section .section-heading { color: var(--white); }
.dark-section .section-sub { color: rgba(255,255,255,0.7); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  padding: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gold);
}

.feature-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.step {
  text-align: center;
  padding: 30px 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* How it works detail */
.detail-block {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.detail-block:last-child { border-bottom: none; }

.detail-block h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.detail-block p, .detail-block li {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.detail-block ul {
  list-style: none;
  padding: 0;
}

.detail-block ul li::before {
  content: "→";
  color: var(--gold);
  margin-right: 10px;
  font-weight: 700;
}

/* Does / does not */
.does-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.does, .does-not {
  padding: 40px;
  border-radius: 12px;
}

.does {
  background: rgba(196, 155, 42, 0.08);
  border: 1px solid rgba(196, 155, 42, 0.2);
}

.does h4 { color: var(--gold); }

.does-not {
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
}

.does-not h4 { color: rgba(255,255,255,0.9); }

.does h4, .does-not h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.does ul, .does-not ul {
  list-style: none;
  padding: 0;
}

.does ul li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
.does-not ul li::before { content: "✗ "; color: #ccc; font-weight: 700; }

.does ul li, .does-not ul li {
  padding: 6px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* iLive features */
.ilive-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.ilive-feature {
  padding: 40px 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.ilive-feature .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.ilive-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.ilive-feature p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.ilive-list {
  max-width: 600px;
  margin: 40px auto;
}

.ilive-list li {
  padding: 12px 0;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  list-style: none;
}

.ilive-list li::before {
  content: "→ ";
  color: var(--gold);
  font-weight: 700;
}

/* Contact form */
.contact-section {
  background: var(--light);
}

.form-container {
  max-width: 560px;
  margin: 60px auto 0;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--white);
  transition: border-color 0.15s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* CTA */
.cta {
  text-align: center;
  padding: 120px 40px;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* Disclaimer */
.disclaimer {
  background: var(--light);
  padding: 60px 40px;
  text-align: center;
}

.disclaimer-inner {
  max-width: 700px;
  margin: 0 auto;
}

.disclaimer h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.disclaimer p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 40px;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

footer a:hover { color: var(--gold); }

/* Mobile */
@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  nav { gap: 16px; }
  nav a:not(.btn) { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 140px 20px 60px;
    gap: 40px;
  }

  .hero-content h1 { font-size: 2rem; }
  .hero-content h2 { font-size: 1.1rem; }

  .feature-grid, .ilive-features, .steps {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .does-grid {
    grid-template-columns: 1fr;
  }

  section { padding: 60px 20px; }
  .section-heading { font-size: 1.8rem; }
}
