:root{
  --bg:#07111f;
  --bg-soft:#0f1728;
  --panel:#ffffff;
  --panel-soft:#f4f7fb;
  --text:#0f172a;
  --muted:#64748b;
  --primary:#2563eb;
  --primary-strong:#1d4ed8;
  --success:#16a34a;
  --danger:#dc2626;
  --border:#dbe3ef;
  --shadow:0 24px 70px rgba(15,23,42,.12);
  --shadow-soft:0 16px 42px rgba(15,23,42,.08);
  --radius:24px;
  --radius-sm:16px;
  --container:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#f8fbff 0%,#f3f6fb 100%);
  line-height:1.5;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
hr{border:0;border-top:1px solid #e7edf7;margin:4px 0}
.container{width:min(var(--container),calc(100% - 40px));margin:0 auto}
.narrow{width:min(580px,calc(100% - 40px))}
.top-gap{margin-top:28px}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  text-transform:uppercase;letter-spacing:.14em;font-size:.76rem;font-weight:800;
  color:var(--primary)
}
.section{padding:72px 0}
.section-soft{padding:72px 0;background:#eef4fb}
.section-heading{max-width:820px;text-align:center;margin:0 auto 34px}
.section-heading.left{text-align:left;margin-inline:0}
.section-heading h1,.section-heading h2,.hero-copy h1,.auth-card h1{
  margin:12px 0 16px;font-size:clamp(2rem,4vw,3.5rem);line-height:1.05
}
.section-heading h2{font-size:clamp(1.7rem,3vw,2.6rem)}
.section-heading p,.hero-copy p,.lead,.micro-copy{color:var(--muted)}
.micro-copy{font-size:.92rem}
.hero{
  position:relative;overflow:hidden;background:
  radial-gradient(circle at top right, rgba(37,99,235,.22), transparent 35%),
  linear-gradient(135deg,#07111f 0%,#0b1326 55%,#102143 100%);
  color:#fff;padding:84px 0 72px
}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.hero-copy p{color:#c8d6eb;font-size:1.06rem}
.hero-actions,.stack-buttons,.header-actions,.actions,.auth-helper{display:flex;gap:12px;flex-wrap:wrap}
.hero-bullets{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px}
.hero-bullets li{display:flex;align-items:center;gap:10px;color:#dce7f7}
.hero-bullets svg,.brand svg,.btn svg,.cart-pill svg,.service-icon svg,.social-link svg,.sidebar-avatar svg{width:20px;height:20px;flex:0 0 20px}
.hero-showcase,.hero-card,.hero-slide{
  background:rgba(255,255,255,.08);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.16);border-radius:30px
}
.hero-showcase{padding:18px}
.hero-slide{display:none;padding:16px;gap:18px}
.hero-slide.is-active{display:grid;grid-template-columns:1fr .95fr;align-items:center}
.hero-slide img{border-radius:22px}
.hero-slide-copy span{display:block;color:#93c5fd;font-weight:700;margin-bottom:8px}
.hero-slide-copy h2{margin:0 0 10px;font-size:1.8rem}
.slider-dots{display:flex;gap:8px;justify-content:center;margin-top:14px}
.slider-dots button{width:10px;height:10px;border-radius:50%;border:0;background:#ffffff44}
.slider-dots button.is-active{background:#fff}
.site-header{
  position:sticky;top:0;z-index:40;background:rgba(248,251,255,.84);
  backdrop-filter:blur(12px);border-bottom:1px solid rgba(203,213,225,.7)
}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}
.brand{display:flex;align-items:center;gap:14px;font-weight:700;min-width:0}
.brand img{
  width:auto;
  height:46px;
  max-width:240px;
  border-radius:0;
  object-fit:contain;
}
.brand span{display:block;color:var(--muted);font-size:.92rem;font-weight:600}
.main-nav{display:flex;align-items:center;gap:18px;color:#334155}
.main-nav a{font-weight:600}
.header-actions{align-items:center;justify-content:flex-end}
.header-compact-action{padding:11px 15px}
.mobile-toggle{
  display:none;border:1px solid var(--border);background:#fff;color:var(--text);
  border-radius:12px;padding:10px
}
.btn{
  border:none;border-radius:14px;padding:12px 18px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height:1.2
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--primary),#4f46e5);color:#fff;box-shadow:0 12px 30px rgba(37,99,235,.22)}
.btn-soft{background:#e8f0ff;color:#1341a3}
.btn-dark{background:#fff;color:#0f172a}
.btn-danger{background:#fee2e2;color:#991b1b}
.btn-sm{padding:9px 12px;border-radius:12px}
.btn.full{width:100%;max-width:300px;align-self:flex-start}
.cart-pill{
  display:inline-flex;align-items:center;gap:10px;padding:11px 15px;border-radius:16px;
  background:#fff;border:1px solid var(--border);font-weight:700
}
.cart-pill strong{
  min-width:26px;height:26px;border-radius:999px;background:#e8f0ff;color:#1341a3;
  display:grid;place-items:center;font-size:.86rem
}
.flash-bar,.notice{
  width:min(900px,calc(100% - 32px));margin:12px auto 0;padding:14px 18px;border-radius:16px;font-weight:700
}
.flash-bar.success,.notice.success{background:#dcfce7;color:#166534}
.flash-bar.error,.notice.error{background:#fee2e2;color:#991b1b}
.grid{display:grid;gap:22px}
.cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:22px
}
.product-card,.pricing-card,.service-card{display:flex;flex-direction:column;gap:14px}
.product-card,.pricing-card{overflow:hidden}
.product-card{padding:16px}
.product-card img{
  width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:22px;
  border:1px solid #edf2fa;background:#f6f9ff;padding:8px
}
.pricing-card{padding:20px}
.pricing-card .tag{align-self:flex-start}
.pricing-card h3,.card-body h3,.card h3{margin:0;font-size:1.2rem}
.card-body{padding:2px 4px 4px;display:flex;flex-direction:column;gap:12px;flex:1}
.card-body p,.card p{color:var(--muted);margin:0}
.card-footer,.summary-row,.summary-line{display:flex;justify-content:space-between;gap:12px;align-items:center}
.card-footer{margin-top:auto;flex-wrap:wrap}
.tag{
  display:inline-flex;align-items:center;padding:8px 12px;background:#eef4ff;color:#1d4ed8;border-radius:999px;
  font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase
}
.price{font-size:2.1rem;display:block;margin:0;color:#0f172a;line-height:1}
.service-card{text-align:left}
.service-icon{
  width:48px;height:48px;border-radius:16px;background:#eff6ff;display:grid;place-items:center;
  color:#1d4ed8;margin-bottom:4px
}
.featured-strip{
  display:grid;grid-template-columns:.92fr 1.08fr;gap:26px;align-items:center;
  background:#09111f;color:#fff;padding:26px;border-radius:28px;margin-bottom:28px
}
.featured-strip img{border-radius:24px;border:1px solid rgba(255,255,255,.1);padding:10px;background:rgba(255,255,255,.06)}
.featured-strip p{color:#d5e1f5}
.gift-grid,.product-layout,.order-layout,.checkout-layout,.cart-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px}
.gift-validator h3,.order-summary h3{margin-top:0}
.gift-result{margin-top:18px;padding:16px;border-radius:18px;background:#f8fbff;border:1px solid var(--border)}
.gift-result.is-valid{background:#dcfce7;border-color:#bbf7d0}
.gift-result.is-invalid{background:#fee2e2;border-color:#fecaca}
.gift-form{display:grid;gap:14px}
.split-banner{
  background:#081425;color:#fff;border-radius:30px;padding:28px;display:flex;justify-content:space-between;gap:20px;align-items:center
}
.split-banner p{color:#d8e4f5}
.stack-buttons{justify-content:flex-end}
.copy-box{display:flex;gap:12px;align-items:center}
.copy-box input{
  flex:1;background:#f8fbff;border:1px solid var(--border);border-radius:14px;padding:14px 16px
}
.filter-bar,.buy-box,.auth-card form,.checkout-form,.modal-form{
  display:grid;gap:14px
}
.filter-bar{
  grid-template-columns:1.7fr .9fr auto;background:#fff;padding:16px;border-radius:22px;border:1px solid var(--border);box-shadow:var(--shadow)
}
.form-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
}
.form-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.col-span-2{grid-column:span 2}
.gateway-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.span-2{grid-column:span 2}
.gateway-actions-row{display:flex;align-items:flex-end}
input,select,textarea{
  width:100%;padding:14px 16px;border-radius:14px;border:1px solid var(--border);
  background:#fff;color:#0f172a;outline:none;transition:border-color .15s ease, box-shadow .15s ease
}
input:focus,select:focus,textarea:focus{border-color:#7aa2ff;box-shadow:0 0 0 4px rgba(37,99,235,.12)}
label{font-weight:700;font-size:.96rem}
.checkbox-row{display:flex;gap:10px;align-items:center;font-weight:600}
.checkbox-row input{width:auto}
.order-summary{position:sticky;top:92px;height:max-content}
.summary-row{padding:14px 0;border-bottom:1px solid #edf2fa}
.summary-row.total{font-size:1.1rem;border-bottom:0}
.summary-row.discount strong{color:#166534}
.summary-line{padding:10px 0;border-bottom:1px dashed #dbe3ef}
.table-wrap{overflow:auto}
.table{width:100%;border-collapse:collapse;min-width:720px}
.table th,.table td{padding:14px;border-bottom:1px solid #eef3fa;text-align:left;vertical-align:top}
.table th{font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b}
.empty-state{
  background:#fff;border:1px dashed var(--border);border-radius:28px;padding:42px;text-align:center;box-shadow:var(--shadow)
}
.link-arrow{display:inline-flex;gap:8px;align-items:center;color:#1d4ed8;font-weight:700}
.site-footer{background:#09111f;color:#d8e4f5;padding:46px 0 30px;margin-top:72px}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:28px}
.footer-block h4{margin:4px 0 14px;font-size:1.05rem;color:#fff}
.footer-brand-block p{max-width:520px;color:#c7d3e7}
.footer-brand{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.footer-brand img{
  width:auto;
  height:54px;
  max-width:260px;
  border-radius:0;
  padding:0;
  background:none;
  object-fit:contain;
}
.footer-brand strong{display:block;font-size:1.08rem;color:#fff}
.footer-brand span{display:block;color:#9db1cf;font-size:.94rem}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:12px;color:#cbd5e1}
.footer-links a{color:#d8e4f5}
.footer-contact-list li{line-height:1.55}
.social-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.social-link{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.06);
  border:1px solid rgba(148,163,184,.22);color:#fff;transition:transform .18s ease, background .18s ease
}
.social-link:hover{transform:translateY(-1px);background:rgba(37,99,235,.28)}
.footer-bottom{
  margin-top:26px;padding-top:20px;border-top:1px solid rgba(148,163,184,.18);
  display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;color:#9fb0cb
}
.footer-bottom a{color:#d9e7ff;font-weight:700}
.auth-card{padding:30px;border-radius:28px}
.auth-card h1{font-size:clamp(1.85rem,4vw,2.45rem)}
.auth-helper{align-items:center;justify-content:space-between;margin-top:18px}
.modal{
  position:fixed;inset:0;background:rgba(15,23,42,.55);display:none;
  align-items:center;justify-content:center;padding:18px;z-index:110;overflow:auto
}
.modal.is-open{display:flex}
.modal-card{
  width:min(680px,calc(100vw - 24px));max-height:min(86vh,900px);overflow:auto;background:#fff;
  border-radius:24px;box-shadow:var(--shadow);padding:20px 22px;scrollbar-gutter:stable
}
.modal-card-lg{width:min(760px,calc(100vw - 24px))}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.modal-head h3{margin:0;font-size:1.24rem}
.modal-head button{
  width:42px;height:42px;border-radius:12px;border:1px solid var(--border);background:#fff;font-size:1.2rem
}
@media (max-width:1080px){
  .cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards-3,.hero-grid,.gift-grid,.product-layout,.order-layout,.checkout-layout,.cart-grid,.featured-strip{grid-template-columns:1fr}
  .form-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .main-nav{
    position:fixed;
    top:60px;
    left:0;
    bottom:0;
    width:min(290px,82vw);
    background:#fff;
    border-right:1px solid var(--border);
    border-radius:0;
    box-shadow:var(--shadow);
    padding:18px 16px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:12px;
    overflow:auto;
    transform:translateX(-100%);
    pointer-events:none;
    transition:transform .30s ease;
    z-index:999;
  }

  .main-nav.is-open{
    transform:translateX(0);
    pointer-events:auto;
  }

  .header-actions{
    display:flex;
    align-items:center;
    gap:10px;
    justify-content:flex-end;
  }

  .header-actions .header-compact-action{
    display:none !important;
  }

  .cart-pill{
    min-width:auto;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:0 8px;
    background:transparent;
    border:none;
    border-radius:0;
    box-shadow:none;
  }

  .cart-pill span{
    display:inline;
  }

  .cart-pill strong{
    min-width:auto;
    height:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:.72rem;
    border-radius:0;
    background:transparent;
    color:#1d4ed8;
    padding:0;
  }

  .mobile-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:12px;
    border:none;
    background:linear-gradient(135deg,var(--primary),#4f46e5);
    color:#fff;
    box-shadow:0 8px 20px rgba(37,99,235,.25);
  }

  .main-nav a{
    width:100%;
    text-align:left;
    font-size:1rem;
    font-weight:600;
    color:#0f172a;
    padding:12px 10px;
    border-radius:10px;
    white-space:normal;
  }

  .main-nav a:hover{
    background:#f1f5f9;
  }

  .mobile-nav-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    margin-bottom:8px;
    padding-bottom:10px;
    border-bottom:1px solid #e7edf7;
  }

  .mobile-nav-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border:none;
    background:#f1f5f9;
    border-radius:10px;
    color:#0f172a;
    font-size:1.3rem;
    cursor:pointer;
  }

  .mobile-nav-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    opacity:0;
    pointer-events:none;
    transition:.3s;
    z-index:998;
    display:block;
  }

  .mobile-nav-overlay.is-open{
    opacity:1;
    pointer-events:auto;
  }

  body.mobile-nav-open{
    overflow:hidden;
  }
}

@media (max-width:560px){
  .container{width:min(var(--container),calc(100% - 20px))}
  .hero{padding:72px 0 56px}
  .card{padding:18px}
  .header-row{padding:12px 0}
  .brand div span{display:none}
  .btn{width:100%}
  .hero-actions,.stack-buttons{flex-direction:column}
  .form-grid,.form-grid.compact{grid-template-columns:1fr}
  .col-span-2{grid-column:auto}

  .header-actions{
    flex-direction:row;
  }

  .cart-pill{
    padding:0 6px;
  }

  .cart-pill span{
    display:none;
  }
}
.desktop-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  color:#334155;
  flex:1 1 auto;
}

.desktop-nav a{
  font-weight:600;
  white-space:nowrap;
}

@media (max-width:860px){
  .desktop-nav{
    display:none;
  }
}

@media (min-width:861px){
  .main-nav{
    display:none !important;
  }

  .mobile-nav-overlay{
    display:none !important;
  }

  .mobile-toggle{
    display:none !important;
  }
}
@media (max-width:560px){
  .featured-strip{
    grid-template-columns:1fr;
    gap:18px;
    padding:18px;
    border-radius:22px;
  }

  .featured-strip img{
    width:100%;
    max-width:none;
    height:auto;
    padding:6px;
    border-radius:18px;
  }

  .site-footer{
    padding:28px 0 24px;
    margin-top:42px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .footer-brand{
    align-items:flex-start;
    gap:12px;
  }

  .footer-brand img{
    width:auto;
    height:42px;
    max-width:180px;
    border-radius:0;
    padding:0;
    background:none;
  }

  .footer-brand strong{
    font-size:1rem;
  }

  .footer-brand span{
    font-size:.88rem;
  }

  .footer-links{
    gap:8px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    margin-top:18px;
    padding-top:16px;
  }
}
@media (max-width:560px){
  .featured-strip{
    grid-template-columns:1fr;
    gap:18px;
    padding:18px;
    border-radius:22px;
  }

  .featured-strip img{
    width:100%;
    max-width:none;
    height:auto;
    padding:6px;
    border-radius:18px;
  }
}