:root {
  --c-bg: #f4f7fe;
  --c-surface: #ffffff;
  --c-surface-2: #eef2fa;
  --c-surface-3: #e2e8f5;
  --c-border: rgba(37,99,235,0.08);
  --c-text: #1e293b;
  --c-muted: #64748b;
  --c-primary: #2563eb;
  --c-secondary: #3b82f6;
  --c-accent: #0ea5e9;
  --c-success: #10b981;
  --c-warning: #f59e0b;
  --c-danger: #ef4444;
  --grad-main: linear-gradient(135deg,#2563eb,#3b82f6);
  --grad-warm: linear-gradient(135deg,#3b82f6,#0ea5e9);
  --grad-green: linear-gradient(135deg,#10b981,#059669);
  --font: 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(37,99,235,0.05);
  --shadow-glow: 0 10px 30px rgba(37,99,235,0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--c-bg); color: var(--c-text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--c-surface); }

/* ── Navbar ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); border-bottom: 1px solid var(--c-border); transition: all .3s; }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.nav-logo-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--grad-main); display: flex; align-items: center; justify-content: center; }
.nav-links { display: flex; gap: 8px; }
.nav-link { padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--c-muted); transition: all .2s; }
.nav-link:hover, .nav-link.active { color: var(--c-text); background: var(--c-surface-2); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: .3s; display: block; }
.nav-mobile { display: none; flex-direction: column; padding: 16px 24px; gap: 4px; border-top: 1px solid var(--c-border); background: var(--c-surface); }
.nav-mobile.open { display: flex; }
.nav-mobile-link { padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--c-muted); }
.nav-mobile-link:hover { color: var(--c-text); background: var(--c-surface-2); }

/* ── Announcement ── */
.announce-bar { background: var(--grad-main); color: #fff; text-align: center; padding: 10px 20px; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 64px; }
.announce-bar button { background: none; border: none; color: #fff; cursor: pointer; font-size: 16px; opacity: .7; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); font-family: var(--font); font-weight: 600; font-size: 14px; cursor: pointer; border: none; transition: all .2s; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--grad-main); color: #fff; box-shadow: 0 4px 20px rgba(91,79,255,0.4); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(91,79,255,0.5); }
.btn-outline { background: transparent; color: var(--c-text); border: 1px solid var(--c-border); }
.btn-outline:hover { background: var(--c-surface-2); border-color: var(--c-primary); }
.btn-white { background: #fff; color: #1a1a25; }
.btn-white:hover { background: #f0f0ff; transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.btn-danger { background: var(--c-danger); color: #fff; }
.btn-success { background: var(--grad-green); color: #fff; }

/* ── Hero ── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 100px 0 60px; }
.hero-bg-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; animation: blobFloat 8s ease-in-out infinite; }
.b1 { width: 600px; height: 600px; background: var(--c-primary); top: -200px; right: -100px; animation-delay: 0s; }
.b2 { width: 400px; height: 400px; background: var(--c-secondary); bottom: -100px; left: -100px; animation-delay: 2s; }
.b3 { width: 300px; height: 300px; background: var(--c-accent); top: 50%; left: 50%; animation-delay: 4s; }
@keyframes blobFloat { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(20px,-20px) scale(1.05)} 66%{transform:translate(-10px,15px) scale(0.95)} }
.hero-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(91,79,255,0.15); border: 1px solid rgba(91,79,255,0.3); border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--c-primary); margin-bottom: 24px; }
.badge-dot { width: 6px; height: 6px; background: var(--c-primary); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.hero-title { font-size: clamp(36px, 6vw, 72px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.text-gradient { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(16px,2vw,20px); color: var(--c-muted); max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 100px; padding: 8px 16px; font-size: 13px; font-weight: 600; }
.tb-icon { font-size: 16px; }

/* ── Stats ── */
.stats-section { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { text-align: center; }
.stat-num { font-size: 36px; font-weight: 900; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 13px; color: var(--c-muted); margin-top: 4px; font-weight: 600; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-pill { display: inline-block; background: rgba(91,79,255,0.15); color: var(--c-primary); border: 1px solid rgba(91,79,255,0.3); border-radius: 100px; padding: 4px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.section-title { font-size: clamp(28px,4vw,42px); font-weight: 800; margin-bottom: 12px; }
.section-desc { color: var(--c-muted); max-width: 560px; margin: 0 auto; }

/* ── Product Cards ── */
.products-showcase { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 20px; }
.product-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s; cursor: pointer; }
.product-card:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: var(--shadow-glow); }
.product-img { width: 100%; height: 140px; background: radial-gradient(circle at center, #ffffff 0%, #f4f7fe 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--c-border); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-brand-wrapper { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(37,99,235,0.08); transition: transform 0.3s ease; }
.product-brand-wrapper svg { width: 34px; height: 34px; display: block; }
.product-card:hover .product-brand-wrapper { transform: scale(1.08); }
.product-badge-label { position: absolute; top: 10px; right: 10px; background: var(--c-warning); color: #000; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.product-body { padding: 16px; }
.product-cat { font-size: 11px; font-weight: 700; color: var(--c-primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.product-name { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.product-desc { font-size: 12px; color: var(--c-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-weight: 800; font-size: 18px; color: var(--c-primary); }
.product-orig { font-size: 11px; color: var(--c-muted); text-decoration: line-through; }
.product-stock { font-size: 11px; color: var(--c-muted); }
.product-stock.out { color: var(--c-danger); }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step-card { background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; position: relative; transition: all .25s; }
.step-card:hover { border-color: rgba(91,79,255,0.4); transform: translateY(-4px); }
.step-num { position: absolute; top: 16px; right: 20px; font-size: 48px; font-weight: 900; color: rgba(91,79,255,0.1); line-height: 1; }
.step-icon { width: 60px; height: 60px; border-radius: var(--radius); background: var(--grad-main); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--c-muted); font-size: 14px; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card { background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px; transition: all .25s; }
.feature-card:hover { border-color: rgba(91,79,255,0.4); transform: translateY(-2px); }
.feature-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--c-muted); line-height: 1.7; }

/* ── Reviews ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.review-card { background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-main); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.review-info h4 { font-weight: 700; font-size: 14px; }
.review-info span { font-size: 12px; color: var(--c-muted); }
.review-stars { color: var(--c-warning); font-size: 14px; letter-spacing: 1px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--c-muted); line-height: 1.7; }
.review-product { font-size: 11px; color: var(--c-primary); font-weight: 600; margin-top: 8px; }

/* ── CTA ── */
.cta-section { padding: 80px 0; }
.cta-card { position: relative; background: var(--grad-main); border-radius: 24px; padding: 64px 48px; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%,rgba(255,255,255,0.15),transparent 60%); }
.cta-content { position: relative; }
.cta-card h2 { font-size: clamp(28px,4vw,44px); font-weight: 900; margin-bottom: 12px; }
.cta-card p { font-size: 18px; opacity: .85; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.footer-brand p { color: var(--c-muted); font-size: 14px; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 10px; background: var(--c-surface-2); border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.social-btn:hover { background: var(--grad-main); border-color: transparent; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--c-muted); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--c-text); }
.footer-bottom { border-top: 1px solid var(--c-border); padding-top: 24px; text-align: center; font-size: 13px; color: var(--c-muted); }

/* ── Modals ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-panel { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; position: relative; animation: modalIn .2s ease; }
@keyframes modalIn { from{opacity:0;transform:scale(0.95)} to{opacity:1;transform:scale(1)} }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--c-surface-2); border: none; color: var(--c-text); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.modal-panel h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--c-muted); margin-bottom: 6px; }
input[type=text],input[type=number],input[type=email],input[type=password],input[type=date],input[type=search],select,textarea {
  width: 100%; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text); padding: 10px 14px; border-radius: var(--radius); font-family: var(--font); font-size: 14px; outline: none; transition: border-color .2s;
}
input:focus,select:focus,textarea:focus { border-color: var(--c-primary); }
select option { background: var(--c-surface-2); }
textarea { resize: vertical; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.badge-primary { background: rgba(91,79,255,0.2); color: var(--c-primary); }
.badge-success { background: rgba(16,185,129,0.2); color: var(--c-success); }
.badge-warning { background: rgba(245,158,11,0.2); color: var(--c-warning); }
.badge-danger { background: rgba(239,68,68,0.2); color: var(--c-danger); }
.badge-muted { background: var(--c-surface-3); color: var(--c-muted); }

/* ── Toast ── */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 14px 18px; min-width: 280px; max-width: 360px; font-size: 14px; font-weight: 600; animation: toastIn .25s ease; box-shadow: var(--shadow); }
@keyframes toastIn { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }
.toast-success { border-left: 3px solid var(--c-success); }
.toast-error { border-left: 3px solid var(--c-danger); }
.toast-info { border-left: 3px solid var(--c-primary); }
.toast-warning { border-left: 3px solid var(--c-warning); }
.toast-icon { font-size: 18px; }

/* ── Loading ── */
.spinner { width: 36px; height: 36px; border: 3px solid var(--c-border); border-top-color: var(--c-primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }
.loading-row { display: flex; justify-content: center; padding: 40px; }
.skeleton { background: linear-gradient(90deg,var(--c-surface-2) 25%,var(--c-surface-3) 50%,var(--c-surface-2) 75%); background-size: 200% 100%; animation: skeleton 1.5s ease infinite; border-radius: var(--radius); }
@keyframes skeleton { 0%{background-position:200%} 100%{background-position:-200%} }

/* ── Empty ── */
.empty-state { text-align: center; padding: 60px 24px; color: var(--c-muted); }
.empty-state svg { margin-bottom: 16px; opacity: .3; }
.empty-state p { font-size: 15px; }

/* ── Tabs ── */
.tabs { display: flex; gap: 4px; background: var(--c-surface-2); border-radius: var(--radius); padding: 4px; }
.tab-btn { flex: 1; padding: 8px 16px; border: none; border-radius: 8px; background: none; color: var(--c-muted); font-family: var(--font); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.tab-btn.active { background: var(--c-surface); color: var(--c-text); }

/* ── Accordion ── */
.accordion { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--c-border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: none; border: none; color: var(--c-text); font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.accordion-content { padding: 0 20px 16px; color: var(--c-muted); font-size: 14px; display: none; }
.accordion-content.open { display: block; }

/* ── Tooltip ── */
.tooltip-wrap { position: relative; display: inline-flex; }
.tooltip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--c-surface-3); color: var(--c-text); font-size: 12px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 100; }
.tooltip-wrap:hover .tooltip { opacity: 1; }

/* ── Alerts ── */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: var(--c-success); }
.alert-danger { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--c-danger); }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); color: var(--c-warning); }
.alert-info { background: rgba(91,79,255,0.1); border: 1px solid rgba(91,79,255,0.3); color: var(--c-primary); }

/* ── Responsive ── */
@media(max-width:1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 100px 0 48px; }
  .announce-bar { margin-top: 64px; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .products-showcase { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .product-img { height: 120px; }
  .product-body { padding: 12px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 15px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 24px; }
  .modal-panel { padding: 24px 20px; max-height: 95vh; margin: 0; border-radius: 20px 20px 0 0; align-self: flex-end; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  #toast-container { bottom: 16px; right: 12px; left: 12px; }
  .toast { min-width: unset; width: 100%; max-width: 100%; }
}
@media(max-width:480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 36px 20px; }
  .cta-card p { font-size: 15px; }
  .hero-title { font-size: clamp(28px, 8vw, 48px); }
  .hero-subtitle { font-size: 14px; }
  .products-showcase { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .section-title { font-size: clamp(22px, 6vw, 32px); }
  .section { padding: 40px 0; }
  .container { padding: 0 14px; }
  .nav-container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { gap: 10px; }
  .trust-badge { font-size: 12px; padding: 6px 12px; }
  .modal-panel { padding: 20px 16px; }
  .modal-panel h3 { font-size: 17px; margin-bottom: 16px; }
  .tab-btn { font-size: 12px; padding: 7px 8px; }
  .btn-lg { padding: 12px 22px; font-size: 15px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }
  .stat-num { font-size: 28px; }
  .product-card { border-radius: 14px; }
}
