/* EnableBit — site.css */

:root {
  --orange: #f05f40;
  --orange-dk: #d94e31;
  --orange-lt: #ff7a5c;
  --dark: #0f172a;
  --dark-2: #1a2744;
  --text: #1e293b;
  --gray: #64748b;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
  --white: #fff;
  --r: 14px;
  --shadow: 0 2px 16px rgba(0,0,0,.07);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.13);
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .25s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex; align-items: center; gap: 1rem;
  transition: box-shadow var(--t), padding var(--t);
  /* backdrop-filter MUST NOT be on the nav itself — it would trap
     position:fixed children (the mobile overlay) inside the nav's box */
}
.nav::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: transparent;
  transition: background var(--t);
}
.nav.scrolled::before {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav.scrolled {
  box-shadow: 0 1px 0 var(--border);
  padding-top: .7rem; padding-bottom: .7rem;
}

.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 800; font-size: 1.2rem;
  color: var(--white); flex-shrink: 0;
  transition: color var(--t);
}
.nav.scrolled .nav-logo { color: var(--orange); }
.nav-logo img { width: 30px; height: 30px; }

/* Page links — collapsible on mobile */
.nav-links {
  display: flex; align-items: center; gap: .1rem;
  list-style: none;
}
.nav-links li a {
  display: block;
  padding: .4rem .75rem;
  font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: rgba(255,255,255,.78);
  border-radius: 6px;
  transition: var(--t);
}
.nav.scrolled .nav-links li a { color: var(--text); }
.nav-links li a:hover { color: var(--orange); background: rgba(240,95,64,.1); }
.nav.scrolled .nav-links li a:hover { color: var(--orange); background: rgba(240,95,64,.07); }

/* Right side: language + hamburger — always visible */
.nav-end {
  display: flex; align-items: center; gap: .6rem;
  flex-shrink: 0; margin-left: auto;
}

.nav-lang {
  display: flex; align-items: center; gap: .2rem;
  padding-left: .6rem;
  border-left: 1px solid rgba(255,255,255,.18);
  transition: border-color var(--t);
}
.nav.scrolled .nav-lang { border-left-color: var(--border); }
.nav-lang a {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  padding: .25rem .6rem; border-radius: 5px;
  border: 1px solid transparent;
  transition: var(--t);
}
.nav.scrolled .nav-lang a { color: var(--gray); }
.nav-lang a.active {
  color: var(--white);
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.09);
}
.nav.scrolled .nav-lang a.active {
  color: var(--orange);
  border-color: rgba(240,95,64,.45);
  background: rgba(240,95,64,.07);
}
.nav-lang a:hover { color: var(--white) !important; border-color: rgba(255,255,255,.32); }
.nav.scrolled .nav-lang a:hover { color: var(--orange) !important; border-color: rgba(240,95,64,.45); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .35rem; width: 32px; height: 32px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--t);
}
.nav.scrolled .nav-toggle span { background: var(--dark); }

@media (max-width: 860px) {
  /* Hide page links; hamburger appears */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Full-screen overlay when open */
  .nav-links.open {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    position: fixed; inset: 0;
    background: var(--dark); gap: .25rem; z-index: 999;
  }
  .nav-links.open li { width: 100%; text-align: center; }
  .nav-links.open li a {
    font-size: 1.05rem !important;
    color: rgba(255,255,255,.78) !important;
    padding: .9rem 2rem !important;
    display: block; width: 100%;
    border-radius: 0 !important;
  }
  .nav-links.open li a:hover {
    color: var(--orange) !important;
    background: rgba(240,95,64,.08) !important;
  }
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 82vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6rem 2rem 4rem; text-align: center;
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(240,95,64,.22) 0%, transparent 55%),
    linear-gradient(160deg, #0b1120 0%, #12100a 100%);
  position: relative; overflow: hidden;
}
.hero-topo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
  opacity: .11;
}

.hero-inner { position: relative; z-index: 1; max-width: 800px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem 1rem; border-radius: 999px;
  background: rgba(240,95,64,.12);
  border: 1px solid rgba(240,95,64,.25);
  color: var(--orange-lt);
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 1.25rem;
  letter-spacing: -.025em;
}
.hero h1 em { color: var(--orange); font-style: normal; }

