/*
====================================================
 XOMA VPN
 Main stylesheet
====================================================
*/

:root{

    --bg:#070b14;
    --bg-secondary:#0d1323;
    --card:#121b2f;

    --accent:#4ea1ff;
    --accent-light:#72c3ff;
    --accent-dark:#256dff;

    --text:#ffffff;
    --text-secondary:#9aa8c7;

    --border:rgba(255,255,255,.08);

    --radius:22px;

    --shadow:
        0 15px 50px rgba(0,0,0,.45);

    --transition:.35s ease;

    --container:1320px;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.65;

    position:relative;

}

img{

    max-width:100%;

    display:block;

}

a{

    color:inherit;

    text-decoration:none;

}

button{

    font-family:inherit;

}

.container{

    width:min(92%,var(--container));

    margin:auto;

}

/* =======================================
BACKGROUND
======================================= */

.background-grid{

    position:fixed;

    inset:0;

    background-image:

        linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),

        linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);

    background-size:45px 45px;

    opacity:.4;

    z-index:-5;

}

.background-blur{

    position:fixed;

    width:650px;

    height:650px;

    border-radius:50%;

    filter:blur(140px);

    opacity:.22;

    z-index:-4;

}

.blur-1{

    background:#256dff;

    top:-220px;

    left:-200px;

}

.blur-2{

    background:#3db8ff;

    right:-250px;

    bottom:-220px;

}

/* =======================================
HEADER
======================================= */

.header{

    position:fixed;

    top:0;

    width:100%;

    z-index:9999;

    backdrop-filter:blur(18px);

    background:rgba(8,12,22,.55);

    border-bottom:1px solid rgba(255,255,255,.05);

}

.navbar{

    height:84px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    font-size:22px;

    font-weight:800;

}

.logo img{

    width:48px;

    height:48px;

}

.nav-menu{

    display:flex;

    gap:42px;

    list-style:none;

}

.nav-menu a{

    color:var(--text-secondary);

    transition:var(--transition);

    font-weight:500;

    position:relative;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--accent);

    transition:.3s;

}

.nav-menu a:hover{

    color:#fff;

}

.nav-menu a:hover::after{

    width:100%;

}

.nav-buttons{

    display:flex;

    gap:16px;

}

/* =======================================
BUTTONS
======================================= */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 28px;

    border-radius:16px;

    font-weight:700;

    transition:var(--transition);

}

.btn-primary{

    background:linear-gradient(
        135deg,
        var(--accent),
        var(--accent-dark)
    );

    color:white;

    box-shadow:
        0 10px 35px rgba(37,109,255,.45);

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:
        0 18px 45px rgba(37,109,255,.6);

}

.btn-secondary{

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

}

.btn-secondary:hover{

    background:rgba(255,255,255,.12);

}

.btn-outline{

    border:1px solid rgba(255,255,255,.15);

    background:transparent;

}

.btn-outline:hover{

    background:rgba(255,255,255,.06);

}

.btn-large{

    padding:18px 38px;

    font-size:17px;

}
/*==================================================
 HERO
==================================================*/

.hero{

    padding-top:170px;
    padding-bottom:140px;

    position:relative;

}

.hero-container{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:90px;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(78,161,255,.12);

    border:1px solid rgba(78,161,255,.25);

    color:#9fd2ff;

    margin-bottom:28px;

    font-size:14px;

    font-weight:600;

}

.hero h1{

    font-size:72px;

    line-height:1.05;

    font-weight:900;

    margin-bottom:28px;

    letter-spacing:-2px;

}

.hero p{

    max-width:650px;

    color:var(--text-secondary);

    font-size:20px;

    margin-bottom:45px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-bottom:60px;

}

/*======================================
СТАТИСТИКА
======================================*/

.hero-stats{

    display:flex;

    gap:22px;

}

.stat{

    flex:1;

    padding:28px;

    border-radius:22px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.06);

    backdrop-filter:blur(15px);

    transition:.35s;

}

.stat:hover{

    transform:translateY(-8px);

    border-color:rgba(78,161,255,.35);

}

.stat h2{

    font-size:38px;

    margin-bottom:8px;

    color:white;

}

.stat span{

    color:var(--text-secondary);

    font-size:15px;

}

/*======================================
ПРАВАЯ КАРТОЧКА
======================================*/

