/**
 * Amisora Marketing Site — Shared Stylesheet
 * Layered on top of the compiled Tailwind CSS for reusable component classes.
 * Design tokens: navy #060918, indigo #6366f1, purple #7c3aed, emerald #10b981, sky #38bdf8
 */

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

  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    line-height: 1.6;
  }

  img { max-width: 100%; height: auto; display: block; }
  a { text-decoration: none; color: inherit; }
}

@layer components {

/* ──────────────────────────────────────────────
   Layout
   ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-narrow {
  max-width: 48rem; /* 768px */
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* ──────────────────────────────────────────────
   Page Header / Hero (dark navy sections)
   ────────────────────────────────────────────── */
.page-header {
  position: relative;
  overflow: hidden;
  background-color: #060918;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .page-header {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.page-header .ambient-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.page-header .ambient-glow .glow-1 {
  position: absolute;
  left: 15%; top: 20%;
  height: 500px; width: 500px;
  border-radius: 9999px;
  background: rgba(99,102,241,0.15);
  filter: blur(120px);
}
.page-header .ambient-glow .glow-2 {
  position: absolute;
  right: 10%; top: 10%;
  height: 400px; width: 400px;
  border-radius: 9999px;
  background: rgba(124,58,237,0.10);
  filter: blur(100px);
}
.page-header .ambient-glow .glow-3 {
  position: absolute;
  bottom: 0; left: 50%;
  height: 300px; width: 600px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: rgba(16,185,129,0.08);
  filter: blur(100px);
}

.page-header .grid-pattern {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='white' stroke-width='.5'/%3E%3C/svg%3E");
}

.page-header__inner {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.page-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(99,102,241,0.25);
  background: rgba(99,102,241,0.10);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #38bdf8;
  margin-bottom: 1.25rem;
}

.page-header__title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
}
@media (min-width: 640px)  { .page-header__title { font-size: 3rem; } }
@media (min-width: 1024px) { .page-header__title { font-size: 3.75rem; } }

.page-header__subtitle {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ──────────────────────────────────────────────
   Hero (homepage variant — left-aligned)
   ────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #060918;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 6rem;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* ──────────────────────────────────────────────
   Content sections (white background)
   ────────────────────────────────────────────── */
.content {
  background-color: #fff;
  color: #1e293b;
}

.content h2 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
}
@media (min-width: 640px) {
  .content h2 { font-size: 2.25rem; }
}

.content p {
  color: #64748b;
  line-height: 1.7;
}

/* ──────────────────────────────────────────────
   Grid
   ────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ──────────────────────────────────────────────
   Cards
   ────────────────────────────────────────────── */
.card {
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}
.card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: rgba(99,102,241,0.2);
}

.card--dark {
  border-color: rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}
.card--dark:hover {
  border-color: rgba(99,102,241,0.25);
}

/* ──────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(to right, #6366f1, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99,102,241,0.35);
}
.button-primary:hover {
  box-shadow: 0 6px 32px rgba(99,102,241,0.5);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
}
.button-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.button-white {
  background: #fff;
  color: #6366f1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.button-white:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────────
   CTA Banner
   ────────────────────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, #6366f1, #7c3aed);
  padding: 4rem 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .cta { padding: 4rem; }
}
.cta h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
}
@media (min-width: 640px) {
  .cta h2 { font-size: 2.25rem; }
}
.cta p {
  margin-top: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.7);
}
.cta .cta-glow {
  pointer-events: none;
  position: absolute;
  left: 20%; top: 40%;
  height: 300px; width: 300px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.10);
  filter: blur(80px);
}

/* ──────────────────────────────────────────────
   FAQ Accordion
   ────────────────────────────────────────────── */
.faq {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: rgba(99,102,241,0.2);
}

/* ──────────────────────────────────────────────
   Section label (category chip above heading)
   ────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.section-label--indigo { color: #6366f1; }
.section-label--sky    { color: #38bdf8; }
.section-label--emerald{ color: #10b981; }
.section-label--purple { color: #7c3aed; }

/* ──────────────────────────────────────────────
   Stats strip
   ────────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  padding: 2.5rem 0;
}

/* ──────────────────────────────────────────────
   Text gradient helper
   ────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(to right, #818cf8, #a78bfa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ──────────────────────────────────────────────
   Glow borders (cards / screenshots)
   ────────────────────────────────────────────── */
.glow-indigo {
  box-shadow: 0 0 40px rgba(99,102,241,0.15);
}

/* ──────────────────────────────────────────────
   Long-form content pages (future SEO pages)
   ────────────────────────────────────────────── */
.content-body {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.content-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.content-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.content-body p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

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

.content-body li {
  margin-bottom: 0.5rem;
  color: #64748b;
  line-height: 1.7;
}

.content-body blockquote {
  border-left: 4px solid #6366f1;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-radius: 0 0.75rem 0.75rem 0;
  color: #334155;
  font-style: italic;
}

.content-body img {
  border-radius: 1rem;
  margin: 2rem auto;
}

/* ──────────────────────────────────────────────
   Utility helpers
   ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-8 { margin-top: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
} /* end @layer components */
