@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root{
    --navy:#071426;
    --navy2:#0d2038;
    --blue:#1463ff;
    --gold:#c99a3d;
    --white:#ffffff;
    --light:#f4f7fb;
    --text:#152238;
    --muted:#6b778c;
    --border:#e4e9f1;
    --shadow:0 18px 50px rgba(7,20,38,.09);
    --radius:22px;
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"DM Sans",sans-serif;
    color:var(--text);
    background:var(--white);
    line-height:1.6;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    width:100%;
    display:block;
}

.container{
    width:min(1180px,92%);
    margin:auto;
}

.site-header{
    height:78px;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:1000;
    backdrop-filter:blur(18px);
}

.nav-wrap{
    height:100%;
    display:flex;
    align-items:center;
    gap:30px;
}

.brand,
.footer-brand{
    display:flex;
    align-items:center;
    gap:11px;
}

.brand-mark{
    width:42px;
    height:42px;
    border-radius:13px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--navy),var(--blue));
    color:white;
    font-family:"Outfit";
    font-weight:800;
    font-size:21px;
}

.brand strong,
.footer-brand strong{
    display:block;
    font-family:"Outfit";
    letter-spacing:1px;
}

.brand small,
.footer-brand small{
    display:block;
    font-size:9px;
    letter-spacing:4px;
    color:var(--gold);
}

.main-nav{
    margin-left:auto;
    display:flex;
    gap:26px;
    align-items:center;
}

.main-nav a{
    font-size:14px;
    font-weight:600;
    color:#35435a;
}

.main-nav a:hover{
    color:var(--blue);
}

.nav-actions{
    display:flex;
}

.menu-toggle{
    display:none;
    margin-left:auto;
    border:0;
    background:transparent;
    font-size:25px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:0 24px;
    border-radius:13px;
    font-weight:700;
    border:0;
    cursor:pointer;
    transition:.25s ease;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    background:var(--blue);
    color:white;
    box-shadow:0 12px 25px rgba(20,99,255,.22);
}

.btn-outline{
    border:1px solid #cfd8e6;
    background:white;
}

.btn-light{
    background:white;
    color:var(--navy);
}

.btn-small{
    min-height:42px;
    padding:0 18px;
    font-size:13px;
}

.full-btn{
    width:100%;
}

.hero{
    min-height:680px;
    display:flex;
    align-items:center;
    color:white;
    background:
        radial-gradient(circle at 80% 20%,rgba(20,99,255,.35),transparent 30%),
        linear-gradient(135deg,#06111f,#0b203a 60%,#102e52);
    overflow:hidden;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:60px;
    align-items:center;
}

.eyebrow,
.section-heading span,
.page-hero span,
.cta-box span,
.market-promo span,
.cart-summary>span{
    color:var(--gold);
    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
}

.hero h1{
    font-family:"Outfit";
    font-size:clamp(45px,6vw,78px);
    line-height:.98;
    margin:18px 0 25px;
    letter-spacing:-2px;
}

.hero h1 span{
    color:#79a7ff;
}

.hero p{
    max-width:650px;
    color:#bac9dc;
    font-size:18px;
}

.hero-actions{
    display:flex;
    gap:13px;
    margin-top:34px;
}

.hero-actions .btn-outline{
    color:white;
    background:transparent;
    border-color:rgba(255,255,255,.3);
}

.hero-card{
    padding:36px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.07);
    backdrop-filter:blur(20px);
    border-radius:28px;
}

.hero-card h2{
    font-family:"Outfit";
    font-size:38px;
    line-height:1.05;
    margin:14px 0 30px;
}

.mini-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.mini-grid a{
    background:rgba(255,255,255,.08);
    padding:16px;
    border-radius:12px;
    font-size:13px;
}

.section{
    padding:90px 0;
}

.section-heading{
    max-width:650px;
    margin-bottom:42px;
}

.section-heading h2{
    font-family:"Outfit";
    font-size:42px;
    line-height:1.1;
    margin:8px 0 12px;
}

.section-heading p{
    color:var(--muted);
}

