/* PT. MicroAccess Solution — Site Styles */

/* CSS Variables */
:root {
  --brand: #ef4444; /* red-500 */
  --brand-2: #dc2626; /* red-600 */
  --ink: #e5e7eb; /* text on dark */
  --muted: #94a3b8; /* slate-400 */
  --bg: #0b1220; /* soft black */
  --surface: #111827; /* slate-800 */
  --border: #1f2937; /* slate-700 */
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.25; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.125rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.grid-2.v-center { align-items: center; }
.grid-2.v-start { align-items: flex-start; }

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

.center { text-align: center; }
.mt-24 { margin-top: 24px; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0; z-index: 50;
  background: rgba(11,18,32,0.8);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.brand img { height: 34px; width: auto; border-radius: 8px; object-fit: contain; display: block; }

.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--ink); font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.nav-links a:hover { background: rgba(255,255,255,.06); text-decoration: none; }
.nav-links a.active { color: var(--brand); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s ease; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; inset: 64px 0 auto 0; background: var(--surface);
    padding: 14px 20px; border-bottom: 1px solid var(--border);
    display: grid; gap: 6px; transform-origin: top;
    transform: scaleY(0); opacity: 0; pointer-events: none; transition: .18s ease;
  }
  .nav-links.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-weight: 700; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(0.98); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0; }
.hero .grid-2 { align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero .tagline { margin: 10px 0 18px; color: var(--muted); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--ink); background: linear-gradient(135deg, rgba(239,68,68,.12), rgba(220,38,38,.12)); border: 1px solid var(--border); margin-bottom: 10px; }
.eyebrow i { color: var(--brand); }

.hero-visual { display: grid; gap: 14px; }
.hero-card { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); padding: 14px; border-radius: 14px; box-shadow: var(--shadow); }
.hero-card i { font-size: 24px; color: var(--brand); }
.hero-bg {
  position: absolute; inset: -40% -20% auto -20%; height: 120%; z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(239,68,68,.18), transparent 60%),
    radial-gradient(50% 40% at 80% 20%, rgba(220,38,38,.18), transparent 60%),
    radial-gradient(40% 50% at 40% 70%, rgba(239,68,68,.12), transparent 60%),
    linear-gradient(#0b1220, #0b1220);
}

/* Hero with image BG */
.hero.has-bg {
  background:
    linear-gradient(180deg, rgba(2,6,23,.5), rgba(2,6,23,.5)),
    url('../../imgs/main-page.jpg') center/cover no-repeat;
}
.hero.has-bg .hero-bg { display: none; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 24px; }
.section-header p { color: var(--muted); }

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; box-shadow: var(--shadow); color: var(--ink);
}
.card:hover { text-decoration: none; box-shadow: 0 10px 26px rgba(15,23,42,.12); transform: translateY(-1px); transition: .15s ease; }
.card i { color: var(--brand); font-size: 22px; }
.card h3 { margin-top: 6px; }
.bullets { margin: 10px 0 0 16px; color: var(--muted); }

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.feature i { color: #16a34a; margin-right: 8px; }
.feature h3 { display: inline; margin-left: 6px; }

@media (min-width: 900px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}

.client-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.client-list li { background: var(--surface); border: 1px solid var(--border); padding: 8px 12px; border-radius: 999px; color: var(--ink); box-shadow: var(--shadow); }

.client-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.client-card { background: var(--surface); border: 1px solid var(--border); padding: 18px; border-radius: 14px; text-align: center; font-weight: 600; box-shadow: var(--shadow); }
@media (min-width: 760px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

.page-hero { padding: 64px 0 32px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(239,68,68,.06), transparent); }
.page-hero.has-bg {
  background:
    linear-gradient(180deg, rgba(2,6,23,.5), rgba(2,6,23,.5)),
    url('../../imgs/img-page.png') center/cover no-repeat;
}
.narrow { max-width: 880px; }

.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { margin: 6px 0; }
.check-list li::before { content: "\2713"; color: #16a34a; font-weight: 700; margin-right: 10px; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; align-items: center; gap: 10px; }
.feature-list i { color: var(--brand); }

.stat-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; text-align: center; padding: 14px; box-shadow: var(--shadow); }
.stat span { display: block; font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.stat small { color: var(--muted); }

/* CTA */
.cta { padding: 56px 0; background: radial-gradient(120% 120% at 0% 0%, rgba(239,68,68,.14), transparent 60%), radial-gradient(120% 120% at 100% 0%, rgba(220,38,38,.14), transparent 60%), linear-gradient(180deg, #0f172a, #0b1220); border-top: 1px solid var(--border); }
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.cta p { color: var(--muted); margin-bottom: 16px; }

/* Contact */
.contact-card { background: var(--surface); border: 1px solid var(--border); padding: 16px; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 14px; }
.form { background: var(--surface); border: 1px solid var(--border); padding: 18px; border-radius: 14px; box-shadow: var(--shadow); }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); outline: none; font-family: inherit; font-size: 1rem; background: #0b1220; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.link { text-decoration: underline; }

.note { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 12px; padding: 12px; color: var(--ink); }
.note i { color: var(--brand); margin-top: 2px; }

/* Footer */
.site-footer { background: #0b1220; color: #e5e7eb; margin-top: 40px; }
.site-footer .brand { color: #e5e7eb; }
.site-footer .brand img { height: 28px; width: auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 6px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
.footer-grid h4 { margin-bottom: 10px; }
.footer-grid .links { list-style: none; padding: 0; margin: 0; }
.footer-grid .links li { margin: 6px 0; color: #cbd5e1; }
.footer-grid .links a { color: #cbd5e1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 12px 0 24px; text-align: center; color: #94a3b8; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.3fr .7fr .9fr; }
}
