/*
Theme Name: iLockFree
Theme URI: https://ilockfree.com
Author: iLockFree
Description: IMEI verification storefront — dark diagnostic design with Home, IMEI Check, Support and Client Area.
Version: 0.2.2
License: GPL-2.0-or-later
Text Domain: ilockfree
*/

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..800&family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

*{ box-sizing:border-box; margin:0; padding:0; }

:root{
  --bg:#0A0D0E; --bg2:#0d1213; --surface:rgba(255,255,255,.025); --surface2:rgba(255,255,255,.05);
  --border:rgba(255,255,255,.09); --text:#EAF1EC; --muted:#869089; --accent:#4FA8FF; --accent2:#2E8FE6;
  --ok:#4FC3E8; --bad:#FF7A7A; --amber:#FFC53D;
}

html{ scroll-behavior:smooth; }
body{
  background:var(--bg); color:var(--text); font-family:'Hanken Grotesk',-apple-system,sans-serif;
  min-height:100vh; -webkit-font-smoothing:antialiased; overflow-x:hidden; line-height:1.5;
}
a{ color:inherit; text-decoration:none; }

.wrap{ max-width:1120px; margin:0 auto; padding:0 24px; }
h1,h2,h3,h4{ font-family:'Bricolage Grotesque',sans-serif; letter-spacing:-.02em; line-height:1.05; }
h1{ font-size:clamp(34px,5.4vw,60px); font-weight:700; }
h2{ font-size:clamp(26px,3.4vw,38px); font-weight:700; }
h3{ font-size:18px; font-weight:600; }
.mono{ font-family:'JetBrains Mono',monospace; }
.muted{ color:var(--muted); }
.small{ font-size:13px; }
.hl{ color:var(--accent); }
.ok{ color:var(--ok); }

