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

:root {
  --navy:   #1a3a6b;
  --blue:   #1a5fd4;
  --orange: #f5a020;
  --green:  #2e7d32;
  --light:  #f7f9fc;
  --white:  #ffffff;
  --text:   #1e2a3a;
  --muted:  #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26,60,107,.08);
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* ACCESSIBILITY */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--navy); color: white; padding: 8px; z-index: 1000; transition: top 0.2s; }
.skip-link:focus { top: 0; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section-header p  { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin: 0 auto; }
.accent { color: var(--orange); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: all .2s; cursor: pointer; border: 2px solid transparent; }
.btn-primary  { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1448b0; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,95,212,.3); }
.btn-outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-nav      { padding: 9px 20px; font-size: .88rem; }
.btn-lg       { padding: 15px 32px; font-size: 1rem; border-radius: 10px; }
.btn-xl       { padding: 18px 40px; font-size: 1.08rem; border-radius: 12px; width: 100%; justify-content: center; }
.btn-full     { width: 100%; justify-content: center; margin-top: 8px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo  { width: 40px; height: 40px; object-fit: contain; }
.nav-name  { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .93rem; transition: color .15s; }
.nav-links a:hover { color: var(--blue); }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--navy); }
.mobile-menu { display: none; flex-direction: column; gap: 0; background: var(--white); border-top: 1px solid var(--border); padding: 12px 24px 16px; }
.mobile-menu a { padding: 10px 0; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border: none; margin-top: 8px; }
.mobile-menu.open { display: flex; }

/* HERO */
.hero { background: linear-gradient(135deg, #eef3ff 0%, #f7f9fc 60%, #fff8f0 100%); padding: 80px 0 0; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; top:-120px; right:-100px; width:500px; height:500px; background:radial-gradient(circle, rgba(26,95,212,.07) 0%, transparent 70%); pointer-events:none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge { display: inline-block; background: #e8f0fe; color: var(--blue); font-size: .8rem; font-weight: 700; padding: 5px 14px; border-radius: 20px; letter-spacing: .04em; margin-bottom: 18px; text-transform: uppercase; }
.hero-text h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--navy); line-height: 1.15; margin-bottom: 20px; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.hero-meta span { display: flex; align-items: center; gap: 4px; }

/* HERO CARD */
.hero-card { background: var(--white); border-radius: 16px; box-shadow: 0 8px 40px rgba(26,60,107,.14); overflow: hidden; border: 1px solid var(--border); }
.hero-card-header { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f1f5f9; border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.card-title { font-size: .78rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.hero-card-body { padding: 18px 20px; font-family: 'Courier New', monospace; font-size: .78rem; line-height: 1.8; background: #fafcff; }
.log-line      { padding: 1px 0; }
.log-line.ok   { color: #166534; }
.log-line.warn { color: #92400e; }
.hero-wave { line-height: 0; margin-top: 60px; }
.hero-wave svg { width: 100%; display: block; }

/* TRUST BAR */
.trust-bar { background: var(--light); padding: 28px 0; border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; align-items: center; padding: 0 40px; }
.trust-item strong { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.trust-item span   { font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.trust-sep { width: 1px; height: 44px; background: var(--border); }

/* FEATURES */
.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p  { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* HOW IT WORKS */
.how { background: var(--light); }
.steps { display: flex; align-items: flex-start; gap: 0; justify-content: center; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; max-width: 280px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(26,95,212,.3); }
.step-content h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-content p  { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.step-content code { background: #e8f0fe; color: var(--blue); padding: 2px 6px; border-radius: 4px; font-size: .83rem; }
.step-arrow { font-size: 1.8rem; color: var(--orange); padding: 0 8px; margin-top: 14px; flex-shrink: 0; }

/* PRICING */
.pricing { background: var(--white); }
.pricing-cards { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.pricing-card { background: var(--white); border: 2px solid var(--border); border-radius: 20px; padding: 36px 32px; width: 340px; position: relative; transition: box-shadow .2s; }
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--blue); box-shadow: 0 8px 32px rgba(26,95,212,.13); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.pricing-label  { font-size: .85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.pricing-price  { font-size: 2.8rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.pricing-period { font-size: .83rem; color: var(--muted); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 7px; }
.pricing-features li { font-size: .85rem; color: var(--text); }
.pricing-features li.locked { color: var(--muted); }

/* DOWNLOAD */
.download { background: linear-gradient(135deg, #eef3ff 0%, #f7f9fc 100%); }
.download-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.download-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.download-text p  { color: var(--muted); font-size: .97rem; margin-bottom: 24px; line-height: 1.7; max-width: 480px; }
.download-req { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.download-req li { font-size: .88rem; color: var(--muted); }
.download-req strong { color: var(--text); }
.download-box { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow); text-align: center; min-width: 280px; }
.download-logo    { width: 90px; height: 90px; object-fit: contain; margin-bottom: 12px; }
.download-version { font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 20px; letter-spacing: .04em; text-transform: uppercase; }
.download-btn { font-size: 1rem; }
.download-note   { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.download-secure { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .75rem; color: var(--muted); margin-top: 10px; }

/* FOOTER */
.footer { background: var(--navy); color: #c8d6f0; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo  { width: 44px; height: 44px; object-fit: contain; background: white; border-radius: 8px; padding: 3px; }
.footer-name  { font-size: 1rem; font-weight: 700; color: #fff; }
.footer-tagline { font-size: .78rem; color: #8aa3cc; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #8aa3cc; text-decoration: none; font-size: .88rem; font-weight: 500; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .8rem; color: #8aa3cc; }

/* ALL-TOOLS grid responsive */
@media (max-width: 700px) {
  #tools > .container > div[style*="grid"] { grid-template-columns: 1fr !important; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .download-inner { grid-template-columns: 1fr; }
  .download-box { width: 100%; }
  .steps { gap: 24px; }
  .step-arrow { display: none; }
  .trust-sep { display: none; }
  .trust-inner { gap: 24px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { flex-direction: column; align-items: center; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-actions { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
