/* ============================================================
   Guest Sponsor Info — Marketing Site
   Custom theme · No framework dependency
   ============================================================ */

/* --- Custom Properties (Color Palette) --- */
:root {
  --color-teal: #12b2cd;
  --color-teal-light: #e0f7fb;
  --color-teal-dark: #0e8fa5;
  --color-dark: #0a3d4f;
  --color-dark-light: #0f5266;
  --color-white: #ffffff;
  --color-bg: #f5f7fa;
  --color-bg-alt: #edf0f5;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-accent: #10b981;
  --color-accent-dark: #059669;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "Fira Code", Consolas, monospace;

  --container-max: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1), 0 8px 32px rgba(0, 0, 0, 0.06);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-teal);
}

ul {
  list-style: none;
}

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

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 36px;
  width: auto;
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.925rem;
  transition: color var(--transition);
}

.nav-list a:hover {
  color: var(--color-teal);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.8rem;
  transition: background var(--transition), color var(--transition);
}

.lang-switch a:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  position: relative;
  transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: transform var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(165deg, var(--color-white) 0%, var(--color-teal-light) 100%);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark);
  background: rgba(18, 178, 205, 0.12);
  border-radius: 100px;
  white-space: nowrap;
}

.hero-visual {
  flex: 0 0 auto;
  width: 44%;
  max-width: 520px;
}

.hero-illustration {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(10, 61, 79, 0.12));
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.btn-primary:hover {
  background: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-secondary:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ============================================================
   Features Section
   ============================================================ */
.features {
  padding: 5rem 0;
  background: var(--color-white);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
}

.feature-icon img {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   Made By / Branding Section
   ============================================================ */
.made-by {
  padding: 3.5rem 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.made-by-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.made-by-content {
  flex: 1;
  min-width: 0;
}

.made-by-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.made-by-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.made-by-workoho-logo {
  height: 42px;
  width: auto;
}

.made-by-intro {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.made-by-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.made-by-cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition);
}

.made-by-cta:hover {
  color: var(--color-dark);
}

.made-by-partner {
  flex: 0 1 360px;
  min-width: 280px;
}

.partner-badge-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 2rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}

.partner-badge-link:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.partner-logo {
  height: 32px;
  width: auto;
}

.partner-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.partner-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-teal-dark);
  background: var(--color-teal-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* ============================================================
   Features Page (dedicated /features/ layout)
   ============================================================ */
.fp-hero {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-white) 100%);
}

.fp-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.fp-hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 580px;
  line-height: 1.6;
}

.fp-features {
  padding: 2rem 0 4rem;
}

.fp-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fp-row:last-child {
  border-bottom: none;
}

.fp-row--reverse {
  flex-direction: row-reverse;
}

.fp-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: var(--radius);
}

.fp-icon img {
  width: 72px;
  height: 72px;
}

.fp-text {
  flex: 1;
  min-width: 0;
}

.fp-text h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.fp-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
}

.fp-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.fp-highlights li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-teal-dark);
  background: var(--color-teal-light);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.fp-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.fp-status-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-bg);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.fp-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition);
}

.fp-link:hover {
  color: var(--color-dark);
}

.fp-extras {
  padding: 3rem 0;
  background: var(--color-bg);
}

.fp-extras-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.fp-extra-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-extra-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.fp-extra-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  padding: 4rem 0;
  background: var(--color-dark);
  color: var(--color-white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   Page Content
   ============================================================ */
.page-content {
  padding: 4rem 0;
  min-height: 50vh;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  margin-bottom: 1rem;
  max-width: 72ch;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.4rem;
  list-style: disc;
}

.page-content ol li {
  list-style: decimal;
}

.page-content a {
  color: var(--color-teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(18, 178, 205, 0.3);
  text-underline-offset: 2px;
}

.page-content a:hover {
  text-decoration-color: var(--color-teal);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand {
  flex: 1 1 280px;
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-col a:hover {
  color: var(--color-teal);
}

.footer-bottom {
  width: 100%;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ============================================================
   404
   ============================================================ */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page h1 {
  font-size: 6rem;
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.error-links {
  display: flex;
  gap: 1rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    width: 70%;
    max-width: 400px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .made-by-inner {
    flex-direction: column;
    text-align: center;
  }

  .made-by-description {
    margin-left: auto;
    margin-right: auto;
  }

  .fp-row,
  .fp-row--reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .fp-text p {
    max-width: none;
  }

  .fp-highlights {
    justify-content: center;
  }

  .fp-statuses {
    justify-content: center;
  }

  .fp-extras-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
  }

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

  .nav-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .lang-switch {
    padding-top: 0.5rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-visual {
    width: 85%;
  }

  .footer-links {
    gap: 2rem;
  }

  .error-page h1 {
    font-size: 4rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .fp-hero h1 {
    font-size: 1.75rem;
  }

  .fp-icon {
    width: 80px;
    height: 80px;
  }

  .fp-icon img {
    width: 56px;
    height: 56px;
  }
}

/* --- Nav toggle script support --- */
/* The JS for mobile nav toggle is minimal — added inline in default.html */
