/* SoftAura — DaisyUI v3 theme overrides + custom component classes */

/* ── DaisyUI light theme → brand colours ── */
[data-theme="light"] {
  --p:  217 91% 60%;    /* primary   #3b82f6 */
  --pf: 221 83% 53%;    /* primary focus #2563eb */
  --pc: 0 0% 100%;
  --s:  216 60% 10%;    /* secondary #0a1628 navy */
  --sf: 216 60% 7%;
  --sc: 0 0% 100%;
  --a:  160 84% 39%;    /* accent    #10b981 emerald */
  --af: 160 84% 32%;
  --ac: 0 0% 100%;
  --n:  216 60% 10%;    /* neutral   navy */
  --nf: 216 60% 7%;
  --nc: 0 0% 100%;
  --b1: 0 0% 100%;      /* base-100  white */
  --b2: 220 43% 96%;    /* base-200  #eef2f9 */
  --b3: 220 25% 90%;
  --bc: 222 71% 10%;    /* base-content */
  --rounded-box:   0.75rem;
  --rounded-btn:   0.5rem;
  --rounded-badge: 999px;
  --btn-text-case: none;
  --animation-btn: 0.18s;
  --animation-input: 0.15s;
}

/* ── Globals ── */
* { scroll-behavior: smooth; }
body { font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.025em; }

/* ── CSS brand tokens ── */
:root {
  --sa-navy:    #0a1628;
  --sa-navy-2:  #163354;
  --sa-accent:  #3b82f6;
  --sa-emerald: #10b981;
  --sa-muted:   #4b5a6e;
  --sa-light:   #eef2f9;
  --sa-text:    #0f172a;
  --sa-shadow:  0 10px 32px -8px rgba(10, 22, 40, 0.16);
}

/* ── Hero backgrounds ── */
.sa-hero-home {
  background:
    radial-gradient(circle, rgba(59,130,246,.07) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, var(--sa-light) 100%);
  background-size: 28px 28px, 100% 100%;
  padding-top: 5.5rem;
  padding-bottom: 4rem;
}
.sa-hero-inner {
  background:
    radial-gradient(900px 450px at 65% 0%, rgba(59,130,246,.11), transparent 60%),
    radial-gradient(600px 300px at -5% 120%, rgba(16,185,129,.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--sa-light) 100%);
  padding-top: 6rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
  .sa-hero-home  { padding-top: 9rem;   padding-bottom: 6rem; }
  .sa-hero-inner { padding-top: 8.5rem; padding-bottom: 5rem; }
}

/* ── Icon boxes ── */
.sa-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--sa-navy), var(--sa-accent));
  color: #fff;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.sa-icon-soft {
  width: 44px; height: 44px;
  background: rgba(59,130,246,.10);
  color: var(--sa-accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Cards with accent-line reveal on hover ── */
.sa-card {
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sa-accent), var(--sa-emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.sa-card:hover::before  { transform: scaleX(1); }
.sa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sa-shadow);
}

/* ── Hero right panel ── */
.sa-hero-panel {
  background: linear-gradient(140deg, var(--sa-navy) 0%, var(--sa-navy-2) 100%);
  border-radius: 20px;
  overflow: hidden;
}

/* ── CTA band ── */
.sa-cta {
  background: linear-gradient(135deg, var(--sa-navy) 0%, var(--sa-navy-2) 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.sa-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 160% at 90% 50%, rgba(59,130,246,.14), transparent 70%);
  pointer-events: none;
}

/* ── Process steps (About page) ── */
.sa-step-item {
  display: flex; gap: 1.25rem;
  padding: 1.5rem 0;
  position: relative;
}
.sa-step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 21px; top: 4.5rem; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(59,130,246,.35), rgba(59,130,246,0));
}
.sa-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sa-navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0; position: relative; z-index: 1;
  font-size: .9375rem;
}

/* ── Form controls ── */
.sa-input {
  width: 100%;
  padding: .625rem 1rem;
  border-radius: .5rem;
  border: 1px solid #e2e8f0;
  font-size: .9375rem;
  color: var(--sa-text);
  background: #fff;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.sa-input:focus {
  border-color: var(--sa-accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.sa-input::placeholder { color: #94a3b8; }
select.sa-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 1.2em;
  padding-right: 2.5rem;
  cursor: pointer;
}
.sa-label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  color: var(--sa-navy);
  margin-bottom: .35rem;
}

/* ── Contact info items ── */
.sa-contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(10,22,40,.07);
}
.sa-contact-item:last-child { border-bottom: none; }

/* ── Mobile sticky CTA bar ── */
.sa-mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--sa-navy);
  padding: .75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 1024px) { .sa-mobile-bar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 4rem; } }

/* ── Utility: section spacing ── */
.sa-section  { padding: 4rem 0; }
.sa-section-lg { padding: 5.5rem 0; }
@media (min-width: 1024px) {
  .sa-section    { padding: 6rem 0; }
  .sa-section-lg { padding: 7.5rem 0; }
}
