*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bg:#fff;
    --text:#1d1d1f;
    --muted:#6e6e73;
    --accent:#0071e3;
    --nav-bg:rgba(255,255,255,0.9);
    --nav-link:#333;
    --phone-shell:#111;
    --widget-bg:#fff;
    --widget-text:#1d1d1f;
    --section-dark-bg:#000;
    --section-dark-text:#fff;
    --card-bg:#111;
    --card-border:#222;
    --card-muted:#aaa;
    --footer-bg:#f5f5f7;
    --menu-border:rgba(29,29,31,0.12);
    --menu-shadow:0 18px 40px rgba(15,23,42,0.12);
}

body[data-theme="dark"]{
    --bg:#0f1012;
    --text:#f3f4f6;
    --muted:#b6bac2;
    --accent:#4aa3ff;
    --nav-bg:rgba(15,16,18,0.9);
    --nav-link:#e8eaf0;
    --phone-shell:#000;
    --widget-bg:#17181b;
    --widget-text:#f3f4f6;
    --section-dark-bg:#000;
    --section-dark-text:#fff;
    --card-bg:#17181b;
    --card-border:#2a2d33;
    --card-muted:#c3c6cd;
    --footer-bg:#141518;
    --menu-border:rgba(243,244,246,0.12);
    --menu-shadow:0 18px 40px rgba(0,0,0,0.35);
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    background:var(--bg);
    transition:background .3s ease,color .3s ease;
}

.navbar{
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
    background:var(--nav-bg);
    backdrop-filter:blur(10px);
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.nav-actions{
    display:flex;
    align-items:center;
    gap:20px;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:20px;
}

.logo{
    font-weight:700;
    font-size:22px;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:30px;
}

.navbar a{
    text-decoration:none;
    color:var(--nav-link);
}

.menu-toggle{
    display:none;
    border:1px solid var(--menu-border);
    background:transparent;
    width:46px;
    height:46px;
    border-radius:14px;
    padding:0;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}

.menu-toggle span{
    width:18px;
    height:2px;
    background:var(--nav-link);
    border-radius:999px;
    transition:transform .25s ease,opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2){
    opacity:0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

.theme-toggle{
    border:1px solid var(--nav-link);
    background:transparent;
    color:var(--nav-link);
    padding:8px 14px;
    border-radius:999px;
    font:inherit;
    cursor:pointer;
}

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:100px 20px;
}

.hero h1{
    font-size:6rem;
    letter-spacing:-4px;
}

.hero h2{
    font-size:3rem;
    margin-top:20px;
}

.hero-text{
    max-width:800px;
    margin:30px auto;
    color:var(--muted);
    font-size:1.2rem;
    line-height:1.8;
}

.hero-buttons{
    margin-top:40px;
}

.primary-btn{
    background:var(--accent);
    color:white;
    padding:15px 30px;
    border-radius:999px;
    text-decoration:none;
}

.secondary-btn{
    color:var(--accent);
    text-decoration:none;
    margin-left:20px;
}

.section{
    padding:120px 10%;
}

.container{
    max-width:1200px;
    margin:auto;
}

.section-label{
    color:var(--accent);
    font-weight:600;
    margin-bottom:20px;
}

.section h2{
    font-size:3rem;
    margin-bottom:30px;
}

.section-text{
    font-size:1.2rem;
    line-height:1.9;
    color:var(--muted);
    max-width:900px;
}

.phone-section{
    padding:100px 0;
}

.phone{
    width:340px;
    margin:auto;
    border-radius:50px;
    background:var(--phone-shell);
    padding:20px;
}

.widget{
    background:var(--widget-bg);
    color:var(--widget-text);
    border-radius:30px;
    padding:30px;
}

.widget h3{
    margin-bottom:20px;
}

.score{
    font-size:3rem;
    font-weight:800;
    color:var(--accent);
    margin-bottom:30px;
}

.stat{
    display:flex;
    justify-content:space-between;
    margin:15px 0;
}

.dark{
    background:var(--section-dark-bg);
    color:var(--section-dark-text);
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:60px;
}

.feature-card{
    background:var(--card-bg);
    border:1px solid var(--card-border);
    padding:30px;
    border-radius:20px;
}

.feature-card p{
    margin-top:15px;
    color:var(--card-muted);
    line-height:1.7;
}

.vision{
    padding:140px 10%;
    text-align:center;
}

.vision h2{
    font-size:3.5rem;
    margin-bottom:30px;
}

.vision-list{
    list-style:none;
    margin:40px 0;
}

.vision-list li{
    margin:15px 0;
    font-size:1.2rem;
}

footer{
    background:var(--footer-bg);
    text-align:center;
    padding:80px 20px;
}

footer h3{
    font-size:2rem;
    margin-bottom:20px;
}

.copyright{
    margin-top:20px;
    color:var(--muted);
}

.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

@media(max-width:768px){

.navbar{
    padding:16px 5%;
    align-items:center;
}

.nav-actions{
    position:relative;
    gap:12px;
}

.menu-toggle{
    display:flex;
}

.nav-menu{
    position:absolute;
    top:calc(100% + 12px);
    right:0;
    width:min(280px,88vw);
    padding:18px;
    border:1px solid var(--menu-border);
    border-radius:22px;
    background:var(--nav-bg);
    backdrop-filter:blur(18px);
    box-shadow:var(--menu-shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:18px;
}

.nav-menu.open{
    display:flex;
}

.navbar ul{
    flex-direction:column;
    gap:8px;
}

.navbar li{
    width:100%;
}

.navbar a{
    display:block;
    font-size:1rem;
    padding:10px 12px;
    border-radius:12px;
}

.theme-toggle{
    width:100%;
    padding:11px 14px;
}

.hero h1{
    font-size:4rem;
}

.hero h2{
    font-size:2rem;
}

.hero{
    padding-top:160px;
}

.section h2{
    font-size:2.2rem;
}
}