/* AzeemiLabs: minimal styles */

/* Dark is the default theme; [data-theme="light"] switches to light. */
:root {
  --ink: #eef2fb;          /* headings, buttons */
  --on-ink: #0a1122;       /* text on --ink */
  --blue: #5b93ff;
  --text: #c9d2e3;
  --muted: #8e99b0;
  --line: rgba(255, 255, 255, .1);
  --surface: rgba(255, 255, 255, .03);
  --bg: #070d1c;
  --bg-2: #0b1430;         /* bottom of the base gradient */
  --glow-1: rgba(47, 123, 255, .24);
  --glow-2: rgba(110, 80, 240, .16);
  --glow-3: rgba(47, 123, 255, .10);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --ink: #0b1f45;
  --on-ink: #ffffff;
  --blue: #1a5fe6;
  --text: #1c2536;
  --muted: #5f6980;
  --line: rgba(11, 31, 69, .1);
  --surface: rgba(255, 255, 255, .6);
  --bg: #f7f9ff;
  --bg-2: #e8efff;
  --glow-1: rgba(26, 95, 230, .22);
  --glow-2: rgba(130, 100, 255, .18);
  --glow-3: rgba(40, 170, 255, .16);
  color-scheme: light;
}

/* Gradient background, fixed behind the page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 0% 0%, var(--glow-1), transparent 70%),
    radial-gradient(50% 50% at 100% 15%, var(--glow-2), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, var(--glow-3), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* Smooth crossfade when switching themes (browsers with View Transitions) */
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .6s;
  animation-timing-function: ease-in-out;
}

/* Logo variants per theme */
.only-light { display: none !important; }
:root[data-theme="light"] .only-light { display: block !important; }
:root[data-theme="light"] .only-dark { display: none !important; }

/* Theme toggle: shows a moon in dark mode, a sun in light mode */
.nav-right { display: flex; align-items: center; gap: 28px; }
.theme-toggle {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
  color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); position: relative; z-index: 0; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(880px, 100% - 40px); margin-inline: auto; }
section { padding: 88px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

/* Nav */
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 8px; font: 700 1.15rem var(--font-head); color: var(--ink); }
.brand img { width: 40px; height: 30px; object-fit: contain; }
.brand b { color: var(--blue); font-weight: 700; }
.nav-links { display: flex; gap: 28px; font-size: .95rem; }
.nav-links a { color: var(--muted); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

/* Type helpers */
.label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: 1.6rem; }

/* Buttons */
.btn { display: inline-block; padding: .8em 1.6em; border-radius: 8px; font-weight: 600; font-size: .95rem; border: 1px solid var(--ink); transition: background .15s, color .15s; }
.btn-dark { background: var(--ink); color: var(--on-ink); }
.btn-dark:hover { background: var(--blue); border-color: var(--blue); }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Home */
.home-hero { text-align: center; padding: 48px 0 72px; }
.home-hero img { width: min(420px, 90%); margin: 0 auto 32px; }
.home-hero .lead { margin: 0 auto; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 96px; }
.choice { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 36px; transition: border-color .15s, transform .15s; }
.choice:hover { border-color: var(--ink); transform: translateY(-2px); }
.choice h2 { margin-bottom: .4em; }
.choice p { color: var(--muted); }
.choice span { color: var(--blue); font-weight: 600; font-size: .95rem; }

/* Page hero */
.page-hero { padding: 72px 0 88px; }

/* Lists */
.grid-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.grid-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
.items h3 { font-size: 1.05rem; margin-bottom: .35em; }
.items p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.price.main { border-color: var(--ink); }
.price h3 { font-size: 1rem; margin-bottom: .8em; }
.amount { font: 700 2.1rem var(--font-head); color: var(--ink); margin: 0; }
.amount small { font: 400 .9rem var(--font-body); color: var(--muted); }
.price p:last-child { color: var(--muted); font-size: .93rem; margin: .6em 0 0; }
.note { color: var(--muted); font-size: .9rem; margin-top: 20px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font: 700 .9rem var(--font-head); color: var(--blue); margin-bottom: 10px; }
.steps h3 { font-size: 1rem; margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Contact */
.contact-intro { color: var(--muted); }
.contact { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0 0; }
.contact div { flex: 1 1 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; }
.contact dt { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.contact dd { margin: 0; font: 700 1.15rem var(--font-head); overflow-wrap: anywhere; }
.contact a { color: var(--ink); transition: color .15s; }
.contact a:hover { color: var(--blue); }

/* About */
.about p:not(.label) { color: var(--muted); max-width: 640px; }
.about-home { border-top: 1px solid var(--line); padding: 72px 0 96px; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li {
  font-size: .88rem; font-weight: 500; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4em 1em;
}

/* Recent work */
.work {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px;
  transition: border-color .15s, transform .15s;
}
.work:hover { border-color: var(--ink); transform: translateY(-2px); }
.work b { display: block; font: 700 1.1rem var(--font-head); color: var(--ink); }
.work small { color: var(--muted); font-size: .93rem; }
.work-link { color: var(--blue); font-weight: 600; font-size: .95rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .88rem; color: var(--muted); }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .choices, .items, .prices { grid-template-columns: 1fr; }
  .grid-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 40px 0 64px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .nav-links, .nav-right { gap: 16px; }
  .brand span { display: none; }
  .grid-list, .steps { grid-template-columns: 1fr; }
  .choice { padding: 28px 24px; }
}
