
/* ——— Reset & Tokens ——— */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
:root {
  --bg: #0b1020;
  --bg-2: #0e1426;
  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.12);
  --text: #e6e7eb;
  --muted: #9aa4b2;
  --primary: #60a5fa;
  --secondary: #a78bfa;
  --accent: #22d3ee;
  --radius: 14px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(96,165,250,0.08), transparent 60%),
    radial-gradient(1000px 500px at 90% -20%, rgba(167,139,250,0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Utilities */
.container { width: min(1120px, 92%); margin-inline: auto; }
.muted { color: var(--muted); }
.text-gradient { background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ——— Navigation ——— */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); }
.nav__inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand__logo { display: grid; place-items: center; height: 36px; }
.brand__logo-img { height: 32px; width: auto; display: block; filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.nav__links a { color: var(--text); text-decoration: none; opacity: .9; margin-right: 16px; }
.nav__links a:hover { opacity: 1; }
.btn { display: inline-block; padding: 12px 18px; border-radius: 999px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .3s ease; border: 1px solid var(--border); }
.btn--primary { color: white; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 10px 30px rgba(124,104,238,0.25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,104,238,0.35); }
.btn--ghost { background: transparent; color: var(--text); }

/* Sticky state */
header.scrolled { background: rgba(10,14,24,0.6); border-bottom: 1px solid var(--border); }

/* ——— Hero ——— */
.hero { position: relative; overflow: hidden; padding: 112px 0 48px; }
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
.hero__title { font-size: clamp(32px, 6vw, 64px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero__subtitle { color: var(--muted); font-size: clamp(16px, 2vw, 18px); max-width: 60ch; }
.hero__cta { margin-top: 24px; display: flex; gap: 12px; align-items: center; }
.hero__meta { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.hero__meta .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,211,238,0.15); }

.hero__visual { position: relative; min-height: 340px; }
.floating-card { position: absolute; inset: auto; left: 8%; right: 8%; padding: 14px 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04) inset; display: flex; align-items: center; gap: 10px; transform: translateY(0) translateZ(0); animation: floatY 6s ease-in-out infinite; backdrop-filter: blur(6px); color: var(--text); text-decoration: none; cursor: pointer; }
.floating-card:hover, .floating-card:focus-visible { border-color: rgba(124,104,238,0.45); box-shadow: 0 16px 40px rgba(0,0,0,0.45); outline: none; }
.floating-card:nth-child(1) { top: 12%; transform: translateY(0); }
.floating-card:nth-child(2) { top: 42%; animation-delay: .8s; }
.floating-card:nth-child(3) { top: 72%; animation-delay: 1.6s; }
.floating-card .icon { font-size: 18px; }
.floating-card .txt { font-weight: 600; }
@keyframes floatY { 0%,100%{ transform: translateY(0)} 50%{ transform: translateY(-14px)} }

.gradient-orb { position: absolute; filter: blur(70px); opacity: .55; z-index: -1; }
.orb--one { width: 360px; height: 360px; left: -80px; top: -40px; background: radial-gradient(closest-side, rgba(96,165,250,0.6), transparent 70%); }
.orb--two { width: 420px; height: 420px; right: -120px; top: -60px; background: radial-gradient(closest-side, rgba(167,139,250,0.55), transparent 70%); }
.hero__bottom-fade { position: absolute; left:0; right:0; bottom:0; height: 120px; background: linear-gradient(180deg, rgba(11,16,32,0), rgba(11,16,32,1)); pointer-events:none; }

/* ——— Sections ——— */
.section { padding: 80px 0; position: relative; }
.section.alt { background: radial-gradient(600px 300px at 50% -20%, rgba(96,165,250,0.06), transparent 70%); }
.section__head { margin-bottom: 28px; }
.section__head h2 { font-size: clamp(24px, 4vw, 36px); letter-spacing: -0.01em; }
.section__head p { color: var(--muted); }

.grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.features { grid-template-columns: repeat(3, 1fr); }

.card { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.45); border-color: rgba(124,104,238,0.45); }
.card h3 { margin-bottom: 8px; font-size: 18px; }
.card p { color: var(--muted); }

.feature { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.feature__icon { display:inline-grid; place-items:center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #0b0f1a; font-weight: 800; }

/* CTA */
.cta { background: linear-gradient(135deg, rgba(96,165,250,.08), rgba(167,139,250,.08)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta__inner { display: grid; gap: 12px; text-align: center; }
.cta__inner h3 { font-size: clamp(22px, 3vw, 28px); }

/* Footer */
.footer { padding: 60px 0; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.footer__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.footer__links a { color: var(--muted); margin-left: 16px; text-decoration: none; }
.footer .brand--footer .brand__logo { height: 32px; }
.footer .brand--footer .brand__logo-img { height: 32px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Tilt utility (JS will update transform) */
.hover-tilt { will-change: transform; transform-style: preserve-3d; }

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 280px; margin-top: 12px; }
  .cards, .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__inner { grid-template-columns: 1fr auto; gap: 8px; }
  .nav__links { display: none; }
  .cards, .features { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
}

/* ——— Modal ——— */
.modal.hidden { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.modal__panel { position: relative; z-index: 1; width: min(520px, 92%); margin: 12vh auto 0; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modal__close { position: absolute; right: 10px; top: 8px; background: transparent; border: none; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; }
.modal__address { display: flex; align-items: center; gap: 10px; margin-top: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.modal__address code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; color: var(--text); }
.modal__actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
#mailto-copy { cursor: pointer; }
