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

:root {
  --bg: #0d0f12;
  --bg-alt: #14171c;
  --bg-card: #1a1e24;
  --accent: #E85D04;
  --accent-hover: #F48C06;
  --wpp: #25d366;
  --text-main: #f8f9fa;
  --text-muted: #8e95a0;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --tr: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body); background-color: var(--bg);
  color: var(--text-main); line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; transition: var(--tr); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 24px 0; background: transparent; transition: var(--tr);
}
.header.scrolled {
  padding: 16px 0; background: rgba(13, 15, 18, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; z-index: 101; position: relative;}
.logo span { color: var(--accent); }

/* MOBILE MENU */
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; transition: var(--tr); }
.nav-link:hover { color: var(--text-main); }
.menu-btn { display: none; background: transparent; border: none; color: var(--text-main); cursor: pointer; z-index: 101; position: relative; }
.menu-btn svg { width: 32px; height: 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 36px; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 0; cursor: pointer; transition: var(--tr); border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-main); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--text-main); background: rgba(255, 255, 255, 0.05); }

/* ── SECTION NUMBERING ── */
.section-marker { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; font-family: var(--font-heading); }
.section-num { font-size: 1rem; color: var(--accent); font-weight: 600; }
.section-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.section-line { flex: 1; height: 1px; background: var(--border); max-width: 100px; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 160px 0 80px; position: relative; }
.hero-bg { position: absolute; top: 0; right: 0; width: 50%; height: 100%; z-index: -1; background-image: url('assets/hero.png'); background-size: cover; background-position: center; opacity: 0.4; mask-image: linear-gradient(to right, transparent, black); -webkit-mask-image: linear-gradient(to right, transparent, black); }
.hero-content { max-width: 800px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); margin-bottom: 32px; color: var(--text-main); }
.hero h1 span { display: block; color: var(--text-muted); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--text-muted); max-width: 600px; margin-bottom: 48px; line-height: 1.5; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 24px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); }

/* ── SECTIONS GENERAL ── */
.section { padding: 100px 0; }
.section-bg { background-color: var(--bg-alt); }
.section-header { max-width: 800px; margin-bottom: 64px; }
.section-title { font-size: clamp(2rem, 4vw, 4rem); margin-bottom: 24px; }
.section-desc { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 600px; }

/* ── THE PROBLEM ── */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.problem-card { background: var(--bg); padding: 40px; transition: var(--tr); }
.problem-card:hover { background: var(--bg-alt); }
.p-num { font-family: var(--font-heading); font-size: 2rem; color: var(--border-strong); margin-bottom: 24px; }
.problem-card h4 { font-size: 1.25rem; margin-bottom: 16px; }
.problem-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ── BIG STATS ── */
.big-statement { font-size: clamp(1.8rem, 4vw, 3.5rem); font-family: var(--font-heading); line-height: 1.2; text-align: center; max-width: 900px; margin: 0 auto; color: var(--text-main); }
.big-statement span { color: var(--accent); }

/* ── SEGMENTS ── */
.segments-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.segment-item { border-top: 1px solid var(--border); padding-top: 32px; display: flex; flex-direction: column; }
.segment-item h3 { font-size: 1.8rem; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.segment-item p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; }
.segment-img { border-radius: 4px; margin-top: auto; filter: grayscale(30%) contrast(1.1); transition: var(--tr); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.segment-item:hover .segment-img { filter: grayscale(0%) contrast(1.1); }

.segment-list { display: flex; flex-direction: column; gap: 12px; }
.segment-list li { display: flex; align-items: center; gap: 12px; color: var(--text-main); font-size: 0.95rem; }
.segment-list li::before { content: ''; width: 4px; height: 4px; background: var(--accent); }

/* ── PROCESS ── */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step { position: relative; }
.process-step::before { content: ''; position: absolute; top: 24px; left: 0; width: 100%; height: 1px; background: var(--border); z-index: 1; }
.process-num { position: relative; z-index: 2; background: var(--bg); display: inline-block; padding-right: 16px; font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--border-strong); margin-bottom: 16px; }
.process-step h4 { font-size: 1.15rem; }

/* ── CTA / FORM ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 4rem); margin-bottom: 24px; }
.contact-info p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-muted); margin-bottom: 48px; }
.quote-box { padding: 32px; background: var(--bg-card); border-left: 4px solid var(--accent); }
.quote-box p { font-size: 1.05rem; font-style: italic; color: var(--text-main); margin-bottom: 0; }

.minimal-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 600; }
.minimal-form input, .minimal-form select, .minimal-form textarea { width: 100%; padding: 16px 0; background: transparent; border: none; border-bottom: 1px solid var(--border-strong); color: var(--text-main); font-family: var(--font-body); font-size: 1rem; transition: var(--tr); outline: none; }
.minimal-form select { cursor: pointer; appearance: none; -webkit-appearance: none; border-radius: 0; }
.minimal-form select option { background: var(--bg-card); }
.minimal-form input:focus, .minimal-form select:focus, .minimal-form textarea:focus { border-bottom-color: var(--accent); }
.minimal-form textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 16px; width: 100%; }

/* ── FOOTER ── */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-copy { color: var(--text-muted); font-size: 0.9rem; }

/* ── FLOATING WPP ── */
.wpp-float { position: fixed; bottom: 24px; right: 24px; z-index: 99; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(0,0,0,0.5); transition: var(--tr); cursor: pointer; text-decoration: none; }
.wpp-float::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wpp); opacity: 0.5; animation: wpp-pulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.wpp-float:hover { transform: translateY(-4px); border-color: var(--wpp); background: var(--wpp); }
.wpp-float:hover svg { fill: #111; }
.wpp-float svg { width: 32px; height: 32px; fill: var(--wpp); transition: var(--tr); z-index: 2; position: relative; }
@keyframes wpp-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.v { opacity: 1; transform: translateY(0); }

/* ── MOBILE OPTIMIZATION ── */
@media (max-width: 1024px) {
  .hero-bg { opacity: 0.2; width: 100%; mask-image: none; -webkit-mask-image: none; }
  .segments-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  
  /* Mobile Menu */
  .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; transition: var(--tr); z-index: 100; gap: 40px; }
  .nav-menu.active { right: 0; }
  .nav-link { font-size: 1.5rem; }
  .menu-btn { display: block; }
  .header-cta { display: none; } /* Hide CTA button in header on mobile */
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 60px; }
  .hero-badges { flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .process-list { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .wpp-float { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .wpp-float svg { width: 28px; height: 28px; }
  .problem-card { padding: 32px 24px; }
  .quote-box { padding: 24px; }
}