.hero-right{

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-card{

    width:100%;

    max-width:470px;

    border-radius:30px;

    overflow:hidden;

    background:

        linear-gradient(
            180deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.03)
        );

    backdrop-filter:blur(30px);

    border:1px solid rgba(255,255,255,.08);

    box-shadow:

        0 40px 90px rgba(0,0,0,.45);

    animation:

        floating 5s ease-in-out infinite;

}

/*======================================
HEADER КАРТОЧКИ
======================================*/

.hero-card-header{

    display:flex;

    align-items:center;

    gap:14px;

    padding:28px;

    border-bottom:1px solid rgba(255,255,255,.06);

}

.status-dot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#00ff84;

    box-shadow:

        0 0 20px #00ff84;

    animation:

        pulse 2s infinite;

}

.hero-card-header span{

    font-size:18px;

    font-weight:700;

}

/*======================================
BODY КАРТОЧКИ
======================================*/

.hero-card-body{

    padding:35px;

}

.connection-line{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:34px;

    gap:20px;

}

.connection-line span{

    font-size:18px;

    font-weight:600;

}

.line{

    flex:1;

    height:6px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    position:relative;

    overflow:hidden;

}

/* бегущий сигнал */

.line::after{

    content:"";

    position:absolute;

    left:-35%;

    top:0;

    width:35%;

    height:100%;

    background:

        linear-gradient(
            90deg,
            transparent,
            #4ea1ff,
            transparent
        );

    animation:

        signal 2.2s linear infinite;

}

.line.active{

    background:

        rgba(78,161,255,.25);

}

/*======================================
НИЖНЯЯ ПАНЕЛЬ
======================================*/

.hero-card-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:28px 35px;

    border-top:1px solid rgba(255,255,255,.06);

}

.country{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:700;

}

.speed{

    color:#63ffb2;

    font-weight:700;

}

/*======================================
SECTION HEADER
======================================*/

.section-header{

    text-align:center;

    max-width:780px;

    margin:0 auto 80px;

}

.section-badge{

    display:inline-block;

    padding:10px 20px;

    border-radius:999px;

    background:rgba(78,161,255,.12);

    color:#8fd0ff;

    margin-bottom:22px;

    font-weight:700;

}

.section-header h2{

    font-size:52px;

    margin-bottom:20px;

    font-weight:900;

}

.section-header p{

    color:var(--text-secondary);

    font-size:19px;

}

/*======================================
ОТСТУПЫ СЕКЦИЙ
======================================*/

section{

    padding:120px 0;

}
/*==================================================
ПРЕИМУЩЕСТВА
==================================================*/

.advantages{

    position:relative;

}

.advantages-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.advantage-card{

    position:relative;

    overflow:hidden;

    padding:38px;

    border-radius:26px;

    background:rgba(255,255,255,.045);

    border:1px solid rgba(255,255,255,.07);

    backdrop-filter:blur(25px);

    transition:.4s;

}

.advantage-card::before{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(78,161,255,.18);

    filter:blur(70px);

    top:-180px;

    right:-180px;

    opacity:0;

    transition:.45s;

}

.advantage-card:hover{

    transform:translateY(-12px);

    border-color:rgba(78,161,255,.35);

    box-shadow:

        0 30px 80px rgba(0,0,0,.45);

}

.advantage-card:hover::before{

    opacity:1;

}

.advantage-card .icon{

    width:72px;

    height:72px;

    border-radius:20px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin-bottom:28px;

    background:

        linear-gradient(
            135deg,
            rgba(78,161,255,.25),
            rgba(37,109,255,.12)
        );

}

.advantage-card h3{

    font-size:26px;

    margin-bottom:18px;

}

.advantage-card p{

    color:var(--text-secondary);

}

/*==================================================
ШАГИ
==================================================*/

.steps-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:26px;

}

.step{

    position:relative;

    padding:40px;

    text-align:center;

    border-radius:24px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.07);

    transition:.35s;

}

.step:hover{

    transform:translateY(-10px);

}

.step-number{

    width:72px;

    height:72px;

    margin:auto;

    margin-bottom:26px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    font-weight:800;

    color:white;

    background:

        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-dark)
        );

    box-shadow:

        0 15px 40px rgba(37,109,255,.45);

}

.step h3{

    margin-bottom:18px;

    font-size:24px;

}

.step p{

    color:var(--text-secondary);

}

