/* ===========================
   RESET
=========================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f8fafc;
    color: #111827;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   LAYOUT
=========================== */

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ===========================
   BUTTONS
=========================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: .25s ease;
    cursor: pointer;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* ===========================
   HEADER
=========================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.header .container {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
}

.logo span {
    color: #2563eb;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a:hover {
    color: #2563eb;
}

/* ===========================
   HERO
=========================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.12), transparent 40%),
        radial-gradient(circle at bottom right, rgba(59,130,246,.08), transparent 35%),
        #f8fafc;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-block;
    background: #dbeafe;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-secondary {
    background: white;
    border: 1px solid #d1d5db;
    color: #111827;
}

.btn-secondary:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stats strong {
    display: block;
    font-size: 28px;
    color: #2563eb;
}

.hero-stats span {
    color: #6b7280;
}

.hero-image img {
    width: 100%;
}

/* ===========================
   FOOTER
=========================== */

.footer {
    margin-top: 80px;
    background: #111827;
    color: #fff;
    padding: 60px 0 24px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer a:hover {
    color: #60a5fa;
}

.copyright {
    margin-top: 40px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* ===========================
   SECTIONS
=========================== */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}

.section-header span {
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.section-header h2 {
    font-size: clamp(34px, 5vw, 48px);
    margin: 18px 0;
    line-height: 1.2;
}

.section-header p {
    color: #6b7280;
    font-size: 18px;
}

/* ===========================
   FEATURES
=========================== */

.features {
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 35px;
    transition: .3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #dbeafe;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

.feature-card p {
    color: #6b7280;
}

/* ===========================
   PROCESS
=========================== */

.process {
    background: #f8fafc;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.process-item {
    background: white;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e5e7eb;
    transition: .3s;
    text-align: center;
}

.process-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.process-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
}

.process-item h3 {
    margin-bottom: 15px;
}

.process-item p {
    color: #6b7280;
}

.process-arrow {
    font-size: 40px;
    color: #2563eb;
    font-weight: bold;
}

/* ===========================
   LOGO
=========================== */

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon{

    width:58px;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

}

.logo-icon img{

    width:100%;
    height:100%;

    display:block;

}

.logo-text{

    display:flex;
    flex-direction:column;

}

.logo-title{

    font-size:22px;
    font-weight:800;
    letter-spacing:1px;

}

.logo-subtitle{

    font-size:12px;
    color:#6b7280;

}

/* ===========================
   TABLET
=========================== */

@media (max-width: 992px) {

    .nav{
		display:flex;
		align-items:center;
		justify-content:center;
		gap:0;
	}

    .hero-grid{

        grid-template-columns:1fr;
        text-align:center;

    }

    .hero p{

        margin-left:auto;
        margin-right:auto;

    }

    .hero-buttons{

        justify-content:center;
        flex-wrap:wrap;

    }

    .hero-stats{

        justify-content:center;
        flex-wrap:wrap;

    }

    .features-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .process-grid{

        grid-template-columns:1fr;

    }

    .process-arrow{

        transform:rotate(90deg);

    }

}

.nav > a{

    display:flex;
    align-items:center;
    justify-content:center;

    height:44px;

    padding:10 22px;

    font-weight:500;

    color:#374151;

    transition:.25s;

    position:relative;

}

.nav > a:not(:last-of-type)::after{

    content:"";

    position:absolute;

    right:0;
    top:50%;

    transform:translateY(-50%);

    width:1px;
    height:18px;

    background:#e5e7eb;

}

.nav > a:hover{

    color:#2563eb;

    background:#eff6ff;

    border-radius:8px;

}

.header{

    transition:.3s;

}

.header.scrolled{

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    background:rgba(255,255,255,.96);

}

.hero-decoration{
    position:absolute;
    border-radius:50%;
    filter:blur(70px);
    z-index:0;
}

.hero-decoration-1{
    width:320px;
    height:320px;
    background:#60a5fa;
    top:-100px;
    left:-120px;
    opacity:.35;
}

.hero-decoration-2{
    width:260px;
    height:260px;
    background:#2563eb;
    bottom:-120px;
    right:-80px;
    opacity:.2;
}

.hero .container{
    position:relative;
    z-index:2;
}

/* ===========================
   AUDIENCE
=========================== */

.audience{
    background:white;
}

.audience-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}

.audience-card{

    padding:40px;

    border-radius:24px;

    background:#f8fafc;

    border:1px solid #e5e7eb;

    transition:.3s;

}

.audience-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.audience-icon{

    font-size:48px;

    margin-bottom:25px;

}

.audience-card h3{

    margin-bottom:16px;

    font-size:24px;

}

.audience-card p{

    color:#6b7280;

}

.audience-grid{
    grid-template-columns:1fr;
}

/* ===========================
   CALCULATOR
=========================== */

.calculator{

    background:#2563eb;

}

.calculator-box{

    max-width:700px;

    margin:auto;

    background:white;

    padding:60px;

    border-radius:30px;

    text-align:center;

}

.counter{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:35px;

    margin:50px 0;

}

.counter-btn{

    width:65px;
    height:65px;

    border:none;

    border-radius:18px;

    background:#2563eb;

    color:white;

    font-size:34px;

    cursor:pointer;

    transition:.25s;

}

.counter-btn:hover{

    transform:scale(1.08);

}

.counter-value span{

    display:block;

    font-size:64px;

    font-weight:800;

}

.counter-value small{

    color:#6b7280;

}

.price{

    margin-bottom:25px;

}

.price span{

    color:#6b7280;

}

.price h2{

    margin-top:10px;

    font-size:54px;

    color:#2563eb;

}

.discount{

    background:#dbeafe;

    color:#2563eb;

    padding:18px;

    border-radius:14px;

    margin-bottom:35px;

    font-weight:600;

}

.slider-wrapper{

    margin:50px 0;

}

.slider-labels{

    display:flex;
    justify-content:space-between;
    margin-bottom:14px;

    color:#6b7280;

}

input[type="range"]{

    width:100%;

    height:8px;

    border-radius:999px;

    appearance:none;

    outline:none;

    background:linear-gradient(
        90deg,
        #2563eb 0%,
        #2563eb 100%
    );

}

input[type="range"]::-webkit-slider-thumb{

    appearance:none;

    width:28px;
    height:28px;

    border-radius:50%;

    background:white;

    border:5px solid #2563eb;

    cursor:pointer;

    box-shadow:0 5px 20px rgba(0,0,0,.15);

    transition:.2s;

}

input[type="range"]::-webkit-slider-thumb:hover{

    transform:scale(1.15);

}

.selected-count{

    font-size:44px;
    font-weight:700;

    margin-bottom:30px;

}

.selected-count span{

    color:#2563eb;

}

.slider-wrapper{

    position:relative;

    margin:70px 0 50px;

}

.slider-value{

    position:absolute;

    top:-58px;

    width:52px;
    height:38px;

    background:#2563eb;

    color:#fff;

    border-radius:12px;

    display:flex;
    justify-content:center;
    align-items:center;

    font-weight:700;
    font-size:18px;

    transform:translateX(-50%);

    transition:left .08s linear;

    box-shadow:0 10px 25px rgba(37,99,235,.35);

    pointer-events:none;

}

.slider-value::after{

    content:"";

    position:absolute;

    left:50%;
    bottom:-8px;

    transform:translateX(-50%);

    width:0;
    height:0;

    border-left:8px solid transparent;
    border-right:8px solid transparent;
    border-top:8px solid #2563eb;

}

/* ===========================
   DJANGO MESSAGES
=========================== */

.messages{

    position:fixed;

    top:40px;
    left:50%;

    transform:translateX(-50%);

    z-index:5000;

    pointer-events:none;

}

.message{

    background:#16a34a;

    color:#fff;

    padding:16px 28px;

    border-radius:14px;

    font-weight:600;

    box-shadow:0 12px 35px rgba(0,0,0,.18);

    opacity:1;

}

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(-15px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}


/* ===========================
   Toast
=========================== */

.toast-container{

    position:fixed;

    top:30px;
    right:30px;

    z-index:99999;

}

.toast{

    display:flex;
    align-items:center;

    gap:15px;

    width:360px;

    padding:18px 20px;

    border-radius:16px;

    background:#ffffff;

    border-left:5px solid #2563eb;

    box-shadow:0 15px 45px rgba(0,0,0,.15);

    animation:toastShow .4s ease;

}

.toast-icon{

    width:42px;
    height:42px;

    border-radius:50%;

    background:#2563eb;

    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:bold;

    flex-shrink:0;

}

.toast-content{

    font-size:15px;

    line-height:1.5;

}

@keyframes toastShow{

    from{

        opacity:0;

        transform:translateX(70px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

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

.faq{
    padding:100px 0;
}

.faq-list{
    max-width:900px;
    margin:60px auto 0;
}

.faq-item{
    border:1px solid #e5e7eb;
    border-radius:16px;
    margin-bottom:18px;
    overflow:hidden;
    background:#fff;
}

.faq-question{

    width:100%;
    border:none;
    background:none;

    padding:24px 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    cursor:pointer;

    font-size:20px;
    font-weight:600;
}

.faq-question span{

    font-size:28px;

    transition:.3s;

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .35s ease;

}

.faq-answer p{

    padding:0 30px 30px;

    color:#6b7280;

    line-height:1.7;

}

.faq-item.active .faq-answer{

    max-height:220px;

}

.faq-item.active .faq-question span{

    transform:rotate(45deg);

}

/* ===========================
   TRUST
=========================== */

.trust{

    padding:100px 0;

    background:#f8fafc;

}

.trust-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.trust-card{

    background:white;

    padding:35px;

    border-radius:20px;

    transition:.3s;

    border:1px solid #e5e7eb;

}

.trust-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.trust-icon{

    width:70px;
    height:70px;

    border-radius:18px;

    background:#eff6ff;

    color:#2563eb;

    display:flex;

    justify-content:center;
    align-items:center;

    font-size:30px;

    margin-bottom:25px;

    transition:.3s;

}

.trust-card h3{

    margin-bottom:15px;

}

.trust-card p{

    color:#6b7280;

    line-height:1.7;

}

.trust-card:hover .trust-icon{

    background:#2563eb;

    color:white;

    transform:rotate(-8deg) scale(1.05);

}

.order-form{

    margin-top:40px;

}

.order-form p{

    margin-bottom:22px;

}

.order-form label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#0f172a;

}

.order-form input,
.order-form textarea,
.order-form select{

    width:100%;

    padding:16px 18px;

    border:1px solid #dbe3ee;

    border-radius:14px;

    background:#ffffff;

    font-size:16px;

    font-family:inherit;

    transition:.25s;

    outline:none;

}

.order-form input:hover,
.order-form textarea:hover{

    border-color:#93c5fd;

}

.order-form input:focus,
.order-form textarea:focus{

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

.order-form textarea{

    resize:vertical;

    min-height:130px;

}

.order-form input::placeholder,
.order-form textarea::placeholder{

    color:#9ca3af;

}

/* ===========================
   BURGER
=========================== */

.burger{

    display:none;

    width:46px;
    height:46px;

    border:none;
    background:none;

    cursor:pointer;

    padding:0;

}

.burger span{

    display:block;

    width:28px;
    height:3px;

    background:#111827;

    margin:6px auto;

    transition:.3s;

    border-radius:10px;

}


@media (max-width:768px){

    .nav.active{

        display:flex;
        flex-direction:column;

        position:absolute;

        top:80px;
        left:0;

        width:100%;

        background:#fff;

        padding:25px;

        gap:20px;

        box-shadow:0 20px 40px rgba(0,0,0,.12);

    }

}

.menu-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:900;

}

.menu-overlay.active{

    opacity:1;

    visibility:visible;

}

@media(max-width:768px){

    .nav{

        position:fixed;

        top:0;
        right:-320px;

        width:300px;

        height:100vh;

        background:#fff;

        display:flex;

        flex-direction:column;

        padding:30px;

        gap:24px;

        transition:right .35s ease;

        z-index:1000;

        box-shadow:-10px 0 30px rgba(0,0,0,.15);

    }

    .nav.active{

        right:0;

    }

}

.menu-close{

    align-self:flex-end;

    border:none;

    background:none;

    font-size:32px;

    cursor:pointer;

}

