:root {
  --fw-bg: #f9fafb;
  --fw-bg-muted: #edf2f7;
  --fw-bg-accent: #0f766e;
  --fw-surface: #ffffff;
  --fw-border: #e2e8f0;
  --fw-text: #0f172a;
  --fw-text-muted: #4b5563;
  --fw-primary: #0ea5e9;
  --fw-primary-soft: #e0f2fe;
  --fw-radius-lg: 18px;
  --fw-radius-md: 12px;
  --fw-radius-pill: 999px;
  --fw-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --fw-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--fw-font-sans);
  color: var(--fw-text);
  background-color: var(--fw-bg);
}

body {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

#site-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main-content {
  flex: 1;
}

/* Header */

.fw-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--fw-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.fw-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.fw-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fw-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--fw-radius-pill);
  background: linear-gradient(135deg, var(--fw-primary), #22c55e);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
}

.fw-logo-text {
  display: flex;
  flex-direction: column;
}

.fw-logo-title {
  font-weight: 700;
  font-size: 0.98rem;
}

.fw-logo-subtitle {
  font-size: 0.78rem;
  color: var(--fw-text-muted);
}

.fw-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
}

.fw-nav a {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: var(--fw-text-muted);
}

.fw-nav a:hover {
  background-color: var(--fw-primary-soft);
  color: var(--fw-text);
}

.fw-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */

.fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: var(--fw-radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.fw-btn-lg {
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
}

.fw-btn-full {
  width: 100%;
}

.fw-btn-primary {
  background-color: var(--fw-primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.3);
}

.fw-btn-primary:hover {
  background-color: #0284c7;
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}

.fw-btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--fw-text-muted);
}

.fw-btn-ghost:hover {
  background-color: var(--fw-primary-soft);
  color: var(--fw-text);
}

.fw-btn-outline {
  border-color: var(--fw-border);
  background-color: #ffffff;
  color: var(--fw-text);
}

.fw-btn-outline:hover {
  border-color: var(--fw-primary);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.fw-btn-light {
  background-color: #ffffff;
  color: var(--fw-bg-accent);
}

.fw-btn-light:hover {
  background-color: #e2f3f2;
}

.fw-btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  background-color: transparent;
  color: #ffffff;
}

.fw-btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Sections */

.fw-section {
  padding: 3.5rem 1.25rem;
}

.fw-section-muted {
  padding: 3.5rem 1.25rem;
  background-color: var(--fw-bg-muted);
}

.fw-section-accent {
  padding: 3.5rem 1.25rem 4rem;
  background: linear-gradient(135deg, var(--fw-bg-accent), #0891b2);
  color: #ffffff;
}

.fw-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.fw-section-inner-narrow {
  max-width: 720px;
}

.fw-section-title {
  font-size: 1.9rem;
  margin: 0 0 0.75rem;
}

.fw-section-title-invert {
  color: #ffffff;
}

.fw-section-intro {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--fw-text-muted);
  max-width: 640px;
}

.fw-section-intro-invert {
  color: rgba(255, 255, 255, 0.88);
}

/* Hero */

.fw-hero {
  padding-top: 2.75rem;
  padding-bottom: 3.75rem;
}

.fw-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.fw-hero-copy h1 {
  font-size: 2.3rem;
  margin: 0 0 0.75rem;
}

.fw-hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--fw-text-muted);
}

.fw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.fw-hero-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fw-text-muted);
}

.fw-hero-visual {
  display: flex;
  justify-content: center;
}

.fw-hero-card {
  background-color: var(--fw-surface);
  border-radius: var(--fw-radius-lg);
  box-shadow: var(--fw-shadow-soft);
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  width: 100%;
  max-width: 380px;
}

.fw-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.fw-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background-color: var(--fw-primary-soft);
  color: #0369a1;
  font-weight: 500;
}

.fw-hero-card-title {
  font-size: 0.88rem;
  color: var(--fw-text-muted);
}

.fw-hero-gantt-preview {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.fw-hero-gantt-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  align-items: center;
  gap: 0.45rem;
}

.fw-hero-task-label {
  font-size: 0.8rem;
  color: var(--fw-text-muted);
}