/*==================================================
FREE
==================================================*/

.promo{

    position:relative;

}

.promo-box{

    position:relative;

    overflow:hidden;

    text-align:center;

    padding:90px;

    border-radius:34px;

    background:

        linear-gradient(
            135deg,
            rgba(37,109,255,.18),
            rgba(78,161,255,.10)
        );

    border:1px solid rgba(78,161,255,.25);

}

.promo-box::before{

    content:"";

    position:absolute;

    width:650px;

    height:650px;

    border-radius:50%;

    background:#256dff;

    filter:blur(160px);

    opacity:.25;

    top:-300px;

    left:-250px;

}

.promo-title{

    display:inline-block;

    margin-bottom:20px;

    font-size:17px;

    color:#8fd0ff;

}

.promo-box h2{

    font-size:58px;

    margin-bottom:30px;

}

.promo-code{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    width:260px;

    height:90px;

    margin:30px auto;

    border-radius:22px;

    font-size:42px;

    font-weight:900;

    letter-spacing:10px;

    color:white;

    background:

        linear-gradient(
            135deg,
            #4ea1ff,
            #256dff
        );

    box-shadow:

        0 20px 60px rgba(37,109,255,.5);

}

.promo-box p{

    max-width:650px;

    margin:0 auto 40px;

    color:var(--text-secondary);

    font-size:18px;

}

/*==================================================
УСТРОЙСТВА
==================================================*/

.devices-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.device-card{

    padding:45px;

    border-radius:26px;

    text-align:center;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

    font-size:62px;

}

.device-card:hover{

    transform:translateY(-10px);

    border-color:rgba(78,161,255,.35);

}

.device-card h3{

    margin-top:24px;

    font-size:24px;

}/*==================================================
ПРЕИМУЩЕСТВА
==================================================*/

.advantages{

    position:relative;

}

.advantages-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.advantage-card{

    position:relative;

    overflow:hidden;

    padding:38px;

    border-radius:26px;

    background:rgba(255,255,255,.045);

    border:1px solid rgba(255,255,255,.07);

    backdrop-filter:blur(25px);

    transition:.4s;

}

.advantage-card::before{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(78,161,255,.18);

    filter:blur(70px);

    top:-180px;

    right:-180px;

    opacity:0;

    transition:.45s;

}

.advantage-card:hover{

    transform:translateY(-12px);

    border-color:rgba(78,161,255,.35);

    box-shadow:

        0 30px 80px rgba(0,0,0,.45);

}

.advantage-card:hover::before{

    opacity:1;

}

.advantage-card .icon{

    width:72px;

    height:72px;

    border-radius:20px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin-bottom:28px;

    background:

        linear-gradient(
            135deg,
            rgba(78,161,255,.25),
            rgba(37,109,255,.12)
        );

}

.advantage-card h3{

    font-size:26px;

    margin-bottom:18px;

}

.advantage-card p{

    color:var(--text-secondary);

}

/*==================================================
ШАГИ
==================================================*/

.steps-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:26px;

}

.step{

    position:relative;

    padding:40px;

    text-align:center;

    border-radius:24px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.07);

    transition:.35s;

}

.step:hover{

    transform:translateY(-10px);

}

.step-number{

    width:72px;

    height:72px;

    margin:auto;

    margin-bottom:26px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    font-weight:800;

    color:white;

    background:

        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-dark)
        );

    box-shadow:

        0 15px 40px rgba(37,109,255,.45);

}

.step h3{

    margin-bottom:18px;

    font-size:24px;

}

.step p{

    color:var(--text-secondary);

}

/*==================================================
FREE
==================================================*/

.promo{

    position:relative;

}

.promo-box{

    position:relative;

    overflow:hidden;

    text-align:center;

    padding:90px;

    border-radius:34px;

    background:

        linear-gradient(
            135deg,
            rgba(37,109,255,.18),
            rgba(78,161,255,.10)
        );

    border:1px solid rgba(78,161,255,.25);

}

.promo-box::before{

    content:"";

    position:absolute;

    width:650px;

    height:650px;

    border-radius:50%;

    background:#256dff;

    filter:blur(160px);

    opacity:.25;

    top:-300px;

    left:-250px;

}

.promo-title{

    display:inline-block;

    margin-bottom:20px;

    font-size:17px;

    color:#8fd0ff;

}

