/*
Theme Name: YouTube Automator
Author: YouTube Automator
Version: 2.0
Text Domain: youtube-automator
*/

/* ========================================
   FONT
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');


/* ========================================
   VARIABLES
======================================== */

:root {
    --red: #ff1b12;
    --red-dark: #db1109;
    --red-light: #fff0ee;

    --black: #151515;
    --dark: #202020;
    --text: #252525;

    --gray: #747474;
    --gray-light: #a0a0a0;

    --white: #ffffff;
    --soft: #fafafa;

    --border: #e9e9e9;

    --container: 1200px;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;

    --shadow-sm:
        0 8px 25px rgba(0, 0, 0, 0.04);

    --shadow:
        0 20px 50px rgba(0, 0, 0, 0.08);

    --shadow-lg:
        0 35px 90px rgba(0, 0, 0, 0.13);
}


/* ========================================
   RESET
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}

i {
    font-style: normal;
}


/* ========================================
   GLOBAL
======================================== */

.section {
    padding: 115px 0;
}

.section-soft {
    background:
        linear-gradient(
            180deg,
            #fcfcfc,
            #f8f8f8
        );
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--red);

    text-transform: uppercase;

    letter-spacing: 1.5px;

    font-size: 11px;
    font-weight: 800;
}

.section-heading h2 {
    margin: 14px 0;

    font-size:
        clamp(
            34px,
            4vw,
            52px
        );

    line-height: 1.12;

    letter-spacing: -1.8px;
}

.section-heading h2 span {
    color: var(--red);
}

.section-description {
    max-width: 620px;
    margin: 0 auto;

    color: var(--gray);

    font-size: 15px;
}


/* ========================================
   BUTTONS
======================================== */

.btn {
    min-height: 52px;

    padding:
        0
        24px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        border .3s ease;
}

.btn-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #ff3028,
            #f3130b
        );

    box-shadow:
        0 12px 25px
        rgba(255, 27, 18, .18);
}

.btn-primary:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 18px 35px
        rgba(255, 27, 18, .25);
}

.btn-outline {
    background: white;

    border:
        1px solid
        #d8d8d8;

    color: var(--black);
}

.btn-outline:hover {
    transform:
        translateY(-3px);

    border-color:
        var(--red);

    color:
        var(--red);

    box-shadow:
        var(--shadow-sm);
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;

    width: 100%;

    z-index: 999;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid transparent;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

    padding: 15px 0px;
}


/* HEADER AFTER SCROLL */

.site-header.scrolled {
    border-color: rgba(0, 0, 0, 0.06);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.04);
}


/* =====================================================
   HEADER INNER
===================================================== */

.header-inner {
    height: var(--header-height);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 27px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--red);

    color: var(--white);

    box-shadow:
        0 6px 14px rgba(255, 26, 22, 0.18);
}

.logo-play {
    font-size: 12px;

    margin-left: 2px;

    line-height: 1;
}

.logo-text {
    display: flex;

    flex-direction: column;

    line-height: 1.05;
}

.logo-text strong {
    color: var(--black);

    font-size: 16px;

    font-weight: 800;

    letter-spacing: -0.4px;
}

.logo-text span {
    color: var(--red);

    font-size: 16px;

    font-weight: 800;

    letter-spacing: -0.4px;
}


/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.main-nav {
    margin-left: auto;
}

.primary-menu {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 34px;

    list-style: none;

    padding: 0;

    margin: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    position: relative;

    display: inline-flex;

    padding: 8px 0;

    color: #555b66;

    font-size: 13px;

    font-weight: 600;

    transition: color 0.25s ease;
}


/* HOVER */

.primary-menu a:hover {
    color: var(--black);
}


/* RED LINE */

.primary-menu a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    border-radius: 10px;

    background: var(--red);

    transition: width 0.25s ease;
}

.primary-menu li:hover > a::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
    width: 100%;
}


/* ACTIVE LINK */

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
    color: var(--black);
}


