*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --primary-blue:#0B46B4;
  --primary-blue-dark:#062A6F;
  --accent-red:#E30613;
  --accent-red-dark:#B8000B;
  --black:#050608;
  --black-soft:#101318;
  --dark-text:#111827;
  --muted:#667085;
  --white:#ffffff;
  --light-bg:#f7f9fc;
  --border:#e5e7eb;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

body{
  font-family:Arial,sans-serif;
  color:var(--dark-text);
  background:var(--white);
  overflow-x:hidden;
}

/* HEADER */

.header{
  min-height:86px;
  padding:0 55px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--white);
  box-shadow:0 2px 12px rgba(0,0,0,.10);
  border-bottom:1px solid var(--border);
}

.logo img{
  width:170px;
  height:auto;
}

.navbar{
  display:flex;
  gap:24px;
  align-items:center;
}

.navbar a{
  text-decoration:none;
  color:var(--black);
  font-weight:800;
  font-size:14px;
  padding-bottom:8px;
  position:relative;
}

.navbar a:hover,
.navbar a.active,
.navbar a:first-child{
  color:var(--primary-blue);
}

.navbar a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:3px;
  background:var(--primary-blue);
  transition:.3s;
}

.navbar a:hover::after,
.navbar a.active::after,
.navbar a:first-child::after{
  width:100%;
}

.header-right{
  display:flex;
  align-items:center;
  gap:20px;
}

.search-box{
  display:flex;
  border:1px solid #d7dce5;
  border-radius:6px;
  overflow:hidden;
  background:var(--white);
}

.search-box input{
  width:260px;
  padding:13px 14px;
  border:none;
  outline:none;
  color:var(--dark-text);
}

.search-box button{
  width:52px;
  background:var(--primary-blue);
  color:var(--white);
  border:none;
  font-size:18px;
  cursor:pointer;
}

.search-box button:hover{
  background:var(--accent-red);
}

.cart,
.account{
  display:flex;
  align-items:center;
  gap:7px;
  font-weight:800;
  position:relative;
  text-decoration:none;
  color:var(--black);
}

.cart-badge,
.cart span{
  position:absolute;
  top:-12px;
  left:10px;
  background:var(--accent-red);
  color:var(--white);
  font-size:11px;
  min-width:20px;
  height:20px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  font-weight:800;
}

#accountArea{
  display:flex;
  align-items:center;
  gap:10px;
}

.signin-btn,
.profile-link{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  background:var(--primary-blue);
  color:var(--white);
  padding:11px 20px;
  border-radius:6px;
  font-weight:800;
  transition:.3s;
}

.signin-btn:hover{
  background:var(--accent-red);
}

.profile-link{
  background:transparent;
  color:var(--black);
}

.profile-link:hover{
  color:var(--primary-blue);
}

/* HERO */

.hero{
  min-height:520px;
  display:grid;
  grid-template-columns:45% 55%;
  align-items:center;
  background:
    linear-gradient(110deg, rgba(5,6,8,.98) 0%, rgba(7,19,45,.96) 42%, rgba(11,70,180,.86) 63%, rgba(0,0,0,.30) 100%),
    linear-gradient(135deg,var(--black),var(--primary-blue-dark));
  overflow:hidden;
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg, transparent 0 48%, var(--accent-red) 48.4% 50%, transparent 50.4%),
    radial-gradient(circle at 8% 25%, rgba(227,6,19,.18), transparent 20%),
    radial-gradient(circle at 42% 75%, rgba(11,70,180,.25), transparent 25%);
  pointer-events:none;
}

.hero-text{
  padding-left:75px;
  position:relative;
  z-index:2;
}

