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

body{
  font-family:Inter;
  background:#fff;
  color:#111;
}
/* чтобы футер был внизу */
html, body{
  height:100%;
}

body{
  display:flex;
  flex-direction:column;
}

/* основной контент растягивается */
main{
  flex:1;
}
main{
  padding-bottom:40px;
}
.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}
.header{
  position:fixed;
  width:100%;
  top:0;
  z-index:100;
	
background: #FFFFFF;
background: linear-gradient(178deg, rgba(255, 255, 255, 1) 0%, rgba(234, 234, 234, 1) 100%);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(0,0,0,0.1);

  transition:.3s;
}

/* при скролле */
.header.scrolled{
  
  box-shadow:0 5px 20px rgba(0,0,0,0.15);
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:70px;
}

/* LOGO */
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}

.logo-icon{
  width:28px;
  height:28px;
  background:linear-gradient(135deg,#FFD000,#FFB800);
  clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* NAV LINKS */
nav a{
  position:relative;
  color:#444;
  text-decoration:none;
  margin-left:24px;
  font-weight:500;
  padding-bottom:4px;
  transition:.2s;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:linear-gradient(90deg,#FFD000,#FFB800);
  transition:.25s;
}

nav a:hover{
  color:#000;
}

nav a:hover::after{
  width:100%;
}

/* BURGER */
.burger{
  display:none;
  font-size:26px;
  cursor:pointer;
  transition:.2s;
}

.burger:hover{
  transform:scale(1.1);
}

/* ================= MOBILE ================= */
.mobile{
  position:fixed;
  top:0;
  right:-100%;
  width:75%;
  height:100%;
  background:#0b0b0b;
  padding:30px;
  transition:.3s;
  z-index:200;
}
.mobile.active{right:0;}

.mobile .logo{
  color:#fff;
  margin-bottom:30px;
}

.mobile a{
  display:block;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  color:#fff;
  font-size:18px; text-decoration: none;
}

.mobile a:hover{
  color:#FFD000;
}

.close{
  position:absolute;
  top:20px;
  right:20px;
  font-size:24px;
  color:#fff;
  cursor:pointer;
}

/* OVERLAY */
/* OVERLAY (фон слева) */
.overlay{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(8px);

  opacity:0;
  pointer-events:none;
  transition:.3s;

  z-index:150;
}

.overlay.active{
  opacity:1;
  pointer-events:all;
}

/* ================= HERO ================= */
.hero{
  position:relative;
  padding:140px 0 100px;
  overflow:hidden;
  color:#fff;

  background:
    radial-gradient(circle at 20% 30%, rgba(255,200,0,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,200,0,0.08), transparent 40%),
    linear-gradient(135deg,#050505,#0b0b0b);
}

/* glow */
.hero::before{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  background:radial-gradient(circle, rgba(255,200,0,0.2), transparent 70%);
  top:-100px;
  left:-100px;
  filter:blur(80px);
  z-index:1;
}

/* canvas */
#bgCanvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:800px;
}

.hero h1{
  font-size:44px;
  line-height:1.2;
  margin-bottom:15px;
}

.hero p{
  font-size:18px;
  color:#bbb;
  margin-bottom:25px;
}

/* CTA */
.cta-box{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:25px;
  max-width:540px;
}

.cta-box input{
  flex:1;
  padding:16px 18px;
  border-radius:12px;
  border:none;
  background:#f5f5f5;
  font-size:16px;
}

.cta-box input:focus{
  outline:none;
  box-shadow:0 0 0 2px rgba(255,200,0,0.4);
}

/* BUTTON */
.btn{
  padding:16px 26px;
  border-radius:12px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  color:#000;

  background:linear-gradient(135deg,#FFD000,#FFB800);
  box-shadow:0 10px 30px rgba(255,200,0,0.35);

  transition:.2s;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 40px rgba(255,200,0,0.5);
}

.hero-info{
  margin-top:30px;
  color:#bbb;
}

/* ================= ABOUT ================= */
.about-pro{
  padding:60px 0;
}

.about-head{
  text-align:center;
  margin-bottom:25px;
}

.about-head h2{
  font-size:32px;
}

.about-head p{
  color:#666;
}

.about-line{
  width:100px;
  height:4px;
  background:#FFD000;
  margin:20px auto;
}

.about-pro-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

.about-pro-card{
  background:#fff;
  padding:25px;
  border-radius:16px;
  border:1px solid #eee;
  transition:.3s;
}

.about-pro-card:hover{
  transform:translateY(-5px);
  border-color:#FFD000;
}

/* TEXT BLOCK */
.about-top{
  background:#fffbe4;
  padding:20px;
  border-radius:12px;
  text-align:center;
  margin:20px 0;
}

.about-top p:first-child{
  font-weight:700;
  font-size:18px;
}

.about-text{
  max-width:800px;
  margin:30px auto;
  line-height:1.7;
  color:#555;
}

.about-text p{
  margin-bottom:15px;
}

/* ================= FOOTER ================= */
.footer{
  background:#0b0b0b;
  padding:50px 0;
  color:#fff;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:40px;
}

.footer h4{
  margin-bottom:10px;
}

.footer a{
  color:#aaa;
  text-decoration:none;
  margin-bottom:6px;
  display:block;
}

.footer a:hover{
  color:#fff;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

  nav{display:none;}
  .burger{display:block;}

  /* ВАЖНО */
  .cta-box{
    flex-direction:column;
    max-width:100%;
    width:100%;
  }

  .cta-box input,
  .cta-box .btn{
    width:100%;
	
  }
.cta-box .btn{
    text-align:Center;
  }
}

.catalog{
  padding:120px 0 60px;
}

.search{
  width:100%;
  max-width:400px;
  padding:12px;
  border-radius:10px;
  border:1px solid #eee;
  margin:20px 0;
}

/* LIST */
.catalog-list{
  border-top:1px solid #eee;
}

/* ITEM */
.item{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:20px;
  padding:18px 0;
  border-bottom:1px solid #eee;
  align-items:center;
  transition:.2s;
}

.item:hover{
  background:#fafafa;
}

/* NAME */
.name{
  font-weight:500;
}

/* PRICE */
.price{
  font-weight:700;
}

/* BUTTON */
.buy{
  padding:8px 14px;
  border-radius:8px;
  background:#FFD000;
  color:#000;
  text-decoration:none;
}

/* PAGINATION */
.pagination{
  margin-top:30px;
}

.pagination a{
  margin-right:10px;
  text-decoration:none;
  color:#444;
}

.pagination a.active{
  font-weight:700;
  color:#000;
}