/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions {
    display: flex;

    align-items: center;

    gap: 14px;
}


/* FIVERR BUTTON */

.header-fiverr-btn {
    min-height: 46px;

    padding: 0 20px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border-radius: 7px;

    background: var(--red);

    color: var(--white);

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(255, 26, 22, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.header-fiverr-btn:hover {
    background: var(--red-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(255, 26, 22, 0.25);
}

.header-fiverr-btn svg {
    transition: transform 0.25s ease;
}

.header-fiverr-btn:hover svg {
    transform: translate(2px, -2px);
}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.mobile-menu-toggle {
    width: 46px;
    height: 46px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: var(--white);

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    cursor: pointer;

    padding: 0;
}

.mobile-menu-toggle span {
    width: 20px;

    height: 2px;

    border-radius: 10px;

    background: var(--black);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* HAMBURGER ACTIVE */

.mobile-menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    padding: 70px 0 25px;

    background: var(--white);

    border-top: 1px solid var(--border);
}


/* =====================================================
   FOOTER GRID
===================================================== */

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr
        1.3fr;

    gap: 42px;
}


/* =====================================================
   FOOTER BRAND
===================================================== */

.footer-brand {
    padding-right: 10px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    max-width: 270px;

    margin: 0 0 22px;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.8;
}


/* =====================================================
   SOCIAL ICONS
===================================================== */

.footer-socials {
    display: flex;

    align-items: center;

    gap: 10px;
}

.social-link {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--black);

    color: var(--white);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.social-link:hover {
    background: var(--red);

    transform:
        translateY(-3px);
}

.social-link svg {
    width: 15px;

    height: 15px;
}


/* =====================================================
   FOOTER COLUMNS
===================================================== */

.footer-column {
    min-width: 0;
}

.footer-title {
    margin: 0 0 20px;

    color: var(--black);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: -0.2px;
}


/* =====================================================
   FOOTER LIST
===================================================== */

.footer-list {
    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-list li {
    margin: 0;

    padding: 0;
}

.footer-list a {
    position: relative;

    color: var(--gray);

    font-size: 13px;

    font-weight: 500;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-list a:hover {
    color: var(--red);

    padding-left: 4px;
}


/* =====================================================
   CONTACT
===================================================== */

.footer-contact .footer-list a {
    display: flex;

    align-items: flex-start;

    gap: 7px;

    padding-left: 0;
}

.footer-contact .footer-list a:hover {
    padding-left: 0;
}

.contact-icon {
    color: var(--red);

    font-size: 13px;

    margin-top: 1px;
}

.footer-contact-text {
    margin: 20px 0 0;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom {
    margin-top: 55px;

    padding-top: 22px;

    border-top: 1px solid var(--border);

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: #8a8f98;

    font-size: 12px;

    font-weight: 500;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .primary-menu {
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns:
            1.5fr
            1fr
            1fr;
    }

    .footer-contact {
        grid-column: span 1;
    }

}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

@media (max-width: 850px) {

    :root {
        --header-height: 72px;
    }

    .site-header{
        padding: 0px 0px;
    }

    .header-inner {
        gap: 18px;
    }


    .main-nav {
        position: fixed;

        top: var(--header-height);

        left: 0;

        width: 100%;

        padding: 18px 24px 28px;

        background: rgba(255, 255, 255, 0.98);

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.06);

        transform:
            translateY(-20px);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
    }


    .main-nav.active {
        transform: translateY(0);

        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    .primary-menu {
        flex-direction: column;

        align-items: stretch;

        gap: 3px;
    }


    .primary-menu li {
        width: 100%;
    }


    .primary-menu a {
        width: 100%;

        padding: 14px 8px;

        font-size: 15px;

        border-bottom:
            1px solid rgba(0, 0, 0, 0.05);
    }


    .primary-menu a::after {
        display: none;
    }


    .primary-menu .current-menu-item > a,
    .primary-menu .current_page_item > a {
        color: var(--red);
    }


    .mobile-menu-toggle {
        display: flex;
    }


    .header-fiverr-btn {
        min-height: 44px;

        padding: 0 16px;
    }


    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 45px 30px;
    }


    .footer-brand {
        grid-column: span 2;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .container {
        width: min(
            100% - 32px,
            var(--container)
        );
    }


    .header-fiverr-btn {
        display: none;
    }


    .header-actions {
        margin-left: auto;
    }


    .logo-icon {
        width: 36px;

        height: 26px;
    }


    .logo-text strong,
    .logo-text span {
        font-size: 15px;
    }


    .main-nav {
        padding:
            15px
            16px
            24px;
    }


    .site-footer {
        padding-top: 55px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-brand {
        grid-column: auto;
    }


    .footer-description {
        max-width: 100%;
    }


    .footer-title {
        margin-bottom: 15px;
    }


    .footer-bottom {
        margin-top: 45px;

        padding-top: 20px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 24px);
    }


    .logo-text strong,
    .logo-text span {
        font-size: 14px;
    }


    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }

}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    padding:
        125px 0 70px;

    overflow: hidden;
}

.hero-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 80px;

    align-items: center;
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}

.hero-glow-one {
    width: 450px;
    height: 450px;

    top: -200px;
    right: -150px;

    background:
        rgba(
            255,
            27,
            18,
            .07
        );
}

.hero-glow-two {
    width: 350px;
    height: 350px;

    left: -200px;
    bottom: -200px;

    background:
        rgba(
            255,
            27,
            18,
            .04
        );
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    color: var(--red);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .4px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--red);

    box-shadow:
        0 0 0 6px
        var(--red-light);
}

.hero h1 {
    max-width: 720px;

    margin: 0;

    font-size:
        clamp(
            45px,
            5.2vw,
            72px
        );

    line-height: 1.08;

    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--red);
}

