@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --purple-950: #25113f;
  --purple-900: #33145b;
  --purple-800: #482078;
  --purple-700: #6430a0;
  --purple-600: #7c43c7;
  --purple-500: #9259df;
  --purple-200: #dfcdf8;
  --purple-100: #f0e8fb;
  --purple-50: #faf7fe;
  --ink: #21182b;
  --muted: #6f6678;
  --line: #e9e4ee;
  --white: #fff;
  --green: #31a76c;
  --shadow: 0 24px 70px rgba(45, 18, 75, .13);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hidden { display: none !important; }

.announcement { padding: 9px 20px; background: var(--purple-950); color: #fff; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.site-header { height: 82px; max-width: 1240px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 700; }
.brand b { color: var(--purple-600); font-size: 11px; letter-spacing: .12em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, var(--purple-600), var(--purple-900)); color: #fff; font-size: 20px; font-weight: 800; box-shadow: 0 8px 20px rgba(105, 52, 158, .28); }
.brand-mark.brand-logo { width:48px; height:48px; padding:3px; overflow:hidden; border:1px solid var(--purple-100); background:#fff; box-shadow:0 8px 20px rgba(105,52,158,.16); }
.brand-logo img { width:100%; height:100%; display:block; object-fit:contain; border-radius:8px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.desktop-nav a { color: #4e4557; transition: color .2s; }
.desktop-nav a:hover { color: var(--purple-600); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .cart-button { border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; }
.icon-button:hover { background: var(--purple-50); }
.cart-button { padding: 9px 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 14px; font-size: 13px; font-weight: 700; }
.cart-button svg { width: 20px; }
.cart-button b { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-600); color: #fff; font-size: 11px; }

.hero { min-height: 650px; padding: 72px max(24px, calc((100vw - 1192px) / 2)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; overflow: hidden; background: radial-gradient(circle at 80% 25%, #eaddfa 0, rgba(234, 221, 250, 0) 28%), linear-gradient(120deg, #fbf9fd, #f4eefb); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--purple-700); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-500); box-shadow: 0 0 0 5px rgba(146, 89, 223, .13); }
.hero h1 { margin: 19px 0 22px; font: 800 clamp(44px, 5vw, 72px)/1.03 "Manrope", sans-serif; letter-spacing: -.055em; }
.hero h1 span { color: var(--purple-600); }
.hero-copy > p { max-width: 555px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; padding: 0 21px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; border: 0; border-radius: 14px; cursor: pointer; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--purple-600), var(--purple-800)); color: #fff; box-shadow: 0 12px 25px rgba(105, 52, 158, .25); }
.button.primary:hover { box-shadow: 0 16px 32px rgba(105, 52, 158, .34); }
.button.ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.hero-proof { margin-top: 38px; display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars span { width: 33px; height: 33px; margin-left: -7px; display: grid; place-items: center; border: 3px solid #f9f6fc; border-radius: 50%; background: #d5c0ed; color: var(--purple-900); font-size: 9px; font-weight: 800; }
.avatars span:first-child { margin-left: 0; background: #e8cdbf; }
.avatars span:last-child { background: #bbd7d4; }
.stars { color: #f3a72f; font-size: 11px; letter-spacing: 2px; }
.hero-proof small { color: var(--muted); }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 390px; height: 390px; background: linear-gradient(145deg, #d8c0f5, #f4ecfc); }
.orb-two { width: 280px; height: 280px; right: -80px; top: 10px; background: rgba(139, 78, 203, .13); }
.device-card { position: relative; z-index: 2; width: 390px; height: 430px; padding: 35px; border: 1px solid rgba(255,255,255,.8); border-radius: 42px; background: rgba(255,255,255,.55); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.hero-product-card { display:block; color:inherit; transition:transform .25s,box-shadow .25s; }
.hero-product-card:hover { transform:translateY(-5px); box-shadow:0 32px 80px rgba(45,18,75,.18); }
.device-label, .product-badge { padding: 6px 10px; position: absolute; border-radius: 99px; background: var(--purple-700); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.device { width: 210px; height: 210px; margin: 43px auto 0; position: relative; display: grid; place-items: center; border-radius: 42px; background: linear-gradient(145deg, #412260, #1f102d); box-shadow: 0 35px 50px rgba(34, 13, 55, .35), inset 0 0 0 1px rgba(255,255,255,.12); transform: rotate(-5deg); }
.device::after { content: ""; width: 150px; height: 14px; position: absolute; bottom: -32px; border-radius: 50%; background: rgba(34, 13, 55, .18); filter: blur(10px); }
.device-logo { color: rgba(255,255,255,.9); font: 800 55px "Manrope"; }
.hero-product-image { width:100%; height:100%; padding:10px; display:block; object-fit:contain; border-radius:36px; }
.device-light { width: 8px; height: 8px; position: absolute; bottom: 20px; border-radius: 50%; background: #bf86ff; box-shadow: 0 0 13px #bf86ff; }
.floating-chip { min-width: 148px; padding: 12px 15px; position: absolute; display: grid; grid-template-columns: 30px 1fr; column-gap: 9px; align-items: center; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: 0 15px 35px rgba(48, 20, 75, .12); font-size: 11px; }
.floating-chip span { grid-row: 1 / 3; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--purple-100); color: var(--purple-700); }
.floating-chip small { color: var(--muted); }
.chip-top { right: -45px; top: 85px; }
.chip-bottom { left: -55px; top: 245px; }
.device-caption { margin-top: 54px; display: flex; justify-content: space-between; font-size: 13px; }
.device-caption b { color: var(--purple-700); }

.trust-strip { max-width: 1192px; margin: -1px auto 0; padding: 30px 20px; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.trust-strip > div { padding: 8px 30px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border: 0; }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--purple-100); color: var(--purple-700); font-size: 20px; }
.trust-strip p { margin: 0; display: grid; gap: 3px; font-size: 13px; }
.trust-strip small { color: var(--muted); }

.products-section { max-width: 1240px; margin: auto; padding: 100px 24px; }
.section-heading { margin-bottom: 38px; display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; }
.section-heading h2, .newsletter h2, .feature-banner h2 { margin: 10px 0 0; font: 800 38px/1.16 "Manrope"; letter-spacing: -.04em; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filters button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; }
.filters button.active { border-color: var(--purple-700); background: var(--purple-700); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .25s, box-shadow .25s; }
.product-card-link { height: 100%; display: block; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(43, 22, 64, .1); }
.product-media { height: 225px; position: relative; display: grid; place-items: center; overflow: hidden; }
.accent-violet { background: linear-gradient(145deg, #eee2fc, #d8bff5); }
.accent-indigo { background: linear-gradient(145deg, #e2e5ff, #bec4f6); }
.accent-plum { background: linear-gradient(145deg, #f3e3ef, #debcd6); }
.accent-blue { background: linear-gradient(145deg, #e0f1fa, #bcdceb); }
.product-badge { top: 16px; left: 16px; }
.product-icon { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 34px; background: linear-gradient(145deg, #4b256e, #241235); color: #fff; box-shadow: 0 25px 35px rgba(43, 20, 63, .28); transform: rotate(-4deg); }
.product-icon svg { width: 58px; stroke-width: 1.3; }
.product-card-image { width: 100%; height: 100%; padding: 14px; display: block; object-fit: contain; }
.quick-add { width: 38px; height: 38px; position: absolute; right: 15px; bottom: 15px; border: 0; border-radius: 12px; background: #fff; color: var(--purple-700); box-shadow: 0 8px 18px rgba(43, 20, 63, .14); cursor: pointer; font-size: 23px; }
.product-info { padding: 21px; }
.product-category { color: var(--purple-600); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-info h3 { margin: 8px 0; font: 700 17px "Manrope"; }
.product-info p { min-height: 54px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.product-price { margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.product-price small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.product-price strong { font-size: 18px; }
.product-price del { color: #aaa2af; font-size: 12px; }

.feature-banner { max-width: 1192px; min-height: 420px; margin: 0 auto 100px; padding: 55px 65px; position: relative; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(135deg, #2d114d, #67309a); color: #fff; }
.feature-banner::after { content: ""; width: 380px; height: 380px; position: absolute; left: -100px; bottom: -190px; border-radius: 50%; background: rgba(255,255,255,.06); }
.feature-art { display: grid; place-items: center; }
.mini-device { width: 210px; height: 250px; position: relative; display: grid; place-items: center; border-radius: 45px; background: linear-gradient(145deg, #8d57bd, #33114f); box-shadow: 0 40px 60px rgba(20, 6, 33, .35); transform: rotate(-7deg); }
.mini-device span { font: 800 65px "Manrope"; opacity: .85; }
.feature-copy { position: relative; z-index: 2; }
.eyebrow.light { color: #d8baf7; }
.feature-banner h2 { font-size: 43px; }
.feature-banner p { max-width: 590px; color: #ded0e9; line-height: 1.7; }
.feature-list { display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap; color: #fff; font-size: 12px; font-weight: 700; }

.newsletter { max-width: 1100px; margin: 0 auto 100px; padding: 50px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; border-radius: var(--radius-xl); background: var(--purple-50); }
.newsletter p { color: var(--muted); line-height: 1.6; }
.newsletter form { padding: 8px; display: flex; border: 1px solid var(--purple-200); border-radius: 17px; background: #fff; }
.newsletter input { min-width: 0; flex: 1; padding: 0 15px; border: 0; outline: none; }
footer { padding: 60px 24px 30px; display: grid; place-items: center; gap: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.footer-brand { color: var(--ink); }
.footer-links { display: flex; gap: 24px; font-size: 13px; }
footer small { font-size: 11px; }

.overlay { position: fixed; z-index: 20; inset: 0; visibility: hidden; background: rgba(24, 10, 37, .45); opacity: 0; transition: .25s; }
.overlay.open { visibility: visible; opacity: 1; }
.cart-drawer { width: min(440px, 100%); padding: 28px; position: fixed; z-index: 21; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgba(35, 15, 51, .18); transform: translateX(105%); transition: transform .3s; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; }
.drawer-header h2 { margin: 5px 0 0; font: 800 30px "Manrope"; }
.close-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; color: var(--muted); font-size: 24px; }
.cart-items { padding: 25px 0; flex: 1; overflow: auto; }
.cart-item { padding: 14px 0; display: grid; grid-template-columns: 65px 1fr auto; gap: 13px; align-items: start; border-bottom: 1px solid var(--line); font-size: 13px; }
.cart-item-icon { width: 65px; height: 65px; display: grid; place-items: center; border-radius: 17px; color: var(--purple-800); }
.cart-item-icon svg { width: 32px; }
.cart-item-copy { display: grid; gap: 5px; }
.cart-item-copy > span { color: var(--muted); }
.quantity { width: fit-content; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; }
.quantity button { width: 26px; height: 25px; border: 0; background: transparent; cursor: pointer; }
.quantity span { width: 22px; text-align: center; font-size: 11px; }
.cart-footer { padding-top: 20px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; }
.cart-total strong { font-size: 22px; }
.cart-footer > small { display: block; margin: 8px 0 18px; color: var(--muted); }
.checkout-button { width: 100%; }
.checkout-button:disabled { opacity: .5; cursor: not-allowed; }
.stripe-note { margin-top: 13px; color: var(--muted); text-align: center; font-size: 11px; }
.stripe-note b { color: #635bff; font-size: 14px; }
.empty-cart { padding: 80px 20px; text-align: center; color: var(--muted); }
.empty-cart span { font-size: 45px; color: var(--purple-500); }
.empty-cart h3 { color: var(--ink); }

.search-modal { position: fixed; z-index: 30; inset: 0; visibility: hidden; padding: 80px 20px; background: rgba(24, 10, 37, .65); opacity: 0; transition: .2s; backdrop-filter: blur(6px); }
.search-modal.open { visibility: visible; opacity: 1; }
.search-box { max-width: 680px; margin: auto; padding: 32px; position: relative; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow); }
.search-box > .close-button { position: absolute; right: 20px; top: 20px; }
.search-box > input { width: 100%; margin: 15px 0; padding: 18px; border: 1px solid var(--line); border-radius: 15px; outline: none; font-size: 18px; }
.search-box > input:focus { border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--purple-100); }
.search-result { width: 100%; padding: 12px 0; display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 13px; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; }
.search-result .cart-item-icon { width: 55px; height: 55px; }
.search-result > span:nth-child(2) { display: grid; gap: 3px; }
.search-result small, .no-results { color: var(--muted); }
.toast { padding: 13px 20px; position: fixed; z-index: 50; left: 50%; bottom: 25px; border-radius: 12px; background: var(--purple-950); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); transition: .25s; pointer-events: none; font-size: 13px; font-weight: 700; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.free-order-modal { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 50% 20%, rgba(216,191,245,.46), transparent 34%), rgba(24, 10, 37, .62); backdrop-filter: blur(10px); }
.free-order-card { width: min(720px, 100%); max-height: calc(100vh - 44px); overflow: auto; padding: 34px; position: relative; display: grid; gap: 22px; border: 1px solid rgba(216,191,245,.9); border-radius: 34px; background: rgba(255,255,255,.97); box-shadow: 0 35px 80px rgba(43,20,63,.28); }
.free-order-head { display: grid; justify-items: center; gap: 8px; padding: 8px 38px 2px; text-align: center; }
.free-order-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 20px; background: #e1f7eb; color: var(--green); font-size: 30px; }
.free-order-head h2 { margin: 0; font: 800 34px/1.05 "Manrope"; letter-spacing: -.04em; }
.free-order-head p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.6; }
.free-order-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.free-order-field { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 800; }
.free-order-field span { display: block; }
.free-order-wide { grid-column: 1 / -1; }
.free-order-card input,
.free-order-card textarea { width: 100%; box-sizing: border-box; padding: 15px 16px; border: 1px solid #e7ddef; border-radius: 16px; outline: none; background: #fff; color: var(--ink); font: 600 14px "Inter"; }
.free-order-card input:focus,
.free-order-card textarea:focus { border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--purple-100); }
.free-order-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.free-order-actions small { color: var(--muted); font-weight: 700; }
.free-order-actions .button { min-height: 52px; padding: 0 24px; }
.free-order-close { width: 42px; height: 42px; position: absolute; top: 18px; right: 18px; border: 1px solid #eadff2; border-radius: 14px; background: #fff; color: var(--muted); cursor: pointer; font-size: 18px; font-weight: 800; }

.centered-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; background: radial-gradient(circle at 50% 20%, #e6d4fa, transparent 38%), var(--purple-50); }
.success-card { max-width: 570px; padding: 60px; border: 1px solid var(--purple-200); border-radius: 35px; background: rgba(255,255,255,.85); box-shadow: var(--shadow); text-align: center; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 24px; background: #e1f7eb; color: var(--green); font-size: 35px; }
.success-card h1 { margin: 12px 0; font: 800 38px "Manrope"; }
.success-card p { color: var(--muted); line-height: 1.7; }
.order-reference { margin: 25px 0; padding: 14px; border-radius: 12px; background: var(--purple-50); color: var(--purple-700); font-weight: 800; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { padding-top: 55px; grid-template-columns: 1fr; text-align: center; }
  .hero-copy > p { margin: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { min-height: 480px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip > div:nth-child(2) { border-right: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-banner { margin-inline: 24px; grid-template-columns: 1fr; text-align: center; }
  .feature-list { justify-content: center; }
  .newsletter { margin-inline: 24px; grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 600px) {
  .site-header { height: 70px; padding-inline: 15px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark.brand-logo { width:42px; height:42px; }
  .cart-button span { display: none; }
  .hero { min-height: auto; padding: 50px 20px 30px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-visual { min-height: 390px; transform: scale(.8); margin: -35px -70px; }
  .trust-strip { grid-template-columns: 1fr; padding-inline: 20px; }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .products-section { padding: 70px 15px; }
  .product-grid { grid-template-columns: 1fr; }
  .feature-banner { margin-inline: 15px; padding: 45px 25px; }
  .feature-art { display: none; }
  .feature-banner h2 { font-size: 34px; }
  .newsletter { margin-inline: 15px; padding: 35px 20px; }
  .newsletter form { flex-direction: column; gap: 8px; background: transparent; border: 0; }
  .newsletter input { min-height: 50px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .cart-drawer { padding: 20px; }
  .free-order-modal { padding: 14px; }
  .free-order-card { padding: 26px 20px; border-radius: 26px; }
  .free-order-head { padding-inline: 34px; }
  .free-order-head h2 { font-size: 28px; }
  .free-order-fields { grid-template-columns: 1fr; }
  .free-order-actions { display: grid; }
  .free-order-actions .button { width: 100%; }
  .success-card { padding: 40px 25px; }
}
