/* ===========================
   Flow Liberty Landing
=========================== */

:root{

    --bg:#F8FAFC;
    --text:#0F172A;
    --muted:#64748B;

    --primary:#4F46E5;
    --primary-dark:#4338CA;

    --card:rgba(255,255,255,.75);

    --border:rgba(255,255,255,.45);

    --shadow:
        0 30px 60px rgba(15,23,42,.08);

    --radius:22px;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Manrope",sans-serif;

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

}

/* ===========================
    Background
=========================== */

.background{

    position:fixed;

    inset:0;

    z-index:-1;

    background:
        radial-gradient(circle at 20% 20%,rgba(79,70,229,.20),transparent 40%),
        radial-gradient(circle at 80% 15%,rgba(34,197,94,.15),transparent 35%),
        radial-gradient(circle at 50% 100%,rgba(79,70,229,.12),transparent 45%),
        #F8FAFC;
		
}		
.background::after{	
	content:"";
	position:absolute;
	inset:0;

	background-image:
	url("https://www.transparenttextures.com/patterns/asfalt-light.png");

	opacity:.03;

	pointer-events:none;	



	background:
		radial-gradient(circle at 20% 10%, rgba(255,168,0,.18), transparent 45%),
		radial-gradient(circle at 80% 30%, rgba(255,80,80,.10), transparent 40%),
		linear-gradient(180deg,#0f0f10,#161616);
}		

/* ===========================
Container
=========================== */

.container{

    width:min(1180px,92%);

    margin:auto;

}

/* ===========================
Navbar
=========================== */

.navbar{

position:fixed;

top:20px;

left:50%;

transform:translateX(-50%);

width:min(1200px,94%);

padding:18px 40px;

background:rgba(255,255,255,.72);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.4);

border-radius:20px;

z-index:1000;

box-shadow:0 15px 40px rgba(0,0,0,.05);

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 28px;

    backdrop-filter:blur(18px);

    background:rgba(255,255,255,.65);

    border:1px solid var(--border);

    border-radius:20px;

    box-shadow:var(--shadow);

}

.logo{

    font-size:28px;

    font-weight:800;

}

.logo span{

    color:var(--primary);

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    text-decoration:none;

    color:var(--muted);

    font-weight:600;

    transition:.3s;

}

nav a:hover{

    color:var(--primary);

}

/* ===========================
Hero
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    padding-top:140px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:80px;

}

.badge{

    display:inline-flex;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(79,70,229,.08);

    color:var(--primary);

    font-weight:700;

    margin-bottom:24px;

}

.hero h1{

    font-size:64px;

    line-height:1.05;

    font-weight:800;

    margin-bottom:30px;

}

.hero p{

    font-size:21px;

    line-height:1.8;

    color:var(--muted);

    max-width:560px;

}

.hero-buttons{

    margin-top:45px;

    display:flex;

    gap:18px;

}

.btn-primary{

    padding:18px 34px;

    border-radius:18px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

    box-shadow:
        0 20px 35px rgba(79,70,229,.25);

}

.btn-primary:hover{

    transform:translateY(-3px);

    background:var(--primary-dark);

}

.btn-secondary{

    padding:18px 34px;

    border-radius:18px;

    border:1px solid rgba(15,23,42,.08);

    text-decoration:none;

    color:var(--text);

    font-weight:700;

    background:white;

    transition:.35s;

}

.btn-secondary:hover{

    transform:translateY(-3px);

}

/* ===========================
Phone
=========================== */

.hero-phone{

    display:flex;

    justify-content:center;

}

.phone{

    width:360px;

    height:720px;

    border-radius:42px;

    background:#111827;

    padding:16px;

    box-shadow:
        0 45px 80px rgba(15,23,42,.18);

    animation:float 6s ease-in-out infinite;

}

.phone-header{

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:white;

    font-weight:700;

    font-size:20px;

}

