/* ============================================================
   DeepSeekRU — BEM + Glassmorphism
   Color palette: #0d0f1a (bg), #4f8ef7 (blue), #7c5cf7 (purple)
   ============================================================ */
:root {
  --ds-bg:        #0d0f1a;
  --ds-bg-2:      #131629;
  --ds-bg-3:      #1a1e35;
  --ds-blue:      #4f8ef7;
  --ds-blue-soft: rgba(79,142,247,0.15);
  --ds-purple:    #7c5cf7;
  --ds-purple-soft: rgba(124,92,247,0.15);
  --ds-cyan:      #22d3ee;
  --ds-ink:       #f0f4ff;
  --ds-muted:     #8892b0;
  --ds-border:    rgba(79,142,247,0.18);
  --ds-glass-bg:  rgba(255,255,255,0.04);
  --ds-glass-border: rgba(255,255,255,0.08);
  --ds-radius:    16px;
  --ds-radius-lg: 24px;
  --ds-shadow:    0 8px 32px rgba(79,142,247,0.12);
  --ds-t:         200ms ease;
  --ds-max:       1140px;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
.ds-body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--ds-bg);
  color: var(--ds-ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }

/* Glass utility */
.ds-glass {
  background: var(--ds-glass-bg);
  border: 1px solid var(--ds-glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Container */
.ds-container { max-width:var(--ds-max); margin:0 auto; padding:0 24px; }

/* ---- BUTTONS ---- */
.ds-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; border-radius:999px; font-size:15px; font-weight:600;
  font-family:inherit; cursor:pointer; border:none; transition:all var(--ds-t);
  white-space:nowrap; text-decoration:none;
}
.ds-btn--primary {
  background: linear-gradient(135deg, var(--ds-blue), var(--ds-purple));
  color:#fff;
  box-shadow: 0 4px 20px rgba(79,142,247,0.35);
}
.ds-btn--primary:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(79,142,247,0.5); }
.ds-btn--glass {
  background: var(--ds-glass-bg);
  border: 1px solid var(--ds-glass-border);
  color: var(--ds-ink);
  backdrop-filter: blur(8px);
}
.ds-btn--glass:hover { border-color: var(--ds-blue); color: var(--ds-blue); }
.ds-btn--lg { padding:16px 36px; font-size:17px; }

/* Badge */
.ds-badge {
  display:inline-flex; align-items:center;
  background: var(--ds-glass-bg); border:1px solid var(--ds-glass-border);
  color: var(--ds-muted); font-size:13px; font-weight:500;
  padding:5px 12px; border-radius:999px;
}

