/* StepShield Pro shared stylesheet — mirrors the live root (SmartBudgetPro) design language:
   Plus Jakarta Sans, #4F46E5 primary, glass cards, soft radial-gradient background, fixed glass navbar.
   Keeps every page looking like one unified site. */

:root {
  --primary: #4F46E5;
  --primary-light: #818CF8;
  --secondary: #EC4899;
  --accent: #06B6D4;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --bg: #f8fafc;
  --text-main: #0f172a;
  --text-light: #334155;
  --muted: #64748b;
  --card: #ffffff;
  --card-border: rgba(255, 255, 255, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --hairline: #e2e8f0;
  --hairline-dark: #1f2937;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --radius: 24px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.10) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.12) 0px, transparent 50%);
  background-attachment: scroll;
}

/* ---- Top nav (shared) ---- */
.site-nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
}
.nav-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-logo .dot {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 800;
  -webkit-text-fill-color: white;
}
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 8px 4px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.cta-mini {
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  padding: 8px 16px;
}
.nav-links a.cta-mini:hover { background: #4338ca; color: #fff; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

/* ---- Article / hero typography ---- */
.tag {
  display: inline-block;
  color: #3730a3;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: .78rem;
  padding: 5px 14px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text-main);
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede, .lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 660px;
  margin: 0 0 8px;
}
h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 48px 0 18px;
  letter-spacing: -0.01em;
  color: var(--text-main);
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-main);
}
p { color: var(--text-light); margin: 14px 0; }
ul, ol { padding-left: 22px; color: var(--text-light); }
li { margin: 10px 0; }
strong { color: var(--text-main); }
a.inline { color: var(--primary); text-decoration: none; font-weight: 600; }
a.inline:hover { text-decoration: underline; }
a { color: var(--primary); }
code {
  background: #f1f5f9;
  color: #3b1d6e;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---- Buttons ---- */
.cta, .btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform .3s, background .3s;
}
.cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.cta:hover, .btn-google-play:hover { transform: translateY(-4px); }
.btn-google-play:hover { background: #1a1a1a; }
.cta:hover { background: linear-gradient(135deg, #4338ca, #db2777); }
.gp-text { display: flex; flex-direction: column; line-height: 1.1; align-items: flex-start; }
.gp-text span:first-child { font-size: .7rem; text-transform: uppercase; opacity: .8; }
.gp-text span:last-child { font-size: 1.05rem; font-weight: 700; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}
.btn-secondary:hover { background: var(--primary); color: #fff; }

/* ---- Cards / grids ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.card, .feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: .3s;
}
.card:hover, .feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.card .icon, .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-sm);
  margin: 0 0 18px;
}
.card p { margin: 0; }

/* ---- "How" panel & pull quotes ---- */
.panel {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.how ol { padding-left: 24px; }
.how li { margin: 14px 0; }
.pull {
  border-left: 4px solid var(--primary);
  background: rgba(79, 70, 229, 0.06);
  padding: 16px 18px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}
.note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--amber);
  padding: 14px 18px;
  border-radius: 12px;
  margin: 24px 0;
  color: var(--text-light);
}
.verdict {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--green);
  padding: 12px 16px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
  color: var(--text-light);
}

/* ---- Pills ---- */
.pill {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  margin-left: 8px;
}
.pill.green { background: rgba(16, 185, 129, 0.12); color: #047857; }
.pill.amber { background: rgba(245, 158, 11, 0.14); color: #b45309; }

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .94rem;
}
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
thead th { color: #fff; background: var(--primary); font-weight: 700; }
tbody th { color: var(--primary); background: #f8fafc; }
td .ok { color: var(--green); font-weight: 700; }
td .no { color: var(--red); font-weight: 700; }
td .warn { color: var(--amber); font-weight: 700; }

/* ---- Numbered steps ---- */
.steplist { counter-reset: step; padding-left: 0; list-style: none; margin: 24px 0; }
.steplist li {
  position: relative;
  padding: 10px 0 10px 52px;
  border-bottom: 1px solid var(--hairline);
}
.steplist li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 10px;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

/* ---- FAQ ---- */
.faq-item {
  background: #fff;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.2rem; font-weight: 700; }
.faq-item p { margin: 0; }
.faq-section { padding: 80px 0; }
footer:not(.site-footer) {
  background: #fff;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}
footer:not(.site-footer) p { color: var(--text-light); max-width: 560px; margin: 8px auto; }
footer:not(.site-footer) .footer-links a { padding: 12px 16px; display: inline-block; }

/* ---- Highlight banner ---- */
.highlight-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  margin: 60px 0;
  box-shadow: var(--shadow-lg);
}
.highlight-banner h2 { color: #fff; margin-top: 0; }
.highlight-banner p { color: #94a3b8; max-width: 600px; margin: 0 auto 24px; }

/* ---- Footer ---- */
.site-footer {
  background: #fff;
  padding: 64px 0 40px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  margin-top: 60px;
}
.site-footer .container { max-width: 820px; }
.site-footer p { color: var(--text-light); max-width: 560px; margin: 6px auto; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.footer-links a {
  color: var(--text-light);
  font-weight: 500;
  text-decoration: none;
  padding: 10px 14px;
}
.footer-links a:hover { color: var(--primary); }
.copyright { color: var(--muted); font-size: .85rem; margin-top: 24px; }

/* ===== Etalon-style landing sections (mirrors live root design) ===== */

/* Language switch dropdown */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.lang-switch .lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 600;
  color: var(--primary);
  user-select: none;
}
.lang-switch .lang-current:hover { background: rgba(79, 70, 229, 0.15); }
.lang-switch .lang-arrow { font-size: 0.7rem; transition: transform 0.3s; }
.lang-switch.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.lang-switch.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 10px;
  transition: 0.2s;
  font-weight: 500;
}
.lang-dropdown a:hover { background: rgba(79, 70, 229, 0.08); color: var(--primary); }
.lang-dropdown a.active { background: var(--primary); color: #fff; }
.lang-flag { font-size: 1.2rem; line-height: 1; }
.lang-name { flex: 1; }

/* Support link inline */
.nav-support {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px;
  display: inline-block;
}
.nav-support:hover { color: var(--primary); }

/* Hero (landing grid) */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(79, 70, 229, 0.1);
  color: #3730a3;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(79, 70, 229, 0.2);
}
.hero h1.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.hero p.hero-lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.6;
}
.cta-group { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.btn-secondary.big {
  background: #fff;
  color: var(--primary);
  padding: 14px 32px;
  border: 2px solid var(--primary);
  font-size: 1rem;
  border-radius: 100px;
}
.btn-secondary.big:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.hero-stats {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero-stats span { display: flex; align-items: center; gap: 6px; }

/* Floating glass icon card */
.phone-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
.glass-icon-card {
  width: 380px;
  height: 380px;
  background-image:
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.25) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.25) 0px, transparent 50%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 60px;
  padding: 20px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.4s ease;
  will-change: transform;
}
.glass-icon-card:hover { transform: translateY(-15px) scale(1.05); }
.hero-icon {
  width: 280px;
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.15));
}

/* Section title (centered) */
.section-title { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 16px;
}
.features-section { padding: 100px 0; }
.grid.landing { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.feature-card.landing { padding: 40px; }
.feature-card.landing h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.feature-card.landing p { color: var(--text-light); font-size: 1rem; }

/* Screenshots */
.screenshots-section { padding: 80px 0; background: #fff; }
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.screenshot-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: 0.3s;
}
.screenshot-card:hover { transform: translateY(-8px) scale(1.02); }
.screenshot-card img { width: 100%; height: auto; display: block; }

/* Comparison table (etalon-row) */
.comparison-section { padding: 80px 0; background: #fff; }
.comparison-table {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
  overflow-x: auto;
}
.comparison-table h3 { font-size: 1.4rem; margin-bottom: 20px; color: var(--primary); }
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row strong { font-weight: 700; }
.comparison-table .ok { color: var(--green); }
.comparison-table .no { color: var(--red); }
.comparison-table .warn { color: var(--amber); }

/* lock icon in highlight banner */
.lock-icon {
  font-size: 8rem;
  position: absolute;
  top: -20px;
  right: -20px;
  opacity: 0.1;
  transform: rotate(15deg);
  font-style: normal;
}

/* More features / seo tag clouds */
.more-features {
  background: #fff;
  padding: 60px;
  border-radius: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 80px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.tag-cloud .tag, .tag-cloud-static .tag {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  border: none;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 16px;
  margin-bottom: 0;
}

/* Big gradient CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 80px 60px;
  border-radius: 40px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; font-size: 2.5rem; margin: 0 0 20px; font-weight: 800; }
.cta-banner p { color: #fff; opacity: 0.9; max-width: 600px; margin: 0 auto 40px; font-size: 1.2rem; }
.cta-banner .btn-google-play.light { background: #fff; color: #000; }
.cta-banner .btn-google-play.light:hover { background: #f1f5f9; }

/* SEO tags band */
.seo-tags { text-align: center; padding: 60px 0; background: #fff; border-top: 1px solid var(--hairline); }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: none;
  animation: slideUp 0.3s ease;
}
@media (max-width: 768px) { .sticky-cta { display: block; } }

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    gap: 60px;
  }
  .hero h1.hero-title { font-size: 2.5rem; }
  .hero p.hero-lead { margin: 0 auto 30px; }
  .cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .glass-icon-card { width: 300px; height: 300px; }
  .hero-icon { width: 220px; height: 220px; }
  .comparison-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 768px) {
  .nav-links a:not(.cta-mini):not(.nav-support):not(.lang-switch *) { display: none; }
  .more-features { padding: 40px 20px; }
  .wrap { padding-top: 100px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}
