
/* ════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Inter',sans-serif;
  background:#f5f5f5;
  color:#1a1a1a;
  min-height:100vh;
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
button{cursor:pointer;font-family:inherit;border:none;background:none}
a{color:#003893;text-decoration:none}
a:hover{text-decoration:underline}

/* ════════════════════════════════════════════
   VARIABLES
════════════════════════════════════════════ */
:root{
  --navy:#003893;
  --navy-dark:#002870;
  --red:#dc2626;
  --red-dark:#b91c1c;
  --white:#ffffff;
  --light:#f8faff;
  --border:#e2e8f0;
  --text:#1e293b;
  --text2:#475569;
  --text3:#94a3b8;
  --green:#16a34a;
  --green-light:#dcfce7;
  --radius:8px;
  --radius-lg:12px;
  --shadow:0 1px 3px rgba(0,0,0,0.1),0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:0 4px 6px rgba(0,0,0,0.07),0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:0 10px 15px rgba(0,0,0,0.1),0 4px 6px rgba(0,0,0,0.05);
}

/* ════════════════════════════════════════════
   TOP RED BAR
════════════════════════════════════════════ */
.top-bar{
  background:var(--red);
  color:white;
  padding:6px 16px;
  font-size:12px;
  font-weight:500;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:4px;
}
.top-bar-left{display:flex;align-items:center;gap:8px}
.top-bar-left img,.top-bar-logo{width:20px;height:20px;flex-shrink:0}
.top-bar-lang{display:flex;gap:12px;font-size:12px}
.top-bar-lang a{color:white;opacity:0.9}
.top-bar-lang a:hover{opacity:1;text-decoration:underline}
.top-bar-divider{color:rgba(255,255,255,0.5)}

