
*{margin:0;padding:0;box-sizing:border-box}
html, body {
  overflow-x: hidden;
}
body{
font-family:'Inter',sans-serif;
background: linear-gradient(135deg,#0f172a,#1e293b);
color:#fff;
line-height:1.6;
}

h2 {
    margin-bottom: 10px;
}

.container{width:90%;max-width:1200px;margin:auto}
.section{padding:80px 0}

.header{
position:fixed;
width:100%;
top:0;
background:#0b1220;
z-index:1000;
}

/* .subtitle{
margin-bottom:50px;
} */
.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* расстояние между иконками */
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* расстояние между иконками */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* сами иконки */
.iconcom {
    width: 40px;
    opacity: 0.4;              /* затемнение */
    filter: grayscale(100%);   /* убираем цвет */
    transition: all 0.3s ease; /* плавность */
}

.ficon {
    width: 24px;
    opacity: 0.4;              /* затемнение */
    filter: grayscale(100%);   /* убираем цвет */
    transition: all 0.3s ease; /* плавность */
}

.ficon:hover {
    opacity: 1;                
    filter: grayscale(0%);
    transform: scale(1.1);
}
/* при наведении */
.iconcom:hover {
    opacity: 1;                
    filter: grayscale(0%);
    transform: scale(1.1);
}

.logo {
  width: 40px;
}

.nav{
display:flex;
align-items:center;
justify-content:space-between;
padding:20px 0;
}

nav{
display:flex;
align-items:center;
gap:25px;
}

nav a{
color:#cbd5e1;
text-decoration:none;
}

.nav-btn{
background:#6366f1;
padding:8px 18px;
border-radius:6px;
color:#fff;
}

.burger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.burger span{
width:25px;height:3px;background:#fff;
}

.hero{
padding:150px 0 80px;
text-align:center;
}

.hero h1{font-size:42px;margin-bottom:20px}

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

.card{
background:#1f2937;
padding:30px;
border-radius:12px;
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
gap:15px;
}

.icon svg{
width:40px;
height:40px;
stroke:#6366f1;
fill:none;
stroke-width:2;
}

.pricing-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.price-card{
background:#1f2937;
padding:35px;
border-radius:16px;
text-align:center;
}

.featured{
border:2px solid #6366f1;
}

.price{
font-size:28px;margin:15px 0;
}

.price-card ul{
list-style:none;
margin:20px 0;
color:#cbd5e1;
}

.btn-primary,.btn-outline{
display:inline-block;
padding:12px 24px;
border-radius:8px;
text-decoration:none;
margin-top:10px;
}

.btn-primary{
background:#6366f1;
color:#fff;
}

.btn-outline{
border:1px solid #6366f1;
color:#6366f1;
}

/* Footer */
.footer{
background:#070b14;
padding:60px 0 30px;
margin-top:80px;
border-top:1px solid rgba(255,255,255,0.05);
}

.footer-links{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:30px;
margin-bottom:30px;
}

.footer-links a{
color:#94a3b8;
text-decoration:none;
font-size:14px;
}

.footer-bottom{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:15px;
color:#64748b;
font-size:14px;
}

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

nav{
position:absolute;
top:70px;
right:20px;
background:#111827;
flex-direction:column;
padding:20px;
border-radius:10px;
display:none;
}

nav.active{display:flex}

.burger{display:flex}

.footer-bottom{
flex-direction:column;
text-align:center;
}

}


/* ===== ORDER MODAL (ADDED - NO REMOVALS) ===== */

.order-overlay{
position:fixed;
top:0;left:0;width:100%;height:100%;
background:rgba(0,0,0,.6);
backdrop-filter:blur(6px);
display:none;
z-index:2000;
}

.order-modal{
position:fixed;
top:0;
right:-500px;
width:420px;
height:100%;
transition:.5s cubic-bezier(.77,0,.18,1);
z-index:2001;
display:flex;
align-items:center;
}

.order-modal.active{right:0}
.order-overlay.active{display:block}