/* ---- NAV ---- */
.ds-nav {
  position:sticky; top:0; z-index:100;
  background: rgba(13,15,26,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ds-border);
}
.ds-nav__inner {
  max-width:var(--ds-max); margin:0 auto; padding:0 24px;
  height:64px; display:flex; align-items:center; gap:32px;
}
.ds-nav__logo { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.ds-nav__logo-icon {
  width:36px; height:36px; border-radius:10px;
  background: linear-gradient(135deg, var(--ds-blue), var(--ds-purple));
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:800; color:#fff; letter-spacing:-0.5px;
}
.ds-nav__logo-text { font-size:18px; font-weight:700; color:var(--ds-ink); }
.ds-nav__links { display:flex; align-items:center; gap:4px; list-style:none; margin-left:auto; }
.ds-nav__link { font-size:14px; font-weight:500; color:var(--ds-muted); padding:8px 14px; border-radius:8px; transition:all var(--ds-t); }
.ds-nav__link:hover { color:var(--ds-ink); background:rgba(255,255,255,0.05); }
.ds-nav__cta {
  display:inline-flex; align-items:center; padding:9px 20px; border-radius:999px;
  background:linear-gradient(135deg,var(--ds-blue),var(--ds-purple));
  color:#fff; font-size:14px; font-weight:600; transition:all var(--ds-t); white-space:nowrap;
}
.ds-nav__cta:hover { transform:translateY(-1px); box-shadow:0 4px 20px rgba(79,142,247,0.4); }
.ds-nav__burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.ds-nav__burger span { display:block; width:22px; height:2px; background:var(--ds-ink); border-radius:2px; transition:all var(--ds-t); }
.ds-nav__mobile { display:none; flex-direction:column; padding:16px 24px 20px; gap:4px; border-top:1px solid var(--ds-border); }
.ds-nav__mobile--open { display:flex; }
.ds-nav__mobile-link { padding:12px 0; font-size:16px; font-weight:500; border-bottom:1px solid var(--ds-border); color:var(--ds-muted); }
.ds-nav__mobile-cta { margin-top:12px; text-align:center; padding:13px; border-radius:999px; background:linear-gradient(135deg,var(--ds-blue),var(--ds-purple)); color:#fff; font-weight:600; font-size:15px; }

/* ---- HERO ---- */
.ds-hero { position:relative; min-height:100vh; display:flex; align-items:center; overflow:hidden; }
.ds-hero__bg { position:absolute; inset:0; pointer-events:none; }
.ds-hero__orb {
  position:absolute; border-radius:50%; filter:blur(80px); opacity:0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.ds-hero__orb--1 { width:500px; height:500px; background:radial-gradient(circle,var(--ds-purple),transparent); top:-100px; right:-100px; animation-delay:0s; }
.ds-hero__orb--2 { width:400px; height:400px; background:radial-gradient(circle,var(--ds-blue),transparent); bottom:-50px; left:-80px; animation-delay:3s; }
.ds-hero__orb--3 { width:300px; height:300px; background:radial-gradient(circle,var(--ds-cyan),transparent); top:40%; left:40%; animation-delay:5s; opacity:0.15; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }
.ds-hero__grid {
  position:absolute; inset:0;
  background-image: linear-gradient(var(--ds-border) 1px,transparent 1px), linear-gradient(90deg,var(--ds-border) 1px,transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.ds-hero__inner {
  position:relative; max-width:var(--ds-max); margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;
  width:100%; padding-top:80px; padding-bottom:80px;
}
.ds-hero__label {
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; color:var(--ds-blue);
  background:var(--ds-blue-soft); border:1px solid rgba(79,142,247,0.25);
  padding:6px 14px; border-radius:999px; margin-bottom:24px;
}
.ds-hero__label-dot { width:7px; height:7px; border-radius:50%; background:var(--ds-blue); animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.ds-hero__title {
  font-size:clamp(38px,5.5vw,62px); font-weight:800;
  line-height:1.1; letter-spacing:-0.03em; margin-bottom:22px;
  background: linear-gradient(135deg, #fff 40%, var(--ds-blue) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.ds-hero__sub { font-size:18px; color:var(--ds-muted); line-height:1.75; margin-bottom:36px; max-width:500px; }
.ds-hero__actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:28px; }
.ds-hero__badges { display:flex; gap:10px; flex-wrap:wrap; }
.ds-hero__visual { position:relative; }
.ds-hero__img-wrap { border-radius:var(--ds-radius-lg); overflow:hidden; position:relative; }
.ds-hero__img { width:100%; height:auto; border-radius:var(--ds-radius-lg); }
.ds-hero__img-glow {
  position:absolute; inset:0; border-radius:var(--ds-radius-lg);
  box-shadow:inset 0 0 60px rgba(79,142,247,0.2); pointer-events:none;
  border:1px solid var(--ds-border);
}
.ds-hero__visual--fallback {
  min-height:400px; display:flex; align-items:center; justify-content:center;
  background:var(--ds-glass-bg); border:1px solid var(--ds-glass-border);
  border-radius:var(--ds-radius-lg); backdrop-filter:blur(12px);
}
.ds-hero__circuit { position:relative; width:200px; height:200px; }
.ds-hero__circuit-node {
  position:absolute; border-radius:50%;
  background:linear-gradient(135deg,var(--ds-blue),var(--ds-purple));
  animation:pulse 2s infinite;
}
.ds-hero__circuit-node--1 { width:80px; height:80px; top:50%; left:50%; transform:translate(-50%,-50%); }
.ds-hero__circuit-node--2 { width:40px; height:40px; top:0; right:0; animation-delay:.7s; opacity:.6; }
.ds-hero__circuit-node--3 { width:28px; height:28px; bottom:10px; left:10px; animation-delay:1.4s; opacity:.4; }

/* ---- STATS ---- */
.ds-stats { padding:40px 0; }
.ds-stats__inner { max-width:var(--ds-max); margin:0 auto; padding:0 24px; display:flex; gap:20px; flex-wrap:wrap; }
.ds-stats__item { flex:1; min-width:180px; padding:24px 28px; border-radius:var(--ds-radius); transition:all var(--ds-t); }
.ds-stats__item:hover { border-color:var(--ds-blue); transform:translateY(-2px); }
.ds-stats__val { font-size:32px; font-weight:800; color:var(--ds-blue); letter-spacing:-0.02em; margin-bottom:6px; font-family:'JetBrains Mono',monospace; }
.ds-stats__label { font-size:14px; color:var(--ds-muted); }

/* ---- SECTIONS ---- */
.ds-section { padding:96px 0; }
.ds-section__head { text-align:center; margin-bottom:56px; }
.ds-section__title { font-size:clamp(26px,4vw,40px); font-weight:800; letter-spacing:-0.02em; margin-bottom:14px; }
.ds-section__sub { font-size:17px; color:var(--ds-muted); max-width:600px; margin:0 auto; line-height:1.7; }

/* ---- FEATURES ---- */
.ds-features__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ds-feature__card { border-radius:var(--ds-radius); padding:32px 28px; transition:all var(--ds-t); }
.ds-feature__card:hover { border-color:var(--ds-blue); transform:translateY(-3px); box-shadow:var(--ds-shadow); }
.ds-feature__icon { font-size:28px; margin-bottom:16px; }
.ds-feature__title { font-size:17px; font-weight:700; color:var(--ds-ink); margin-bottom:10px; }
.ds-feature__desc { font-size:14px; color:var(--ds-muted); line-height:1.65; }

/* ---- MODELS ---- */
.ds-models__grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.ds-model__card { border-radius:var(--ds-radius-lg); padding:36px 32px; position:relative; transition:all var(--ds-t); }
.ds-model__card:hover { transform:translateY(-4px); box-shadow:0 12px 48px rgba(79,142,247,0.15); }
.ds-model__card--featured { border-color:rgba(79,142,247,0.4); background:rgba(79,142,247,0.05); }
.ds-model__badge {
  position:absolute; top:20px; right:20px;
  background:linear-gradient(135deg,var(--ds-blue),var(--ds-purple));
  color:#fff; font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px;
  text-transform:uppercase; letter-spacing:.06em;
}
.ds-model__header { display:flex; align-items:center; gap:16px; margin-bottom:18px; }
.ds-model__icon {
  width:52px; height:52px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:800; color:#fff;
  font-family:'JetBrains Mono',monospace;
}
.ds-model__icon--v3 { background:linear-gradient(135deg,#22d3ee,#4f8ef7); }
.ds-model__icon--r1 { background:linear-gradient(135deg,var(--ds-purple),#e879f9); }
.ds-model__name { font-size:20px; font-weight:700; }
.ds-model__tag { font-size:13px; color:var(--ds-blue); font-weight:600; margin-top:3px; }
.ds-model__desc { font-size:15px; color:var(--ds-muted); line-height:1.65; margin-bottom:20px; }
.ds-model__feats { list-style:none; display:flex; flex-direction:column; gap:9px; margin-bottom:28px; }
.ds-model__feat { font-size:14px; color:var(--ds-ink); display:flex; align-items:center; gap:9px; }
.ds-model__feat::before { content:"→"; color:var(--ds-blue); font-weight:700; flex-shrink:0; }
.ds-model__actions { display:flex; gap:12px; flex-wrap:wrap; }

/* ---- USE CASES ---- */
.ds-usecases__grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.ds-usecase__img-block { border-radius:var(--ds-radius-lg); overflow:hidden; border:1px solid var(--ds-border); }
.ds-usecase__img { width:100%; height:auto; }
.ds-usecases__list { display:flex; flex-direction:column; gap:16px; }
.ds-usecase__item { border-radius:var(--ds-radius); padding:20px 22px; display:flex; align-items:flex-start; gap:16px; transition:all var(--ds-t); }
.ds-usecase__item:hover { border-color:var(--ds-blue); }
.ds-usecase__icon { font-size:22px; flex-shrink:0; margin-top:2px; }
.ds-usecase__title { font-size:16px; font-weight:700; margin-bottom:5px; }
.ds-usecase__desc { font-size:14px; color:var(--ds-muted); line-height:1.6; }

/* ---- BENCHMARKS ---- */
.ds-bench { background:linear-gradient(180deg,transparent,var(--ds-bg-2),transparent); }
.ds-bench__wrap { border-radius:var(--ds-radius-lg); overflow:hidden; }
.ds-bench__table { width:100%; border-collapse:collapse; }
.ds-bench__table th { padding:16px 20px; text-align:left; font-size:13px; font-weight:700; color:var(--ds-muted); text-transform:uppercase; letter-spacing:.07em; border-bottom:1px solid var(--ds-border); }
.ds-bench__table td { padding:15px 20px; font-size:15px; border-bottom:1px solid rgba(255,255,255,0.04); }
.ds-bench__table tr:last-child td { border-bottom:none; }
.ds-bench__table tbody tr:hover td { background:rgba(79,142,247,0.05); }
.ds-bench__row--highlight td { color:var(--ds-blue); font-weight:600; }
.ds-bench__row--highlight td:first-child { color:var(--ds-ink); }

/* ---- FAQ ---- */
.ds-faq__inner { max-width:800px; margin:0 auto; }
.ds-faq__list { display:flex; flex-direction:column; gap:12px; margin-top:40px; }
.ds-faq__item { border-radius:var(--ds-radius); overflow:hidden; transition:border-color var(--ds-t); }
.ds-faq__item:hover { border-color:var(--ds-blue); }
.ds-faq__q {
  width:100%; text-align:left; padding:20px 24px;
  background:none; border:none; color:var(--ds-ink);
  font-size:15px; font-weight:600; font-family:inherit;
  cursor:pointer; display:flex; justify-content:space-between; align-items:center;
}
.ds-faq__arrow { font-size:20px; color:var(--ds-blue); flex-shrink:0; transition:transform var(--ds-t); }
.ds-faq__a { max-height:0; overflow:hidden; font-size:15px; color:var(--ds-muted); line-height:1.7; padding:0 24px; transition:max-height .35s ease, padding .35s ease; }
.ds-faq__a--open { max-height:300px; padding:0 24px 20px; }

/* ---- CTA ---- */
.ds-cta { position:relative; padding:96px 0; overflow:hidden; text-align:center; }
.ds-cta__orb {
  position:absolute; width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle,rgba(79,142,247,0.12),transparent 70%);
  top:50%; left:50%; transform:translate(-50%,-50%); pointer-events:none;
}
.ds-cta__inner { position:relative; }
.ds-cta__title { font-size:clamp(28px,4vw,44px); font-weight:800; margin-bottom:16px; letter-spacing:-0.02em; }
.ds-cta__sub { font-size:18px; color:var(--ds-muted); margin-bottom:36px; }
.ds-cta__actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---- FOOTER ---- */
.ds-footer { border-top:1px solid var(--ds-border); padding:56px 0 28px; }
.ds-footer__inner { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.ds-footer__desc { font-size:14px; color:var(--ds-muted); line-height:1.65; margin-top:14px; max-width:280px; }
.ds-footer__col { display:flex; flex-direction:column; gap:10px; }
.ds-footer__col-title { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--ds-muted); margin-bottom:4px; }
.ds-footer__col a { font-size:14px; color:rgba(240,244,255,0.45); transition:color var(--ds-t); }
.ds-footer__col a:hover { color:var(--ds-blue); }
.ds-footer__bottom { border-top:1px solid var(--ds-border); padding-top:24px; font-size:13px; color:rgba(240,244,255,0.25); text-align:center; }

/* ---- RESPONSIVE ---- */
@media(max-width:1024px){
  .ds-hero__inner { grid-template-columns:1fr; }
  .ds-hero__visual { display:none; }
  .ds-features__grid { grid-template-columns:repeat(2,1fr); }
  .ds-footer__inner { grid-template-columns:1fr 1fr; }
}
@media(max-width:768px){
  .ds-nav__links,.ds-nav__cta { display:none; }
  .ds-nav__burger { display:flex; }
  .ds-section { padding:64px 0; }
  .ds-models__grid { grid-template-columns:1fr; }
  .ds-usecases__grid { grid-template-columns:1fr; }
  .ds-features__grid { grid-template-columns:1fr; }
}
@media(max-width:480px){
  .ds-stats__inner { flex-direction:column; }
  .ds-footer__inner { grid-template-columns:1fr; }
}