.hero-sub {
  font-size: clamp(.975rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.52);
  max-width: 580px; margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}

.hero-chips {
  display: flex; flex-wrap: wrap; gap: .45rem;
  justify-content: center; margin-top: 3.5rem;
}
.hero-chip {
  padding: .28rem .85rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.5);
  font-size: .75rem; font-weight: 500;
}

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.2);
  animation: bob 2.8s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .8rem 1.8rem; border-radius: 999px;
  font-size: .9rem; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--t); white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dk); border-color: var(--orange-dk);
  box-shadow: 0 6px 24px rgba(240,95,64,.4);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05);
}

/* ─── LAYOUT ──────────────────────────────────────────── */
section { padding: 4rem 2rem; }
.container { max-width: 1080px; margin: 0 auto; }

.section-kicker {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--orange); margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -.025em; margin-bottom: .9rem;
}
.section-lead {
  font-size: 1rem; color: var(--gray);
  max-width: 520px; line-height: 1.65;
}
.section-hd { margin-bottom: 3.5rem; }
.section-hd.center { text-align: center; }
.section-hd.center .section-lead { margin: 0 auto; }

/* ─── PLATFORMS ───────────────────────────────────────── */
.s-platforms { background: var(--bg-light); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.p-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.85rem 1.6rem;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: var(--t);
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--orange);
}
.p-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(240,95,64,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.p-icon svg {
  width: 22px; height: 22px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.p-card h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: .45rem; letter-spacing: -.01em;
}
.p-card p { font-size: .875rem; color: var(--gray); line-height: 1.6; }

/* ─── ENVIRONMENTS ────────────────────────────────────── */
.s-env {
  background: linear-gradient(150deg, #0b1120 0%, #160d07 100%);
}
.s-env .section-title { color: var(--white); }
.s-env .section-lead { color: rgba(255,255,255,.45); }

.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-bottom: 2.75rem;
}
.env-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r); padding: 1.85rem;
  transition: var(--t);
}
.env-card:hover {
  background: rgba(240,95,64,.07);
  border-color: rgba(240,95,64,.22);
  transform: translateY(-2px);
}
.env-num {
  font-size: 2.8rem; font-weight: 900;
  line-height: 1; letter-spacing: -.04em;
  color: rgba(240,95,64,.18); margin-bottom: .7rem;
}
.env-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: .5rem;
}
.env-card p {
  font-size: .875rem; color: rgba(255,255,255,.42);
  line-height: 1.6;
}

.env-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .9rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.env-bullet { display: flex; align-items: flex-start; gap: .7rem; }
.env-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0; margin-top: .42rem;
}
.env-bullet span { font-size: .875rem; color: rgba(255,255,255,.42); }

/* ─── PROCESS ─────────────────────────────────────────── */
.s-process { background: var(--white); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem;
}
.proc-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: .8rem;
}
.proc-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 16px rgba(240,95,64,.35);
}
.proc-step h3 {
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
}
.proc-step p { font-size: .875rem; color: var(--gray); line-height: 1.6; }

/* ─── CONTACT ─────────────────────────────────────────── */
.s-contact { background: var(--bg-light); }

.contact-box {
  max-width: 520px; margin: 0 auto;
  background: var(--white); border-radius: calc(var(--r) * 1.5);
  padding: 3rem 2.5rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.contact-box h2 {
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: -.025em; margin-bottom: .75rem;
}
.contact-box p { color: var(--gray); margin-bottom: 2rem; }
.contact-email {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .95rem;
  color: var(--orange); border: 2px solid var(--orange);
  padding: .75rem 1.75rem; border-radius: 999px;
  transition: var(--t);
}
.contact-email:hover { background: var(--orange); color: var(--white); }
.contact-email svg {
  width: 17px; height: 17px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 2rem; text-align: center;
}
footer p { font-size: .8rem; color: rgba(255,255,255,.28); }
footer a { color: rgba(255,255,255,.45); transition: color var(--t); }
footer a:hover { color: var(--orange); }
