/* ===== RESET ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:system-ui, -apple-system, sans-serif;
  background:#f8fafc;
  color:#0f172a;
}

/* ===== CONTAINER ===== */
.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

/* HERO шире */


/* ===== HEADER ===== */
.header{
  position:sticky;
  top:0;
  z-index:10;

  width:100%;
  background:rgba(255,255,255,0.8);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #e5e7eb;

  overflow:visible; /* 🔥 важно */
}

/* ВАЖНО: выравниваем как body */
.header .container{
  max-width:1200px; /* 🔥 то же самое что у тебя */
  margin:0 auto;
  padding:0 20px;
}



.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;

  min-height:70px; /* 🔥 вместо padding */
}


.logo{
  font-weight:700;
  font-size:18px;
}

.menu a{
  margin-left:20px;
  text-decoration:none;
  color:#334155;
  transition:0.2s;
}

.menu a:hover{
  color:#6366f1;
}

/* ===== HERO ===== */
.hero{
  padding:100px 0;
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(99,102,241,0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(59,130,246,0.15), transparent 40%);
}

.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

/* TEXT */
.hero-text h1{
  font-size:48px;
  margin-bottom:15px;
  line-height:1.2;
}

.hero-text p{
  color:#64748b;
  margin-bottom:20px;
}

/* BUTTONS */
.hero-buttons{
  display:flex;
  gap:10px;
  margin-bottom:15px;
}

/* TAGS */
.hero-tags span{
  background:#e0e7ff;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  margin-right:6px;
}

/* ===== VIDEO CARD ===== */
.video-card{
  position:relative;
  width:100%;
  aspect-ratio:16 / 8;
  overflow:hidden;
  border-radius:24px;

  background:rgba(255,255,255,0.5);
  backdrop-filter:blur(20px);

  border:1px solid rgba(255,255,255,0.4);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.15),
    0 0 40px rgba(99,102,241,0.2);
}

.video-card video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ===== PRODUCTS ===== */
.products{
  padding:100px 0;
  text-align:center;
}

.subtitle{
  color:#64748b;
  margin-bottom:30px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr); /* 🔥 всегда 4 */
  gap:25px;
}
/* CARD */
.product-card{
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(20px);

  padding:30px;
  border-radius:20px;

  border:1px solid rgba(255,255,255,0.4);

  transition:0.3s;
  position:relative;
  overflow:hidden;
}

/* glow */
.product-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent, rgba(99,102,241,0.15), transparent);
  opacity:0;
  transition:0.3s;
    pointer-events:none; /* 🔥 КЛЮЧ */
}

.product-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 30px 80px rgba(0,0,0,0.1);
}

.product-card:hover::before{
  opacity:1;
}

.product-card p{
  color:#64748b;
  margin:10px 0;
}

/* ===== ABOUT ===== */
.about{
  padding:100px 0;
  text-align:center;
}

.about p{
  max-width:700px;
  margin:15px auto;
  color:#475569;
  line-height:1.7;
}

/* ===== CONTACT ===== */
.section{
  padding:100px 0;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}

/* LEFT */
.contact-list{
  list-style:none;
  margin-top:20px;
}

.contact-list li{
  margin-bottom:10px;
  color:#475569;
}

.contact-list a{
  color:#6366f1;
  text-decoration:none;
}

/* FORM */
.contact-form{
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(20px);

  padding:30px;
  border-radius:20px;

  border:1px solid rgba(255,255,255,0.4);

  box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

/* ROW */
.form-row{
  display:flex;
  flex-direction:column;
  margin-bottom:15px;
}

.form-row label{
  font-size:13px;
  margin-bottom:5px;
  color:#475569;
}

/* INPUT */
.form-row input,
.form-row textarea{
  padding:14px;
  border-radius:12px;
  border:1px solid #e2e8f0;
  background:white;
  transition:0.2s;
}

.form-row input:focus,
.form-row textarea:focus{
  border-color:#6366f1;
  box-shadow:0 0 0 3px rgba(99,102,241,0.2);
}

/* ===== BUTTON ===== */
.btn{
  padding:12px 18px;
  border-radius:12px;
  text-decoration:none;
  display:inline-block;
  cursor:pointer;
  transition:0.2s;
  font-weight:500;
}

.btn.primary{
  background:linear-gradient(135deg,#6366f1,#3b82f6);
  color:white;
}

.btn.primary:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(99,102,241,0.4);
}

.btn.ghost{
  border:1px solid #cbd5f5;
}

.btn.full,
.full-width{
  width:100%;
}

/* NOTE */
.form-note{
  font-size:13px;
  margin-top:10px;
  color:#64748b;
}

/* ===== FOOTER ===== */
.footer{
  padding:30px;
  text-align:center;
  color:#64748b;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

  .hero-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .hero-text h1{
    font-size:34px;
  }

  .contact-grid{
    grid-template-columns:1fr;
  }

}

/* ===== PRODUCTS + ABOUT LAYOUT ===== */
.products-about{
  padding:100px 0;
}

.products-about-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr; /* 🔥 продукты шире */
  gap:80px;
  align-items:start;
}

/* LEFT */
.products-left h2{
  margin-bottom:10px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr); /* 🔥 2 карточки */
  gap:20px;
  margin-top:20px;
}

/* RIGHT */
.about-right{
  position:sticky;
  top:100px; /* 🔥 прилипает при скролле */
}

.about-right p{
  margin-top:15px;
  color:#475569;
  line-height:1.7;
}

/* ===== RESPONSIVE ===== */
@media(max-width:1000px){
  .products-about-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .about-right{
    position:static;
  }

  .product-grid{
    grid-template-columns:1fr;
  }
}

.urun{
  margin-left:28px; /* сам регулируешь */
}

/* плавный скролл */
html{
  scroll-behavior:smooth;
}

/* overlay (главный эффект) */
.blur-overlay{
  position:fixed;
  inset:0;
  backdrop-filter:blur(6px);
  background:rgba(0,0,0,0.2);
  z-index:4;

  opacity:0;
  pointer-events:none;
  transition:0.4s;
}

/* активный */
.blur-overlay.active{
  opacity:1;
  pointer-events:auto;
}



/* общий focus */
.focus-section{
  position:relative;
  z-index:5;
  transform:scale(1.04);
  transition:0.4s;
}


/* ===== MOBILE MENU ===== */

.nav-toggle{
  display:none;
  font-size:22px;
  background:none;
  border:none;
  cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){

  .nav{
    position:relative;
  }

  .nav-toggle{
    display:block;
  }

  .menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;

    background:white;
    border-bottom:1px solid #e5e7eb;

    display:flex;
    flex-direction:column;
    gap:10px;

    padding:15px;

    opacity:0;
    transform:translateY(-10px);
    pointer-events:none;

    transition:0.3s;
  }

  .menu.open{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }

  .menu a{
    margin:0;
    padding:10px;
    border-radius:8px;
  }

  .menu a:hover{
    background:#f1f5f9;
  }

}






.faq {
  padding: 80px 20px;
  background: #0f172a;
}

.faq .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.faq h3 {
  font-size: 18px;
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 10px;
  margin-top: 15px;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

.faq h3:hover {
  background: #334155;
}

.faq p {
  background: #020617;
  margin: 0;
  padding: 15px 20px;
  border-left: 3px solid #38bdf8;
  border-radius: 0 0 10px 10px;
  display: none;
  color: #cbd5f5;
}



.faq h3::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
  transition: 0.3s;
}

.faq h3.active::after {
  content: "-";
}