.hero-description {
    max-width: 590px;

    margin:
        25px 0;

    color: var(--gray);

    font-size: 16px;
}

.hero-checks {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        13px
        24px;

    margin:
        30px 0;
}

.hero-check {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    font-weight: 600;
}

.check-icon {
    width: 21px;
    height: 21px;

    display: grid;
    place-items: center;

    flex: 0 0 21px;

    border-radius: 50%;

    background:
        var(--red);

    color:
        white;

    font-size:
        11px;

    font-weight:
        900;

    box-shadow:
        0 5px 14px
        rgba(
            255,
            27,
            18,
            .2
        );
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/* ========================================
   HERO VIDEO
======================================== */

.hero-visual {
    position: relative;
}

.hero-dots {
    position: absolute;

    width: 140px;
    height: 180px;

    top: -35px;
    right: -40px;

    opacity: .5;

    background-image:
        radial-gradient(
            var(--red) 1px,
            transparent 1px
        );

    background-size:
        13px 13px;
}

.video-card {
    position: relative;

    padding: 18px;

    border:
        1px solid
        rgba(0,0,0,.06);

    border-radius:
        var(--radius-lg);

    background:
        rgba(
            255,
            255,
            255,
            .9
        );

    box-shadow:
        var(--shadow-lg);

    backdrop-filter:
        blur(15px);

    animation:
        heroFloat
        5s ease-in-out
        infinite;
}

.video-top {
    display: flex;

    justify-content:
        space-between;

    align-items: center;

    padding:
        0 4px 16px;
}

.video-logo {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #ff332b,
            #e91209
        );

    box-shadow:
        0 10px 20px
        rgba(
            255,
            27,
            18,
            .18
        );
}

.video-logo span {
    width: 0;
    height: 0;

    border-top:
        6px solid transparent;

    border-bottom:
        6px solid transparent;

    border-left:
        10px solid white;
}

.video-dots {
    display: flex;

    gap: 7px;
}

.video-dots i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #c7c7c7;
}

.video-screen {
    position: relative;

    aspect-ratio:
        16 / 10;

    overflow: hidden;

    border-radius:
        18px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eeeeee
        );
}