/* ════════════════════════════════════════════
   MAIN HEADER
════════════════════════════════════════════ */
.site-header{
  background:var(--navy);
  color:white;
  padding:14px 16px;
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 2px 8px rgba(0,56,147,0.4);
}
.site-header-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.header-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:white}
.header-logo-icon{
  width:42px;height:42px;
  background:transparent;
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  overflow:visible;
}
.header-logo-icon svg{width:28px;height:28px}
.header-logo-text{}
.header-logo-name{font-size:15px;font-weight:700;line-height:1.2}
.header-logo-sub{font-size:11px;opacity:0.8;font-weight:400}
.header-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.header-nav a{
  color:rgba(255,255,255,0.88);
  font-size:13.5px;
  font-weight:500;
  padding:6px 12px;
  border-radius:6px;
  transition:background 0.2s,color 0.2s;
  white-space:nowrap;
}
.header-nav a:hover,.header-nav a.active{background:rgba(255,255,255,0.15);color:white;text-decoration:none}
.header-nav .nav-btn{
  background:white;
  color:var(--navy);
  font-weight:700;
  padding:7px 14px;
  border-radius:6px;
  font-size:13px;
  display:flex;align-items:center;gap:6px;
  transition:background 0.2s,box-shadow 0.2s;
  box-shadow:0 2px 6px rgba(0,0,0,0.15);
}
.header-nav .nav-btn:hover{background:#eef3ff;text-decoration:none;box-shadow:0 4px 12px rgba(0,0,0,0.2)}

/* Hamburger */
.hamburger{
  display:none;
  flex-direction:column;gap:5px;padding:8px;
  background:rgba(255,255,255,0.1);
  border-radius:6px;border:none;cursor:pointer;
}
.hamburger span{display:block;width:22px;height:2px;background:white;border-radius:2px;transition:0.3s}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-nav{
  display:none;
  background:var(--navy-dark);
  padding:12px 16px;
  border-top:1px solid rgba(255,255,255,0.1);
}
.mobile-nav a{
  display:block;color:rgba(255,255,255,0.9);padding:10px 0;
  font-size:14px;font-weight:500;border-bottom:1px solid rgba(255,255,255,0.07);
}
.mobile-nav a:last-child{border-bottom:none}
.mobile-nav a:hover{color:white;text-decoration:none}
.mobile-nav.open{display:block}

@media(max-width:768px){
  .header-nav{display:none}
  .hamburger{display:flex}
}

/* ════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════ */
.hero{
  background:linear-gradient(135deg, #003893 0%, #001f5c 60%, #0d0a2e 100%);
  color:white;
  padding:56px 16px 72px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}
/* Mountain silhouette background */
.hero::after{
  content:'';
  position:absolute;bottom:0;left:0;right:0;height:80px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f5f5f5' fill-opacity='1' d='M0,64L60,58.7C120,53,240,43,360,37.3C480,32,600,32,720,42.7C840,53,960,75,1080,74.7C1200,75,1320,53,1380,42.7L1440,32L1440,80L1380,80C1320,80,1200,80,1080,80C960,80,840,80,720,80C600,80,480,80,360,80C240,80,120,80,60,80L0,80Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center / cover;
}
.hero-inner{position:relative;z-index:1;max-width:720px;margin:0 auto}
.hero h1{
  font-size:clamp(26px,5vw,42px);
  font-weight:800;
  line-height:1.2;
  margin-bottom:12px;
  letter-spacing:-0.02em;
}
.hero p{
  font-size:clamp(14px,2vw,16px);
  opacity:0.85;
  margin-bottom:32px;
  max-width:500px;
  margin-left:auto;
  margin-right:auto;
}
/* Hero search box */
.hero-search{
  display:flex;
  max-width:560px;
  margin:0 auto 20px;
  background:white;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 8px 32px rgba(0,0,0,0.3);
}
.hero-input{
  flex:1;
  padding:16px 10px 16px 16px;
  border:none;outline:none;
  font-size:15px;
  font-family:'JetBrains Mono',monospace;
  font-weight:500;
  color:var(--text);
  background:transparent;
  letter-spacing:0.03em;
  min-width:0;
  width:0;
}
.hero-input::placeholder{color:#94a3b8;font-family:'Inter',sans-serif;font-size:13px;letter-spacing:0}
.hero-btn{
  background:var(--red);
  color:white;
  padding:16px 18px;
  font-size:14px;
  font-weight:700;
  border:none;cursor:pointer;
  display:flex;align-items:center;gap:6px;
  transition:background 0.2s;
  white-space:nowrap;
  flex-shrink:0;
}
.hero-btn:hover{background:var(--red-dark)}
.hero-btn svg{width:18px;height:18px;stroke:white;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.hero-secure{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12.5px;opacity:0.8;
}
.hero-secure svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.field-icon-hero{
  display:none;
  align-items:center;
  padding:0 8px;
  font-size:14px;
  flex-shrink:0;
}
.field-icon-hero.show{display:flex}

@media(max-width:480px){
  .hero-search{border-radius:8px}
  .hero-input{font-size:14px;padding:14px 6px 14px 14px;letter-spacing:0.02em}
  .hero-btn{padding:14px 14px;font-size:13px;gap:5px}
  .hero-btn svg{width:16px;height:16px}
  .field-icon-hero{padding:0 4px;font-size:13px}
  .hero-input::placeholder{font-size:12px}
}
@media(max-width:400px){
  .hero-input{font-size:13px;padding:14px 4px 14px 12px;letter-spacing:0.01em}
  .hero-btn{padding:14px 12px}
  #btnText{display:none}
  .field-icon-hero{display:none!important}
}

/* ════════════════════════════════════════════
   STATS ROW
════════════════════════════════════════════ */
.stats-section{
  background:white;
  box-shadow:0 2px 12px rgba(0,0,0,0.08);
  position:relative;
  z-index:2;
}
.stats-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  divide:none;
}
.stat-item{
  padding:22px 20px;
  display:flex;
  align-items:center;
  gap:14px;
  border-right:1px solid var(--border);
}
.stat-item:last-child{border-right:none}
.stat-icon{
  width:46px;height:46px;
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  font-size:22px;
}
.stat-icon-red{background:#fef2f2}
.stat-icon-blue{background:#eff6ff}
.stat-icon-green{background:#f0fdf4}
.stat-icon-orange{background:#fff7ed}
.stat-text{}
.stat-value{font-size:clamp(18px,3vw,24px);font-weight:800;color:var(--text);line-height:1.1;letter-spacing:-0.02em}
.stat-label{font-size:11.5px;color:var(--text2);font-weight:500;margin-top:2px}
.stat-sub{font-size:10px;color:var(--text3)}

.stat-skel{
  background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);
  background-size:200% 100%;
  animation:shimmer 1.5s infinite;
  border-radius:6px;
}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

@media(max-width:768px){
  .stats-inner{grid-template-columns:repeat(2,1fr)}
  .stat-item:nth-child(2){border-right:none}
  .stat-item:nth-child(3){border-top:1px solid var(--border)}
  .stat-item:nth-child(4){border-top:1px solid var(--border);border-right:none}
}
@media(max-width:480px){
  .stats-inner{grid-template-columns:1fr 1fr}
  .stat-item{padding:16px 14px;gap:10px}
  .stat-icon{width:38px;height:38px;font-size:18px}
}

/* ════════════════════════════════════════════
   SMS BANNER
════════════════════════════════════════════ */
.sms-banner{
  background:#f8faff;
  border:1px solid #dbeafe;
  border-radius:var(--radius-lg);
  padding:18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.sms-banner-left{display:flex;align-items:center;gap:14px}
.sms-icon-wrap{
  width:46px;height:46px;
  background:linear-gradient(135deg,#f59e0b,#d97706);
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
  flex-shrink:0;
}
.sms-banner-title{font-weight:700;font-size:14px;color:var(--text);margin-bottom:2px}
.sms-banner-desc{font-size:12.5px;color:var(--text2)}
.sms-banner-code{font-weight:700;color:var(--navy)}
.sms-guide-btn{
  background:var(--navy);
  color:white;
  padding:10px 18px;
  border-radius:var(--radius);
  font-size:13px;
  font-weight:600;
  display:inline-flex;align-items:center;gap:6px;
  white-space:nowrap;
  transition:background 0.2s;
  cursor:pointer;border:none;
}
.sms-guide-btn:hover{background:var(--navy-dark)}
.sms-guide-btn svg{width:14px;height:14px;stroke:white;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ════════════════════════════════════════════
   MAIN CONTENT LAYOUT
════════════════════════════════════════════ */
.main-content{
  max-width:1100px;
  margin:0 auto;
  padding:32px 16px 60px;
}

/* ════════════════════════════════════════════
   SECTION TITLE
════════════════════════════════════════════ */
.section-title{
  font-size:clamp(18px,3vw,22px);
  font-weight:800;
  color:var(--text);
  text-align:center;
  margin-bottom:8px;
  letter-spacing:-0.02em;
}
.section-underline{
  width:48px;height:3px;
  background:var(--navy);
  border-radius:2px;
  margin:0 auto 32px;
}
.section-desc{
  text-align:center;
  color:var(--text2);
  font-size:14px;
  margin-bottom:32px;
  max-width:500px;
  margin-left:auto;
  margin-right:auto;
}

/* ════════════════════════════════════════════
   RESULT AREA (below hero)
════════════════════════════════════════════ */
#result-area{
  max-width:720px;
  margin:0 auto 24px;
  padding:0 16px;
}
#result-area:empty{display:none}

/* ════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════ */
.how-section{margin-bottom:48px}
.how-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:800px;
  margin:0 auto;
}
.how-step{
  text-align:center;
  padding:28px 20px;
  background:white;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  transition:box-shadow 0.2s,transform 0.2s;
}
.how-step:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.how-step-num{
  width:48px;height:48px;
  background:var(--navy);
  color:white;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:800;
  margin:0 auto 14px;
  box-shadow:0 4px 12px rgba(0,56,147,0.3);
}
.how-step-icon{font-size:28px;margin-bottom:10px;display:block}
.how-step-name{font-weight:700;font-size:14px;color:var(--text);margin-bottom:6px}
.how-step-desc{font-size:12.5px;color:var(--text2);line-height:1.6}
@media(max-width:600px){
  .how-steps{grid-template-columns:1fr}
  .how-step{display:flex;align-items:flex-start;gap:16px;text-align:left;padding:20px}
  .how-step-num{flex-shrink:0;margin:0}
  .how-step-icon{display:none}
}

/* ════════════════════════════════════════════
   CATEGORIES
════════════════════════════════════════════ */
.cat-section{margin-bottom:48px}
.cat-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  margin-bottom:20px;
}
.cat-card{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:20px 14px;
  text-align:center;
  box-shadow:var(--shadow);
  transition:box-shadow 0.2s,transform 0.2s,border-color 0.2s;
}
.cat-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);border-color:#bfdbfe}
.cat-card-icon{font-size:28px;margin-bottom:10px;display:block}
.cat-card-code{
  display:inline-block;
  background:var(--navy);
  color:white;
  font-weight:700;font-size:13px;
  padding:2px 10px;border-radius:4px;margin-bottom:6px;
}
.cat-card-name{font-size:12px;color:var(--text2);font-weight:500}
.cat-all-btn{
  display:inline-flex;align-items:center;gap:6px;
  border:1.5px solid var(--navy);
  color:var(--navy);
  padding:9px 20px;
  border-radius:var(--radius);
  font-size:13.5px;font-weight:600;
  transition:background 0.2s,color 0.2s;
  cursor:pointer;background:none;
}
.cat-all-btn:hover{background:var(--navy);color:white}
.cat-all-btn svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:stroke 0.2s}
.cat-center{text-align:center}
@media(max-width:900px){.cat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.cat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:360px){.cat-grid{grid-template-columns:1fr 1fr}}

/* All categories modal */
.cat-all-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:10px;margin-top:12px;
}
.cat-row-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 14px;
  background:#f8faff;
  border:1px solid var(--border);
  border-radius:var(--radius);
}
.cat-row-code{
  font-family:'JetBrains Mono',monospace;
  font-size:12px;font-weight:700;
  background:var(--navy);color:white;
  padding:2px 8px;border-radius:4px;min-width:36px;text-align:center;
}
.cat-row-ico{font-size:16px}
.cat-row-desc{font-size:12.5px;color:var(--text2)}

/* ════════════════════════════════════════════
   LICENSE FINDER SECTION
════════════════════════════════════════════ */
.finder-section{margin-bottom:48px}
.finder-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.finder-card{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow);
}
.finder-img{
  width:100%;
  height:90px;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
  font-size:36px;
}
.finder-title{font-weight:700;font-size:14px;color:var(--text);margin-bottom:6px}
.finder-desc{font-size:12.5px;color:var(--text2);line-height:1.6}
@media(max-width:700px){.finder-grid{grid-template-columns:1fr}}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.faq-section{margin-bottom:48px}
.faq-list{max-width:800px;margin:0 auto}
.faq-item{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius);
  margin-bottom:10px;
  overflow:hidden;
  transition:border-color 0.2s,box-shadow 0.2s;
}
.faq-item:hover{border-color:#93c5fd}
.faq-q{
  padding:16px 20px;
  cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  font-size:14px;font-weight:600;color:var(--text);
  user-select:none;
  transition:background 0.15s;
}
.faq-q:hover{background:#f8faff}
.faq-arrow{
  width:22px;height:22px;
  border:1.5px solid var(--border);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  transition:transform 0.25s,border-color 0.2s,background 0.2s;
  font-size:11px;color:var(--text2);
}
.faq-item.open .faq-arrow{transform:rotate(180deg);border-color:var(--navy);background:var(--navy);color:white}
.faq-a{
  display:none;
  padding:4px 20px 16px;
  font-size:13.5px;color:var(--text2);
  line-height:1.75;
  border-top:1px solid var(--border);
}
.faq-item.open .faq-a{display:block}
.faq-a code{
  background:#f1f5f9;padding:1px 6px;border-radius:4px;
  font-family:'JetBrains Mono',monospace;font-size:12.5px;color:var(--navy);
}
.faq-a strong{color:var(--text);font-weight:600}
.faq-a a{color:var(--navy)}
.faq-viewall{text-align:center;margin-top:20px}
.viewall-btn{
  display:inline-flex;align-items:center;gap:6px;
  border:1.5px solid var(--navy);
  color:var(--navy);
  padding:9px 20px;border-radius:var(--radius);
  font-size:13.5px;font-weight:600;
  transition:background 0.2s,color 0.2s;
  cursor:pointer;background:none;
}
.viewall-btn:hover{background:var(--navy);color:white}

/* ════════════════════════════════════════════
   IMPORTANT LINKS
════════════════════════════════════════════ */
.links-section{margin-bottom:48px}
.links-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.link-card{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:18px 14px;
  text-align:center;
  box-shadow:var(--shadow);
  color:var(--text);
  transition:box-shadow 0.2s,transform 0.2s,border-color 0.2s;
  display:flex;flex-direction:column;align-items:center;gap:8px;
}
.link-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);border-color:#93c5fd;text-decoration:none;color:var(--navy)}
.link-card-icon{
  width:44px;height:44px;
  border-radius:10px;
  background:#eff6ff;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
}
.link-card-icon-red{background:#fef2f2}
.link-card-icon-green{background:#f0fdf4}
.link-card-icon-purple{background:#faf5ff}
.link-card-name{font-size:12px;font-weight:600;color:var(--text);line-height:1.3}
.link-card-ext{
  width:16px;height:16px;
  color:var(--text3);
}
@media(max-width:900px){.links-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.links-grid{grid-template-columns:repeat(2,1fr)}}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer{
  background:var(--navy-dark);
  color:rgba(255,255,255,0.8);
}
.footer-top{
  max-width:1100px;
  margin:0 auto;
  padding:40px 16px 32px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.5fr;
  gap:40px;
}
.footer-brand{}
.footer-brand-logo{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.footer-brand-icon{
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
}
.footer-brand-name{font-size:15px;font-weight:700;color:white}
.footer-brand-sub{font-size:11px;opacity:0.7}
.footer-brand-desc{font-size:12.5px;line-height:1.7;opacity:0.75;max-width:280px}
.footer-social{display:flex;gap:10px;margin-top:16px}
.footer-social a{
  width:34px;height:34px;
  background:rgba(255,255,255,0.1);
  border-radius:6px;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;transition:background 0.2s;
  color:white;
}
.footer-social a:hover{background:rgba(255,255,255,0.2);text-decoration:none}
.footer-col-title{font-size:13px;font-weight:700;color:white;margin-bottom:14px;text-transform:uppercase;letter-spacing:0.05em}
.footer-col a{
  display:block;
  font-size:13px;color:rgba(255,255,255,0.7);
  padding:5px 0;transition:color 0.2s;
}
.footer-col a:hover{color:white;text-decoration:none}
.footer-col a::before{content:'›';margin-right:6px;opacity:0.5}
.footer-contact-item{
  display:flex;align-items:flex-start;gap:8px;
  font-size:12.5px;color:rgba(255,255,255,0.75);
  margin-bottom:8px;line-height:1.5;
}
.footer-contact-icon{font-size:14px;flex-shrink:0;margin-top:1px}
.footer-sms-box{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:var(--radius);
  padding:14px;
  font-size:12.5px;color:rgba(255,255,255,0.8);
  line-height:1.7;
}
.footer-sms-box strong{color:white;font-family:'JetBrains Mono',monospace}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
}
.footer-bottom-inner{
  max-width:1100px;
  margin:0 auto;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  font-size:12px;
  color:rgba(255,255,255,0.5);
}
.footer-bottom a{color:rgba(255,255,255,0.6);transition:color 0.2s}
.footer-bottom a:hover{color:white;text-decoration:none}
.footer-bottom-links{display:flex;gap:16px;flex-wrap:wrap}
@media(max-width:900px){
  .footer-top{grid-template-columns:1fr 1fr;gap:28px}
}
@media(max-width:560px){
  .footer-top{grid-template-columns:1fr;gap:24px}
  .footer-bottom-inner{justify-content:center;text-align:center}
}

/* ════════════════════════════════════════════
   RESULT CARDS (loaded dynamically)
════════════════════════════════════════════ */
.loading-state{
  text-align:center;padding:44px 20px;
  background:white;border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
}
.loading-car{font-size:42px;margin-bottom:14px;display:block;animation:bounce 0.8s ease-in-out infinite}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.dots{display:flex;justify-content:center;gap:8px;margin-bottom:12px}
.dots span{width:9px;height:9px;background:var(--navy);border-radius:50%;animation:dotBounce 1.2s ease-in-out infinite}
.dots span:nth-child(2){animation-delay:0.2s;opacity:0.7}
.dots span:nth-child(3){animation-delay:0.4s;opacity:0.5}
@keyframes dotBounce{0%,80%,100%{transform:scale(0.5)}40%{transform:scale(1.3)}}
.loading-text{font-size:15px;font-weight:700;color:var(--text);margin-bottom:4px}
.loading-sub{font-size:12.5px;color:var(--text2)}
.loading-bar{width:160px;height:3px;margin:16px auto 0;background:#e2e8f0;border-radius:3px;overflow:hidden}
.loading-bar-inner{height:100%;width:0;background:linear-gradient(90deg,var(--navy),#60a5fa);border-radius:3px;animation:loadBar 0.9s ease forwards}
@keyframes loadBar{to{width:80%}}

.found-card{
  background:white;
  border:2px solid var(--green);
  border-radius:var(--radius-lg);
  padding:28px;
  box-shadow:0 0 0 4px rgba(22,163,74,0.08),var(--shadow-md);
  position:relative;overflow:hidden;
}
.found-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#16a34a,#22c55e,#4ade80,#22c55e,#16a34a);
  background-size:300% 100%;animation:greenBar 2s linear infinite;
}
@keyframes greenBar{0%{background-position:0%}100%{background-position:300%}}
.found-header{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}
.check-circle{
  width:54px;height:54px;flex-shrink:0;
  background:var(--green-light);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:2px solid var(--green);
  box-shadow:0 0 16px rgba(22,163,74,0.2);
  animation:popIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes popIn{from{transform:scale(0)}to{transform:scale(1)}}
.check-circle svg{width:24px;height:24px;stroke:var(--green);stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.check-circle svg path{stroke-dasharray:40;stroke-dashoffset:40;animation:drawCheck 0.7s 0.3s ease forwards}
@keyframes drawCheck{to{stroke-dashoffset:0}}
.found-title{font-size:19px;font-weight:800;color:var(--green)}
.found-sub{font-size:13px;color:var(--text2);margin-top:2px}
.name-reveal{
  background:linear-gradient(135deg,rgba(22,163,74,0.07),rgba(0,56,147,0.05));
  border:1px solid rgba(22,163,74,0.2);
  border-radius:var(--radius);
  padding:14px 18px;margin-bottom:18px;
  display:flex;align-items:center;gap:12px;
}
.name-reveal-emoji{font-size:26px}
.name-reveal-label{font-size:10px;font-weight:700;color:var(--text2);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:1px}
.name-reveal-name{font-size:18px;font-weight:800;color:var(--text)}
.result-grid{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;align-items:start;margin-bottom:20px}
.r-label{font-size:11px;font-weight:700;color:var(--text2);text-transform:uppercase;letter-spacing:0.06em;padding-top:2px;white-space:nowrap}
.r-val{font-size:14px;color:var(--text)}
.r-val.mono{font-family:'JetBrains Mono',monospace;font-size:13px;cursor:copy;color:var(--navy)}
.cat-badges{display:flex;flex-wrap:wrap;gap:6px}
.cat-badge{
  padding:3px 10px;border-radius:20px;font-size:12px;font-weight:700;
  border:1.5px solid;display:inline-flex;align-items:center;gap:4px;
  animation:badgePop 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes badgePop{from{transform:scale(0)}to{transform:scale(1)}}
.cat-A{background:rgba(37,99,235,0.1);color:#1d4ed8;border-color:rgba(37,99,235,0.3)}
.cat-B{background:rgba(22,163,74,0.1);color:#15803d;border-color:rgba(22,163,74,0.3)}
.cat-C{background:rgba(234,88,12,0.1);color:#c2410c;border-color:rgba(234,88,12,0.3)}
.cat-D{background:rgba(220,38,38,0.1);color:#b91c1c;border-color:rgba(220,38,38,0.3)}
.cat-E{background:rgba(109,40,217,0.1);color:#7c3aed;border-color:rgba(109,40,217,0.3)}
.cat-F{background:rgba(180,83,9,0.1);color:#b45309;border-color:rgba(180,83,9,0.3)}
.cat-G{background:rgba(8,145,178,0.1);color:#0e7490;border-color:rgba(8,145,178,0.3)}
.cat-other{background:rgba(190,24,93,0.1);color:#be185d;border-color:rgba(190,24,93,0.3)}
.records-section{margin-bottom:18px}
.records-title{font-size:11px;font-weight:700;color:var(--text2);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:10px}
.timeline-item{
  display:flex;gap:12px;padding:12px;
  background:#f8faff;border:1px solid var(--border);
  border-radius:var(--radius);margin-bottom:8px;
}
.tl-dot{width:8px;height:8px;border-radius:50%;background:var(--green);margin-top:4px;flex-shrink:0}
.tl-cats{margin-bottom:4px}
.tl-meta{font-size:12px;color:var(--text2)}
.found-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.action-btn{
  padding:9px 16px;border-radius:var(--radius);
  font-size:13px;font-weight:600;
  border:1.5px solid var(--border);
  background:white;color:var(--text);
  transition:all 0.2s;
}
.action-btn:hover{border-color:var(--navy);color:var(--navy);box-shadow:var(--shadow)}
.confetti-wrap{position:absolute;top:0;left:50%;transform:translateX(-50%);pointer-events:none;width:100%;height:300px;overflow:hidden}
.conf{position:absolute;width:8px;height:8px;border-radius:2px;opacity:0;animation:confFly 1.8s ease-out forwards}
@keyframes confFly{0%{opacity:1;transform:translate(0,0) rotate(0deg)}100%{opacity:0;transform:translate(var(--tx),var(--ty)) rotate(var(--rot,360deg))}}

.notfound-card{
  background:white;border:1.5px solid #fca5a5;
  border-radius:var(--radius-lg);padding:28px;
  box-shadow:var(--shadow-md);text-align:center;
  position:relative;overflow:hidden;
}
.notfound-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--red),#f97316,#fbbf24,#f97316,var(--red));
  background-size:300%;animation:redBar 2s linear infinite;
}
@keyframes redBar{0%{background-position:0%}100%{background-position:300%}}
.nf-anim{font-size:52px;margin-bottom:8px;display:block;animation:popIn 0.8s cubic-bezier(0.34,1.56,0.64,1) both}
.nf-anim.float{animation:popIn 0.8s cubic-bezier(0.34,1.56,0.64,1) both,floatLoop 3s ease-in-out 1s infinite}
@keyframes floatLoop{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.nf-title{font-size:19px;font-weight:800;color:var(--text);margin-bottom:8px}
.nf-funny{font-size:14px;color:var(--text2);margin-bottom:16px;font-style:italic;line-height:1.6;min-height:22px}
.nf-cursor{display:inline-block;width:2px;height:16px;background:var(--navy);animation:blink 0.8s step-end infinite;vertical-align:middle}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}
.nf-reasons{
  background:#f8faff;border:1px solid var(--border);
  border-radius:var(--radius);padding:16px;margin-bottom:14px;text-align:left;
}
.nf-reasons h4{font-size:11px;font-weight:700;color:var(--text2);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:8px}
.reason-item{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text2);margin-bottom:6px}
.reason-item:last-child{margin-bottom:0}
.ri{font-size:14px;flex-shrink:0}
.data-coverage{font-size:12px;color:var(--text3);margin-bottom:14px;font-style:italic}
.nf-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

/* Error card */
.error-card{
  background:white;border:1.5px solid var(--red);
  border-radius:var(--radius-lg);padding:24px;
  box-shadow:var(--shadow);text-align:center;
}
.error-card .action-btn:hover{border-color:var(--red);color:var(--red)}

/* ════════════════════════════════════════════
   TOAST
════════════════════════════════════════════ */
.toast{
  position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(100px);
  background:var(--text);color:white;
  border-radius:50px;padding:10px 22px;
  font-size:13.5px;font-weight:600;
  box-shadow:0 8px 24px rgba(0,0,0,0.2);
  z-index:1000;transition:transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  white-space:nowrap;
}
.toast.show{transform:translateX(-50%) translateY(0)}
.toast.success{background:var(--green)}
.toast.error{background:var(--red)}

/* ════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════ */
.reveal{opacity:0;transform:translateY(20px);transition:opacity 0.6s ease,transform 0.6s ease}
.reveal.in-view{opacity:1;transform:none}

/* ════════════════════════════════════════════
   SKIP LINK
════════════════════════════════════════════ */
.skip-link{
  position:absolute;top:-100px;left:16px;
  background:var(--navy);color:white;padding:10px 20px;
  border-radius:0 0 8px 8px;font-weight:700;z-index:9999;
  transition:top 0.2s;
}
.skip-link:focus{top:0}

/* ════════════════════════════════════════════
   INNER PAGE WRAPPER
════════════════════════════════════════════ */
.page-wrap{background:#f5f5f5}

/* Divider between sections */
.sec-gap{height:40px}

/* Spinner keyframe (was accidentally outside style tag — fixed) */
@keyframes spin{to{transform:rotate(360deg)}}

/* ════════════════════════════════════════════
   LANGUAGE TOGGLE
════════════════════════════════════════════ */
.lang-toggle-btn{
  background:rgba(255,255,255,0.18);
  border:1px solid rgba(255,255,255,0.4);
  color:white;
  padding:3px 10px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:background 0.2s;
  white-space:nowrap;
}
.lang-toggle-btn:hover{background:rgba(255,255,255,0.3)}
[lang="ne"] .en-text{display:none!important}
[lang="en"] .ne-text{display:none!important}