/* ============================================================
   SoftPulse Digital — style.css
   Premium dark theme · glassmorphism · blue/purple gradients
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --bg-3: #101830;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8ecf4;
  --text-muted: #9aa5bd;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --cyan: #22d3ee;
  --grad: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, rgba(59,130,246,.15), rgba(139,92,246,.15));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 10px 40px rgba(99, 102, 241, 0.35);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1200px;
}

[data-theme="light"] {
  --bg: #f6f8fd;
  --bg-2: #eef1f9;
  --bg-3: #e6eaf6;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-2: rgba(255, 255, 255, 0.95);
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --text-muted: #4b5670;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-2); }

/* ---------- Utilities ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; gap: 16px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.center { justify-content: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); background: var(--grad-soft);
  border: 1px solid var(--border); padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  padding: 14px 30px; border-radius: 999px; font-size: .95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(99,102,241,.5); }
.btn-ghost { border: 1.5px solid var(--border); background: var(--surface); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Glass card ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.glass:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, .45); box-shadow: var(--shadow); }
.card-pad { padding: 34px 30px; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; stroke: url(#gradStroke), var(--blue); stroke: var(--blue); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(7, 11, 20, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .site-header.scrolled { background: rgba(246, 248, 253, 0.85); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 1.05rem; box-shadow: var(--shadow-glow);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links a { display: block; padding: 10px 15px; font-size: .93rem; font-weight: 500; color: var(--text-muted); border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .25s ease; z-index: 50;
}
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 10px 14px; font-size: .88rem; display: flex; gap: 10px; align-items: center; }

/* Theme toggle */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); transition: transform .3s;
}
.theme-toggle:hover { transform: rotate(20deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .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); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding: 140px 0 100px;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45;
}
.blob-1 { width: 520px; height: 520px; background: #3b82f6; top: -140px; right: -100px; animation: float 9s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: #8b5cf6; bottom: -120px; left: -80px; animation: float 11s ease-in-out infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: #22d3ee; opacity: .2; top: 40%; left: 45%; animation: float 13s ease-in-out infinite; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; margin: 22px 0 20px; }
.hero .lead { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: .85rem; backdrop-filter: blur(10px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: pulse-dot 2s infinite; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 56px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-trust .item strong { font-family: var(--font-head); font-size: 1.6rem; display: block; }
.hero-trust .item span { color: var(--text-muted); font-size: .85rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 170px 0 90px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 640px; margin-inline: auto; font-size: 1.08rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: .85rem; color: var(--text-muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Stats ---------- */
.stats-band { padding: 60px 0; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; }
.stat .label { color: var(--text-muted); font-size: .9rem; margin-top: 6px; }

/* ---------- Services ---------- */
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: .93rem; }
.service-card .link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: .88rem; color: var(--blue); }
.service-card .link-more svg { transition: transform .25s; }
.service-card:hover .link-more svg { transform: translateX(5px); }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: 0; }
.service-detail.reverse .service-visual { order: 2; }
.service-detail h3 { font-size: 1.7rem; margin-bottom: 14px; }
.service-detail p { color: var(--text-muted); }
.feature-list { margin-top: 20px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.feature-list .check {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-soft);
  border: 1px solid var(--border); display: grid; place-items: center; margin-top: 2px;
}
.feature-list .check svg { width: 12px; height: 12px; stroke: var(--cyan); }
.service-visual {
  border-radius: var(--radius); min-height: 320px; background: var(--grad-soft);
  border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; position: relative;
}
.service-visual svg { width: 45%; height: auto; opacity: .9; }

/* ---------- Why choose ---------- */
.why-item { display: flex; gap: 18px; }
.why-item .n {
  flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}
.why-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--text-muted); font-size: .9rem; }

/* ---------- Process ---------- */
.process-step { text-align: center; position: relative; }
.process-step .bubble {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; position: relative; z-index: 1;
  backdrop-filter: blur(10px);
}
.process-step .bubble::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px dashed rgba(139, 92, 246, .4); animation: spin 14s linear infinite;
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: .88rem; }

