/* ============ FAPP — Factory of Apps ============ */
:root {
  --bg: #07060f;
  --bg-2: #0c0a1c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f2ff;
  --muted: #a29ec2;
  --orange: #ff8a1e;
  --orange-soft: #ffb066;
  --green: #2ee688;
  --purple: #8b5cf6;
  --grad: linear-gradient(96deg, var(--orange) 0%, #ff5e3a 45%, var(--purple) 100%);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --radius: 18px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
html.nofx { scroll-behavior: auto; }
html.nofx *, html.nofx *::before, html.nofx *::after { animation: none !important; transition: none !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

::selection { background: rgba(255, 138, 30, 0.35); }

/* grain overlay */
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.txt-green { color: var(--green); }
.txt-purple { color: #b79aff; }
.txt-orange { color: var(--orange); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 6, 15, 0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 8px; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: 0.04em; color: var(--orange);
}
.brand-app { color: var(--text); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.94rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s; position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; gap: 2px; padding: 3px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 99px;
}
.lang-btn {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 99px; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--grad); color: #fff; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  touch-action: manipulation;
  will-change: transform;
}
.btn svg { flex: 0 0 auto; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 28px -8px rgba(255, 110, 40, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(255, 110, 40, 0.7); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  border: 1px solid var(--border); color: var(--text); background: var(--surface);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); background: var(--surface-2); transform: translateY(-2px); }

.btn-outline { border: 1px solid rgba(255, 138, 30, 0.5); color: var(--orange-soft); background: rgba(255, 138, 30, 0.06); }
.btn-outline:hover { background: rgba(255, 138, 30, 0.14); border-color: var(--orange); transform: translateY(-2px); }

.btn-lg { padding: 16px 28px; font-size: 1.02rem; border-radius: 14px; }
.btn-nav { padding: 10px 18px; font-size: 0.88rem; }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: calc(var(--nav-h) + 40px) 24px 90px;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 42% at 50% 32%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(38% 30% at 78% 74%, rgba(255, 138, 30, 0.1), transparent 70%),
    radial-gradient(30% 26% at 18% 70%, rgba(46, 230, 136, 0.07), transparent 70%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.34em; color: var(--orange-soft);
  padding: 9px 18px; border: 1px solid rgba(255, 138, 30, 0.3); border-radius: 99px;
  background: rgba(255, 138, 30, 0.05);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46, 230, 136, 0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 136, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(46, 230, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 136, 0); }
}

.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 4rem);
  line-height: 1.12; letter-spacing: 0.01em;
  margin: 28px 0 22px; text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-title .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 26px rgba(255, 122, 40, 0.35));
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem); color: var(--muted);
  max-width: 620px; margin: 0 auto 36px;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  margin-top: 60px;
  display: inline-flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center;
  padding: 18px 34px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 90px; }
.stat-n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

.scroll-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  opacity: 0.9; transition: opacity 0.3s;
}
.scroll-hint:hover { opacity: 1; }

/* corpo do mouse */
.mouse {
  position: relative; width: 30px; height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 15px 15px 17px 17px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 60%);
  box-shadow: 0 0 18px -4px rgba(255, 138, 30, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.scroll-hint:hover .mouse { border-color: rgba(255, 176, 102, 0.7); box-shadow: 0 0 24px -4px rgba(255, 138, 30, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
/* divisão dos botões */
.mouse-line {
  position: absolute; top: 0; left: 50%; width: 1px; height: 11px;
  background: rgba(255, 255, 255, 0.22);
}
/* trilho da rodinha com dentes rolando */
.mouse-track {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 17px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.mouse-track i {
  position: absolute; left: 1px; width: 4px; height: 4px; border-radius: 2px;
  background: var(--orange); box-shadow: 0 0 5px rgba(255, 138, 30, 0.9);
  animation: wheelroll 1.35s linear infinite;
}
.mouse-track i:nth-child(2) { animation-delay: 0.45s; }
.mouse-track i:nth-child(3) { animation-delay: 0.9s; }
@keyframes wheelroll {
  0% { transform: translateY(-5px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}
/* setinhas descendo */
.scroll-chevrons { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: -1px; }
.scroll-chevrons i {
  width: 9px; height: 9px;
  border-right: 2px solid var(--orange-soft); border-bottom: 2px solid var(--orange-soft);
  transform: rotate(45deg); border-radius: 1px;
  animation: chevfall 1.35s ease-in-out infinite;
}
.scroll-chevrons i:nth-child(2) { animation-delay: 0.2s; margin-top: -5px; }
@keyframes chevfall {
  0% { opacity: 0; transform: rotate(45deg) translate(-3px, -3px); }
  45% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(3px, 3px); }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2); overflow: hidden; padding: 16px 0;
  position: relative; z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.22em; color: var(--muted); white-space: nowrap; text-transform: uppercase;
}
.marquee-track i { color: var(--orange); font-style: normal; font-size: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 110px 0; position: relative; z-index: 2; }
.section-alt {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(139, 92, 246, 0.07), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section-eyebrow {
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.3em; color: var(--green); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 2.7rem); line-height: 1.2;
  margin-bottom: 18px; max-width: 760px; text-wrap: balance;
}
.section-title span { display: inline; }
.section-sub { color: var(--muted); max-width: 640px; font-size: 1.05rem; margin-bottom: 54px; }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }

.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 30, 0.09), transparent 45%);
  transition: opacity 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.18); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; margin: 18px 0 10px; letter-spacing: 0.02em; }