.video-screen::before {
    content: "";

    position: absolute;

    width: 140%;
    height: 120%;

    top: -40%;
    left: -30%;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(
                255,
                255,
                255,
                .9
            ),
            transparent
        );

    transform:
        rotate(-10deg);

    animation:
        shine
        7s infinite;
}

.screen-shine {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(
                255,
                27,
                18,
                .04
            ),
            transparent 60%
        );
}

.play-button {
    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    width: 90px;
    height: 90px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ff3028,
            #e90d05
        );

    color: white;

    font-size: 30px;

    box-shadow:
        0 20px 45px
        rgba(
            255,
            27,
            18,
            .3
        );

    animation:
        pulse
        2.5s infinite;
}

.play-button span {
    margin-left: 5px;
}

.video-progress {
    position: absolute;

    left: 35px;
    right: 35px;

    bottom: 25px;

    height: 6px;

    border-radius: 20px;

    background:
        rgba(
            0,
            0,
            0,
            .08
        );

    overflow: hidden;
}

.video-progress span {
    display: block;

    width: 55%;
    height: 100%;

    border-radius: inherit;

    background:
        var(--red);
}


/* ========================================
   FLOATING CARDS
======================================== */

.floating-card {
    position: absolute;

    z-index: 3;

    min-width: 76px;

    padding: 14px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    border-radius: 14px;

    font-size: 10px;

    font-weight: 700;

    box-shadow:
        var(--shadow);
}

.floating-analytics {
    top: 20px;
    left: -35px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #ff3028,
            #e90d05
        );

    animation:
        floatingCard
        4s ease-in-out
        infinite;
}

.floating-audience {
    right: -30px;
    bottom: 30px;

    color: white;

    background:
        var(--black);

    animation:
        floatingCard
        5s ease-in-out
        infinite reverse;
}

.floating-icon,
.audience-icon {
    font-size: 22px;
}


/* ========================================
   STATS
======================================== */

.stats {
    padding:
        35px 0 90px;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.stat {
    min-height: 125px;

    padding: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    border-right:
        1px solid
        var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--red-light);

    color:
        var(--red);

    font-size: 20px;
}

.stat-number {
    display: block;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 800;
}

.stat-label {
    display: block;

    margin-top: 4px;

    color: var(--gray);

    font-size: 11px;
}


/* ========================================
   SERVICES
======================================== */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.service-card {
    position: relative;

    min-height: 560px;

    padding:
        36px
        25px
        26px;

    display: flex;

    flex-direction: column;

    background:
        rgba(
            255,
            255,
            255,
            .95
        );

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.service-card:hover {
    transform:
        translateY(-10px);

    box-shadow:
        var(--shadow);
}

.service-card.featured {
    border-color:
        rgba(
            255,
            27,
            18,
            .5
        );

    box-shadow:
        0 20px 50px
        rgba(
            255,
            27,
            18,
            .09
        );
}

.popular-badge {
    position: absolute;

    top: -14px;

    left: 50%;

    transform:
        translateX(-50%);

    white-space: nowrap;

    padding:
        6px 14px;

    border-radius: 20px;

    background:
        var(--red);

    color: white;

    font-size: 10px;

    font-weight: 800;

    text-transform:
        uppercase;

    letter-spacing: .6px;
}

.service-icon {
    width: 62px;
    height: 62px;

    margin:
        0 auto
        20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--red-light);

    color:
        var(--red);

    font-size: 24px;

    transition:
        transform .3s ease;
}

.service-card:hover .service-icon {
    transform:
        rotate(8deg)
        scale(1.08);
}

.service-card h3 {
    margin:
        0 0 8px;

    text-align: center;

    font-size: 18px;
}

.service-subtitle {
    min-height: 44px;

    margin: 0;

    text-align: center;

    color: var(--gray);

    font-size: 12px;
}

.service-price {
    margin:
        25px 0 20px;

    text-align: center;

    font-size: 36px;

    font-weight: 900;

    letter-spacing: -1px;
}

