/* Premium BPA Presentation - Variables & Base */
:root {
  --bg-dark: #0c0e12;
  --bg-card: #141820;
  --bg-elevated: #1a1e28;
  --text-primary: #f0f2f5;
  --text-secondary: #9ca3b4;
  --text-muted: #6b7280;
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, 0.15);
  --accent-glow: rgba(34, 211, 238, 0.25);
  --gold: #fbbf24;
  --gold-dim: rgba(251, 191, 36, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --space: 1.5rem;
  --wrap: min(92vw, 1200px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrapper {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space);
  padding-right: var(--space);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--space);
  background: linear-gradient(to bottom, rgba(12, 14, 18, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.nav-cta {
  color: var(--accent) !important;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-dim);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem var(--space) 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 14, 18, 0.92) 0%, rgba(12, 14, 18, 0.75) 50%, rgba(12, 14, 18, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline {
    animation: none;
  }
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.hero-explanation {
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 700px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sections common */
.section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-title-center {
  text-align: center;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

.section-lead-center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-content p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.section-content .highlight {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-primary);
}

.bullet-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

.section-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Problem section */
.section-problem {
  background: var(--bg-card);
}

.section-problem .section-grid {
  direction: rtl;
}

.section-problem .section-content {
  direction: ltr;
  text-align: left;
}

/* Services */
.section-services {
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card-wide {
  grid-column: 1 / -1;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius);
  color: var(--accent);
}

.service-icon img {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.service-card p,
.service-card ul {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.service-card ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Approach */
.section-approach {
  background: var(--bg-card);
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.approach-step {
  position: relative;
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.approach-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.approach-step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.approach-visual {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.approach-visual img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* Results */
.section-results {
  background: var(--bg-dark);
}

.results-list {
  margin-bottom: 1rem;
}

/* Audience */
.section-audience {
  background: var(--bg-card);
}

.audience-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.audience-grid li {
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  position: relative;
  padding-left: 2.5rem;
}

.audience-grid li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--accent);
  font-weight: 700;
}

/* Contact */
.section-contact {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
  padding: 5rem 0 6rem;
  text-align: center;
}

.contact-wrapper {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-wrapper .section-title,
.contact-wrapper p {
  text-align: center;
}

.contact-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

.contact-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.contact-cta .btn {
  width: auto;
}

/* Footer */
.site-footer {
  padding: 2rem var(--space);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Fallback when images are missing */
.hero-img[src=""],
.hero-img:not([src]) {
  opacity: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 70% 40%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 80%, var(--gold-dim) 0%, transparent 45%);
  pointer-events: none;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 0.875rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle::before {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
    margin: 0 auto;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-problem .section-grid {
    direction: ltr;
  }

  .section-visual {
    max-height: 280px;
  }

  .section-visual img {
    min-height: 240px;
  }

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

  .approach-steps {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

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

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 5rem;
  }
}
