/* ===========================
   AlyaOS — Shared Stylesheet
   =========================== */

:root {
  --purple-dark: #3d3789;
  --purple: #7367d1;
  --purple-light-bg: #eeecfb;
  --teal: #0e9f78;
  --teal-light-bg: #e3f7ef;
  --coral: #e2725b;
  --cream: #f3efe6;
  --border: #ddd8cf;
  --ink: #2b2b2b;
  --ink-soft: #5c5c5c;
  --muted: #888888;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1100px;
  --shadow: 0 4px 24px rgba(61, 55, 137, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section.tight { padding: 56px 0; }

.section.alt {
  background: var(--cream);
}

.eyebrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

h1, h2, h3, h4 {
  color: var(--purple-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.75rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }

p { color: var(--ink-soft); }

p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 620px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(115, 103, 209, 0.35);
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--purple-dark);
  border: 2px solid var(--purple);
}
.btn-outline:hover { background: var(--purple-light-bg); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(14, 159, 120, 0.3);
}
.btn-teal:hover { transform: translateY(-1px); }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand .dot { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: nowrap;
}

.nav-links a {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple-dark);
  border-bottom-color: var(--purple);
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--purple-dark);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, #faf9ff 0%, var(--white) 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-art {
  background: var(--purple-light-bg);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid #ded9f7;
}

.hero-art .mini-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--purple);
}
.hero-art .mini-card:nth-child(2) { border-left-color: var(--teal); }
.hero-art .mini-card:nth-child(3) { border-left-color: var(--coral); margin-bottom: 0; }
.hero-art .mini-card h4 { color: var(--ink); font-size: 0.95rem; margin-bottom: 2px; }
.hero-art .mini-card span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Pillars / Cards grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.pillar-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: var(--purple-light-bg);
}
.pillar-card:nth-child(2) .pillar-icon { background: var(--teal-light-bg); }
.pillar-card:nth-child(3) .pillar-icon { background: #fbe9e5; }

.pillar-card ul { margin-top: 14px; }
.pillar-card ul li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.pillar-card ul li::before {
  content: "\2713";
  color: var(--teal);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pillar-card .learn-more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--purple);
}

/* ---------- Steps / Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.step-card { text-align: left; }
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

/* ---------- Pricing ---------- */
.pricing-intro {
  max-width: 680px;
  margin-bottom: 10px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 30px 0;
  align-items: stretch;
}

.tier-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

.tier-card.popular {
  background: var(--purple-light-bg);
  border: 2px solid var(--purple);
  position: relative;
}

.tier-card.teal-card {
  background: var(--teal-light-bg);
  border: 2px solid var(--teal);
}

.tier-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.tier-tag.teal-tag { color: var(--teal); }

.tier-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.tier-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin: 4px 0 6px;
}
.tier-price small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }

.tier-best-for {
  font-style: italic;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.tier-card ul { flex-grow: 1; margin-bottom: 18px; }
.tier-card ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.tier-card ul li::before {
  content: "\2713";
  color: var(--purple);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.tier-card.teal-card ul li::before { color: var(--teal); }

.badge-new {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

.retainer-box {
  border: 1px dashed var(--purple);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 10px 0 30px;
  background: var(--white);
}

table.addon-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
table.addon-table th {
  background: var(--purple);
  color: var(--white);
  text-align: left;
  padding: 12px 18px;
}
table.addon-table.teal-table th { background: var(--teal); }
table.addon-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
table.addon-table tr:nth-child(even) td { background: #faf9f6; }

.service-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 56px 0;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h4 { color: var(--ink); margin-bottom: 6px; }

/* ---------- About ---------- */
.about-hero .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--purple-light-bg), var(--teal-light-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--purple);
  font-weight: 800;
  border: 1px solid var(--border);
  object-fit: cover;
}

.placeholder-note {
  background: #fff7ed;
  border: 1px dashed var(--coral);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #8a4a3a;
  margin-top: 16px;
}

.testimonial-placeholder {
  border: 1.5px dashed var(--coral);
  background: #fff7ed;
}
.testimonial-placeholder .quote-mark {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--coral);
  font-weight: 800;
  margin-bottom: 4px;
  font-family: Georgia, serif;
}
.testimonial-placeholder .testimonial-quote {
  font-style: italic;
  color: #8a4a3a;
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.testimonial-placeholder .testimonial-attr {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.88rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(115, 103, 209, 0.15);
}

.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
}
.contact-info-card .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-info-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--purple-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-weight: 700;
  flex-shrink: 0;
}

#form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}
#form-status.success { color: var(--teal); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--purple-dark);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d9d5f5; margin-bottom: 26px; }

/* ---------- Footer ---------- */
footer {
  background: #1f1c46;
  color: #cfcbe8;
  padding: 50px 0 24px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
footer ul li { margin-bottom: 8px; }
footer a { color: #cfcbe8; font-size: 0.92rem; }
footer a:hover { color: var(--white); }
footer .brand { color: var(--white); }
footer .brand .dot { color: #6be0b8; }
.footer-bottom {
  border-top: 1px solid #34305f;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #9c97c4;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .hero .wrap,
  .about-hero .wrap,
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .tier-grid, .steps, .values-grid { grid-template-columns: 1fr; }
  footer .footer-grid { grid-template-columns: 1fr; }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; }
}