.hero-text h1{
  font-size:54px;
  line-height:1.08;
  color:var(--white);
  margin-bottom:24px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.hero-text h1 strong,
.hero-text h1 .red{
  color:var(--accent-red);
}

.hero-text h1 span,
.hero-text h1 .blue{
  color:var(--primary-blue);
}

.hero-text p{
  font-size:19px;
  line-height:1.65;
  max-width:560px;
  margin-bottom:32px;
  color:#eef3ff;
}

.hero-buttons{
  display:flex;
  gap:18px;
}

.btn{
  padding:16px 34px;
  border-radius:6px;
  text-decoration:none;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.btn-green{
  background:var(--accent-red);
  color:var(--white);
}

.btn-outline{
  border:2px solid var(--primary-blue);
  color:var(--white);
  background:rgba(5,6,8,.35);
}

.btn:hover{
  background:var(--primary-blue);
  border-color:var(--primary-blue);
  color:var(--white);
  transform:translateY(-2px);
}

.hero-image{
  position:relative;
  z-index:1;
}

.hero-image img{
  width:100%;
  height:520px;
  object-fit:cover;
  display:block;
}

/* SECTIONS */

.categories,
.products,
.why{
  padding:42px 55px;
  text-align:center;
  background:var(--white);
}

.categories h2,
.products h2,
.why h2{
  color:var(--black);
  font-size:28px;
  font-weight:900;
  margin-bottom:8px;
  text-transform:uppercase;
}

.underline{
  width:55px;
  height:3px;
  background:var(--accent-red);
  margin:0 auto 28px;
}

/* CATEGORIES */

.category-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}

.category-card{
  background:var(--white);
  padding:24px 15px;
  border-radius:10px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  transition:.3s;
  border-top:4px solid transparent;
}

.category-card:hover,
.product-card:hover{
  transform:translateY(-7px);
  border-top-color:var(--accent-red);
}

.category-card img{
  width:120px;
  height:120px;
  object-fit:contain;
  margin-bottom:12px;
}

.category-card h3{
  color:var(--black);
  margin-bottom:12px;
  font-weight:900;
}

.category-card p{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  margin-bottom:18px;
}

.category-card a{
  background:transparent;
  color:var(--accent-red);
  padding:0;
  border-radius:0;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
}

.category-card a:hover{
  color:var(--primary-blue);
}

/* PRODUCTS */

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.product-card{
  background:var(--white);
  border-radius:10px;
  padding:22px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  transition:.3s;
  border-top:4px solid transparent;
}

.product-card img{
  width:100%;
  height:190px;
  object-fit:contain;
  margin-bottom:15px;
}

.product-card h3{
  color:var(--black);
  font-size:18px;
  margin-bottom:8px;
  font-weight:900;
}

.product-card h4{
  color:var(--accent-red);
  font-size:22px;
  margin-bottom:12px;
  font-weight:900;
}

.product-card p{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  margin-bottom:18px;
}

.product-buttons{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.product-buttons button{
  padding:10px 16px;
  border:1px solid var(--primary-blue);
  background:var(--primary-blue);
  color:var(--white);
  border-radius:5px;
  font-weight:800;
  cursor:pointer;
}

.product-buttons button:hover{
  background:var(--accent-red);
  border-color:var(--accent-red);
}

/* WHY */

.why{
  background:var(--light-bg);
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.why-box{
  display:flex;
  align-items:center;
  gap:18px;
  background:var(--white);
  padding:25px;
  border-radius:12px;
  text-align:left;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.why-box i{
  font-size:45px;
  color:var(--primary-blue);
}

.why-box h3{
  color:var(--black);
  margin-bottom:8px;
  font-weight:900;
}

.why-box p{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

/* FOOTER */

.footer{
  background:linear-gradient(135deg,var(--black),var(--black-soft));
  color:var(--white);
  padding:50px 55px 20px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1.2fr 1.4fr;
  gap:45px;
}

.footer-logo{
  width:170px;
  margin-bottom:18px;
}

.footer-col p{
  line-height:1.7;
  margin-bottom:12px;
  color:#f1f5f9;
}

.footer-col h3{
  margin-bottom:20px;
  color:var(--white);
  font-weight:900;
}

.footer-col a{
  display:block;
  color:#f1f5f9;
  text-decoration:none;
  margin-bottom:10px;
}

.footer-col a:hover{
  color:var(--accent-red);
}

.socials{
  display:flex;
  gap:15px;
  margin-top:20px;
  flex-wrap:wrap;
}

.socials i{
  background:var(--primary-blue);
  color:var(--white);
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
}

.socials i:hover{
  background:var(--accent-red);
}

.copyright{
  text-align:center;
  border-top:1px solid rgba(255,255,255,.18);
  margin-top:35px;
  padding-top:18px;
  color:#dbe4f0;
}

/* TABLET */

@media(max-width:1000px){
  .header{
    flex-wrap:wrap;
    height:auto;
    padding:20px;
    gap:20px;
  }

  .navbar{
    order:3;
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }

  .hero{
    grid-template-columns:1fr;
  }

  .hero-text{
    padding:55px 25px;
    text-align:center;
  }

  .hero-text h1{
    font-size:42px;
  }

  .hero-text p{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-buttons{
    justify-content:center;
    flex-wrap:wrap;
  }

  .hero-image img{
    height:auto;
    max-height:520px;
  }

  .category-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .product-grid,
  .why-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }
}

/* MOBILE */

@media(max-width:600px){
  .header{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:20px 15px;
    gap:18px;
  }

  .logo img{
    width:135px;
  }

  .header-right{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
  }

  .search-box{
    width:100%;
    max-width:100%;
  }

  .search-box input{
    width:100%;
    font-size:15px;
  }

  .search-box button{
    width:60px;
    flex-shrink:0;
  }

  .cart{
    justify-content:center;
    width:auto;
    font-size:18px;
  }

  .cart-badge,
  .cart span{
    position:static;
    margin-right:5px;
  }

  .account{
    justify-content:center;
  }

  .signin-btn,
  .profile-link{
    justify-content:center;
    padding:12px 22px;
  }

  .navbar{
    order:3;
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px 10px;
    text-align:center;
  }

  .navbar a{
    font-size:14px;
    padding:8px 2px;
    white-space:normal;
  }

  .hero{
    display:flex;
    flex-direction:column;
    min-height:auto;
    text-align:center;
    padding:0;
  }

  .hero-text{
    padding:55px 25px 35px;
  }

  .hero-text h1{
    font-size:34px;
    line-height:1.15;
  }

  .hero-text p{
    font-size:18px;
    line-height:1.7;
  }

  .hero-buttons{
    flex-direction:row;
    justify-content:center;
    gap:14px;
  }

  .hero-buttons .btn{
    width:50%;
    padding:14px 8px;
    font-size:15px;
    text-align:center;
  }

  .hero-image{
    width:100%;
    padding:0 20px 40px;
  }

  .hero-image img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
  }

  .categories,
  .products,
  .why{
    padding:45px 18px;
  }

  .categories h2,
  .products h2,
  .why h2{
    font-size:28px;
    line-height:1.2;
  }

  .category-grid,
  .product-grid,
  .why-grid{
    grid-template-columns:1fr;
    gap:25px;
  }

  .category-card,
  .product-card{
    padding:28px 18px;
  }

  .category-card img{
    width:160px;
    height:160px;
    object-fit:contain;
  }

  .category-card h3{
    font-size:22px;
  }

  .category-card p{
    font-size:16px;
  }

  .category-card a{
    display:inline-block;
    padding:0;
    font-size:15px;
  }

  .why-box{
    flex-direction:column;
    text-align:center;
  }

  .footer{
    padding:45px 25px 20px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:35px;
  }

  .footer-col{
    width:100%;
  }

  .footer-logo{
    width:150px;
    display:block;
    margin-bottom:20px;
  }

  .footer-col p,
  .footer-col a{
    font-size:16px;
    line-height:1.8;
    word-break:break-word;
  }

  .socials i{
    width:46px;
    height:46px;
    font-size:18px;
  }

  .copyright{
    font-size:14px;
    line-height:1.6;
  }
}

/* SMALL PHONES */

@media(max-width:420px){
  .navbar{
    grid-template-columns:repeat(2,1fr);
  }

  .hero-buttons{
    flex-direction:column;
  }

  .hero-buttons .btn{
    width:100%;
  }

  .hero-text h1{
    font-size:30px;
  }
}
