/* ============================================
   one+1 Client-Facing Landing Page
   Brand Colors: Charcoal #37382F, Slate #A8C8D4,
   White #FFFFFF, Light Gray #F5F5F5
   Typography: Inter (web-safe fallback for Neulis Sans)
   ============================================ */

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

:root {
  --charcoal: #37382F;
  --slate: #A8C8D4;
  --slate-dark: #8AB0BF;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --text-primary: #37382F;
  --text-secondary: #5A5B52;
  --text-light: #7A7B72;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 600; }

.text-slate { color: var(--slate-dark); }
.text-center { text-align: center; }
.text-white-muted { color: var(--slate); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(55, 56, 47, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--charcoal);
}

/* Logo using actual brand PNG */
.logo-img {
  height: 36px;
  width: auto;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background: #2a2b24;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(55, 56, 47, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-nav {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 10px 24px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-nav:hover {
  background: #2a2b24;
  color: var(--white) !important;
}

/* CTA button — high-contrast, legible on dark background */
.btn-cta {
  background: var(--white);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 40px;
  border: 2px solid var(--white);
}

.btn-cta:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero watercolor image */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-watercolor {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* --- Section Base --- */
.section {
  padding: 100px 0;
}

/* --- Gap Section --- */
.section-gap {
  background: var(--light-gray);
}

.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.gap-text h2 {
  margin-bottom: 24px;
}

.gap-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-col {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}

.comparison-col h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--text-light);
}

.comparison-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comparison-col li {
  font-size: 0.9rem;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
}

.comparison-col li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 0.85rem;
}

.comparison-col li.pro::before {
  content: '+';
  color: var(--charcoal);
}

.comparison-col li.con::before {
  content: '\2013';
  color: var(--text-light);
}

/* --- Bridge Section --- */
.section-bridge {
  background: var(--white);
}

.section-bridge h2 {
  margin-bottom: 16px;
}

.bridge-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.bridge-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.pill {
  display: inline-flex;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--light-gray);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.pill-plus {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--slate-dark);
  padding: 0 8px;
}

/* --- How It Works --- */
.section-how {
  background: var(--light-gray);
}

.section-how h2 {
  margin-bottom: 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0 32px 40px;
  transition: var(--transition);
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(55, 56, 47, 0.08);
}

/* Watercolor illustrations in step cards */
.step-illustration {
  margin: 0 -32px;
  padding: 0;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.step-illustration svg {
  width: 100%;
  height: 180px;
}

.step-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--slate);
  margin-top: 24px;
  margin-bottom: 16px;
  line-height: 1;
}

.step-card h3 {
  margin-bottom: 12px;
}

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

/* --- Accuracy --- */
.section-accuracy {
  background: var(--white);
}

.section-accuracy h2 {
  margin-bottom: 60px;
}

.accuracy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.accuracy-card {
  padding: 32px;
  border: 1px solid #E8E8E6;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.accuracy-card:hover {
  border-color: var(--slate);
  box-shadow: 0 8px 32px rgba(168, 200, 212, 0.15);
}

.accuracy-icon {
  margin-bottom: 20px;
}

.accuracy-card h3 {
  margin-bottom: 10px;
}

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

/* --- Use Cases --- */
.section-usecases {
  background: var(--light-gray);
}

.section-usecases h2 {
  margin-bottom: 60px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.usecase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.usecase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(55, 56, 47, 0.06);
}

.usecase-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-dark);
  background: rgba(168, 200, 212, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.usecase-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

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

/* --- CTA --- */
.section-cta {
  background: var(--charcoal);
  color: var(--white);
  padding: 120px 0;
}

.section-cta h2 {
  margin-bottom: 16px;
  color: var(--white);
}

.section-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

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

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-light);
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

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

  .hero-image {
    order: -1;
  }

  .hero-watercolor {
    max-width: 400px;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .comparison-table {
    grid-template-columns: 1fr 1fr;
  }

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

  .accuracy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .section {
    padding: 60px 0;
  }

  .section-cta {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .hero-sub {
    font-size: 1.05rem;
  }

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

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-watercolor {
    max-width: 300px;
  }

  .comparison-table {
    grid-template-columns: 1fr;
  }

  .bridge-pills {
    gap: 8px;
  }

  .pill {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* --- Subtle Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .step-card,
  .accuracy-card,
  .usecase-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
  }

  .step-card:nth-child(1) { animation-delay: 0.1s; }
  .step-card:nth-child(2) { animation-delay: 0.2s; }
  .step-card:nth-child(3) { animation-delay: 0.3s; }

  .accuracy-card:nth-child(1) { animation-delay: 0.1s; }
  .accuracy-card:nth-child(2) { animation-delay: 0.2s; }
  .accuracy-card:nth-child(3) { animation-delay: 0.3s; }

  .usecase-card:nth-child(1) { animation-delay: 0.1s; }
  .usecase-card:nth-child(2) { animation-delay: 0.15s; }
  .usecase-card:nth-child(3) { animation-delay: 0.2s; }
  .usecase-card:nth-child(4) { animation-delay: 0.25s; }

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