.fw-hero-task-bar {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fw-primary), #22c55e);
  position: relative;
  overflow: hidden;
}

.fw-hero-task-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-40%);
}

.fw-hero-task-bar-1 {
  width: 60%;
}

.fw-hero-task-bar-2 {
  width: 75%;
}

.fw-hero-task-bar-3 {
  width: 90%;
}

.fw-hero-task-bar-4 {
  width: 50%;
}

.fw-hero-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--fw-text-muted);
}

/* Grid */

.fw-grid {
  display: grid;
  gap: 1.25rem;
}

.fw-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fw-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fw-grid-cards .fw-card {
  height: 100%;
}

/* Cards */

.fw-card {
  background-color: var(--fw-surface);
  border-radius: var(--fw-radius-md);
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--fw-border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.02);
}

.fw-card-soft {
  background-color: #ffffff;
  border-radius: var(--fw-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
}

.fw-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.fw-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fw-text-muted);
}

/* Steps */

.fw-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: var(--fw-primary-soft);
  color: #0369a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Features columns */

.fw-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.fw-feature-column h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.fw-feature-column ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--fw-text-muted);
}

.fw-feature-column li + li {
  margin-top: 0.35rem;
}

/* Demo */

.fw-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.fw-demo-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fw-text-muted);
  margin-bottom: 0.4rem;
}

.fw-demo-box {
  background-color: #ffffff;
  border-radius: var(--fw-radius-md);
  border: 1px solid var(--fw-border);
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--fw-text-muted);
}

.fw-demo-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.fw-demo-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--fw-text-muted);
}

/* Pricing */

.fw-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.fw-pricing-card {
  position: relative;
}

.fw-pricing-card-highlight {
  border-width: 2px;
  border-color: var(--fw-primary);
  box-shadow: 0 22px 50px rgba(14, 165, 233, 0.18);
}

.fw-price {
  margin: 0.1rem 0 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.fw-price-caption {
  margin: 0 0 0.8rem;
  font-size: 0.85rem;
  color: var(--fw-text-muted);
}

.fw-pricing-card ul {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--fw-text-muted);
}

.fw-pricing-card li + li {
  margin-top: 0.25rem;
}

/* Testimonials */

.fw-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--fw-text-muted);
  margin: 0 0 0.75rem;
}

.fw-quote-author {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* CTA */

.fw-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Footer */

.fw-footer {
  background-color: #020617;
  color: #e5e7eb;
  padding: 2.5rem 1.25rem 1.4rem;
}

.fw-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.fw-footer-brand {
  max-width: 320px;
}

.fw-footer-title {
  font-weight: 600;
  font-size: 1rem;
  margin-left: 0.4rem;
}

.fw-footer-tagline {
  font-size: 0.88rem;
  color: #9ca3af;
}

.fw-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  font-size: 0.9rem;
}

.fw-footer-links h4 {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
}

.fw-footer-links a {
  display: block;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.fw-footer-links a:hover {
  color: #e5e7eb;
}

.fw-footer-bottom {
  max-width: 1120px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #111827;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */

@media (max-width: 960px) {
  .fw-header-inner {
    flex-wrap: wrap;
  }

  .fw-nav {
    display: none;
  }

  .fw-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .fw-hero {
    padding-top: 2rem;
  }

  .fw-grid-3,
  .fw-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .fw-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fw-demo-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .fw-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .fw-header-inner {
    padding-inline: 1rem;
  }

  .fw-hero-inner {
    padding-inline: 1rem;
  }

  .fw-section {
    padding-inline: 1rem;
  }

  .fw-section-muted,
  .fw-section-accent {
    padding-inline: 1rem;
  }
}
.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f3f4f6;
}

.auth-container {
  background: #ffffff;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.auth-container h2 {
  margin-bottom: 0.25rem;
}

.auth-container p {
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.auth-container input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.9rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.fw-btn-full {
  width: 100%;
}

.auth-divider {
  text-align: center;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: #6b7280;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.fw-btn-google {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
}

.fw-btn-google:hover {
  background: #f9fafb;
}

.auth-message {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #b91c1c;
}
