*:before, *:after, * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    outline: none;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

section:first-of-type, main {	padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Info Bar */
.top-info-bar {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 50px;
}

.top-info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

.top-info-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.ip-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-icon {
    color: #fbbf24;
    font-size: 18px;
    animation: pulse 2s infinite;
}

.ip-detail {
    font-weight: 600;
}

.provider-info {
    opacity: 0.9;
}

.warning-text {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Header */
header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 50px;
    width: 100%;
    z-index: 1000;
    transition: 0.3s all linear;
    background: rgb(255, 255, 255); backdrop-filter: none;
}
header.scrolled {	background: rgba(255, 255, 255, 0.95);
		    backdrop-filter: blur(10px);
		    top: 0px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-button {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.login-button:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 174px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero ul {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    list-style-type: none;
}

.hero-mascot {
		    width: 300px;
		    height: 300px;
		    margin: 80px auto 40px auto;
		    background-image: url(../logo/logo.svg);
		    background-size: contain;
		    background-repeat: no-repeat;
		    background-position: center;
		    display: flex;
		    align-items: center;
		    justify-content: center;
		    position: relative;
		    animation: float 3s ease-in-out infinite;
		}
/* Why VPN Section */
.why-vpn {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4dc8f0, #3b82f6);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    transition: background 0.3s;
}

.benefit-item:hover {
    background: #f1f5f9;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4dc8f0, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #2c3e50;
}

.benefit-content p {
    color: #64748b;
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f8fafc;
    color: #8ca7b5;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: #64748b;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #4dc8f0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #4dc8f0;
}

/* Стили для бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: #45a7f3;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Анимация бургера при открытии */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(0px, 2px);
}

.burger-menu.active .burger-line:nth-child(2) {
    transform: rotate(45deg) translate(-4px, -7px);
}

.burger-menu.active .burger-line:nth-child(3) {
	width: 5px;
    position: absolute;
    left: 17px;
    top: 8px;
    background-color: #ff9140;
    border-radius: 50%;
    z-index: 100;
    margin: 0px;
    height: 5px;
}


/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 80px 0 20px 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

/* Оверлей для закрытия меню */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Стили для элементов мобильного меню */
.mobile-menu-item {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
    font-size: 16px;
}

.mobile-menu-item:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

/* Кнопки в мобильном меню */
.mobile-menu-buttons {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.mobile-menu-buttons .login-button {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.mobile-menu-buttons .login-button:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.mobile-menu-buttons .cta-button {
    color: #fff;
}

.mobile-menu-buttons .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
    color: #fff;
}

.block-form {
    padding: 15vh 10px 50vh 10px;
    width: 100%;
    max-width: 1280px;
    margin: 0px auto;
}

.block-form .block-info-title {
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    letter-spacing: .1px;
    color: #424242;
}
.block-form .block-info-article {
    margin: 15px auto;
    padding: 0 40px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    opacity: .85;
    color: #2c4158;
    cursor: default;
}

#cookies {
    position: fixed;
    width: 400px;
    height: auto;
    padding: 15px 25px 15px 25px;
    background: #1e3647;
    color: #fff;
    z-index: 9999999999;
    bottom: 40px;
    left: 40px;
    border-radius: 3px
}

@media (max-width: 570px) {
    #cookies {
        left:5px;
        padding: 10px;
        width: 100%;
        width: calc(100% - 10px)
    }
}

#cookies>div {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%
}

#cookies>div>div {
    font-size: 14px;
    padding: 10px;
    width: 100%
}

#cookies button {
    background: #338bd9;
    background-image: linear-gradient(70deg,#338bd9 2%,#2881CA);
    width: 100%
}

#cookies button:hover {
    background: #2881CA;
    color: #fff
}

.dropbtn {
  background-color: #3498db;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 120px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  right: 0;
  top: 40px;
  border-radius: 4px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#user-provider:before {
    content: attr(data-isp);
}
#user-ip:before {
    content: attr(data-ip);
}
#warning-ip {	position: relative;
}
#warning-ip > [data-round] {
	opacity: 0;
	position: absolute;
}
#warning-ip[data-leaks="-1"] > [data-round="1"] {
	opacity: 1;
	position: relative;
}
#warning-ip[data-leaks="0"] > [data-round="3"] {
	opacity: 1;
	position: relative;
}
#warning-ip[data-leaks="1"] > [data-round="2"] {
	opacity: 1;
	position: relative;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links,
    .auth-buttons {
        display: none !important;
    }
}

/* Для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .burger-menu {
        display: flex;
    }

    .nav-links,
    .auth-buttons {
        display: none !important;
    }
}

/* Убираем скролл body когда меню открыто */
body.menu-open {
    overflow: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
opacity: 0;
transform: translateY(30px);
    }
    to {
opacity: 1;
transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
transform: translateY(0px);
    }
    50% {
transform: translateY(-20px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .top-info-content {
		flex-direction: column;
		gap: 0px;
    }

    .top-info-bar {
		padding: 5px 10px;
		height: 80px;
    }
    header {    	top: 80px;
    }

    .nav-links {
display: none;
    }

    .auth-buttons {
flex-direction: column;
gap: 10px;
    }

    .login-button, .cta-button {
        padding: 10px 20px;
        font-size: 14px;
        width: calc(100% - 20px);
        text-align: center;
    }

    .hero {
padding: 190px 0 60px;
    }

    .hero h1 {
font-size: 32px;
    }

    .hero p {
font-size: 16px;
    }

    .section-title {
font-size: 28px;
    }

    .features-grid {
grid-template-columns: 1fr;
    }

    .benefits-grid {
grid-template-columns: 1fr;
    }
}