.phone-body{

    background:white;

    height:600px;

    border-radius:30px;

    padding:30px;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.menu-item{

    padding:20px;

    border-radius:18px;

    background:#F8FAFC;

    font-size:20px;

    font-weight:700;

    transition:.3s;

    cursor:pointer;

}

.menu-item:hover{

    transform:translateX(10px);

    background:rgba(79,70,229,.08);

}

/* ===========================
Animations
=========================== */

@keyframes float{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-18px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* ===========================
Responsive
=========================== */

@media(max-width:980px){

.hero-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero p{

margin:auto;

}

.hero-buttons{

justify-content:center;

}

nav{

display:none;

}

.hero h1{

font-size:46px;

}

.phone{

width:320px;

height:640px;

}

.phone-body{

height:520px;

}

}
/* =======================
Demo
======================= */

.demo{

padding:140px 0;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h2{

font-size:48px;

font-weight:800;

margin-bottom:18px;

}

.section-title p{

font-size:20px;

color:var(--muted);

max-width:700px;

margin:auto;

line-height:1.8;

}

.demo-phone{

display:flex;

justify-content:center;

}

.telegram-window{

width:420px;

background:white;

border-radius:28px;

padding:28px;

box-shadow:var(--shadow);

display:flex;

flex-direction:column;

gap:16px;

}

.tg-message{

padding:18px 22px;

border-radius:18px;

font-size:18px;

opacity:0;

transform:translateY(20px);

}

.bot{

align-self:flex-start;

background:#F1F5F9;

}

.client{

align-self:flex-end;

background:#4F46E5;

color:white;

}

.success{

background:#DCFCE7;

align-self:flex-start;

font-weight:700;

}
/*=========================
Dashboard
==========================*/

.dashboard{

padding:160px 0;

}

.dashboard-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:90px;

align-items:center;

}

.dashboard h2{

font-size:52px;

font-weight:800;

margin:20px 0;

line-height:1.1;

}

.dashboard p{

font-size:20px;

color:var(--muted);

line-height:1.8;

margin-bottom:35px;

}

.dashboard ul{

list-style:none;

display:flex;

flex-direction:column;

gap:18px;

font-size:19px;

font-weight:600;

}

.stats-card{

background:white;

border-radius:28px;

padding:40px;

display:grid;

grid-template-columns:1fr 1fr;

gap:28px;

box-shadow:var(--shadow);

}

.stat{

padding:30px;

border-radius:22px;

background:#F8FAFC;

transition:.3s;

}

.stat:hover{

transform:translateY(-6px);

}

.stat span{

font-size:42px;

font-weight:800;

color:var(--primary);

display:block;

margin-bottom:12px;

}

.stat p{

margin:0;

font-size:16px;

}
.features{
    padding:90px 0;
    background:#fff;
}

.features h2{
    text-align:center;
    font-size:40px;
    margin-bottom:60px;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.feature-card{
    background:#fafafa;
    padding:35px;
    border-radius:20px;
    transition:.3s;
    border:1px solid #eee;
}

.feature-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.08);
}

.icon{
    font-size:42px;
    margin-bottom:20px;
}

.feature-card h3{
    margin-bottom:15px;
    font-size:22px;
}

.feature-card p{
    color:#666;
    line-height:1.6;
}
/*=============================
Automation
=============================*/

.automation{

padding:160px 0;

background:#F8FAFC;

}

.automation-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:80px;

align-items:center;

}

.automation h2{

font-size:52px;

margin:25px 0;

line-height:1.1;

}

.timeline{

display:flex;

flex-direction:column;

gap:24px;

}

.timeline-item{

display:flex;

align-items:center;

gap:25px;

}

.timeline-time{

font-weight:800;

color:var(--primary);

width:70px;

}

.timeline-card{

flex:1;

padding:24px;

background:white;

border-radius:20px;

box-shadow:var(--shadow);

transition:.35s;

}

.timeline-card:hover{

transform:translateX(10px);

}
/* =======================
   ПЛАНШЕТЫ (max-width: 768px)
======================= */

@media (max-width: 768px) {

  /* --- общие --- */
  .section-title h2 {
    font-size: 32px;
  }

  .section-title p {
    font-size: 17px;
  }

  /* --- навигация --- */
  .navbar .container {
    padding: 12px 18px;
    border-radius: 16px;
  }

  /* --- герой --- */
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* --- телефон --- */
  .phone {
    width: 280px;
    height: auto;
  }

  .phone-body {
    height: auto;
  }

  /* --- демо --- */
  .demo {
    padding: 80px 0;
  }

  .telegram-window {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  /* --- дашборд --- */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dashboard h2 {
    font-size: 36px;
  }

  .stats-card {
    grid-template-columns: 1fr;
  }

  /* --- возможности --- */
  .features h2 {
    font-size: 30px;
  }

  /* --- автоматизация --- */
  .automation-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .automation h2 {
    font-size: 36px;
  }
}

/* =======================
   ТЕЛЕФОНЫ (max-width: 480px)
======================= */

@media (max-width: 480px) {

  /* --- навигация --- */
  .logo {
    font-size: 24px;
  }

  /* --- герой --- */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 22px;
    font-size: 15px;
  }

  /* --- дашборд --- */
  .dashboard {
    padding: 80px 0;
  }

  .stat span {
    font-size: 30px;
  }

  /* --- возможности --- */
  .feature-card {
    padding: 25px;
  }

  /* --- автоматизация --- */
  .automation {
    padding: 80px 0;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* --- футер (если будет) --- */
  footer {
    font-size: 12px;
  }
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 34px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        height: 28px;
    }
}
/* -------------------- */
/* Pricing */
/* -------------------- */