.promo-box h2{

    font-size:58px;

    margin-bottom:30px;

}

.promo-code{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    width:260px;

    height:90px;

    margin:30px auto;

    border-radius:22px;

    font-size:42px;

    font-weight:900;

    letter-spacing:10px;

    color:white;

    background:

        linear-gradient(
            135deg,
            #4ea1ff,
            #256dff
        );

    box-shadow:

        0 20px 60px rgba(37,109,255,.5);

}

.promo-box p{

    max-width:650px;

    margin:0 auto 40px;

    color:var(--text-secondary);

    font-size:18px;

}

/*==================================================
УСТРОЙСТВА
==================================================*/

.devices-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.device-card{

    padding:45px;

    border-radius:26px;

    text-align:center;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

    font-size:62px;

}

.device-card:hover{

    transform:translateY(-10px);

    border-color:rgba(78,161,255,.35);

}

.device-card h3{

    margin-top:24px;

    font-size:24px;

}
/*==================================================
APPLICATIONS
==================================================*/

.applications{

    position:relative;

}

.apps-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.app-card{

    position:relative;

    overflow:hidden;

    text-align:center;

    padding:42px 30px;

    border-radius:28px;

    background:rgba(255,255,255,.045);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(25px);

    transition:.4s;

}

.app-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        radial-gradient(circle at top,

        rgba(78,161,255,.18),

        transparent 70%);

    opacity:0;

    transition:.4s;

}

.app-card:hover{

    transform:translateY(-14px);

    border-color:rgba(78,161,255,.35);

    box-shadow:

        0 30px 80px rgba(0,0,0,.45);

}

.app-card:hover::before{

    opacity:1;

}

.app-icon{

    width:90px;

    height:90px;

    margin:auto;

    margin-bottom:28px;

    border-radius:24px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    background:

        linear-gradient(

            135deg,

            rgba(78,161,255,.28),

            rgba(37,109,255,.12)

        );

}

.app-card h3{

    font-size:26px;

    margin-bottom:18px;

}

.app-card p{

    color:var(--text-secondary);

    margin-bottom:30px;

    min-height:58px;

}

/*==================================================
FAQ
==================================================*/

.faq{

    position:relative;

}

.faq-list{

    max-width:900px;

    margin:auto;

}

.faq-item{

    margin-bottom:22px;

    border-radius:22px;

    overflow:hidden;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

}

.faq-question{

    width:100%;

    padding:28px 34px;

    background:none;

    border:none;

    color:white;

    cursor:pointer;

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:20px;

    font-weight:700;

}

.faq-question span{

    font-size:28px;

    transition:.35s;

}

.faq-item.active .faq-question span{

    transform:rotate(45deg);

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    color:var(--text-secondary);

    transition:max-height .45s ease;

    padding:0 34px;

}

.faq-item.active .faq-answer{

    max-height:250px;

    padding:0 34px 28px;

}

/*==================================================
CTA
==================================================*/

.cta{

    position:relative;

}

.cta-box{

    text-align:center;

    padding:90px;

    border-radius:34px;

    background:

        linear-gradient(

            135deg,

            rgba(37,109,255,.18),

            rgba(78,161,255,.08)

        );

    border:1px solid rgba(78,161,255,.25);

}

.cta-box h2{

    font-size:58px;

    margin-bottom:22px;

}

.cta-box p{

    color:var(--text-secondary);

    font-size:20px;

    margin-bottom:42px;

}

.cta-box .hero-buttons{

    justify-content:center;

    margin-bottom:0;

}


/*==================================================
FOOTER
==================================================*/

footer{

    margin-top:120px;

    padding:80px 0 40px;

    border-top:1px solid rgba(255,255,255,.06);

    background:rgba(255,255,255,.02);

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    margin-bottom:60px;

}

.footer-logo{

    width:65px;

    margin-bottom:22px;

}

footer p{

    color:var(--text-secondary);

}

footer h4{

    margin-bottom:22px;

    font-size:20px;

}

footer ul{

    list-style:none;

}

footer li{

    margin-bottom:14px;

}

footer a{

    color:var(--text-secondary);

    transition:.3s;

}

footer a:hover{

    color:white;

}

.copyright{

    text-align:center;

    padding-top:35px;

    border-top:1px solid rgba(255,255,255,.06);

    color:#73809b;

    font-size:15px;

}