.service-price span {
    font-size: 19px;

    vertical-align: top;

    margin-right: 2px;
}

.custom-price {
    font-size: 28px;
}

.service-divider {
    width: 100%;
    height: 1px;

    margin-bottom: 22px;

    background:
        var(--border);
}

.service-features {
    list-style: none;

    padding: 0;

    margin:
        0 0 25px;
}

.service-features li {
    position: relative;

    padding-left: 25px;

    margin-bottom: 12px;

    color: #555;

    font-size: 12px;
}

.service-features li::before {
    content: "✓";

    position: absolute;

    left: 0;

    width: 17px;
    height: 17px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--red-light);

    color:
        var(--red);

    font-size: 10px;

    font-weight: 900;
}

.service-card .btn {
    width: 100%;

    margin-top: auto;
}


/* ========================================
   PROCESS
======================================== */

.process-section {
    position: relative;
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

.process-item {
    position: relative;

    text-align: center;
}

.process-icon {
    position: relative;

    z-index: 2;

    width: 70px;
    height: 70px;

    margin:
        0 auto 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--white);

    border:
        1px solid
        var(--border);

    color:
        var(--red);

    font-size: 17px;

    font-weight: 900;

    box-shadow:
        var(--shadow-sm);
}

.process-number {
    color: var(--red);

    text-transform: uppercase;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.process-item h3 {
    margin:
        8px 0;

    font-size: 18px;
}

.process-item p {
    max-width: 230px;

    margin:
        0 auto;

    color: var(--gray);

    font-size: 13px;
}


/* ========================================
   WHY US
======================================== */

.why-grid {
    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 75px;

    align-items: center;
}

.why-copy h2 {
    margin:
        12px 0 20px;

    font-size:
        clamp(
            38px,
            4vw,
            54px
        );

    line-height: 1.1;

    letter-spacing: -1.8px;
}

.why-copy h2 span {
    display: block;

    color: var(--red);
}

.why-copy p {
    max-width: 500px;

    margin-bottom: 28px;

    color: var(--gray);
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    background:
        white;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    overflow: hidden;

    box-shadow:
        var(--shadow-sm);
}

.benefit {
    padding: 28px 22px;

    border-right:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);

    transition:
        background .3s ease;
}

.benefit:hover {
    background:
        var(--red-light);
}

.benefit:nth-child(3n) {
    border-right: 0;
}

.benefit:nth-last-child(-n+3) {
    border-bottom: 0;
}

.benefit-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        var(--red-light);

    color:
        var(--red);

    font-size: 18px;
}

.benefit h3 {
    margin:
        16px 0 7px;

    font-size: 14px;
}

.benefit p {
    margin: 0;

    color: var(--gray);

    font-size: 11px;
}


/* ========================================
   TESTIMONIALS
======================================== */

.testimonials-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.testimonial {
    position: relative;

    padding: 28px;

    background:
        white;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.testimonial:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow);
}

.stars {
    color: var(--red);

    letter-spacing: 3px;

    font-size: 13px;
}

.testimonial p {
    margin:
        20px 0;

    color: #555;

    font-size: 14px;

    line-height: 1.8;
}

.client {
    display: flex;

    align-items: center;

    gap: 12px;
}

.client-avatar {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--red),
            #ff776f
        );

    color: white;

    font-size: 13px;

    font-weight: 800;
}

.client-name {
    font-size: 13px;

    font-weight: 800;
}

.client-country {
    margin-top: 2px;

    color: var(--gray);

    font-size: 10px;
}


/* ========================================
   BLOG
======================================== */

.blog-section {
    background:
        linear-gradient(
            180deg,
            #fafafa,
            #ffffff
        );
}

.blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.blog-card {
    overflow: hidden;

    background:
        white;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.blog-card:hover {
    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow);
}

.blog-image {
    position: relative;

    display: block;

    overflow: hidden;

    aspect-ratio:
        16 / 10;

    background:
        #eee;
}