.pricing{
padding:120px 0;
}

.pricing-card{
max-width:520px;
margin:0 auto;
padding:50px;
border-radius:28px;
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.08);
backdrop-filter:blur(18px);
text-align:center;
position:relative;
transition:.3s;
}

.pricing-card:hover{
transform:translateY(-8px);
box-shadow:0 25px 60px rgba(0,0,0,.25);
}

.pricing-badge{
position:absolute;
top:-14px;
left:50%;
transform:translateX(-50%);
background:#6D5DF6;
padding:8px 18px;
border-radius:30px;
font-size:13px;
font-weight:700;
}

.price{
margin:30px 0 40px;
}

.amount{
font-size:60px;
font-weight:800;
}

.period{
opacity:.7;
font-size:18px;
}

.pricing-card ul{
list-style:none;
padding:0;
margin:0 0 40px;
text-align:left;
}

.pricing-card li{
padding:12px 0;
border-bottom:1px solid rgba(255,255,255,.08);
opacity:.9;
}

.pricing-btn{
display:inline-block;
width:100%;
text-align:center;
}
/* ==========================
   Pricing
========================== */

.pricing{

padding:120px 0;

}

.pricing-card{

max-width:520px;

margin:auto;

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

border-radius:30px;

padding:50px;

backdrop-filter:blur(30px);

text-align:center;

}

.price-header h3{

font-size:30px;

margin-bottom:20px;

}

.price{

margin-bottom:35px;

}

.number{

font-size:64px;

font-weight:800;

color:#00E5FF;

}

.month{

font-size:22px;

opacity:.7;

}

.pricing ul{

list-style:none;

padding:0;

margin:40px 0;

text-align:left;

}

.pricing li{

padding:14px 0;

font-size:18px;

border-bottom:1px solid rgba(255,255,255,.08);

}

.btn-primary.big{

display:inline-block;

width:100%;

margin-top:20px;

padding:18px;

font-size:20px;

}

.trial{

margin-top:25px;

opacity:.6;

}
/* ===========================
   Reviews
=========================== */

.reviews{
padding:120px 0;
}

.reviews-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:60px;
}

.review-card{
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.08);
border-radius:24px;
padding:35px;
transition:.3s;
}

.review-card:hover{
transform:translateY(-8px);
border-color:#8b5cf6;
}

.review-card p{
margin:20px 0;
line-height:1.8;
color:#141414;
}

.review-card h4{
margin-top:20px;
font-size:18px;
}

.review-card span{
color:#888;
font-size:14px;
}

.stars{
font-size:22px;
color:#fbbf24;
letter-spacing:3px;
}
/* =======================
   STEPS
======================= */

.steps{
    padding:120px 0;
}

.steps-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:60px;
}

.step-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:35px;
    transition:.3s;
}

.step-card:hover{
    transform:translateY(-6px);
    border-color:#00D9FF;
}

