*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#050505;
    color:white;
    margin: 0;
    font-family:'Inter',sans-serif;
    overflow-x:hidden;
}

#intro {
  position: fixed;
  inset: 0;
  background: black;
  overflow: hidden;
  z-index: 9999;
}

#intro video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: blur(0px);
}

#intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 40%,
    rgba(0,0,0,0.6) 100%
  );
  pointer-events: none;
}

#skipBtn {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 10000;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* HEADER */
header{
    width:100%;
    height:80px;
    padding:0 120px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    backdrop-filter:blur(10px);
    background: rgba(5,5,5,0.45);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.logo{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:30px;
    font-weight:800;
}

.max{
    background:#ff2b2b;
    padding:4px 10px;
    border-radius:8px;
}

nav{
    display:flex;
    gap:40px;
}

nav a{
    color:#8b8b8b;
    text-decoration:none;
    transition:0.3s;
}

nav a:hover,
nav .active{
    color:white;
}

.lang{
    display:flex;
    gap:10px;
}

.lang-btn {
    text-decoration: none;
    color: white;
    background:#101010;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.lang-btn:hover {
    background: #171717;
}

/* BURGER ПО УМОЛЧАНИЮ СКРЫТ НА ПК */
.burger{
    display:none;
}

/* HERO */
.hero{
    width:100%;
    min-height:100vh;
    padding:150px 120px 100px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.hero-left{
    width:48%;
    display:flex;
    flex-direction:column;
    gap:30px;
}

.hero-badge{
    width:max-content;
    padding:12px 18px;
    border-radius:30px;
    background:#101010;
    color:#ff2b2b;
    font-size:14px;
}

.hero-left h1{
    font-size:82px;
    line-height:92px;
}

.hero-left p{
    color:#8d8d8d;
    font-size:20px;
    line-height:34px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.main-btn, .second-btn{
    width:240px;
    height:65px;
    border:none;
    border-radius:18px;
    font-size:17px;
    cursor:pointer;
    transition: 0.3s;
}

.main-btn { background:#ff2b2b; }
.second-btn { background:#101010; width: 200px; }

.main-btn a, .second-btn a{
    text-decoration: none;
    color: #fff;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.hero-stats{
    display:flex;
    gap:50px;
    margin-top:20px;
}

.stat h2{
    color:#ff2b2b;
    font-size:36px;
}

.stat span{
    color:#777;
    font-size:15px;
}

.hero-right{
    width:45%;
    height:700px;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.bg-circle{
    position:absolute;
    width:520px;
    height:520px;
    border-radius:50%;
    background: rgba(255,43,43,0.08);
    filter:blur(80px);
    animation: glow 6s ease-in-out infinite;
}

.phone-card{
    width:420px;
    height:620px;
    border-radius:40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter:blur(20px);
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    animation: float 5s ease-in-out infinite;
}

.phone-top{
    position:absolute;
    top:30px;
    left:30px;
    right:30px;
    display:flex;
    justify-content:space-between;
}

.premium{
    padding:10px 16px;
    border-radius:30px;
    background:#101010;
    color:#ff2b2b;
    font-size:13px;
}

.price{
    font-size:18px;
    font-weight:700;
}

.phone-card img{
    width:320px;
    filter: drop-shadow(0 0 40px rgba(255,43,43,0.25));
}

.phone-info{
    position:absolute;
    bottom:35px;
    left:35px;
}

.phone-info h2{ font-size:38px; }
.phone-info p{ color:#8b8b8b; margin-top:8px; }

.mini-card{
    position:absolute;
    width:220px;
    height:90px;
    border-radius:24px;
    background:#111;
    border: 1px solid rgba(255,255,255,0.05);
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-left:25px;
    backdrop-filter:blur(10px);
}

.mini-card h3{ font-size:24px; }
.mini-card span{ color:#888; margin-top:4px; }

.mini1{ left:-20px; top:120px; animation: float2 4s ease-in-out infinite; }
.mini2{ right:-20px; bottom:130px; animation: float3 5s ease-in-out infinite; }

/* CATEGORIES */
.categories{
    display:flex;
    justify-content:center;
    flex-wrap: wrap;
    gap:20px;
    margin-top: 20px;
    padding: 0 20px;
}

.cat{
    padding:18px 30px;
    background:#101010;
    border-radius:18px;
    border: 1px solid rgba(255,255,255,0.05);
    cursor:pointer;
    transition:0.3s;
}

.cat:hover{
    transform:translateY(-5px);
    border-color: rgba(255,43,43,0.2);
}

/* PRODUCTS */
.products{ padding:120px; }
.top{ display:flex; justify-content:space-between; margin-bottom:50px; align-items: center;}
.top h2{ font-size:48px; }
.top a{ color:#ff2b2b; text-decoration:none; }

.cards{
    display:grid;
    grid-template-columns: repeat(5,1fr);
    gap:25px;
}

.card{
    background:#0d0d0d;
    border-radius:30px;
    padding:25px;
    border: 1px solid rgba(255,255,255,0.05);
    transition:0.3s;
}

.card:hover{ transform:translateY(-10px); }
.card img{ width:100%; height:220px; object-fit:contain; }
.card h3{ margin-top:20px; font-size:22px; }
.card p{ margin-top:10px; color:#ff2b2b; font-size:20px; }

/* WHY US */
.why-us{ width:100%; padding:120px 120px; }
.why-top{ margin-bottom:60px; }
.why-top p{ color:#ff2b2b; font-size:14px; letter-spacing:2px; margin-bottom:16px; }
.why-top h2{ font-size:56px; font-weight:800; }
.why-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:25px; }

.why-card{
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius:32px;
    padding:40px 35px;
    transition:0.4s;
    position:relative;
    overflow:hidden;
}

.why-card::before{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    background: rgba(255,43,43,0.08);
    border-radius:50%;
    top:-80px;
    right:-80px;
    filter:blur(30px);
    transition:0.5s;
}

.why-card:hover{
    transform: translateY(-10px);
    border-color: rgba(255,43,43,0.2);
    box-shadow: 0 20px 40px rgba(255,43,43,0.08);
}

.why-card:hover::before{ transform:scale(1.2); }
.why-icon{
    width:70px;
    height:70px;
    border-radius:22px;
    background:#ff2b2b;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    margin-bottom:28px;
    box-shadow: 0 10px 30px rgba(255,43,43,0.2);
}

.why-card h3{ font-size:28px; margin-bottom:18px; }
.why-card p{ color:#8d8d8d; line-height:30px; font-size:16px; }

/* FOOTER */
footer{
    width:100%;
    padding:80px 120px 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top:120px;
}

.footer-top{ display:flex; justify-content:space-between; gap:80px; }
.footer-brand{ width:35%; }
.footer-logo{ display:flex; align-items:center; gap:6px; font-size:36px; font-weight:800; }
.footer-desc{ color:#888; margin-top:25px; line-height:30px; }
.footer-column{ display:flex; flex-direction:column; gap:18px; }
.footer-column h3{ font-size:24px; }
.footer-column a, .footer-column p{ color:#8b8b8b; text-decoration:none; line-height:28px; }

.footer-bottom{
    margin-top:60px;
    padding-top:30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display:flex;
    justify-content:space-between;
}

.footer-bottom span{ color:#ff2b2b; letter-spacing:2px; }
.socials{ display:flex; gap:25px; }
.socials a{ color:#8b8b8b; text-decoration:none; }

/* ANIMATIONS */
@keyframes float{ 0%, 100%{ transform:translateY(0px); } 50%{ transform:translateY(-15px); } }
@keyframes float2{ 0%, 100%{ transform:translateY(0px); } 50%{ transform:translateY(-10px); } }
@keyframes float3{ 0%, 100%{ transform:translateY(0px); } 50%{ transform:translateY(-14px); } }
@keyframes glow{ 0%, 100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }

/* =========================
   MEDIA TABLET
========================= */
@media (max-width: 1024px){
    header{ padding:0 40px; }
    .hero{ flex-direction:column; padding:140px 40px 60px; gap:60px; text-align: center;}
    .hero-left, .hero-right{ width:100%; }
    .hero-left { align-items: center; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .cards{ grid-template-columns: repeat(2,1fr); }
    .why-grid{ grid-template-columns: repeat(2,1fr); }
    .footer-top{ flex-direction: column; gap:40px; }
    .footer-brand { width: 100%; }
}

/* =========================
   MEDIA MOBILE
========================= */
@media (max-width:768px){
    header{ padding:0 20px; height:80px; }
    
    /* Бургер виден ТОЛЬКО на мобильном */
    .burger{ display:block; font-size:32px; color:white; cursor:pointer; z-index:100000; }
    
    nav{
        position:fixed;
        top:0;
        left:-100%;
        width:100%;
        height:100vh;
        background:#050505;
        display:flex;
        flex-direction:column;
        justify-content: center;
        align-items:center;
        gap:35px;
        transition:.4s ease;
        z-index:99999;
    }

    nav.active{ left:0; }
    .lang { display: none; }

    .hero{ padding:120px 20px 50px; }
    .hero h1{ font-size:42px; line-height:1.1; }
    .hero p{ font-size:16px; line-height:28px; }
    .hero-buttons{ flex-direction:column; width:100%; }
    .main-btn, .second-btn{ width:100%; }
    
    .hero-right { height: 500px; overflow: hidden; }
    .phone-card { width: 280px; height: 450px; }
    .phone-card img { width: 200px; }
    .phone-info h2 { font-size: 26px; }
    .mini-card { display: none; } 

    .why-us { padding: 60px 20px; }
    .why-top h2 { font-size: 36px; }
    .cards{ grid-template-columns:1fr; }
    .why-grid{ grid-template-columns:1fr; }
    .categories{ gap:12px; }
    .cat{ width:100%; text-align:center; }
    .products{ padding:60px 20px; }
    .top h2 { font-size: 32px; }
    footer{ padding:50px 20px; margin-top: 60px;}
    .footer-bottom { flex-direction: column; align-items: center; gap: 20px; }
}

/* =========================
   SMALL PHONE
========================= */
@media (max-width:480px){
    .logo{ font-size:22px; }
    .hero h1{ font-size:34px; }
    .card, .why-card{ padding:20px; }
    .footer-logo{ font-size:24px; }
}