.blog-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.blog-card:hover .blog-image img {
    transform:
        scale(1.08);
}

.blog-image-placeholder {
    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            #242424,
            #111
        );

    color:
        var(--red);

    font-size: 50px;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;

    gap: 8px;

    color: var(--gray);

    font-size: 11px;

    margin-bottom: 13px;
}

.blog-meta-separator {
    color: var(--red);
}

.blog-content h3 {
    margin:
        0 0 12px;

    font-size: 20px;

    line-height: 1.35;
}

.blog-content h3 a:hover {
    color: var(--red);
}

.blog-content p {
    margin:
        0 0 20px;

    color: var(--gray);

    font-size: 13px;
}

.blog-read-more {
    color: var(--red);

    font-size: 13px;

    font-weight: 800;
}

.blog-read-more:hover {
    text-decoration: underline;
}

.blog-action {
    margin-top: 45px;

    text-align: center;
}


/* ========================================
   CTA
======================================== */

.cta {
    padding:
        30px 0 100px;
}

.cta-box {
    position: relative;

    overflow: hidden;

    min-height: 190px;

    padding: 42px;

    display: flex;

    align-items: center;

    gap: 25px;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            #151515,
            #252525
        );

    color: white;

    box-shadow:
        var(--shadow-lg);
}

.cta-box::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -150px;
    top: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(
                255,
                27,
                18,
                .25
            ),
            transparent 70%
        );
}

.cta-play {
    position: relative;

    z-index: 2;

    width: 76px;
    height: 76px;

    flex: 0 0 76px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--red);

    color: white;

    font-size: 25px;

    box-shadow:
        0 15px 35px
        rgba(
            255,
            27,
            18,
            .3
        );
}

.cta-content {
    position: relative;

    z-index: 2;

    flex: 1;
}

.cta-content h2 {
    margin: 0 0 7px;

    font-size:
        clamp(
            24px,
            3vw,
            36px
        );

    line-height: 1.2;
}

.cta-content h2 span {
    color: var(--red);
}

.cta-content p {
    margin: 0;

    color: #aaa;

    font-size: 13px;
}

.cta-box .btn {
    position: relative;

    z-index: 2;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    border-top:
        1px solid
        var(--border);

    padding:
        70px 0 25px;

    background:
        white;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 40px;
}

.footer-title {
    margin-bottom: 15px;

    font-size: 13px;

    font-weight: 800;
}

.footer-description {
    max-width: 300px;

    color: var(--gray);

    font-size: 12px;
}

.footer-list {
    list-style: none;

    padding: 0;

    margin: 0;
}

.footer-list li {
    margin-bottom: 9px;
}

.footer-list a {
    color: var(--gray);

    font-size: 12px;

    transition:
        color .2s ease;
}

.footer-list a:hover {
    color: var(--red);
}

.footer-bottom {
    margin-top: 50px;

    padding-top: 22px;

    border-top:
        1px solid
        var(--border);

    text-align: center;

    color: var(--gray);

    font-size: 11px;
}