.step-number{
    width:60px;
    height:60px;
    border-radius:50%;
    background:linear-gradient(135deg,#00D9FF,#6A5CFF);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    font-weight:800;
    margin-bottom:25px;
}

.step-card h3{
    margin-bottom:15px;
}

.step-card p{
    color:#141414;
    line-height:1.6;
}
/* ================= FAQ ================= */

.faq{
padding:120px 0;
}

.faq-list{
max-width:900px;
margin:auto;
display:flex;
flex-direction:column;
gap:20px;
}

.faq-item{

background:#fff;

border-radius:22px;

padding:28px;

box-shadow:0 20px 60px rgba(0,0,0,.05);

cursor:pointer;

transition:.3s;

}

.faq-item:hover{

transform:translateY(-4px);

}

.faq-question{

display:flex;

justify-content:space-between;

align-items:center;

font-weight:700;

font-size:20px;

}

.plus{

font-size:30px;

color:#5b6cff;

transition:.3s;

}

.faq-answer{

max-height:0;

overflow:hidden;

transition:.4s;

opacity:0;

padding-top:0;

color:#666;

line-height:1.7;

}

.faq-item.active .faq-answer{

max-height:200px;

opacity:1;

padding-top:20px;

}

.faq-item.active .plus{

transform:rotate(45deg);

}
/* ================= CTA ================= */

.cta{

padding:140px 0;

}

.cta-box{

background:linear-gradient(135deg,#5b6cff,#7c8cff);

border-radius:40px;

padding:90px 60px;

text-align:center;

color:white;

position:relative;

overflow:hidden;

box-shadow:0 50px 120px rgba(91,108,255,.35);

}

.cta-box::before{

content:"";

position:absolute;

width:500px;

height:500px;

background:rgba(255,255,255,.08);

border-radius:50%;

top:-220px;

right:-180px;

}

.cta-box::after{

content:"";

position:absolute;

width:350px;

height:350px;

background:rgba(255,255,255,.06);

border-radius:50%;

left:-120px;

bottom:-150px;

}

.cta-box>*{

position:relative;

z-index:2;

}

.cta-box h2{

font-size:52px;

font-weight:800;

margin:25px 0;

}

.cta-box p{

font-size:22px;

line-height:1.8;

opacity:.95;

max-width:760px;

margin:auto;

}

.cta-buttons{

margin-top:45px;

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

.cta .btn-primary{

background:white;

color:#5b6cff;

}

.cta .btn-primary:hover{

background:#f3f5ff;

}

.cta .btn-secondary{

background:rgba(255,255,255,.15);

border:1px solid rgba(255,255,255,.2);

color:white;

backdrop-filter:blur(20px);

}

.cta .btn-secondary:hover{

background:rgba(255,255,255,.22);

}
/* ================= CONTACTS ================= */

.contacts{

padding:120px 0;

}

.contacts-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

margin-top:70px;

}

.contact-card{

background:white;

padding:45px;

border-radius:24px;

text-align:center;

box-shadow:0 20px 60px rgba(0,0,0,.05);

transition:.35s;

}

.contact-card:hover{

transform:translateY(-8px);

}

.contact-icon{

font-size:48px;

margin-bottom:25px;

}

.contact-card h3{

margin-bottom:15px;

}

.contact-card a{

color:#5b6cff;

font-weight:700;

text-decoration:none;

font-size:20px;

}
/* ================= FOOTER ================= */

.footer{

padding:80px 0 40px;

background:#0b1020;

color:#cfd6ff;

margin-top:120px;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:50px;

}

.footer-logo{

font-size:34px;

font-weight:800;

color:white;

margin-bottom:20px;

}

.footer-logo span{

color:#6c7cff;

}

.footer h4{

color:white;

margin-bottom:20px;

font-size:18px;

}

.footer a{

display:block;

color:#cfd6ff;

margin-bottom:12px;

text-decoration:none;

transition:.25s;

}

.footer a:hover{

color:white;

}

.footer-bottom{

margin-top:60px;

padding-top:30px;

border-top:1px solid rgba(255,255,255,.08);

text-align:center;

opacity:.6;

font-size:15px;

}
/* ================= Scroll animation ================= */

.reveal{

opacity:0;

transform:translateY(60px);

transition:1s;

}

.reveal.active{

opacity:1;

transform:none;

}
.feature-card,
.review-card,
.price-card,
.contact-card{

transition:
transform .35s,
box-shadow .35s;

}

.feature-card:hover,
.review-card:hover,
.price-card:hover,
.contact-card:hover{

transform:translateY(-12px);

box-shadow:0 35px 70px rgba(0,0,0,.12);

}
.hero::before{

content:"";

position:absolute;

width:700px;

height:700px;

background:#6c7cff;

filter:blur(170px);

opacity:.15;

top:-300px;

left:-250px;

animation:floatGlow 12s ease-in-out infinite;

}

@keyframes floatGlow{

0%{

transform:translate(0,0);

}

50%{

transform:translate(80px,40px);

}

100%{

transform:translate(0,0);

}

}
.btn-primary,
.btn-secondary{

transition:
all .35s;

}

.btn-primary:hover{

transform:translateY(-3px);

box-shadow:0 25px 60px rgba(91,108,255,.35);

}

.btn-secondary:hover{

transform:translateY(-3px);

}