.card p { color: var(--muted); font-size: 0.95rem; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.icon-orange { color: var(--orange); background: rgba(255, 138, 30, 0.1); border: 1px solid rgba(255, 138, 30, 0.25); box-shadow: 0 0 22px -6px rgba(255, 138, 30, 0.5); }
.icon-green { color: var(--green); background: rgba(46, 230, 136, 0.08); border: 1px solid rgba(46, 230, 136, 0.25); box-shadow: 0 0 22px -6px rgba(46, 230, 136, 0.45); }
.icon-purple { color: #b79aff; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.3); box-shadow: 0 0 22px -6px rgba(139, 92, 246, 0.5); }

/* ============ APPS ============ */
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.app-media .badge-live { position: absolute; margin: 0; }

.app-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
}
.app-card:hover { border-color: rgba(255, 138, 30, 0.4); box-shadow: 0 30px 70px -30px rgba(255, 110, 40, 0.35); }

.app-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #120f26; }
.app-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 6, 15, 0.85), transparent 45%);
}
.app-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.6s var(--ease-out); }
.app-card:hover .app-video { transform: scale(1.08); }

.badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em;
  padding: 8px 14px; border-radius: 99px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.badge-dev { background: rgba(255, 138, 30, 0.14); border: 1px solid rgba(255, 138, 30, 0.45); color: var(--orange-soft); }
.badge-live { background: rgba(46, 230, 136, 0.12); border: 1px solid rgba(46, 230, 136, 0.45); color: var(--green); position: static; margin-bottom: 18px; }

.app-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.app-body .btn { margin-top: auto; align-self: flex-start; }
.app-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; letter-spacing: 0.02em; }
.app-body > p { color: var(--muted); font-size: 0.97rem; margin-bottom: 20px; }

.app-feats { margin-bottom: 26px; display: grid; gap: 10px; }
.app-feats li { display: flex; align-items: center; gap: 11px; font-size: 0.93rem; color: #cbc7e6; }
.app-feats li::before {
  content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 2px;
  background: var(--grad); transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(255, 138, 30, 0.7);
}

/* ============ CASE (Suplymax) ============ */
.case-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px;
  padding: 46px; margin-top: 30px; overflow: hidden; position: relative;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.case-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 60% at 88% 12%, rgba(46, 230, 136, 0.08), transparent 70%);
}
.case-info h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; margin-bottom: 14px; }
.case-info > p { color: var(--muted); margin-bottom: 22px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.case-tags li {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 6px 13px; border-radius: 99px;
  background: rgba(46, 230, 136, 0.07); border: 1px solid rgba(46, 230, 136, 0.25); color: var(--green);
}

.case-browser {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: #0f172a; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.case-card:hover .case-browser { transform: translateY(-8px); box-shadow: 0 54px 90px -40px rgba(0, 0, 0, 0.9); }
.case-browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid var(--border);
}
.case-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.case-browser-bar i:first-child { background: #ff5f57; }
.case-browser-bar i:nth-child(2) { background: #febc2e; }
.case-browser-bar i:nth-child(3) { background: #28c840; }
.case-browser-bar span { margin-left: 10px; font-size: 0.74rem; color: var(--muted); letter-spacing: 0.04em; }
.case-browser-body { background: #000; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.case-browser-body img, .case-browser-body video { width: 100%; height: auto; display: block; }

/* ============ BENTO (Serviços) ============ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; display: grid; gap: 14px; margin-top: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.faq-item:hover { border-color: rgba(255, 255, 255, 0.18); }
.faq-item[open] { background: var(--surface-2); border-color: rgba(255, 138, 30, 0.35); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex: 0 0 auto; width: 22px; height: 22px; position: relative;
  transition: transform 0.3s var(--ease-out);
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--orange); border-radius: 2px;
}
.faq-item summary i::before { width: 14px; height: 2px; }
.faq-item summary i::after { width: 2px; height: 14px; transition: opacity 0.2s; }
.faq-item[open] summary i { transform: rotate(90deg); }
.faq-item[open] summary i::before { opacity: 0; }
.faq-item > p { padding: 0 24px 22px; color: var(--muted); font-size: 0.96rem; max-width: 700px; }

/* ============ CONTATO ============ */
.contact-panel {
  position: relative; overflow: hidden; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 30px;
  padding: 76px 40px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.contact-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(255, 138, 30, 0.12), transparent 70%),
    radial-gradient(40% 50% at 85% 100%, rgba(139, 92, 246, 0.12), transparent 70%);
}
.contact-panel .section-sub { margin-left: auto; margin-right: auto; margin-bottom: 44px; }
.contact-panel .section-title { margin-left: auto; margin-right: auto; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; position: relative; max-width: 720px; margin: 0 auto; }
.contact-card {
  display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 22px 24px; border-radius: 16px;
  background: rgba(7, 6, 15, 0.5); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); background: rgba(7, 6, 15, 0.75); }
.contact-card svg { flex: 0 0 auto; }
.contact-card strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.contact-card span { font-size: 0.86rem; color: var(--muted); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 44px 0; position: relative; z-index: 2; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-tag { color: var(--muted); font-size: 0.92rem; }
.footer-copy { color: rgba(255, 255, 255, 0.35); font-size: 0.8rem; }

/* ============ REVEAL (JS hook) ============ */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid-3, .bento { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .bento-big { grid-row: auto; min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; gap: 0; padding: 12px 24px 22px;
    background: rgba(7, 6, 15, 0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .apps-grid { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
  .case-visual { order: -1; }
  .section { padding: 80px 0; }
}

@media (max-width: 560px) {
  .grid-3, .bento { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; padding: 16px 22px; }
  .stat-sep { display: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .contact-panel { padding: 56px 22px; }
  .scroll-hint { display: none; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
