/* ============================================================
   Serveece Marketing Site Styles
   ============================================================ */

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

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --text: #111827;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 8px;
}

body {
  margin: 0;
  font-family:
    'Outfit',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3 {
  margin-top: 0;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.narrow {
  max-width: 560px;
}
.center {
  text-align: center;
}

/* ---- Header ---- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-text {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.3px;
}
.logo:hover {
  text-decoration: none;
}

.nav-desktop {
  display: flex;
  gap: 2rem;
}
.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-desktop a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.btn-text:hover {
  color: var(--text);
  text-decoration: none;
}

.btn-primary-sm {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
}
.btn-primary-sm:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav a {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-weight: 500;
}
.mobile-nav hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}
.mobile-nav.open {
  display: flex;
}

@media (max-width: 768px) {
  .nav-desktop,
  .nav-auth {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ---- Buttons ---- */

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-secondary:hover {
  background: #eef2ff;
  text-decoration: none;
}

/* ---- Hero ---- */

.hero {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 1rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 0;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
}

/* ---- Features ---- */

.features {
  padding: 5rem 0;
}

.features h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 3rem;
}

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

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  border-radius: 12px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

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

/* ---- How It Works ---- */

.how-it-works {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.how-it-works h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 3rem;
}

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

.step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ---- Testimonials ---- */

.testimonials {
  padding: 5rem 0;
}

.testimonials h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 3rem;
}

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

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* ---- Pricing ---- */

.pricing {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.pricing h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 3rem;
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
}
.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.pricing-features li::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
  margin-right: 0.75rem;
}

.pricing-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---- Final CTA ---- */

.final-cta {
  padding: 5rem 0;
  text-align: center;
}

.final-cta h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.final-cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ---- Footer ---- */

.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-text {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.3px;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}
.footer-nav a {
  color: #9ca3af;
  font-size: 0.875rem;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---- Content Pages ---- */

.page-section {
  padding: 4rem 0;
}

.page-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ---- Forms ---- */

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: transparent;
}

.form-group textarea {
  resize: vertical;
}

.form-message {
  min-height: 0;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius);
  padding: 0;
}
.form-message.error {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
  padding: 0.5rem 0.75rem;
}

/* ---- Success Icon ---- */

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: #dcfce7;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

/* ============================================================
   Coming Soon Page
   ============================================================ */

/* ---- Background & Atmosphere ---- */

.cs-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0c0f1a;
  overflow: hidden;
}

.cs-bg-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

.cs-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: cs-drift 20s ease-in-out infinite alternate;
}

.cs-bg-glow--amber {
  width: 500px;
  height: 500px;
  background: #f59e0b;
  top: -10%;
  right: -5%;
  opacity: 0.15;
  animation-duration: 18s;
}

.cs-bg-glow--indigo {
  width: 600px;
  height: 600px;
  background: #4f46e5;
  bottom: -15%;
  left: -10%;
  opacity: 0.12;
  animation-duration: 22s;
  animation-delay: -5s;
}

.cs-bg-glow--teal {
  width: 400px;
  height: 400px;
  background: #14b8a6;
  top: 40%;
  left: 50%;
  opacity: 0.08;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes cs-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -30px) scale(1.15);
  }
}

/* ---- Reveal Animation ---- */

.cs-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay, 0) * 0.12s);
}

.cs-reveal.cs-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Coming Soon Hero ---- */

.cs-hero-logo {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.cs-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0 4rem;
  position: relative;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  margin-bottom: 2rem;
}

.cs-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  animation: cs-pulse 2s ease-in-out infinite;
}

@keyframes cs-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(251, 191, 36, 0);
  }
}

.cs-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: #f1f5f9;
  margin: 0 auto 1.5rem;
  max-width: 800px;
  letter-spacing: -0.02em;
}

.cs-title-accent {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 40%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.cs-scroll-hint {
  color: #475569;
  animation: cs-bob 2.5s ease-in-out infinite;
}

@keyframes cs-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ---- Coming Soon Features ---- */

.cs-features {
  padding: 6rem 0 5rem;
  position: relative;
}

.cs-section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: -0.01em;
}

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

.cs-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    border-color 0.35s ease;
}

.cs-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.cs-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.cs-card-icon--amber {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.cs-card-icon--teal {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}

.cs-card-icon--indigo {
  background: rgba(129, 140, 248, 0.1);
  color: #818cf8;
}

.cs-card h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.6rem;
}

.cs-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

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

@media (max-width: 520px) {
  .cs-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---- Coming Soon Pricing ---- */

.cs-pricing {
  padding: 6rem 0 5rem;
  position: relative;
}

.cs-pricing-subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 480px;
  margin: -2rem auto 3rem;
  line-height: 1.7;
}

.cs-pricing-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.cs-pricing-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  margin-bottom: 1.5rem;
}

.cs-pricing-header {
  margin-bottom: 2rem;
}

.cs-pricing-amount {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cs-pricing-period {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.cs-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.cs-pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cs-pricing-features li::before {
  content: '\2713';
  color: #14b8a6;
  font-weight: 700;
  flex-shrink: 0;
}

.cs-pricing-note {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
}

/* ---- Coming Soon CTA / Signup ---- */

.cs-cta {
  padding: 3rem 0 8rem;
  position: relative;
}

.cs-cta-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cs-cta-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.cs-cta-card > p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cs-form {
  display: flex;
  gap: 0.5rem;
}

.cs-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cs-input::placeholder {
  color: #64748b;
}

.cs-input:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.cs-submit {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0f1a;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cs-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.cs-submit:active {
  transform: translateY(0);
}

.cs-form-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1rem;
  min-height: 1.2em;
}

.cs-form-note--success {
  color: #14b8a6;
}

.cs-form-note--error {
  color: #ef4444;
}

@media (max-width: 520px) {
  .cs-form {
    flex-direction: column;
  }

  .cs-cta-card {
    padding: 2rem 1.5rem;
  }
}

/* ---- Coming Soon page overrides for footer ---- */

body:has(.cs-hero) .site-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