/* ---------- Portfolio ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-btn {
  padding: 10px 22px; border-radius: 999px; font-size: .88rem; font-weight: 500;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); transition: all .25s;
}
.filter-btn:hover { color: var(--text); border-color: var(--blue); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }

.portfolio-card { overflow: hidden; }
.portfolio-thumb { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.portfolio-thumb .mockup { position: absolute; inset: 0; transition: transform .5s ease; }
.portfolio-card:hover .mockup { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,11,20,.92), transparent 60%);
  display: flex; align-items: flex-end; padding: 22px; opacity: 0; transition: opacity .35s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-body { padding: 22px 24px 26px; }
.portfolio-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.portfolio-body .cat { font-size: .78rem; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tech-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tech-tags span {
  font-size: .72rem; padding: 5px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted);
}
.portfolio-actions { display: flex; gap: 10px; margin-top: 18px; }

/* ---------- Pricing ---------- */
.pricing-card { position: relative; display: flex; flex-direction: column; }
.pricing-card.popular { border-color: rgba(139, 92, 246, .6); transform: scale(1.04); z-index: 1; box-shadow: var(--shadow-glow); }
.pricing-card.popular:hover { transform: scale(1.04) translateY(-6px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .75rem; font-weight: 600;
  padding: 6px 20px; border-radius: 999px; letter-spacing: .05em; box-shadow: var(--shadow-glow); white-space: nowrap;
}
.pricing-card .plan { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.pricing-card .price { font-family: var(--font-head); font-size: 3rem; font-weight: 800; margin: 10px 0 4px; }
.pricing-card .price small { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-card .desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 26px; }
.pricing-features { display: grid; gap: 13px; margin-bottom: 30px; flex: 1; }
.pricing-features li { display: flex; gap: 12px; font-size: .92rem; align-items: center; }
.pricing-features svg { flex: none; width: 18px; height: 18px; stroke: var(--cyan); }

/* ---------- Testimonials ---------- */
.testimonial-slider { position: relative; max-width: 820px; margin-inline: auto; }
.testimonial-track { overflow: hidden; border-radius: var(--radius); }
.testimonial-slides { display: flex; transition: transform .5s ease; }
.testimonial { flex: 0 0 100%; padding: 44px 48px; text-align: center; }
.testimonial .stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 18px; font-size: 1.05rem; }
.testimonial blockquote { font-size: 1.12rem; line-height: 1.7; font-style: italic; color: var(--text); }
.testimonial .who { margin-top: 24px; }
.testimonial .who .avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--grad); margin: 0 auto 10px;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-head);
}
.testimonial .who strong { display: block; }
.testimonial .who span { font-size: .84rem; color: var(--text-muted); }
.slider-nav { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: .3s; }
.slider-dot.active { background: var(--grad); width: 28px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left; font-weight: 600; font-size: .98rem; font-family: var(--font-head);
}
.faq-q .chev { flex: none; transition: transform .3s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: .93rem; }

/* ---------- Blog ---------- */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.blog-thumb .mockup { position: absolute; inset: 0; transition: transform .5s; }
.blog-card:hover .blog-thumb .mockup { transform: scale(1.06); }
.blog-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-meta .cat-pill { color: var(--blue); font-weight: 600; }
.blog-body h3 { font-size: 1.08rem; line-height: 1.45; margin-bottom: 10px; }
.blog-body h3 a:hover { color: var(--blue); }
.blog-body p { color: var(--text-muted); font-size: .9rem; flex: 1; }
.blog-sidebar .glass { padding: 26px; margin-bottom: 24px; }
.blog-sidebar h4 { font-size: 1rem; margin-bottom: 16px; }
.cat-list li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { display: flex; justify-content: space-between; color: var(--text-muted); }
.cat-list a:hover { color: var(--blue); }
.search-box { display: flex; gap: 8px; }
.search-box input { flex: 1; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 8px; color: var(--text-muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59, 130, 246, .15);
}
.field .error-msg { color: #f87171; font-size: .78rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #f87171; }
.field.invalid .error-msg { display: block; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
.form-status.ok { display: block; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #34d399; }

/* ---------- Contact ---------- */
.contact-info-card { padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.contact-info-card .icon-badge { margin: 0; width: 48px; height: 48px; flex: none; }
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { color: var(--text-muted); font-size: .9rem; }
.contact-info-card a:hover { color: var(--blue); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 26px; padding: 70px 40px; text-align: center; position: relative; overflow: hidden;
  background: var(--grad); color: #fff;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 14px; }
.cta-band p { opacity: .9; max-width: 560px; margin: 0 auto 30px; }
.cta-band .btn { background: #fff; color: #1e293b; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta-band::before { width: 300px; height: 300px; top: -150px; right: -80px; }
.cta-band::after { width: 220px; height: 220px; bottom: -110px; left: -60px; }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 34px 26px; }
.team-card .avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--grad); display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
}
.team-card h4 { font-size: 1.05rem; }
.team-card .role { color: var(--blue); font-size: .84rem; font-weight: 500; margin-top: 4px; }
.team-card p { color: var(--text-muted); font-size: .86rem; margin-top: 12px; }

/* ---------- Values ---------- */
.value-card { padding: 30px 28px; }
.value-card h4 { margin-bottom: 8px; font-size: 1.02rem; }
.value-card p { color: var(--text-muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.footer-grid h4 { font-size: .95rem; margin-bottom: 20px; }
.footer-grid p { color: var(--text-muted); font-size: .9rem; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--text-muted); font-size: .9rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--blue); padding-left: 5px; }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); transition: all .25s;
}
.social-row a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0; display: flex;
  justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .84rem; color: var(--text-muted);
}
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a:hover { color: var(--blue); }

