/* ---------- Hero ---------- */

.hero-section{
    padding: 90px 0 120px;
    max-width: none;
}

.hero-layout{
    display: grid;
    grid-template-columns: minmax(520px, 1fr) minmax(420px, 0.9fr);
    gap: 60px;
    align-items: center;
}

.hero-badge{
    display: inline-block;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(56,189,248,0.12);
    border: 1px solid rgba(56,189,248,0.25);

    color: #38bdf8;

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

    margin-bottom: 28px;
}

.hero-subtitle{
    max-width: 760px;

    font-size: 22px;
    line-height: 1.7;

    color: #94a3b8;

    margin-bottom: 42px;
}

.hero-actions{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.hero-primary-btn,
.hero-secondary-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 28px;

    border-radius: 18px;

    text-decoration: none;
    font-weight: 700;

    transition: 0.3s;
}

.hero-primary-btn{
    color: #020617;
    box-shadow: 0 18px 40px rgba(56,189,248,0.25);
}

.hero-secondary-btn{
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: white;
}

.hero-secondary-btn:hover{
    border-color: #38bdf8;
    background: rgba(56,189,248,0.08);
}

.hero-stats{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hero-stats div{
    background: rgba(30,41,59,0.65);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

.hero-stats strong{
    display: block;
    margin-bottom: 12px;
    color: white;
    font-size: 42px;
    font-weight: 800;
}

.hero-stats span{
    color: #94a3b8;
    line-height: 1.5;
}

.hero-visual{
    position: relative;
    min-height: 520px;

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

.hero-visual::before{
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.22), transparent 70%);
    filter: blur(30px);
    z-index: -1;
}

.hero-visual::after{
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);

    background-size: 40px 40px;

    mask-image: radial-gradient(circle, white 30%, transparent 85%);

    z-index: -2;
}

.code-window{
    width: 100%;
    max-width: 520px;

    background: rgba(15,23,42,0.92);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;

    overflow: hidden;

    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    backdrop-filter: blur(16px);

    transform: rotate(-4deg);
}

.code-window-top{
    display: flex;
    gap: 8px;

    padding: 16px 18px;

    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.code-window-top span{
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-window-top span:nth-child(1){
    background: #ef4444;
}

.code-window-top span:nth-child(2){
    background: #f59e0b;
}

.code-window-top span:nth-child(3){
    background: #22c55e;
}

.code-window pre{
    margin: 0;
    padding: 34px;

    overflow-x: auto;

    color: #38bdf8;

    font-size: 16px;
    line-height: 1.8;
    font-family: Consolas, monospace;
}

.floating-card{
    position: absolute;

    background: rgba(30,41,59,0.92);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    padding: 14px 18px;

    backdrop-filter: blur(10px);

    box-shadow: 0 18px 40px rgba(0,0,0,0.35);

    font-weight: 700;
}

.floating-card-1{
    top: 40px;
    right: 10px;
}

.floating-card-2{
    bottom: 120px;
    left: -20px;
}

.floating-card-3{
    bottom: 20px;
    right: 40px;
}

.tasks-section{
    margin-top: 60px;
}

.section-title{
    margin-bottom: 16px;
    font-size: 42px;
    letter-spacing: -1px;
}

.section-subtitle{
    color: #94a3b8;
    font-size: 18px;
    margin-bottom: 40px;
}

/* ---------- Trust section ---------- */

.trust-section{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;

    margin: 10px 0 90px;
}

.trust-card{
    padding: 24px;

    border-radius: 24px;

    background: rgba(30, 41, 59, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.07);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.trust-card strong{
    display: block;

    margin-bottom: 10px;

    color: #f8fafc;

    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
}

.trust-card span{
    display: block;

    color: #94a3b8;

    font-size: 15px;
    line-height: 1.5;
}

/* ---------- Features section ---------- */

.features-section{
    margin: 80px 0 110px;
}

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

.feature-card,
.pro-card{
    min-height: 250px;

    padding: 30px;

    border-radius: 28px;

    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.10), transparent 34%),
        rgba(30, 41, 59, 0.68);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);

    transition: 0.3s;
}

.feature-card:hover,
.pro-card:hover{
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.48);
    box-shadow: 0 24px 60px rgba(56, 189, 248, 0.12);
}

.feature-icon{
    margin-bottom: 20px;

    font-size: 28px;
    line-height: 1;
}

.feature-card h3,
.pro-card h3{
    margin: 0 0 14px;

    color: #f8fafc;

    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.4px;
}

