/* AI Workspace — premium companion page */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&display=swap');

.aw-page {
  font-family: 'DM Sans', Inter, system-ui, sans-serif;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 0 3rem;
  position: relative;
}
.aw-page::before {
  content: '';
  position: absolute;
  inset: -1rem -1rem auto;
  height: 360px;
  background:
    radial-gradient(ellipse 65% 55% at 40% 0%, rgba(13, 148, 136, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 40% at 95% 30%, rgba(14, 165, 233, 0.1), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.aw-page > * { position: relative; z-index: 1; }

.aw-fade { animation: awUp .55s cubic-bezier(.22,1,.36,1) both; }
@keyframes awUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.aw-hero { text-align: center; margin-bottom: 2rem; }
.aw-kicker {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #0f766e; background: rgba(236,253,245,.9); border: 1px solid #a7f3d0;
  padding: 4px 10px; border-radius: 999px; margin-bottom: .75rem;
  backdrop-filter: blur(8px);
}
.aw-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800; letter-spacing: -0.03em; color: #0f172a; line-height: 1.15;
}
.aw-hero p {
  margin: .75rem auto 0; max-width: 620px;
  color: #64748b; font-size: 1.02rem; font-weight: 500;
}
.aw-hero-cta {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1.2rem;
}
.aw-btn-primary {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #059669, #0d9488);
  color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 28px rgba(5,150,105,.28);
  transition: transform .15s;
}
.aw-btn-primary:hover { transform: translateY(-1px); }
.aw-btn-ghost {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid #d1d5db;
  backdrop-filter: blur(8px);
  color: #334155; font-size: 13px; font-weight: 700; text-decoration: none;
}
.aw-btn-ghost:hover { border-color: #10b981; color: #047857; }

.aw-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 2.25rem;
}
.aw-stats > div {
  background: rgba(255,255,255,.78);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px -20px rgba(15,23,42,.3);
}
.aw-stats strong {
  display: block; font-size: 1.35rem; font-weight: 800; color: #0f172a;
}
.aw-stats span { font-size: 11px; color: #64748b; font-weight: 600; }

.aw-section-head { text-align: center; margin-bottom: 1.15rem; }
.aw-section-head h2 {
  margin: 0; font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 800; color: #0f172a; letter-spacing: -0.02em;
}
.aw-section-head p {
  margin: .4rem auto 0; max-width: 520px; color: #64748b; font-size: .95rem;
}

.aw-steps {
  list-style: none; margin: 0 0 2.5rem; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.aw-steps li {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
  padding: 1rem; box-shadow: 0 12px 30px -22px rgba(15,23,42,.35);
  transition: transform .2s;
}
.aw-steps li:hover { transform: translateY(-3px); }
.aw-step-num {
  display: inline-flex; width: 28px; height: 28px; border-radius: 999px;
  align-items: center; justify-content: center;
  background: #ecfdf5; color: #047857; font-size: 12px; font-weight: 800;
  margin-bottom: .55rem;
}
.aw-steps h3 { margin: 0 0 .3rem; font-size: .95rem; font-weight: 800; color: #0f172a; }
.aw-steps p { margin: 0 0 .7rem; font-size: 12px; color: #64748b; line-height: 1.45; }
.aw-steps a { font-size: 12px; font-weight: 700; color: #0f766e; text-decoration: none; }

.aw-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 2.25rem;
}
.aw-card {
  background: rgba(255,255,255,.85);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.05rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -22px rgba(15,23,42,.35);
}
.aw-card h3 { margin: 0 0 .35rem; font-size: 1rem; font-weight: 800; color: #0f172a; }
.aw-card p { margin: 0 0 .8rem; font-size: 12px; color: #64748b; line-height: 1.45; }
.aw-card a {
  font-size: 12px; font-weight: 700; color: #0f766e; text-decoration: none;
}
.aw-card-accent {
  background: linear-gradient(145deg, #0f172a, #134e4a);
  border-color: transparent; color: #fff;
}
.aw-card-accent h3 { color: #fff; }
.aw-card-accent p { color: #99f6e4; }
.aw-card-accent a { color: #5eead4; }

.aw-banner {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(236,253,245,.95), rgba(240,249,255,.95));
  border: 1px solid #a7f3d0;
  backdrop-filter: blur(10px);
}
.aw-banner h2 { margin: 0 0 .3rem; font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.aw-banner p { margin: 0; max-width: 560px; font-size: 13px; color: #475569; }
.aw-footnote { margin-top: 1rem; font-size: 10px; color: #94a3b8; text-align: center; }

@media (max-width: 900px) {
  .aw-stats, .aw-steps { grid-template-columns: repeat(2, 1fr); }
  .aw-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .aw-page {
    padding: 0.5rem 0 2.5rem;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .aw-hero, .aw-section-head, .aw-banner, .aw-footnote {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .aw-hero-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.75rem;
  }
  .aw-btn-primary, .aw-btn-ghost {
    justify-content: center;
    width: 100%;
  }
  .aw-banner {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  /* ──── Stats → horizontal carousel ──── */
  .aw-stats {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 0.75rem 0.5rem;
    scrollbar-width: none;
  }
  .aw-stats::-webkit-scrollbar { display: none; }
  .aw-stats > div {
    flex: 0 0 42%;
    min-width: 42%;
    scroll-snap-align: start;
  }

  /* ──── Steps → horizontal carousel ──── */
  .aw-steps {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 0.75rem 0.75rem;
    scrollbar-width: none;
  }
  .aw-steps::-webkit-scrollbar { display: none; }
  .aw-steps li {
    flex: 0 0 75%;
    min-width: 75%;
    scroll-snap-align: start;
  }

  /* ──── Cards → horizontal carousel ──── */
  .aw-cards {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 0.75rem 0.75rem;
    scrollbar-width: none;
  }
  .aw-cards::-webkit-scrollbar { display: none; }
  .aw-card {
    flex: 0 0 80%;
    min-width: 80%;
    scroll-snap-align: start;
  }
}

html.dark .aw-hero h1,
html.dark .aw-section-head h2,
html.dark .aw-stats strong,
html.dark .aw-steps h3,
html.dark .aw-card h3,
html.dark .aw-banner h2 { color: #f8fafc; }
html.dark .aw-stats > div,
html.dark .aw-steps li,
html.dark .aw-card {
  background: #1e293b; border-color: #334155;
}
html.dark .aw-banner {
  background: linear-gradient(120deg, #134e4a, #0f172a);
  border-color: #334155;
}
html.dark .aw-banner p { color: #94a3b8; }