/* ========================================
   ANIMATIONS
======================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.active {
    opacity: 1;

    transform:
        translateY(0);
}

@keyframes heroFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-10px);
    }

}

@keyframes floatingCard {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-12px);
    }

}

@keyframes pulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(
                255,
                27,
                18,
                .25
            );
    }

    70% {
        box-shadow:
            0 0 0 22px
            rgba(
                255,
                27,
                18,
                0
            );
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(
                255,
                27,
                18,
                0
            );
    }

}

@keyframes shine {

    0% {
        transform:
            translateX(-120%)
            rotate(-10deg);
    }

    100% {
        transform:
            translateX(220%)
            rotate(-10deg);
    }

}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1100px) {

    .hero-grid {
        gap: 50px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .service-card {
        min-height: auto;
    }

}


@media (max-width: 950px) {

    .hero-grid,
    .why-grid {
        grid-template-columns:
            1fr;
    }

    .hero-content {
        max-width: 750px;
    }

    .hero-visual {
        max-width: 650px;

        width: 100%;

        margin:
            30px auto 0;
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 50px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--border);
    }

}


@media (max-width: 760px) {

    .section {
        padding:
            80px 0;
    }

    .hero {
        padding:
            85px 0 50px;
    }

    .hero h1 {
        letter-spacing:
            -2px;
    }

    .hero-checks {
        grid-template-columns:
            1fr;
    }

    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns:
            1fr;
    }

    .benefits-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .benefit:nth-child(3n) {
        border-right:
            1px solid
            var(--border);
    }

    .benefit:nth-child(2n) {
        border-right: 0;
    }

    .benefit:nth-last-child(-n+3) {
        border-bottom:
            1px solid
            var(--border);
    }

    .benefit:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .cta-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 35px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 550px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .hero h1 {
        font-size: 42px;

        line-height: 1.1;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .floating-analytics {
        left: -10px;
    }

    .floating-audience {
        right: -10px;
    }

    .stats-grid {
        grid-template-columns:
            1fr;
    }

    .stat {
        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .stat:nth-child(2) {
        border-bottom:
            1px solid
            var(--border);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .process-grid {
        grid-template-columns:
            1fr;
    }

    .benefits-grid {
        grid-template-columns:
            1fr;
    }

    .benefit,
    .benefit:nth-child(3n),
    .benefit:nth-child(2n) {
        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .benefit:last-child {
        border-bottom: 0;
    }

    .footer-grid {
        grid-template-columns:
            1fr;
    }

    .cta-box {
        padding: 28px;
    }

}


/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }

}

/* ========================================
   FAQ PAGE
======================================== */

.faq-page {
    overflow: hidden;
}


/* FAQ HERO */

.faq-hero {
    padding: 100px 0 60px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fafafa
        );
}

.faq-hero .section-heading {
    margin-bottom: 0;
}

.faq-hero h1 {
    margin: 15px 0;

    font-size:
        clamp(38px, 5vw, 64px);

    line-height: 1.1;

    letter-spacing: -2px;
}

.faq-hero h1 span {
    color: var(--red);
}

.faq-hero p {
    max-width: 600px;

    margin: 0 auto;

    color: var(--gray);

    font-size: 15px;
}


/* FAQ SECTION */

.faq-section {
    padding: 70px 0 110px;
}

.faq-wrapper {
    max-width: 850px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 14px;
}


/* FAQ ITEM */

.faq-item {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: var(--shadow-sm);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.faq-item.active {
    border-color:
        rgba(255, 26, 22, .25);

    box-shadow:
        0 15px 35px
        rgba(20, 24, 35, .06);
}


/* QUESTION */

.faq-question {
    width: 100%;

    padding: 22px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border: 0;

    background: transparent;

    color: var(--black);

    text-align: left;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;
}


/* ICON */

.faq-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--red-light);

    color: var(--red);

    font-size: 22px;

    font-weight: 500;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);

    background: var(--red);

    color: white;
}


/* ANSWER */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows .35s ease;
}

.faq-answer p {
    min-height: 0;

    overflow: hidden;

    margin: 0;

    padding:
        0 25px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;

    transition:
        padding-bottom .35s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding-bottom: 24px;
}


/* MOBILE */

@media (max-width: 600px) {

    .faq-hero {
        padding: 80px 0 45px;
    }

    .faq-section {
        padding: 45px 0 80px;
    }

    .faq-question {
        padding: 18px;

        font-size: 14px;
    }

    .faq-answer p {
        padding:
            0 18px;

        font-size: 13px;
    }

    .faq-item.active .faq-answer p {
        padding-bottom: 20px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;

        flex: 0 0 30px;

        font-size: 20px;
    }

}

/* ========================================
   LEGAL PAGES
======================================== */

.legal-page {
    background: #ffffff;
}


/* HERO */

.legal-hero {
    position: relative;

    padding: 120px 0 85px;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 26, 22, 0.08),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafafa 100%
        );

    border-bottom: 1px solid var(--border);
}

