/* =====================================================
   MARKETING AI - GLOBAL STYLES
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg: #07080d;
    --bg-soft: #0d0f17;
    --card: #11131c;
    --card-hover: #161925;
    --border: rgba(255, 255, 255, 0.09);
    --text: #f5f7ff;
    --muted: #9da3b5;
    --primary: #7c5cff;
    --primary-light: #9b84ff;
    --cyan: #42d9ff;
    --success: #5ee7a5;
    --container: 1180px;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin: auto;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 78px;

    background: rgba(7, 8, 13, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo > span:last-child > span {
    color: var(--primary-light);
}

.logo-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--cyan)
    );

    color: white;
    font-size: 18px;

    box-shadow: 0 8px 25px rgba(124, 92, 255, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #b7bccb;
    font-size: 14px;
    font-weight: 500;

    transition: 0.25s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-btn {
    color: #c7cad5;
    font-size: 14px;
    font-weight: 600;
}

.login-btn:hover {
    color: white;
}


/* =====================================================
   BUTTONS
===================================================== */

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--primary),
        #6950e9
    );

    color: white;

    font-size: 14px;
    font-weight: 600;

    border: 1px solid rgba(255,255,255,0.1);

    box-shadow:
        0 10px 30px rgba(124, 92, 255, 0.22);

    transition: 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 40px rgba(124, 92, 255, 0.35);
}

.primary-btn.large {
    padding: 15px 26px;
    border-radius: 12px;
    font-size: 15px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;

    border: 1px solid var(--border);
    border-radius: 12px;

    color: #e4e6ef;

    font-size: 15px;
    font-weight: 600;

    background: rgba(255,255,255,0.025);

    transition: 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.16);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";

    position: absolute;

    width: 800px;
    height: 500px;

    top: -180px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(124,92,255,0.19),
            transparent 65%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    text-align: center;

    max-width: 850px;

    margin: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border-radius: 50px;

    background: rgba(124,92,255,0.08);

    border: 1px solid rgba(124,92,255,0.22);

    color: #c4baff;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 25px;
}

.hero-badge span {
    color: #9a82ff;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(48px, 7vw, 82px);

    line-height: 1.02;

    letter-spacing: -3px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        100deg,
        #9f8aff,
        #54dcff
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero p {
    max-width: 670px;

    margin: auto;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;

    margin-top: 35px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 25px;

    margin-top: 25px;

    color: #7f8698;

    font-size: 13px;
}

.hero-trust span::first-letter {
    color: var(--success);
}


/* =====================================================
   SECTIONS
===================================================== */

.tools-section,
.how-section {
    padding: 115px 0;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 60px;

    text-align: center;
}

.section-label {
    display: inline-block;

    color: #8e7aff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 14px;
}

.section-heading h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(34px, 5vw, 50px);

    line-height: 1.1;

    letter-spacing: -1.8px;
}

.section-heading h2 span {
    color: #8d7aff;
}

.section-heading p {
    margin-top: 18px;

    color: var(--muted);

    font-size: 16px;
}


/* =====================================================
   TOOL CARDS
===================================================== */

.tools-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.tool-card {
    position: relative;

    padding: 30px;

    min-height: 230px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );

    border: 1px solid var(--border);

    border-radius: 18px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-6px);

    border-color: rgba(124,92,255,0.35);

    background: var(--card-hover);
}

.tool-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(124,92,255,0.18),
            rgba(66,217,255,0.08)
        );

    border: 1px solid rgba(124,92,255,0.18);

    color: #a895ff;

    font-size: 22px;

    margin-bottom: 22px;
}

.tool-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 20px;

    margin-bottom: 9px;
}

.tool-card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.65;

    margin-bottom: 18px;
}

.tool-card a {
    color: #a493ff;

    font-size: 13px;
    font-weight: 700;
}

.tool-card a:hover {
    color: white;
}


/* =====================================================
   HOW IT WORKS
===================================================== */

.how-section {
    background: #0a0c13;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.step {
    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: rgba(255,255,255,0.02);
}

.step-number {
    color: #8874ff;

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 25px;
}

.step h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 20px;

    margin-bottom: 10px;
}

.step p {
    color: var(--muted);

    font-size: 14px;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 90px 0;
}

.cta-box {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px;

    border-radius: 24px;

    background:
        linear-gradient(
            110deg,
            rgba(124,92,255,0.13),
            rgba(66,217,255,0.06)
        );

    border: 1px solid rgba(124,92,255,0.2);
}

.cta-box::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -180px;
    top: -180px;

    background:
        radial-gradient(
            circle,
            rgba(124,92,255,0.25),
            transparent 65%
        );
}

.cta-box > * {
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(30px, 4vw, 45px);

    line-height: 1.1;

    letter-spacing: -1.5px;

    margin-bottom: 12px;
}

.cta-box p {
    color: var(--muted);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    border-top: 1px solid var(--border);

    padding: 30px 0;

    background: #05060a;
}

.footer-inner {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.footer-inner p {
    color: #707687;

    font-size: 13px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .tools-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .steps {
        grid-template-columns:
            1fr;
    }

    .hero {
        min-height: 600px;
    }

    .cta-box {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, var(--container));
    }

    .navbar {
        height: 70px;
    }

    .nav-actions .login-btn {
        display: none;
    }

    .nav-actions .primary-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .tools-section,
    .how-section {
        padding: 80px 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .tool-card {
        padding: 25px;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-box .primary-btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}


/* =====================================================
   SMALL ANIMATIONS
===================================================== */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.hero-content {
    animation: fadeUp 0.8s ease both;
}