/* CSS Variables & Reset */
:root{--max-w:1140px;--color-primary:#6366f1;--color-dark:#1e3a8a;--color-light:#eef2ff;--color-text:#4338ca;--color-border:rgba(99,102,241,.2)}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,sans-serif;background:#eef2ff;color:#1e3a8a;line-height:1.6}

/* Unified Container */
.dlc-wrap{max-width:var(--max-w);margin:0 auto;padding:0 clamp(1rem,5vw,2rem)}

/* Header & Navigation */
.dlc-head{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--color-border);padding:.75rem 0}
.dlc-head-inner{max-width:var(--max-w);margin:0 auto;padding:0 clamp(1rem,5vw,2rem);display:flex;align-items:center;justify-content:space-between}
.dlc-logo img{height:40px;width:auto}
.dlc-nav{display:flex;gap:2rem;align-items:center}
.dlc-nav a{color:var(--color-primary);text-decoration:none;font-size:.95rem;transition:opacity .3s}
.dlc-nav a:hover{opacity:.8}
.dlc-nav-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;padding:.5rem;color:var(--color-primary)}
.dlc-nav-toggle[aria-expanded="true"]{color:var(--color-dark)}
.dlc-head-btn{background:var(--color-primary);color:#fff!important;padding:.6rem 1.5rem;border-radius:8px;text-decoration:none;font-size:.9rem;font-weight:500;transition:all .3s;white-space:nowrap}
.dlc-head-btn:hover{background:#4f46e5;transform:translateY(-2px);box-shadow:0 4px 12px rgba(99,102,241,.3)}

/* Hero Section */
.dlc-hero{background:linear-gradient(135deg,#eef2ff 0%,#ddd6fe 100%);padding:4rem 0;text-align:center;position:relative;overflow:hidden}
.dlc-hero::after{content:'';position:absolute;top:0;right:0;width:400px;height:400px;background:url('../picture/hero-bg.jpg')center/cover;opacity:.15;pointer-events:none}
.dlc-hero-content{position:relative;z-index:1}
.dlc-hero h1{font-size:clamp(1.8rem,5vw,2.5rem);color:var(--color-dark);margin-bottom:1rem;line-height:1.2}
.dlc-hero-content p{color:var(--color-text);margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto;font-size:clamp(.9rem,2vw,1.1rem)}
.dlc-hero-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:2rem}
.dlc-btn-download{display:inline-flex;align-items:center;gap:.5rem;background:var(--color-primary);color:#fff;padding:.9rem 1.8rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:.95rem;transition:all .3s;border:2px solid var(--color-primary)}
.dlc-btn-download:hover{background:#fff;color:var(--color-primary);transform:translateY(-3px);box-shadow:0 8px 20px rgba(99,102,241,.3)}
.dlc-btn-download.outline{background:transparent;border-color:#fff;color:#fff}
.dlc-btn-download.outline:hover{background:#fff;color:var(--color-primary)}

/* Intro Section */
.dlc-intro{padding:5rem 0;background:#fff}
.dlc-intro .dlc-wrap{max-width:800px}
.dlc-intro h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:2.5rem;color:var(--color-dark)}
.dlc-intro-block p{margin-bottom:1.5rem;color:var(--color-text);line-height:1.8;font-size:.95rem}

/* Section Descriptions */
.dlc-section-desc{text-align:center;max-width:700px;margin:0 auto 2.5rem;color:var(--color-text);font-size:.95rem;line-height:1.6}

/* Features Grid */
.dlc-feature-grid{max-width:var(--max-w);margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:3rem}
.dlc-feature-card{background:#f8fafb;border:1px solid var(--color-border);border-radius:12px;padding:2rem;text-align:center;transition:all .3s;cursor:pointer}
.dlc-feature-card:hover{transform:translateY(-5px);border-color:var(--color-primary);box-shadow:0 10px 30px rgba(99,102,241,.15)}
.dlc-feature-card svg{width:40px;height:40px;margin:0 auto 1rem;display:block;color:var(--color-primary)}
.dlc-feature-card h3{font-size:1.1rem;margin-bottom:.5rem;color:var(--color-dark)}
.dlc-feature-card p{color:var(--color-text);font-size:.9rem}

/* Currencies Grid */
.dlc-currencies{padding:5rem 0;background:#eef2ff}
.dlc-currencies h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:1rem;color:var(--color-dark)}
.dlc-currency-grid{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1.5rem}
.dlc-currency-item{display:flex;flex-direction:column;align-items:center;gap:.75rem;color:var(--color-text);font-size:.9rem;transition:transform .3s}
.dlc-currency-item:hover{transform:scale(1.08)}
.dlc-currency-item img{width:50px;height:50px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}

/* Stats Grid */
.dlc-stats{padding:5rem 0;background:#fff}
.dlc-stats h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:1rem;color:var(--color-dark)}
.dlc-stats-grid{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;justify-items:center}
.dlc-stat-item{text-align:center;padding:2rem;background:#f8fafb;border-radius:12px;flex:1;min-width:200px}
.dlc-stat-num{display:block;font-size:clamp(1.8rem,5vw,2.5rem);font-weight:700;color:var(--color-primary);margin-bottom:.5rem}
.dlc-stat-label{font-size:.95rem;color:var(--color-text)}

/* Partners/Channels */
.dlc-partners{padding:5rem 0;background:#eef2ff}
.dlc-partners h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:1rem;color:var(--color-dark)}
.dlc-partner-row{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap;color:var(--color-text);font-size:.95rem;max-width:var(--max-w);margin:0 auto}
.dlc-partner-row span{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px var(--color-border)}

/* Version Cards (Attack Types) */
.dlc-versions{padding:5rem 0;background:#fff}
.dlc-versions h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:1rem;color:var(--color-dark)}
.dlc-version-cards{max-width:var(--max-w);margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}
.dlc-version-card{background:#eef2ff;border:2px solid var(--color-primary);border-radius:12px;padding:2rem;text-align:center;transition:all .3s}
.dlc-version-card:hover{transform:translateY(-8px);box-shadow:0 12px 30px rgba(99,102,241,.2)}
.dlc-version-icon{font-size:2.5rem;display:block;margin-bottom:1rem;height:50px;display:flex;align-items:center;justify-content:center}
.dlc-version-icon svg{width:50px;height:50px}
.dlc-version-card h3{font-size:1.2rem;margin-bottom:.75rem;color:var(--color-dark)}
.dlc-version-card p{color:var(--color-text);font-size:.9rem;margin-bottom:1.5rem;line-height:1.7;text-align:left}
.dlc-btn-small{display:inline-block;background:var(--color-primary);color:#fff;padding:.6rem 1.2rem;border-radius:6px;text-decoration:none;font-size:.85rem;font-weight:500;transition:all .3s}
.dlc-btn-small:hover{background:#4f46e5;transform:translateY(-2px)}

/* Systems Grid */
.dlc-systems{padding:5rem 0;background:#eef2ff}
.dlc-systems h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:1rem;color:var(--color-dark)}
.dlc-sys-grid{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:2rem;justify-items:center}
.dlc-sys-item{display:flex;flex-direction:column;align-items:center;gap:.75rem;color:var(--color-text);font-size:.9rem;text-align:center;padding:1.5rem;background:#fff;border-radius:12px;flex:1;width:100%}
.dlc-sys-item img{width:48px;height:48px;object-fit:contain}
.dlc-sys-item svg{width:48px;height:48px}

/* Steps Section */
.dlc-steps{padding:5rem 0;background:#fff}
.dlc-steps h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:1rem;color:var(--color-dark)}
.dlc-step-tabs{display:flex;justify-content:center;gap:.75rem;margin-bottom:2rem;flex-wrap:wrap}
.dlc-step-tab{padding:.7rem 1.5rem;border:2px solid var(--color-border);background:#fff;border-radius:8px;cursor:pointer;color:var(--color-text);font-size:.9rem;font-weight:500;transition:all .3s}
.dlc-step-tab:hover{border-color:var(--color-primary);color:var(--color-primary)}
.dlc-step-tab.dlc-active{border-color:var(--color-primary);background:var(--color-primary);color:#fff}
.dlc-step-panels{max-width:800px;margin:0 auto}
.dlc-step-panel{display:none;padding:2.5rem;background:#eef2ff;border-radius:12px;border:1px solid var(--color-border)}
.dlc-step-panel.dlc-active{display:block;animation:fadeIn .3s}
.dlc-step-num{display:inline-block;width:40px;height:40px;line-height:40px;text-align:center;background:var(--color-primary);color:#fff;border-radius:50%;font-weight:700;margin-bottom:1.5rem;font-size:1rem}
.dlc-step-panel h3{font-size:1.3rem;margin-bottom:.75rem;color:var(--color-dark)}
.dlc-step-panel p{color:var(--color-text);line-height:1.8;font-size:.95rem}

/* Tutorial Section */
.dlc-tutorial{padding:5rem 0;background:#eef2ff;background-image:url('../picture/security-feature.jpg');background-position:right bottom;background-attachment:fixed;background-size:400px;background-repeat:no-repeat;position:relative}
.dlc-tutorial::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(238,242,255,.85);pointer-events:none}
.dlc-tutorial h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:1rem;color:var(--color-dark);position:relative;z-index:1}
.dlc-tutorial-list{max-width:800px;margin:0 auto;position:relative;z-index:1}
.dlc-tutorial-item{display:flex;gap:2rem;align-items:flex-start;padding:1.5rem 0;border-bottom:1px solid var(--color-border)}
.dlc-tutorial-item:last-child{border-bottom:none}
.dlc-tutorial-icon{flex-shrink:0;width:40px;height:40px;line-height:40px;text-align:center;background:var(--color-primary);color:#fff;border-radius:50%;font-weight:700;font-size:1rem}
.dlc-tutorial-item h3{font-size:1.1rem;margin-bottom:.5rem;color:var(--color-dark)}
.dlc-tutorial-item p{color:var(--color-text);font-size:.95rem;line-height:1.7}

/* FAQ Section */
.dlc-faq{padding:5rem 0;background:#fff}
.dlc-faq h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:2rem;color:var(--color-dark)}
.dlc-faq-list{max-width:800px;margin:0 auto}
.dlc-faq-item{border:1px solid var(--color-border);border-radius:8px;margin-bottom:1rem;overflow:hidden}
.dlc-faq-item summary{padding:1.5rem;cursor:pointer;color:var(--color-dark);font-weight:600;font-size:1rem;display:flex;justify-content:space-between;align-items:center;background:#f8fafb;transition:all .3s;user-select:none}
.dlc-faq-item summary:hover{background:#eef2ff;color:var(--color-primary)}
.dlc-faq-item summary::after{content:'+';font-size:1.5rem;font-weight:300}
.dlc-faq-item[open] summary::after{content:'−'}
.dlc-faq-item p{padding:1.5rem;color:var(--color-text);font-size:.95rem;background:#fff;line-height:1.8}

/* Footer */
.dlc-foot{padding:4rem 0 2rem;background:#1e3a8a;color:#fff;position:relative;overflow:hidden}
.dlc-foot::before{content:'';position:absolute;top:0;left:0;right:0;height:200px;background:url('../picture/mobile-wallet.jpg')center/cover;opacity:.08;pointer-events:none}
.dlc-trust-bar{position:relative;z-index:1;max-width:var(--max-w);margin:0 auto 3rem;padding:1.5rem;text-align:center;background:rgba(255,255,255,.1);border-radius:12px;border:1px solid rgba(255,255,255,.2);font-size:.9rem;color:#e0e7ff;margin-bottom:3rem}
.dlc-foot-main{max-width:var(--max-w);margin:0 auto 2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;padding:0 clamp(1rem,5vw,2rem);position:relative;z-index:1}
.dlc-foot-col h4{font-size:.95rem;margin-bottom:1rem;color:#fff;font-weight:600}
.dlc-foot-col p,.dlc-foot-col a{color:#a5b4fc;text-decoration:none;font-size:.9rem;margin-bottom:.75rem;display:block;line-height:1.6;transition:color .3s}
.dlc-foot-col a:hover{color:#fff}
.dlc-foot-about p{font-size:.9rem;line-height:1.8;color:#a5b4fc}
.dlc-foot-legal{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap;margin-bottom:1.5rem;padding:0 clamp(1rem,5vw,2rem);border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;position:relative;z-index:1}
.dlc-foot-legal a{color:#818cf8;text-decoration:none;font-size:.85rem}
.dlc-foot-legal a:hover{color:#a5b4fc}
.dlc-foot-copy{text-align:center;font-size:.8rem;color:#818cf8;padding:0 clamp(1rem,5vw,2rem);position:relative;z-index:1}

/* Animations */
@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* Tablet: 768px - 960px */
@media(max-width:960px){
  .dlc-image-block{grid-template-columns:1fr;gap:2rem}
  .dlc-download-content{grid-template-columns:1fr;gap:2rem}
  .dlc-currency-grid{grid-template-columns:repeat(4,1fr)}
  .dlc-stats-grid{grid-template-columns:repeat(2,1fr)}
  .dlc-version-cards{grid-template-columns:1fr}
  .dlc-sys-grid{grid-template-columns:repeat(3,1fr)}
  .dlc-hero h1{font-size:1.8rem}
  .dlc-foot-main{grid-template-columns:repeat(2,1fr)}
}

/* Download App Section */
.dlc-download-app{padding:5rem 0;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);color:#fff}
.dlc-download-app .dlc-wrap{max-width:900px}
.dlc-download-app h2{text-align:center;font-size:clamp(1.4rem,4vw,2rem);margin-bottom:1rem;color:#fff}
.dlc-download-content{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;margin-top:2rem}
.dlc-download-text h3{font-size:1.3rem;margin-bottom:1rem;color:#e0e7ff}
.dlc-download-text p{font-size:1rem;line-height:1.8;color:#dbeafe;margin-bottom:1.5rem}
.dlc-download-buttons{display:flex;gap:1rem;flex-wrap:wrap}
.dlc-btn-download-os{display:inline-flex;align-items:center;gap:.75rem;background:#fff;color:#6366f1;padding:1rem 2rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:1rem;transition:all .3s;border:2px solid #fff;cursor:pointer;border:none}
.dlc-btn-download-os:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.3)}
.dlc-btn-download-os svg{width:24px;height:24px}
.dlc-download-image{text-align:center}
.dlc-download-image img{max-width:100%;height:auto;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.2)}

/* Image Content Blocks */
.dlc-image-block{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;margin:3rem 0;padding:2rem;background:#f8fafb;border-radius:12px}
.dlc-image-block.reverse{direction:rtl}
.dlc-image-block.reverse > *{direction:ltr}
.dlc-image-block img{width:100%;border-radius:12px;box-shadow:0 8px 20px rgba(99,102,241,.1)}
.dlc-image-block h3{font-size:1.3rem;color:var(--color-dark);margin-bottom:1rem}
.dlc-image-block p{color:var(--color-text);line-height:1.8;font-size:.95rem}

/* Mobile: 640px - 768px */
@media(max-width:640px){
  .dlc-nav-toggle{display:block}
  .dlc-nav{position:absolute;top:60px;left:0;right:0;flex-direction:column;gap:.5rem;background:#fff;border-bottom:1px solid var(--color-border);padding:1rem;max-height:0;overflow:hidden;transition:max-height .3s ease}
  .dlc-nav.dlc-nav-open{max-height:500px;border-bottom:2px solid var(--color-primary)}
  .dlc-nav a{padding:.5rem 0;font-size:1rem}
  .dlc-head-inner{flex-wrap:wrap}

  .dlc-hero{padding:3rem 0}
  .dlc-hero h1{font-size:1.5rem}
  .dlc-hero-btns{gap:.75rem}
  .dlc-btn-download{padding:.75rem 1.2rem;font-size:.9rem}

  .dlc-intro,.dlc-currencies,.dlc-stats,.dlc-versions,.dlc-systems,.dlc-steps,.dlc-tutorial,.dlc-faq,.dlc-foot{padding:3rem 0}
  .dlc-intro h2,.dlc-currencies h2,.dlc-stats h2,.dlc-versions h2,.dlc-systems h2,.dlc-steps h2,.dlc-tutorial h2,.dlc-faq h2{font-size:1.3rem;margin-bottom:1.5rem}

  .dlc-currency-grid{grid-template-columns:repeat(3,1fr);gap:1rem}
  .dlc-currency-item{gap:.4rem}
  .dlc-currency-item img{width:40px;height:40px}
  .dlc-currency-item span{font-size:.8rem}

  .dlc-stats-grid{grid-template-columns:1fr;gap:1.5rem}
  .dlc-stat-item{padding:1.5rem}
  .dlc-stat-num{font-size:1.8rem}

  .dlc-feature-card{padding:1.5rem}
  .dlc-feature-grid{gap:1.5rem}

  .dlc-sys-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
  .dlc-sys-item{padding:1rem}
  .dlc-sys-item img{width:40px;height:40px}

  .dlc-step-tabs{gap:.5rem}
  .dlc-step-tab{padding:.5rem 1rem;font-size:.85rem}
  .dlc-step-panel{padding:1.5rem}

  .dlc-tutorial-item{gap:1rem;padding:1rem 0}
  .dlc-tutorial-icon{width:36px;height:36px;line-height:36px;font-size:.8rem}
  .dlc-tutorial-item h3{font-size:1rem}
  .dlc-tutorial-item p{font-size:.9rem}

  .dlc-download-content{grid-template-columns:1fr;gap:2rem}
  .dlc-download-buttons{flex-direction:column}
  .dlc-btn-download-os{width:100%;justify-content:center}
  .dlc-image-block{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem}
  .dlc-image-block.reverse{direction:ltr}

  .dlc-tutorial{background-position:right -100px;background-size:300px}

  .dlc-faq-item summary{padding:1rem;font-size:.95rem}
  .dlc-faq-item p{padding:1rem}

  .dlc-foot-main{grid-template-columns:1fr;gap:1.5rem}
  .dlc-foot-legal{gap:1rem;flex-direction:column;text-align:center}
  .dlc-foot-legal a{display:inline}

  .dlc-partner-row{gap:1rem;flex-direction:column;font-size:.9rem}
  .dlc-partner-row span{padding:.5rem 1rem;width:100%;justify-content:center}
}

/* Small Mobile: < 400px */
@media(max-width:400px){
  .dlc-nav-toggle{font-size:1.2rem;padding:.4rem}
  .dlc-head-btn{padding:.5rem 1rem;font-size:.85rem}

  .dlc-hero{padding:2rem 0}
  .dlc-hero h1{font-size:1.3rem}
  .dlc-hero-content p{font-size:.9rem}
  .dlc-hero-btns{flex-direction:column}
  .dlc-btn-download{width:100%;justify-content:center}

  .dlc-currency-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}
  .dlc-currency-item span{font-size:.75rem}

  .dlc-stats-grid{grid-template-columns:1fr}
  .dlc-stat-num{font-size:1.5rem}

  .dlc-sys-grid{grid-template-columns:1fr}
  .dlc-sys-item img{width:36px;height:36px}
  .dlc-sys-item svg{width:36px;height:36px}

  .dlc-feature-grid{grid-template-columns:1fr}
  .dlc-feature-card{padding:1rem}
  .dlc-feature-card svg{width:32px;height:32px}

  .dlc-step-tabs{gap:.3rem}
  .dlc-step-tab{padding:.4rem .8rem;font-size:.8rem}

  .dlc-trust-bar{font-size:.8rem;padding:1rem}
  .dlc-foot-col h4{font-size:.85rem}
  .dlc-foot-col p,.dlc-foot-col a{font-size:.8rem}
  .dlc-foot-copy{font-size:.75rem}
}
