/* LedgerLivePro — main.css */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --font-body:'Inter','Times New Roman',arial,sans-serif;
  --black:#000;--white:#fff;--offblack:#0a0a0a;--carbon:#1c1d20;
  --primary:#ff5300;--secondary:#d4a0ff;
  --grey-800:#191919;--grey-600:#6a6a6a;--grey-500:#949494;
  --grey-200:#e5e5e5;--grey-100:#f5f5f5;
  --max-w:1280px;
}

html{font-size:62.5%}
body{font-family:var(--font-body);font-size:1.6rem;color:var(--black);background:var(--white);line-height:1.5;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}

h1,h2,h3{font-weight:500;line-height:1.2}
h1{font-size:6.8rem;text-transform:uppercase}
h2{font-size:5rem}
h3{font-size:2.4rem;font-weight:600}
@media(max-width:768px){h1{font-size:3.6rem}h2{font-size:2.8rem}h3{font-size:2rem}}

.container{max-width:var(--max-w);margin:0 auto;padding:0 40px}
@media(max-width:768px){.container{padding:0 24px}}

/* Header */
#header{position:sticky;top:0;z-index:1000;height:86px;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);margin-bottom:-86px;transition:background .3s}
#header.scrolled{background:rgba(255,255,255,.98)}
.nav-inner{max-width:var(--max-w);margin:0 auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between;height:100%}
@media(max-width:768px){.nav-inner{padding:0 24px}}
.logo{flex-shrink:0}
#nav{display:flex;gap:32px}
#nav a{font-size:1.3rem;font-weight:500;transition:opacity .2s}
#nav a:hover{opacity:.7}
.nav-right{display:flex;align-items:center;gap:16px}
.cart-link{position:relative}
.cart-count{position:absolute;top:-8px;right:-10px;background:var(--primary);color:var(--white);font-size:1rem;font-weight:700;min-width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0 4px}
.menu-toggle{display:none;flex-direction:column;gap:5px;padding:4px;background:none;border:none;cursor:pointer}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--black);border-radius:2px}

/* Hero */
.hero{background:var(--black);color:var(--white);padding:150px 0 120px;min-height:100vh;display:flex;align-items:center}
.hero .container{width:100%}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
@media(max-width:1024px){.hero-grid{grid-template-columns:1fr;gap:48px}}
.hero-left{max-width:560px}
.tag{display:inline-block;font-size:1.1rem;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--secondary);background:rgba(212,160,255,.15);padding:6px 14px;border-radius:4px;margin-bottom:24px}
.hero h1{color:var(--white);margin-bottom:24px}
.hero-p{color:var(--grey-500);font-size:1.8rem;line-height:1.6;margin-bottom:32px;max-width:480px}
.hero-actions{display:flex;gap:14px;margin-bottom:60px;flex-wrap:wrap}
.hero-stats{display:flex;gap:48px}
.stat{display:flex;flex-direction:column;gap:4px}
.stat-num{font-size:2rem;font-weight:700;color:var(--white)}
.stat-label{font-size:1.3rem;color:var(--grey-500)}
@media(max-width:768px){.hero-stats{flex-direction:column;gap:20px}}
.hero-right img{border-radius:8px;width:100%}
@media(max-width:1024px){.hero-right{order:-1}.hero-right img{max-width:400px;margin:0 auto}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 32px;font-size:1.4rem;font-weight:600;border-radius:100px;transition:all .2s;white-space:nowrap}
.btn-white{background:var(--white);color:var(--black)}
.btn-white:hover{background:#e6e6e6}
.btn-outline-w{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,.3)}
.btn-outline-w:hover{border-color:var(--white);background:rgba(255,255,255,.05)}
.btn-dark{background:var(--black);color:var(--white)}
.btn-dark:hover{background:var(--grey-800)}
.link-arrow{font-size:1.4rem;font-weight:600;transition:all .2s}
.link-arrow:hover{opacity:.7}

