/* Apolocom — modern product page system (am-) */
:root { --am-navy:#0b1f3a; --am-ink:#33445e; --am-muted:#5a6b85; --am-line:#e3eaf4; --am-blue:#0072ff; --am-cyan:#00c6ff; --am-violet:#7c3aed; --am-soft:#f6f9fe; }
.am-page { font-family: "Nunito", sans-serif; color: var(--am-ink); }
.am-page h1, .am-page h2, .am-page h3, .am-page h4 { letter-spacing: -.01em; }
.am-sec { padding: 84px 0; position: relative; overflow: hidden; }
.am-sec.am-tight { padding: 64px 0; }
.am-light { background: var(--am-soft); }
.am-white { background: #fff; }
.am-dark { background: radial-gradient(800px 400px at 15% 10%, rgba(0,114,255,.22), transparent 60%), radial-gradient(700px 380px at 90% 90%, rgba(124,58,237,.16), transparent 60%), linear-gradient(160deg,#020e1f 0%,#04244f 60%,#072f63 100%); color: #fff; }
.am-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.am-eyebrow { display: inline-block; background: #e8f1ff; border: 1px solid #c9dcff; color: #0b5bd3; border-radius: 30px; padding: 5px 16px; font-size: .74rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.am-dark .am-eyebrow, .am-hero .am-eyebrow { background: rgba(0,198,255,.14); border-color: rgba(0,198,255,.4); color: #7fe3ff; }
.am-page .am-h2 { color: var(--am-navy); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.25rem) !important; line-height: 1.2 !important; margin: 0 0 14px; }
.am-dark .am-h2 { color: #fff; }
.am-grad { background: linear-gradient(90deg,#0062e6,#00a8e8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.am-dark .am-grad, .am-hero .am-grad { background: linear-gradient(90deg,#00aaff,#00e5ff); -webkit-background-clip: text; background-clip: text; }
.am-sub { color: var(--am-muted); font-size: 1.03rem; line-height: 1.75; margin: 0; }
.am-dark .am-sub { color: rgba(255,255,255,.72); }

/* hero */
.am-hero { background: linear-gradient(135deg,#020e1f 0%,#04244f 55%,#0a3d7a 100%); color: #fff; padding: 150px 0 90px; position: relative; overflow: hidden; }
.am-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,160,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,160,255,.07) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); pointer-events: none; }
.am-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(0,170,255,.22), transparent 65%); pointer-events: none; }
.am-hero .container { position: relative; z-index: 1; }
.am-page .am-hero h1 { color: #fff; font-weight: 800; font-size: clamp(2rem, 4vw, 3.1rem) !important; line-height: 1.12 !important; margin: 0 0 18px; }
.am-hero .am-lead { color: rgba(255,255,255,.76); font-size: 1.08rem; line-height: 1.75; max-width: 560px; margin: 0 0 30px; }
.am-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.am-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 12px 26px; font-weight: 800; font-size: .95rem; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s; border: 1px solid transparent; }
.am-btn-main { background: linear-gradient(90deg,var(--am-blue),var(--am-cyan)); color: #fff !important; box-shadow: 0 8px 24px rgba(0,114,255,.35); }
.am-btn-main:hover { transform: translateY(-2px); }
.am-btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff !important; }
.am-btn-ghost:hover { background: rgba(255,255,255,.16); }
.am-btn-line { background: #fff; border-color: var(--am-navy); color: var(--am-navy) !important; }
.am-btn-line:hover { background: var(--am-navy); color: #fff !important; }
.am-visual { position: relative; }
.am-visual::before { content: ""; position: absolute; left: 8%; right: 8%; top: 14%; bottom: -4%; background: linear-gradient(90deg,var(--am-blue),var(--am-cyan) 50%,var(--am-violet)); filter: blur(70px); opacity: .32; border-radius: 40px; pointer-events: none; }
.am-frame { position: relative; border-radius: 16px; padding: 2px; background: linear-gradient(135deg,var(--am-blue),var(--am-cyan) 45%,var(--am-violet)); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.am-frame-in { border-radius: 14px; overflow: hidden; background: #fff; }
.am-frame-bar { display: flex; gap: 6px; padding: 9px 12px; background: #eef2f8; border-bottom: 1px solid #dde4ef; }
.am-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d3e2; display: block; }
.am-frame-bar i:nth-child(1) { background: #ff6b6b; } .am-frame-bar i:nth-child(2) { background: #ffc54d; } .am-frame-bar i:nth-child(3) { background: #3ccf6e; }
.am-frame img, .am-device img, .am-diagram img { display: block; width: 100%; height: auto; }
.am-device { position: relative; }
.am-diagram { position: relative; background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.am-chip-float { position: absolute; background: rgba(2,14,31,.86); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 12px; padding: 10px 14px; font-size: .8rem; line-height: 1.3; backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.am-chip-float b { display: block; font-size: 1.1rem; background: linear-gradient(90deg,#00aaff,#00e5ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.am-chip-float.tl { left: -18px; top: 18%; } .am-chip-float.br { right: -14px; bottom: 12%; }

/* stats */
.am-stats { background: #fff; border-bottom: 1px solid var(--am-line); }
.am-stats-row { display: grid; grid-template-columns: repeat(var(--n,5), 1fr); }
.am-stat { padding: 26px 12px; text-align: center; border-right: 1px solid var(--am-line); }
.am-stat:last-child { border-right: 0; }
.am-stat b { display: block; font-size: 1.55rem; font-weight: 900; line-height: 1.1; background: linear-gradient(90deg,#0062e6,#00a8e8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.am-stat span { display: block; margin-top: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #8796ad; }

/* cards */
.am-grid { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols,3), 1fr); }
.am-card { background: #fff; border: 1px solid var(--am-line); border-radius: 18px; padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.am-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,31,58,.09); border-color: #c9dcff; }
.am-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg,var(--am-blue),var(--am-cyan)); opacity: 0; transition: opacity .25s; }
.am-card:hover::before { opacity: 1; }
.am-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #0b5bd3; background: linear-gradient(135deg,#eaf2ff,#e3f6ff); border: 1px solid #d3e3fb; margin-bottom: 18px; }
.am-page .am-card h3 { font-size: 1.08rem !important; line-height: 1.35 !important; font-weight: 800; color: var(--am-navy); margin: 0 0 8px; }
.am-card p { font-size: .92rem; line-height: 1.65; color: var(--am-muted); margin: 0; }
.am-dark .am-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.am-dark .am-card:hover { border-color: rgba(0,198,255,.45); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.am-dark .am-card h3 { color: #fff; }
.am-dark .am-card p { color: rgba(255,255,255,.7); }
.am-dark .am-ic { color: #7fe3ff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.am-num { position: absolute; top: 22px; right: 24px; font-size: .78rem; font-weight: 900; color: #b7c6dc; letter-spacing: 1px; }

/* split */
.am-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.am-split.rev > :first-child { order: 2; }
.am-split .am-h2 { text-align: left; }
.am-split p { color: var(--am-muted); line-height: 1.75; }
.am-dark .am-split p { color: rgba(255,255,255,.72); }
.am-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.am-checks li { position: relative; padding-left: 30px; color: var(--am-ink); font-weight: 600; line-height: 1.5; }
.am-dark .am-checks li { color: rgba(255,255,255,.88); }
.am-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg,var(--am-blue),var(--am-cyan)) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.am-panel { background: #fff; border: 1px solid var(--am-line); border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px rgba(11,31,58,.08); }
.am-panel img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* gallery */
.am-shots { display: grid; grid-template-columns: repeat(var(--cols,3), 1fr); gap: 22px; }
.am-shot { display: block; text-decoration: none; }
.am-shot .am-frame { box-shadow: 0 16px 40px rgba(0,0,0,.25); transition: transform .25s; }
.am-shot:hover .am-frame { transform: translateY(-4px); }
.am-shot .am-frame-in img { aspect-ratio: 16/10; object-fit: cover; object-position: top left; }
.am-shot strong { display: block; margin-top: 14px; color: #fff; font-weight: 800; font-size: .98rem; }
.am-shot span { display: block; color: rgba(255,255,255,.66); font-size: .86rem; line-height: 1.5; margin-top: 3px; }
.am-light .am-shot strong, .am-white .am-shot strong { color: var(--am-navy); }
.am-light .am-shot span, .am-white .am-shot span { color: var(--am-muted); }

/* specs */
.am-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.am-spec { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: 22px; }
.am-spec h3 { font-size: .78rem !important; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #0b5bd3; margin: 0 0 14px; }
.am-spec ul { list-style: none; padding: 0; margin: 0; }
.am-spec li { padding: 8px 0; border-top: 1px dashed #e3eaf4; font-size: .9rem; color: var(--am-ink); display: flex; justify-content: space-between; gap: 10px; }
.am-spec li:first-child { border-top: 0; }
.am-spec li b { color: var(--am-navy); font-weight: 800; white-space: nowrap; }

/* steps */
.am-steps { display: grid; grid-template-columns: repeat(var(--n,4), 1fr); gap: 18px; counter-reset: st; }
.am-step { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 24px 20px; }
.am-step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,var(--am-blue),var(--am-cyan)); color: #fff; font-weight: 900; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(0,114,255,.4); }
.am-page .am-step h3 { color: #fff; font-size: 1rem !important; font-weight: 800; margin: 0 0 6px; }
.am-step p { color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.6; margin: 0; }
.am-light .am-step, .am-white .am-step { background: #fff; border-color: var(--am-line); }
.am-light .am-step h3, .am-white .am-step h3 { color: var(--am-navy); }
.am-light .am-step p, .am-white .am-step p { color: var(--am-muted); }

/* pricing */
.am-toggle { display: inline-flex; background: #fff; border: 1px solid var(--am-line); border-radius: 30px; padding: 4px; margin: 0 auto 34px; }
.am-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 30px; font-weight: 800; font-size: .88rem; color: var(--am-muted); cursor: pointer; }
.am-toggle button[aria-pressed="true"] { background: var(--am-navy); color: #fff; }
.am-toggle em { font-style: normal; font-size: .7rem; background: #22c55e; color: #fff; border-radius: 10px; padding: 2px 7px; margin-left: 6px; }
.am-plans { display: grid; grid-template-columns: repeat(var(--n,4), 1fr); gap: 18px; align-items: stretch; }
.am-plan { background: #fff; border: 1px solid var(--am-line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.am-plan.pop { background: linear-gradient(160deg,#020e1f 0%,#04244f 70%,#0a3d7a 100%); border-color: transparent; color: #fff; box-shadow: 0 24px 50px rgba(4,36,79,.35); }
.am-plan .tag { position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; background: linear-gradient(90deg,var(--am-violet),var(--am-blue)); color: #fff; border-radius: 20px; padding: 4px 10px; }
.am-page .am-plan h3 { font-size: .82rem !important; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #0b5bd3; margin: 0 0 12px; }
.am-plan.pop h3 { color: #7fe3ff; }
.am-price { font-size: 2.4rem; font-weight: 900; color: var(--am-navy); line-height: 1; }
.am-price small { font-size: .9rem; font-weight: 700; color: var(--am-muted); }
.am-plan.pop .am-price { color: #fff; } .am-plan.pop .am-price small { color: rgba(255,255,255,.65); }
.am-plan ul { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 9px; }
.am-plan li { font-size: .9rem; color: var(--am-ink); padding-left: 22px; position: relative; }
.am-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--am-blue); font-weight: 900; }
.am-plan.pop li { color: rgba(255,255,255,.86); } .am-plan.pop li::before { color: #00c6ff; }
.am-plan .am-btn { margin-top: auto; justify-content: center; }

/* faq */
.am-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.am-faq details { background: #fff; border: 1px solid var(--am-line); border-radius: 14px; padding: 0 22px; }
.am-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; color: var(--am-navy); display: flex; justify-content: space-between; gap: 16px; }
.am-faq summary::-webkit-details-marker { display: none; }
.am-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--am-blue); }
.am-faq details[open] summary::after { content: "–"; }
.am-faq details > div { padding: 0 0 18px; color: var(--am-muted); line-height: 1.75; font-size: .95rem; }
.am-faq details ul { margin: 8px 0 0; padding-left: 20px; }

/* contact */
.am-contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.am-contact .am-h2 { text-align: left; }
.am-direct { display: grid; gap: 12px; margin-top: 26px; }
.am-direct a { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; }
.am-direct a span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #7fe3ff; }
.am-form-card { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.35); color: var(--am-ink); }
.am-page .am-form-card h3 { font-size: 1.25rem !important; font-weight: 800; color: var(--am-navy); margin: 0 0 18px; }
.am-form-card .form-label { font-weight: 700; font-size: .85rem; color: var(--am-navy); }
.am-form-card .form-control { border-radius: 10px; }
.am-form-card #submit { width: 100%; border-radius: 10px; padding: 12px; font-weight: 800; background: linear-gradient(90deg,var(--am-blue),var(--am-cyan)); border: 0; }
.am-form-card #simple-msg { color: #16a34a; font-weight: 700; margin-bottom: 8px; }
.am-form-card #error-msg { color: #dc2626; font-weight: 700; }

/* cta band */
.am-band { border-radius: 22px; padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: radial-gradient(500px 240px at 90% 0%, rgba(0,198,255,.25), transparent 60%), linear-gradient(140deg,#020e1f,#04244f 60%,#0a3d7a); color: #fff; }
.am-page .am-band h3 { color: #fff; font-size: 1.45rem !important; font-weight: 800; margin: 0 0 6px; }
.am-band p { color: rgba(255,255,255,.72); margin: 0; }

@media (max-width: 991px) {
  .am-hero { padding: 150px 0 70px; }
  .am-hero .am-visual { margin-top: 44px; }
  .am-split, .am-contact { grid-template-columns: 1fr; gap: 34px; }
  .am-split.rev > :first-child { order: 0; }
  .am-grid, .am-shots { grid-template-columns: repeat(2, 1fr); }
  .am-specs, .am-plans { grid-template-columns: repeat(2, 1fr); }
  .am-steps { grid-template-columns: repeat(2, 1fr); }
  .am-stats-row { grid-template-columns: repeat(3, 1fr); }
  .am-stat { border-bottom: 1px solid var(--am-line); }
  .am-chip-float { display: none; }
}
@media (max-width: 575px) {
  .am-sec { padding: 60px 0; }
  .am-grid, .am-shots, .am-specs, .am-plans, .am-steps { grid-template-columns: 1fr; }
  .am-stats-row { grid-template-columns: repeat(2, 1fr); }
  .am-band { padding: 30px 24px; }
  .am-form-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .am-card, .am-btn, .am-shot .am-frame { transition: none; } }
