/* ==========================================================================
   Scalebay Landing Page Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --black: #111111;
  --gray-900: #1a1a1a;
  --gray-700: #444444;
  --gray-600: #555555;
  --gray-500: #777777;
  --gray-400: #999999;
  --gray-300: #cccccc;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;

  --brand: #0F766E;
  --brand-hover: #115E59;
  --brand-light: #E6F4F2;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container-max: 960px;
  --section-padding: 80px;

  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--black);
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-intro {
  text-align: center;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--white);
  opacity: 1;
}

.btn-large {
  padding: 14px 32px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--black);
  opacity: 1;
}

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

.nav-links a {
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--black);
  opacity: 1;
}

.nav-links .btn-primary {
  color: var(--white);
  margin-left: 4px;
}

.nav-links .btn-primary:hover {
  color: var(--white);
}

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

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 160px 0 var(--section-padding);
  background: var(--brand-light);
  border-bottom: 1px solid var(--gray-200);
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-secondary-cta {
  display: block;
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--brand);
  font-weight: 500;
  transition: color 0.2s ease;
}

.hero-secondary-cta:hover {
  color: var(--brand-hover);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Who This Is For
   -------------------------------------------------------------------------- */
.who-for {
  padding: var(--section-padding) 0;
  border-bottom: 1px solid var(--gray-200);
}

.who-for .section-intro {
  margin-bottom: 32px;
}

.who-for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  max-width: 700px;
  margin: 0 auto 32px;
}

.who-for-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.8;
}

.who-for-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  border-radius: var(--radius);
  color: var(--brand);
}

.who-for-icon svg {
  width: 20px;
  height: 20px;
}

.who-for-item span {
  color: var(--gray-600);
  font-size: 0.9375rem;
  padding-top: 8px;
}

.who-for-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-400);
  max-width: 520px;
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.service-card ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  background: var(--gray-400);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Why Scalebay
   -------------------------------------------------------------------------- */
.why-scalebay {
  padding: var(--section-padding) 0;
  border-bottom: 1px solid var(--gray-200);
}

.why-list {
  max-width: 480px;
  margin: 32px auto 0;
}

.why-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.why-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Marketplace Experience
   -------------------------------------------------------------------------- */
.experience {
  padding: var(--section-padding) 0 0;
  border-bottom: 1px solid var(--gray-200);
}

.experience .section-intro {
  margin-bottom: 48px;
}

.experience-block {
  padding: 48px 0;
}

.experience-block--light {
  background: var(--gray-50);
}

.experience-block--white {
  background: var(--white);
}

.experience-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--brand);
}

.experience-block-header h3 {
  font-size: 1.25rem;
}

.experience-platform {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand);
  background: var(--brand-light);
  padding: 3px 10px;
  border-radius: 4px;
}

.experience-block-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.experience-metrics {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.experience-details h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.experience-details ul {
  margin-bottom: 24px;
}

.experience-details ul li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

.experience-details ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  background: var(--gray-400);
  border-radius: 50%;
}

.experience-outcome {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  padding: 16px;
  background: var(--brand-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.experience-outcome strong {
  color: var(--black);
}

.experience-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
}

.experience-link:hover {
  color: var(--brand-hover);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   How It Works
   -------------------------------------------------------------------------- */
.how-it-works {
  padding: var(--section-padding) 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--brand-light);
  border: 2px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: var(--gray-200);
}

.step h3 {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1.125rem;
}

.step p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

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

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

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

.pricing-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
  line-height: 1.2;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.pricing-reassurance {
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-400);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about {
  padding: var(--section-padding) 0;
  border-bottom: 1px solid var(--gray-200);
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 680px;
  margin: 40px auto 0;
}

.about-photo {
  flex-shrink: 0;
}

.about-photo-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.about-text p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.faq-list {
  max-width: 640px;
  margin: 40px auto 0;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 40px 0 24px;
  background: var(--white);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    gap: 16px;
  }

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

  .nav-links .btn-primary {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .mobile-menu-toggle span {
    transition: all 0.2s ease;
  }

  .hero {
    padding: 120px 0 var(--section-padding);
  }

  .who-for-grid {
    grid-template-columns: 1fr;
  }

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

  .experience-block-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .step-connector {
    display: none;
  }

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

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .btn-large {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .hero-content {
    padding: 0 8px;
  }
}
