/* ============================================
   Evoflux Landing Page — Stylesheet
   ============================================ */

/* --- VARIABLES --- */
:root {
  --bg-primary: #0a0b0f;
  --bg-secondary: #111219;
  --bg-card: #16171f;
  --bg-card-hover: #1c1d28;
  --text-primary: #e8e6e1;
  --text-secondary: #8a8894;
  --text-muted: #5c5a66;
  --accent: #c9a86c;
  --accent-dim: #a6884f;
  --accent-glow: rgba(201, 168, 108, 0.12);
  --danger: #c45c5c;
  --success: #5ca87a;
  --border: #222330;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- NAV --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  border: none;
  padding: 0.6rem 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--text-primary);
  transform: translateY(-1px);
}

/* --- SECTION BASE --- */
section {
  padding: 8rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent-dim);
}

/* --- IMAGES --- */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-visual,
.problem-visual,
.contrast-visual,
.audience-visual {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 2px;
}

.solution-card-icon {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  border: none;
  padding: 1rem 2.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 108, 0.2);
}

.hero-cta-arrow {
  transition: transform 0.3s ease;
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(4px);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  border-radius: 2px;
}

/* --- PROBLEM --- */
.problem {
  padding-bottom: 4rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.problem-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.problem-text p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.problem-visual {
  margin-top: 0.5rem;
}

.problem-highlight {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-glow);
}

.problem-highlight p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- SOLUTION --- */
.solution {
  padding-top: 6rem;
}

.solution h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.solution-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 4rem;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
}

.solution-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-dim);
  transform: translateY(-4px);
}

.solution-card-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.solution-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CONTRAST --- */
.contrast {
  padding-top: 6rem;
}

.contrast h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 3.5rem;
  max-width: 800px;
}

.contrast-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}

.contrast-col {
  padding: 2.5rem;
}

.contrast-col:first-child {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
}

.contrast-col:last-child {
  background: var(--bg-card);
  border-left: none;
}

.contrast-col-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contrast-col:first-child .contrast-col-header {
  color: var(--text-muted);
}

.contrast-col:last-child .contrast-col-header {
  color: var(--accent);
}

.contrast-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contrast-col:first-child .contrast-item {
  color: var(--text-muted);
}

.contrast-col:last-child .contrast-item {
  color: var(--text-secondary);
}

.contrast-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.contrast-icon--accent {
  color: var(--accent);
}

.contrast-visual {
  margin-top: 3rem;
}

/* --- AUDIENCE --- */
.audience {
  text-align: center;
}

.audience h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.audience-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.audience-visual {
  max-width: 800px;
  margin: 0 auto;
}

/* --- QUOTE --- */
.quote-section {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -1rem;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-primary);
}

.quote-text span {
  color: var(--accent);
}

/* --- CTA --- */
.cta-section {
  padding: 6rem 3rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.cta-benefits {
  margin-top: 2rem;
  list-style: none;
}

.cta-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cta-benefits li .cb-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* --- FORM --- */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-form input,
.cta-form select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 1rem 1.2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease;
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form input:focus,
.cta-form select:focus {
  border-color: var(--accent-dim);
}

.cta-form select {
  appearance: none;
  cursor: pointer;
  color: var(--text-muted);
}

.cta-form select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.cta-submit {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  border: none;
  padding: 1.1rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.cta-submit:hover {
  background: var(--text-primary);
  transform: translateY(-2px);
}

.cta-fine {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* --- FOOTER --- */
footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent-dim);
  text-transform: uppercase;
}

.footer-story {
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-contact {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--accent-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

/* --- DIVIDER --- */
.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-divider hr {
  border: none;
  height: 1px;
  background: var(--border);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.solution-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.25s; }
.solution-card:nth-child(3) { animation-delay: 0.4s; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  section { padding: 5rem 1.5rem; }
  nav { padding: 1rem 1.5rem; }

  .hero { min-height: auto; padding-top: 8rem; }
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-visual { max-height: 360px; }

  .problem-grid { grid-template-columns: 1fr; }
  .problem h2 { font-size: 2rem; }

  .solution h2,
  .contrast h2,
  .audience h2,
  .cta-content h2 { font-size: 1.8rem; }

  .solution-cards { grid-template-columns: 1fr; }
  .solution-card-icon { max-height: 240px; }

  .contrast-table { grid-template-columns: 1fr; }
  .contrast-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .cta-box { grid-template-columns: 1fr; padding: 2.5rem; }
  .cta-section { padding: 5rem 1.5rem; }

  .quote-section { padding: 5rem 1.5rem; }
  .quote-text { font-size: 1.4rem; }

  .section-divider { padding: 0 1.5rem; }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-contact { text-align: center; }
}