/* ---------- Floating widgets ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .3s; animation: pulse-ring 2.6s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

.back-to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .35s; box-shadow: var(--shadow-glow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 140%);
  width: min(680px, calc(100% - 40px)); z-index: 950; padding: 20px 24px;
  display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .5s ease;
}
.cookie-banner.show { transform: translate(-50%, 0); }
.cookie-banner p { font-size: .86rem; color: var(--text-muted); flex: 1; min-width: 240px; }

/* ---------- Newsletter ---------- */
.newsletter-inline { display: flex; gap: 10px; margin-top: 16px; }
.newsletter-inline input {
  flex: 1; padding: 12px 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); outline: none; min-width: 0;
}
.newsletter-inline input:focus { border-color: var(--blue); }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 800px; margin-inline: auto; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.legal-content h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: .95rem; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; }

/* ---------- Mockup art (SVG placeholders) ---------- */
.mockup { background: linear-gradient(145deg, var(--bg-3), var(--bg-2)); display: grid; place-items: center; }
.mockup svg { width: 70%; height: auto; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; top: -60px; left: 20px; z-index: 2000; padding: 12px 20px;
  background: var(--grad); color: #fff; border-radius: 0 0 12px 12px; transition: top .3s;
}
.skip-link:focus { top: 0; }

::selection { background: rgba(139, 92, 246, .4); }

/* ---------- Trust badges ---------- */
.trust-badges {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}
.t-badge {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.t-badge:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .5); box-shadow: var(--shadow-glow); }
.t-badge .t-ic {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border);
}
.t-badge .t-ic svg { width: 19px; height: 19px; stroke: var(--cyan); }
.t-badge strong { font-size: .92rem; font-weight: 600; display: block; }
.t-badge small { color: var(--text-muted); font-size: .76rem; }

/* ---------- Trust banner ---------- */
.trust-banner {
  background: var(--grad); color: #fff; padding: 54px 0; text-align: center;
  position: relative; overflow: hidden;
}
.trust-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 30%, rgba(255,255,255,.14), transparent 40%),
                    radial-gradient(circle at 85% 70%, rgba(255,255,255,.12), transparent 40%);
}
.trust-banner h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); position: relative; }
.trust-banner p { opacity: .92; margin: 12px auto 26px; max-width: 560px; position: relative; font-size: 1.05rem; }
.trust-banner .btn { background: #fff; color: #1e293b; position: relative; box-shadow: 0 12px 40px rgba(0,0,0,.28); font-size: 1rem; padding: 16px 38px; }

/* ---------- Payment policy ---------- */
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 920px; margin-inline: auto; }
.policy-card { padding: 36px 32px; position: relative; }
.policy-card .p-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.policy-card .p-tag.green { background: rgba(52, 211, 153, .14); color: #34d399; border: 1px solid rgba(52, 211, 153, .35); }
.policy-card .p-tag.blue { background: var(--grad-soft); color: var(--blue); border: 1px solid var(--border); }
.policy-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.policy-card p { color: var(--text-muted); font-size: .94rem; }

/* ---------- Guarantee ---------- */
.guarantee-card {
  max-width: 820px; margin-inline: auto; text-align: center; padding: 52px 44px; position: relative; overflow: hidden;
}
.guarantee-card::before {
  content: ''; position: absolute; inset: -60px -60px auto auto; width: 220px; height: 220px;
  border-radius: 50%; background: var(--grad-soft); filter: blur(30px);
}
.guarantee-card .g-shield {
  width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-glow); position: relative;
}
.guarantee-card .g-shield svg { width: 36px; height: 36px; stroke: #fff; }
.guarantee-card h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 14px; position: relative; }
.guarantee-card p { color: var(--text-muted); max-width: 580px; margin-inline: auto; position: relative; }

/* ---------- Pricing pay-badge ---------- */
.pay-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(52, 211, 153, .12); color: #34d399; border: 1px solid rgba(52, 211, 153, .35);
}
.pay-badge svg { width: 13px; height: 13px; stroke: #34d399; }
.pricing-card.highlight { border-color: rgba(59, 130, 246, .5); }

@media (max-width: 720px) {
  .policy-grid { grid-template-columns: 1fr; }
  .guarantee-card { padding: 38px 24px; }
}

/* POS login button (added) */
.pos-login-btn{white-space:nowrap}
@media (max-width:640px){.pos-login-btn span{display:none}}