/* Devices Section */
.devices{background:var(--offblack);color:var(--white);padding:120px 0}
.devices-head{margin-bottom:56px}
.devices-head h2{color:var(--white);margin-bottom:12px}
.devices-head p{color:var(--grey-500);font-size:1.6rem}
.device-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media(max-width:1024px){.device-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.device-grid{grid-template-columns:1fr}}
.device-card{background:var(--carbon);border:1px solid rgba(255,255,255,.08);border-radius:4px;overflow:hidden;transition:all .3s;display:flex;flex-direction:column}
.device-card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.2)}
.device-img{background:var(--offblack);padding:24px;display:flex;align-items:center;justify-content:center}
.device-img img{width:100%;height:200px;object-fit:contain}
.device-body{padding:24px;display:flex;flex-direction:column;gap:8px;flex:1}
.device-tag{font-size:1.1rem;font-weight:600;text-transform:uppercase;color:var(--grey-500);letter-spacing:1px}
.device-body h3{font-size:1.8rem;font-weight:600;color:var(--white)}
.device-desc{font-size:1.3rem;color:var(--grey-500);line-height:1.6}
.device-stars{font-size:1.4rem;color:var(--primary);letter-spacing:2px}
.device-price{font-size:2rem;font-weight:700;color:var(--white);margin-top:auto;padding-top:12px}
.devices-foot{margin-top:40px;text-align:center}
.devices-foot .link-arrow{color:var(--white);font-size:1.4rem}

/* Crypto Section */
.crypto{padding:80px 0}
.crypto h2{text-align:center;margin-bottom:8px}
.crypto-sub{text-align:center;color:var(--grey-600);font-size:1.6rem;margin-bottom:40px}
.crypto-scroll{overflow:hidden;margin-bottom:24px}
.crypto-track{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.crypto-track span{display:inline-flex;align-items:center;justify-content:center;padding:10px 24px;background:var(--grey-100);border:1px solid var(--grey-200);border-radius:100px;font-size:1.4rem;font-weight:600;white-space:nowrap;min-width:70px;text-align:center}
.crypto-foot{text-align:center;margin-top:24px}
.crypto-foot .link-arrow{color:var(--black);font-size:1.4rem}

/* Why Section */
.why{padding:120px 0;background:var(--grey-100)}
.why-grid{display:flex;gap:40px}
@media(max-width:768px){.why-grid{flex-direction:column;gap:32px}}
.why-item{flex:1}
.why-item h3{font-size:3.2rem;font-weight:500;margin-bottom:12px}
.why-item p{font-size:1.6rem;color:var(--grey-600);line-height:1.6}

/* Download Section */
.download{padding:100px 0;background:var(--black)}
.dl-banner{display:flex;gap:80px;align-items:center}
@media(max-width:768px){.dl-banner{flex-direction:column;gap:40px;align-items:flex-start}}
.dl-text{flex:1}
.dl-text h2{color:var(--white);margin-bottom:12px}
.dl-text p{color:var(--grey-500);font-size:1.6rem;line-height:1.6;margin-bottom:24px;max-width:480px}
.dl-img{flex-shrink:0}
.dl-img img{width:220px;border-radius:16px}
@media(max-width:768px){.dl-img img{width:160px}}

/* Footer */
.footer{background:var(--offblack);color:var(--white);padding:80px 0 40px}
.footer-grid{display:flex;gap:80px;margin-bottom:48px}
@media(max-width:768px){.footer-grid{flex-direction:column;gap:40px}}
.footer-col h4{font-size:1.3rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase;margin-bottom:20px}
.footer-col a{display:block;font-size:1.3rem;color:var(--grey-500);margin-bottom:10px;transition:color .2s}
.footer-col a:hover{color:var(--white)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:32px}
.footer-bottom p{font-size:1.1rem;color:var(--grey-600);line-height:1.6}

/* Mobile nav */
@media(max-width:768px){
  #nav{display:none}.menu-toggle{display:flex}
  #nav.open{display:flex;flex-direction:column;position:absolute;top:86px;left:0;right:0;background:var(--white);padding:24px;gap:16px;box-shadow:0 8px 32px rgba(0,0,0,.12)}
  .hero{padding:100px 0 80px;min-height:auto}
}