.legal-hero::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -180px;
    left: -100px;

    border-radius: 50%;

    background:
        rgba(255, 26, 22, 0.05);

    filter: blur(40px);
}

.legal-hero::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -80px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(255, 26, 22, 0.06);

    filter: blur(50px);
}

.legal-hero-content {
    position: relative;

    z-index: 2;

    max-width: 750px;

    margin: 0 auto;
}

.legal-hero .section-label {
    margin-bottom: 16px;

    font-size: 11px;
}

.legal-hero h1 {
    margin: 0 0 18px;

    color: var(--black);

    font-size: clamp(40px, 5vw, 64px);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -2px;
}

.legal-hero h1 span {
    color: var(--red);
}

.legal-hero p {
    max-width: 600px;

    margin: 0 auto;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.8;
}


/* CONTENT SECTION */

.legal-content-section {
    padding: 90px 0 110px;
}

.legal-content {
    max-width: 900px;

    margin: 0 auto;

    padding: 55px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 15px 50px rgba(20, 24, 35, 0.05);
}


/* LAST UPDATED */

.legal-updated {
    margin: 0 0 45px;

    padding-bottom: 22px;

    color: var(--gray);

    font-size: 13px;

    border-bottom: 1px solid var(--border);
}


/* CONTENT BLOCK */

.legal-block {
    margin-bottom: 45px;
}

.legal-block:last-of-type {
    margin-bottom: 0;
}

.legal-block h2 {
    margin: 0 0 16px;

    color: var(--black);

    font-size: 24px;

    font-weight: 800;

    line-height: 1.3;

    letter-spacing: -0.5px;
}

.legal-block p {
    margin: 0 0 16px;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.9;
}

.legal-block p:last-child {
    margin-bottom: 0;
}


/* LIST */

.legal-block ul {
    margin: 20px 0;

    padding: 0;

    list-style: none;
}

.legal-block li {
    position: relative;

    margin-bottom: 12px;

    padding-left: 28px;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.7;
}

.legal-block li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 3px;

    width: 18px;
    height: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--red-light);

    color: var(--red);

    font-size: 10px;

    font-weight: 900;
}


/* CONTACT BOX */

.legal-contact-box {
    margin-top: 55px;

    padding: 40px;

    text-align: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #17191f,
            #24272f
        );

    color: #ffffff;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}

.legal-contact-box h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 26px;
}

.legal-contact-box p {
    max-width: 550px;

    margin: 0 auto 25px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 14px;

    line-height: 1.8;
}

.legal-contact-box .btn {
    min-width: 160px;
}


/* ========================================
   LEGAL PAGE RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .legal-hero {
        padding: 95px 0 65px;
    }

    .legal-content-section {
        padding: 60px 0 80px;
    }

    .legal-content {
        padding: 35px 28px;

        border-radius: 14px;
    }

    .legal-block {
        margin-bottom: 38px;
    }

    .legal-block h2 {
        font-size: 21px;
    }

    .legal-contact-box {
        padding: 32px 22px;
    }

}


@media (max-width: 480px) {

    .legal-hero {
        padding: 75px 0 55px;
    }

    .legal-hero h1 {
        font-size: 38px;

        letter-spacing: -1px;
    }

    .legal-hero p {
        font-size: 14px;
    }

    .legal-content {
        padding: 28px 20px;

        border-radius: 12px;
    }

    .legal-block h2 {
        font-size: 19px;
    }

    .legal-block p,
    .legal-block li {
        font-size: 14px;
    }

    .legal-contact-box h2 {
        font-size: 22px;
    }

    .legal-contact-box .btn {
        width: 100%;
    }

}

.video-logo i {
    color: white;
    font-size: 22px;
}

.play-button i {
    margin-left: 4px;
    font-size: 28px;
}

.cta-play i {
    margin-left: 4px;
}

.stat-icon i,
.service-icon i,
.benefit-icon i,
.check-icon i,
.floating-icon i,
.audience-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}