/* NAV */
.nav{ position:sticky; top:0; z-index:50; background:rgba(10,13,14,.72); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--border); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height:68px; }
.brand{ display:flex; align-items:center; gap:10px; color:var(--text); }
.brand-mark{ width:34px; height:34px; border-radius:9px; background:var(--accent); color:#0A0D0E; display:grid; place-items:center; box-shadow:0 0 22px rgba(79,168,255,.35); }
.brand-name{ font-family:'Bricolage Grotesque'; font-weight:700; font-size:19px; letter-spacing:-.01em; }
.dot{ color:var(--accent); }
.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-link{ color:var(--muted); font-size:14px; font-weight:500; padding:8px 14px; border-radius:8px; transition:.18s; }
.nav-link:hover{ color:var(--text); background:var(--surface2); }
.nav-link.active{ color:var(--text); }
.nav-cta{ margin-left:10px; }
.menu-toggle{ display:none; background:none; border:none; color:var(--text); cursor:pointer; padding:6px; }

/* BUTTONS */
.btn{ display:inline-flex; align-items:center; gap:8px; font-family:inherit; font-weight:600; font-size:14px; padding:11px 18px; border-radius:11px; cursor:pointer; border:1px solid transparent; transition:.2s; }
.btn-primary{ background:var(--accent); color:#0A0D0E; box-shadow:0 6px 24px rgba(79,168,255,.22); }
.btn-primary:hover{ transform:translateY(-1px); box-shadow:0 10px 30px rgba(79,168,255,.34); }
.btn-ghost{ background:var(--surface2); color:var(--text); border-color:var(--border); }
.btn-ghost:hover{ background:rgba(255,255,255,.09); }
.btn.big{ padding:14px 24px; font-size:15px; }
.btn.full{ width:100%; justify-content:center; }

/* HERO */
.hero{ position:relative; padding:70px 0 40px; overflow:hidden; }
.hero-glow{ position:absolute; top:-180px; left:50%; transform:translateX(-50%); width:780px; height:520px; background:radial-gradient(ellipse at center, rgba(79,168,255,.16), transparent 62%); pointer-events:none; }
.grid-bg{ position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:46px 46px; -webkit-mask-image:radial-gradient(ellipse at 50% 0%,#000 30%,transparent 78%); mask-image:radial-gradient(ellipse at 50% 0%,#000 30%,transparent 78%); pointer-events:none; }
.hero-inner{ position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.pill{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; padding:6px 13px; border-radius:999px; background:var(--surface2); border:1px solid var(--border); color:var(--text); }
.ping{ width:7px; height:7px; border-radius:50%; background:var(--accent); animation:ping 1.8s infinite; }
@keyframes ping{ 0%{box-shadow:0 0 0 0 rgba(79,168,255,.5);} 70%{box-shadow:0 0 0 7px rgba(79,168,255,0);} 100%{box-shadow:0 0 0 0 rgba(79,168,255,0);} }
.hero h1{ margin:18px 0 16px; }
.lead{ font-size:17px; color:var(--muted); max-width:520px; line-height:1.55; }
.quick{ display:flex; gap:10px; margin-top:26px; max-width:520px; }
.quick-field{ flex:1; display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:0 14px; color:var(--muted); }
.quick-field input{ flex:1; background:none; border:none; outline:none; color:var(--text); font-family:'JetBrains Mono'; font-size:14px; padding:14px 0; }
.quick-field input::placeholder{ color:var(--muted); font-family:'Hanken Grotesk'; }
.trust{ display:flex; gap:20px; margin-top:18px; flex-wrap:wrap; }
.trust span{ display:inline-flex; align-items:center; gap:7px; font-size:13px; color:var(--muted); }
.trust svg{ color:var(--accent); }

/* DEVICE MOCK */
.device{ display:flex; justify-content:center; }
.device-screen{ position:relative; width:300px; background:linear-gradient(180deg,#0f1617,#0b1011); border:1px solid var(--border); border-radius:22px; padding:22px 20px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.scan{ position:absolute; left:0; right:0; height:60px; top:0; background:linear-gradient(180deg,rgba(79,168,255,.18),transparent); animation:scan 3s ease-in-out infinite; }
@keyframes scan{ 0%,100%{transform:translateY(-40px);} 50%{transform:translateY(260px);} }
.dev-top{ font-size:12px; color:var(--muted); padding-bottom:14px; border-bottom:1px solid var(--border); margin-bottom:6px; position:relative; }
.dev-row{ display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px solid rgba(255,255,255,.05); font-size:13px; position:relative; }
.dev-verdict{ display:flex; align-items:center; gap:8px; margin-top:16px; padding:12px; border-radius:11px; background:rgba(79,195,232,.1); border:1px solid rgba(79,195,232,.25); color:var(--ok); font-weight:600; font-size:14px; position:relative; }

/* STATS */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; padding:40px 24px; border-top:1px solid var(--border); border-bottom:1px solid var(--border); margin-top:30px; }
.stat-n{ font-size:30px; font-weight:700; color:var(--accent); }
.stat .small{ margin-top:4px; }

/* SECTIONS */
.section{ padding:64px 24px 0; }
.section-head{ margin-bottom:30px; }
.section-head p{ margin-top:8px; }
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.card{ display:block; text-align:left; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:22px; transition:.22s; color:var(--text); }
.card:hover{ transform:translateY(-3px); border-color:rgba(79,168,255,.4); background:var(--surface2); }
.card-icon{ display:inline-grid; place-items:center; width:42px; height:42px; border-radius:11px; background:rgba(79,168,255,.12); color:var(--accent); margin-bottom:14px; }
.card h3{ margin-bottom:7px; }
.card-foot{ display:flex; justify-content:space-between; align-items:center; margin-top:16px; }
.price{ color:var(--accent); font-weight:700; }
.eta{ display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--muted); }

/* STEPS */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.step{ padding:24px; border:1px solid var(--border); border-radius:16px; position:relative; }
.step-n{ position:absolute; top:18px; right:20px; color:var(--muted); font-size:13px; }
.step-icon{ display:inline-grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--surface2); color:var(--accent); margin-bottom:14px; }
.step h3{ margin-bottom:7px; }

/* FAQ */
.faq{ max-width:760px; }
.faq-item{ border:1px solid var(--border); border-radius:12px; margin-bottom:10px; overflow:hidden; background:var(--surface); }
.faq-q{ width:100%; text-align:left; background:none; border:none; color:var(--text); font-family:'Bricolage Grotesque'; font-weight:600; font-size:15.5px; padding:17px 18px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.chev{ transition:.25s; color:var(--muted); flex-shrink:0; }
.faq-item.open .chev{ transform:rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-item.open .faq-a{ max-height:220px; }
.faq-a p{ padding:0 18px 17px; line-height:1.55; }

/* CTA */
.cta{ position:relative; text-align:center; margin:70px 0 30px; padding:56px 24px; border:1px solid var(--border); border-radius:24px; background:var(--bg2); overflow:hidden; }
.cta h2{ margin-bottom:10px; position:relative; }
.cta p{ margin-bottom:24px; position:relative; }
.cta .btn{ position:relative; }

/* FOOTER */
.footer{ border-top:1px solid var(--border); margin-top:40px; padding-top:46px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; padding-bottom:34px; }
.footer h4{ font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:14px; }
.foot-link{ display:block; font-size:14px; padding:5px 0; opacity:.82; }
.foot-link:hover{ color:var(--accent); }
.foot-bottom{ border-top:1px solid var(--border); padding:20px 24px 30px; }

/* REVEAL */
.reveal{ opacity:0; animation:fadeUp .7s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes fadeUp{ from{opacity:0; transform:translateY(18px);} to{opacity:1; transform:translateY(0);} }

@media (max-width:900px){
  .nav-links{ position:fixed; inset:68px 0 auto 0; flex-direction:column; background:var(--bg2); border-bottom:1px solid var(--border); padding:14px 24px; gap:4px; transform:translateY(-130%); transition:.3s; align-items:stretch; }
  .nav-links.open{ transform:translateY(0); }
  .nav-link{ padding:13px 14px; }
  .nav-cta{ margin:8px 0 0; justify-content:center; }
  .menu-toggle{ display:block; }
  .hero-inner, .foot-grid{ grid-template-columns:1fr; }
  .device{ order:-1; }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .cards, .steps{ grid-template-columns:1fr; }
}

/* PAGE TEMPLATE */
.page-main{ padding:40px 0 30px; min-height:55vh; }

/* GUARANTEE */
.guarantee{ display:flex; align-items:center; gap:18px; margin-top:30px; padding:22px 24px; border:1px solid rgba(79,168,255,.30); border-radius:18px; background:linear-gradient(90deg, rgba(79,168,255,.10), rgba(79,168,255,.02)); }
.guarantee-ic{ flex:0 0 auto; width:56px; height:56px; border-radius:15px; display:grid; place-items:center; background:rgba(79,168,255,.16); color:var(--accent); }
.guarantee-copy h3{ font-size:19px; margin-bottom:5px; }
.guarantee-copy p{ line-height:1.55; max-width:760px; }
@media (max-width:600px){ .guarantee{ flex-direction:column; align-items:flex-start; gap:13px; } }

/* MINIMAL FOOTER (logo only) */
.footer-min{ margin-top:56px; padding-top:0; }
.footer-min-inner{ display:flex; justify-content:center; align-items:center; padding:24px 24px 36px; }
.footer-min .brand-name{ font-size:18px; }