.order-modal-content{
background:rgba(17,24,39,.9);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.1);
box-shadow:0 40px 100px rgba(0,0,0,.7);
border-radius:20px 0 0 20px;
padding:30px;
width:100%;
height:100%;
overflow:auto;
overflow-x: hidden;
}

.order-modal-header{
display:flex;
justify-content:space-between;
margin-bottom:20px;
}

.order-toggle-group{
display:flex;
margin-bottom:15px;
}

.order-toggle{
flex:1;
padding:10px;
border:1px solid #6366f1;
background:none;
color:#6366f1;
cursor:pointer;
}

.order-toggle.active{
background:#6366f1;
color:#fff;
}

.order-sum{
margin-bottom:15px;
}

.order-modal-content input,
.order-modal-content textarea{
width:100%;
margin-bottom:12px;
padding:12px;
border-radius:8px;
border:none;
background:#1f2937;
color:#fff;
}

.order-pay-btn{
width:100%;
margin-top:10px;
}

@media(max-width:768px){
.order-modal{width:100%;}
}


/* ===== SECTION REVEAL ANIMATION (ADDED) ===== */

.section,
.hero {
opacity: 0;
transform: translateY(40px);
transition: opacity 0.9s ease, transform 0.9s ease;
}

.section.reveal-active,
.hero.reveal-active {
opacity: 1;
transform: translateY(0);
}

/* ===== BLOCK ANIMATION INSIDE SECTIONS ===== */

.service-card,
.tech-grid div,
.price-card {
opacity: 0;
transform: translateY(30px) scale(0.98);
transition: all 0.8s cubic-bezier(.2,.8,.2,1);
}

.service-card.block-visible,
.tech-grid div.block-visible,
.price-card.block-visible {
opacity: 1;
transform: translateY(0) scale(1);
}

/* ===== BUTTON MICRO ANIMATION ===== */

.btn-primary,
.btn-outline {
position: relative;
overflow: hidden;
transition: all .3s ease;
}

.btn-primary:hover,
.btn-outline:hover {
transform: translateY(-3px);
}

.btn-primary::after,
.btn-outline::after {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(120deg, transparent, rgba(255,255,255,.3), transparent);
transition: .6s;
}

.btn-primary:hover::after,
.btn-outline:hover::after {
left: 100%;
}



/* ===== FAQ ACCORDION ===== */

.faq-section {
padding: 80px 0;
background: #0f172a;
}

.faq-item {
border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
width: 100%;
background: none;
border: none;
color: #fff;
text-align: left;
padding: 20px 0;
font-size: 18px;
cursor: pointer;
position: relative;
}

.faq-question::after {
content: "+";
position: absolute;
right: 0;
transition: 0.3s;
}

.faq-item.active .faq-question::after {
content: "-";
}

.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease;
color: #cbd5e1;
}

.faq-item.active .faq-answer {
max-height: 300px;
padding-bottom: 20px;
}



/* ===== PREMIUM FAQ UPGRADE ===== */

.faq-item {
transition: all .4s ease;
}

.faq-question {
display:flex;
justify-content:space-between;
align-items:center;
font-weight:600;
}

.faq-question::after {
content:"";
width:8px;
height:8px;
border-right:2px solid #6366f1;
border-bottom:2px solid #6366f1;
transform:rotate(45deg);
transition:.4s ease;
}

.faq-item.active .faq-question::after {
transform:rotate(-135deg);
}

.faq-answer {
opacity:0;
transform:translateY(-10px);
transition:all .4s ease;
max-height:0;
overflow:hidden;
}

.faq-item.active .faq-answer {
opacity:1;
transform:translateY(0);
max-height:500px;
}

.faq-link {
color:#94a3b8;
text-decoration:none;
transition:.3s;
}

.faq-link:hover {
color:#fff;
}

.order-agreement {
  margin-top: 15px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}

.order-agreement input {
  margin-right: 6px;
  cursor: pointer;
}

.order-agreement a {
  color: #6366f1;
  text-decoration: none;
  transition: .3s;
}

.order-agreement a:hover {
  text-decoration: underline;
}

.order-pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.order-agreement {
  margin-top: 15px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}