.row-heading{
    max-width:none;
    display:flex;
    justify-content:space-between;
    align-items:end;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.service-card{
    padding:30px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:white;
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
    border-color:#d3dded;
}

.service-card.featured{
    background:var(--navy);
    color:white;
}

.service-icon{
    width:46px;
    height:46px;
    border-radius:13px;
    display:grid;
    place-items:center;
    background:#eef4ff;
    color:var(--blue);
    font-weight:800;
    margin-bottom:28px;
}

.featured .service-icon{
    background:rgba(255,255,255,.1);
    color:#8db4ff;
}

.service-card h3{
    font-family:"Outfit";
    font-size:22px;
    margin-bottom:10px;
}

.service-card p{
    color:var(--muted);
    margin-bottom:25px;
}

.featured p{
    color:#b6c4d6;
}

.service-card strong{
    font-size:13px;
    color:var(--blue);
}

.featured strong{
    color:#82acff;
}

.cta-section{
    padding:30px 0 90px;
}

.cta-box{
    padding:55px;
    border-radius:30px;
    background:linear-gradient(120deg,var(--blue),#073fa5);
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.cta-box h2{
    font-family:"Outfit";
    font-size:40px;
    margin:8px 0;
}

.cta-box p{
    color:#d7e4ff;
}

.page-main{
    background:var(--light);
    min-height:70vh;
}

.page-hero{
    background:var(--navy);
    color:white;
    padding:100px 0;
}

.page-hero h1{
    font-family:"Outfit";
    font-size:clamp(40px,5vw,65px);
    max-width:850px;
    line-height:1.05;
    margin:12px 0 18px;
}

.page-hero p{
    max-width:700px;
    color:#b8c5d7;
    font-size:17px;
}

.small-hero{
    padding:65px 0;
}

.content-card{
    background:white;
    padding:40px;
    border-radius:var(--radius);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.content-card h2{
    font-family:"Outfit";
    margin-bottom:15px;
}

.content-card p{
    color:var(--muted);
    margin-bottom:25px;
}

.contact-grid,
.checkout-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:25px;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.form-grid .full{
    grid-column:1/-1;
}

label{
    display:block;
    font-size:13px;
    font-weight:700;
    margin-bottom:7px;
}

input,
textarea,
select{
    width:100%;
    border:1px solid #d9e0ea;
    border-radius:12px;
    padding:14px 15px;
    font:inherit;
    outline:none;
    background:white;
}

input:focus,
textarea:focus,
select:focus{
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(20,99,255,.08);
}

.alert{
    padding:14px 16px;
    border-radius:11px;
    background:#fff7dc;
    margin:15px 0;
    font-size:14px;
}

.alert.success{
    background:#e8fff2;
    color:#08783c;
}

.alert.error{
    background:#fff0f0;
    color:#a52626;
}

.market-hero{
    padding:70px 0;
    background:#eef4ff;
}

.market-hero-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:30px;
    align-items:stretch;
}

.market-hero h1{
    font-family:"Outfit";
    font-size:clamp(40px,5vw,65px);
    line-height:1;
    margin:14px 0;
    max-width:700px;
}

.market-hero p{
    color:var(--muted);
}

.search-box{
    max-width:650px;
    display:flex;
    background:white;
    padding:7px;
    border-radius:15px;
    box-shadow:var(--shadow);
    margin-top:28px;
}

.search-box input{
    border:0;
    box-shadow:none;
}

.search-box button{
    border:0;
    border-radius:10px;
    background:var(--blue);
    color:white;
    padding:0 25px;
    font-weight:700;
}

.market-promo{
    border-radius:26px;
    background:var(--navy);
    color:white;
    padding:40px;
}

.market-promo h2{
    font-family:"Outfit";
    font-size:34px;
    line-height:1.05;
    margin:12px 0;
}

.market-promo p{
    color:#b9c7d8;
    margin-bottom:25px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.product-card{
    background:white;
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
    transition:.25s;
}

.product-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow);
}

.product-image{
    aspect-ratio:1/1;
    background:#eef1f6;
    overflow:hidden;
}

.product-image img{
    height:100%;
    object-fit:cover;
}

.image-placeholder{
    height:100%;
    min-height:150px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#e8edf5,#f8fafc);
    color:#9aa8bb;
    font-family:"Outfit";
    font-weight:800;
}

.image-placeholder.large{
    min-height:500px;
}

.product-info{
    padding:18px;
}

.product-info small{
    color:var(--muted);
}

.product-info h3{
    font-family:"Outfit";
    margin:4px 0 10px;
}

.product-info strong,
.big-price{
    color:var(--blue);
    font-weight:800;
}

.big-price{
    font-size:30px;
    margin:15px 0;
}

.product-detail{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:start;
}

.product-detail-image{
    border-radius:25px;
    overflow:hidden;
    background:white;
}

.product-detail-info h1{
    font-family:"Outfit";
    font-size:48px;
    line-height:1.05;
    margin-top:10px;
}

.product-detail-info p{
    color:var(--muted);
}

.buy-form{
    margin-top:30px;
    max-width:300px;
}

.buy-form input{
    margin-bottom:12px;
}

.empty-state{
    padding:70px 30px;
    text-align:center;
    background:white;
    border-radius:25px;
    border:1px solid var(--border);
}

.empty-state h2,
.empty-state h3{
    font-family:"Outfit";
    margin-bottom:10px;
}

.empty-state p{
    color:var(--muted);
    margin-bottom:25px;
}

.cart-button{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:700;
}

.cart-button span{
    min-width:23px;
    height:23px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--blue);
    color:white;
    font-size:11px;
}

.cart-layout{
    display:grid;
    grid-template-columns:1fr 340px;
    gap:25px;
}

.cart-items{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.cart-item{
    display:grid;
    grid-template-columns:90px 1fr auto;
    gap:18px;
    align-items:center;
    background:white;
    padding:15px;
    border-radius:16px;
    border:1px solid var(--border);
}

.cart-thumb{
    width:90px;
    height:90px;
    overflow:hidden;
    border-radius:12px;
}

.cart-thumb img{
    height:100%;
    object-fit:cover;
}

.remove-link{
    color:#c53737;
    font-size:13px;
}

.cart-summary{
    background:var(--navy);
    color:white;
    border-radius:20px;
    padding:28px;
    height:max-content;
    position:sticky;
    top:100px;
}

.cart-summary h2{
    font-family:"Outfit";
    font-size:35px;
    margin:10px 0;
}

.cart-summary p{
    color:#b7c4d5;
    font-size:14px;
    margin-bottom:25px;
}

.auth-page{
    min-height:80vh;
    background:var(--light);
    display:grid;
    place-items:center;
    padding:60px 20px;
}

.auth-card{
    width:min(460px,100%);
    background:white;
    padding:40px;
    border-radius:25px;
    box-shadow:var(--shadow);
}

.auth-card h1{
    font-family:"Outfit";
    font-size:38px;
    margin:8px 0;
}

.auth-card>p{
    color:var(--muted);
}

.auth-form{
    margin-top:25px;
}

.auth-form input{
    margin-bottom:17px;
}

.auth-bottom{
    margin-top:20px;
    text-align:center;
    font-size:14px;
}

.auth-bottom a{
    color:var(--blue);
    font-weight:700;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.footer{
    background:#05101d;
    color:white;
    padding:70px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
}

.footer p{
    color:#91a0b3;
    max-width:330px;
    margin-top:20px;
}

.footer h4{
    margin-bottom:15px;
}

.footer a{
    display:block;
    color:#9eacbd;
    margin:9px 0;
    font-size:14px;
}

.footer a:hover{
    color:white;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.09);
    margin-top:50px;
    padding-top:22px;
    display:flex;
    justify-content:space-between;
    color:#738397;
    font-size:12px;
}

@media(max-width:900px){

    .menu-toggle{
        display:block;
    }

    .main-nav{
        display:none;
        position:absolute;
        top:78px;
        left:4%;
        right:4%;
        padding:20px;
        background:white;
        border-radius:15px;
        box-shadow:var(--shadow);
        flex-direction:column;
        align-items:flex-start;
    }

    .main-nav.active{
        display:flex;
    }

    .nav-actions{
        display:none;
    }

    .hero-grid,
    .market-hero-grid,
    .contact-grid,
    .checkout-grid,
    .product-detail,
    .cart-layout{
        grid-template-columns:1fr;
    }

    .hero{
        padding:80px 0;
    }

    .service-grid{
        grid-template-columns:1fr 1fr;
    }

    .product-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

    .cart-summary{
        position:static;
    }
}

@media(max-width:600px){

    .section{
        padding:60px 0;
    }

    .hero h1{
        font-size:45px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .hero-card{
        padding:25px;
    }

    .service-grid,
    .dashboard-grid{
        grid-template-columns:1fr;
    }

    .product-grid{
        grid-template-columns:repeat(2,1fr);
        gap:10px;
    }

    .product-info{
        padding:13px;
    }

    .product-info h3{
        font-size:15px;
    }

    .section-heading h2{
        font-size:32px;
    }

    .cta-box{
        padding:35px 25px;
        flex-direction:column;
        align-items:flex-start;
    }

    .cta-box h2{
        font-size:32px;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .form-grid .full{
        grid-column:auto;
    }

    .content-card{
        padding:25px;
    }

    .product-detail-info h1{
        font-size:36px;
    }

    .cart-item{
        grid-template-columns:65px 1fr;
    }

    .cart-thumb{
        width:65px;
        height:65px;
    }

    .remove-link{
        grid-column:2;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .footer-bottom{
        flex-direction:column;
        gap:8px;
    }

    .row-heading{
        align-items:flex-start;
    }
}