.feature-card p,
.pro-card p{
    margin: 0;

    color: #cbd5e1;

    font-size: 16px;
    line-height: 1.65;
}

/* ---------- PRO section ---------- */

.pro-section{
    margin: 80px 0 120px;
    padding: 54px;

    border-radius: 34px;

    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.52));

    border: 1px solid rgba(56, 189, 248, 0.16);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 28px 80px rgba(0, 0, 0, 0.28);
}

.pro-header{
    max-width: 850px;
    margin-bottom: 34px;
}

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

.pro-buttons,
.final-cta-buttons{
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;

    margin-top: 32px;
}

/* ---------- Creator section ---------- */

.creator-section{
    margin: 90px 0 120px;
}

.creator-card{
    padding: 54px;

    border-radius: 34px;

    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.10), transparent 34%),
        rgba(30, 41, 59, 0.70);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.creator-info{
    max-width: 980px;
}

.creator-text{
    margin: 0 0 22px;

    color: #cbd5e1;

    font-size: 18px;
    line-height: 1.75;

    white-space: pre-line;
}

/* ---------- Final CTA ---------- */

.final-cta-section{
    margin: 90px 0 40px;
}

.final-cta-card{
    padding: 56px;

    border-radius: 36px;

    text-align: center;

    background:
        radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.84));

    border: 1px solid rgba(56, 189, 248, 0.18);

    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.final-cta-card h2{
    max-width: 820px;

    margin: 0 auto 18px;

    color: #f8fafc;

    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-weight: 900;
}

.final-cta-card p{
    max-width: 760px;

    margin: 0 auto;

    color: #94a3b8;

    font-size: 19px;
    line-height: 1.7;
}

.final-cta-buttons{
    justify-content: center;
}

/* ---------- Home sections responsive ---------- */

@media (max-width: 1100px) {
    .trust-section{
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .pro-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .pro-section,
    .creator-card,
    .final-cta-card{
        padding: 38px;
    }
}

@media (max-width: 768px) {
    .trust-section,
    .features-grid,
    .pro-grid{
        grid-template-columns: 1fr;
    }

    .trust-section{
        margin-bottom: 70px;
    }

    .features-section,
    .pro-section,
    .creator-section,
    .final-cta-section{
        margin: 70px 0;
    }

    .feature-card,
    .pro-card{
        min-height: auto;
        padding: 26px;
        border-radius: 24px;
    }

    .pro-section,
    .creator-card,
    .final-cta-card{
        padding: 28px 22px;
        border-radius: 28px;
    }

    .creator-text{
        font-size: 16px;
        line-height: 1.65;
    }

    .pro-buttons,
    .final-cta-buttons{
        flex-direction: column;
        align-items: stretch;
    }

    .pro-buttons a,
    .final-cta-buttons a{
        width: 100%;
    }
}

/* ---------- Hero responsive ---------- */

@media (max-width: 1100px) {
    .hero-layout{
        grid-template-columns: 1fr;
    }

    .hero-visual{
        order: -1;
        min-height: auto;
    }

    .hero-stats{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-actions,
    .hero-buttons{
        flex-direction: column;
    }

    .hero-actions a,
    .hero-buttons a{
        width: 100%;
    }

    .hero-subtitle{
        font-size: 19px;
    }

    .hero-stats{
        grid-template-columns: 1fr;
    }
}

.seo-info-section {
    width: 100%;
    max-width: 1180px;
    margin: 80px auto 0;
}

.seo-info-card {
    padding: 44px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 26, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.seo-info-card h2 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #f8fafc;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.seo-info-card p {
    max-width: 900px;
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 17px;
    line-height: 1.75;
}

.seo-info-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .seo-info-section {
        margin-top: 54px;
    }

    .seo-info-card {
        padding: 28px 22px;
        border-radius: 26px;
    }

    .seo-info-card p {
        font-size: 15px;
        line-height: 1.7;
    }
}

.tasks-grid + .seo-info-section {
    max-width: 1040px;
    margin: 54px 0 0;
}

.tasks-grid + .seo-info-section .seo-info-card {
    padding: 28px 32px;
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: none;
}

.tasks-grid + .seo-info-section .seo-info-card h2 {
    max-width: 680px;
    margin-bottom: 16px;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.tasks-grid + .seo-info-section .seo-info-card p {
    max-width: 760px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .tasks-grid + .seo-info-section {
        max-width: 100%;
        margin: 38px 0 0;
    }

    .tasks-grid + .seo-info-section .seo-info-card {
        padding: 24px 20px;
    }
}