/* контейнер */
.agreement-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.4;
}

/* скрываем стандартный */
.agreement-label input {
  display: none;
}

/* кастомная коробка */
.custom-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid #6366f1;
  border-radius: 6px;
  position: relative;
  transition: all .25s ease;
  flex-shrink: 0;
}

/* hover */
.agreement-label:hover .custom-checkbox {
  border-color: #818cf8;
  box-shadow: 0 0 8px rgba(99,102,241,0.4);
}

/* галочка */
.custom-checkbox::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 12px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg) scale(0);
  top: 2px;
  left: 6px;
  transition: transform .2s ease;
}

/* активное состояние */
.agreement-label input:checked + .custom-checkbox {
  background: #6366f1;
  border-color: #6366f1;
  box-shadow: 0 0 12px rgba(99,102,241,0.6);
}

.agreement-label input:checked + .custom-checkbox::after {
  transform: rotate(45deg) scale(1);
}

.agreement-text {
  flex: 1;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}


/* Контейнер скролла */
.order-modal-content {
  overflow-y: auto;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(255,255,255,0.3) transparent; /* Firefox */
}

/* ===== WebKit ===== */

.order-modal-content::-webkit-scrollbar {
  width: 8px;
}

.order-modal-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  border-radius: 10px;
}

.order-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.4),
    rgba(255,255,255,0.2)
  );
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}

.order-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(99,102,241,0.8),
    rgba(99,102,241,0.5)
  );
  box-shadow: 0 0 8px rgba(99,102,241,0.6);
}
/* ===== MAINTENANCE PAGE ===== */

.maintenance-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 0%, rgba(99,102,241,0.22), transparent 34%),
    linear-gradient(135deg,#0f172a,#1e293b);
}

.maintenance-header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(11,18,32,0.88);
  backdrop-filter: blur(14px);
}

.maintenance-nav {
  justify-content: center;
  padding: 18px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.maintenance-main {
  flex: 1;
  display: flex;
  align-items: center;
}

.maintenance-hero {
  width: 100%;
  padding: 140px 0 90px;
  text-align: center;
}

.maintenance-inner {
  max-width: 820px;
}

.maintenance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid rgba(99,102,241,0.45);
  border-radius: 999px;
  color: #c7d2fe;
  background: rgba(99,102,241,0.11);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.maintenance-hero h1 {
  max-width: 760px;
  margin: 0 auto 22px;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.maintenance-subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: clamp(17px, 2.3vw, 22px);
  line-height: 1.55;
}

.maintenance-card {
  width: min(100%, 560px);
  margin: 42px auto 0;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(31,41,55,0.72);
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
  color: #e2e8f0;
}

.maintenance-card p {
  margin: 0;
}

.maintenance-pulse {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 0 rgba(129,140,248,0.55);
  animation: maintenancePulse 1.8s infinite;
}

.maintenance-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.maintenance-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(203,213,225,0.55);
  animation: maintenanceDot 1.2s infinite ease-in-out;
}

.maintenance-dots span:nth-child(2) {
  animation-delay: .16s;
}

.maintenance-dots span:nth-child(3) {
  animation-delay: .32s;
}

.maintenance-footer {
  margin-top: 0;
  padding: 24px 0;
  background: rgba(7,11,20,0.86);
}

.maintenance-footer-bottom {
  justify-content: center;
  text-align: center;
}

@keyframes maintenancePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(129,140,248,0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(129,140,248,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(129,140,248,0);
  }
}

@keyframes maintenanceDot {
  0%, 80%, 100% {
    opacity: .35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-7px);
  }
}

@media (max-width: 768px) {
  .maintenance-nav {
    padding: 16px 0;
  }

  .maintenance-hero {
    padding: 120px 0 64px;
  }

  .maintenance-badge {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .maintenance-card {
    margin-top: 32px;
    padding: 18px;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .container {
    width: 88%;
  }

  .logo {
    width: 36px;
  }

  .maintenance-hero h1 {
    letter-spacing: -0.035em;
  }

  .maintenance-card {
    border-radius: 14px;
  }
}
