/* =========================================================
   WorthyTech Solutions - AI Tools Page
   =========================================================
   
   Site Color System:
   Primary       : #2D466D
   Primary Dark  : #243D5A
   Silver        : #B0B8C1
   Dark          : #333333
   Light         : #F8FAFC
   White         : #FFFFFF
   
   This page follows the main WorthyTech website theme.
   ========================================================= */


/* =========================================================
   PAGE VARIABLES
   ========================================================= */

:root {
    --tools-primary: #2D466D;
    --tools-primary-dark: #243D5A;
    --tools-secondary: #7893B1;
    --tools-silver: #B0B8C1;
    --tools-dark: #333333;

    --tools-white: #FFFFFF;
    --tools-light: #F8FAFC;

    --tools-gray-100: #F1F5F9;
    --tools-gray-200: #E2E8F0;
    --tools-gray-300: #CBD5E1;
    --tools-gray-400: #94A3B8;
    --tools-gray-500: #64748B;
    --tools-gray-600: #475569;
    --tools-gray-700: #334155;

    --tools-gradient:
        linear-gradient(
            135deg,
            #2D466D 0%,
            #7893B1 100%
        );

    --tools-gradient-reverse:
        linear-gradient(
            135deg,
            #7893B1 0%,
            #2D466D 100%
        );

    --tools-gradient-dark:
        linear-gradient(
            135deg,
            #333333 0%,
            #2D466D 100%
        );

    --tools-shadow-sm:
        0 2px 8px rgba(45, 70, 109, 0.06);

    --tools-shadow:
        0 8px 25px rgba(45, 70, 109, 0.08);

    --tools-shadow-lg:
        0 18px 45px rgba(45, 70, 109, 0.13);

    --tools-shadow-hover:
        0 25px 55px rgba(45, 70, 109, 0.18);
}


/* =========================================================
   MAIN HERO
   ========================================================= */

.tools-hero {
    position: relative;
    overflow: hidden;

    padding: 105px 0 85px;

    color: var(--tools-white);

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(45, 70, 109, 0.35),
            transparent 45%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(176, 184, 193, 0.16),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #333333 0%,
            #2D466D 100%
        );
}


/* Decorative circles */

.tools-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -180px;
    top: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.09),
            transparent 68%
        );

    pointer-events: none;
}


.tools-hero::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -180px;
    bottom: -240px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(176, 184, 193, 0.12),
            transparent 68%
        );

    pointer-events: none;
}


.tools-hero .container {
    position: relative;
    z-index: 2;
}


.tools-hero-content {
    max-width: 850px;
    margin: 0 auto;
}


/* =========================================================
   HERO EYEBROW
   ========================================================= */

.tools-eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-bottom: 18px;

    padding: 7px 15px;

    border: 1px solid rgba(255, 255, 255, 0.20);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.90);

    font-size: 0.82rem;
    font-weight: 600;

    letter-spacing: 0.5px;

    backdrop-filter: blur(8px);
}


.tools-eyebrow i {
    color: var(--tools-silver);
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.tools-hero .page-title {
    margin: 0 0 20px;

    color: var(--tools-white);

    font-size: clamp(2.4rem, 5vw, 3.6rem);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -0.5px;
}


.tools-hero .text-gradient {
    background:
        linear-gradient(
            135deg,
            #B0B8C1 0%,
            #FFFFFF 50%,
            #B0B8C1 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;

    background-size: 200% auto;

    animation: toolsGradientShift 5s linear infinite;
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.tools-hero .page-description {
    max-width: 720px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.86);

    font-size: 1.08rem;

    line-height: 1.8;
}


/* Decorative line */

.tools-hero-line {
    width: 75px;
    height: 3px;

    margin: 28px auto 0;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--tools-primary),
            var(--tools-silver)
        );
}


/* =========================================================
   TOOLS SECTION
   ========================================================= */

.tools-list-section {
    position: relative;

    padding: 80px 0 90px;

    background: var(--tools-white);

    overflow: hidden;
}


.tools-list-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 220px;

    background:
        linear-gradient(
            180deg,
            rgba(45, 70, 109, 0.035),
            transparent
        );

    pointer-events: none;
}


.tools-list-section .container {
    position: relative;
    z-index: 1;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.tools-section-heading {
    max-width: 750px;

    margin: 0 auto 48px;
}


.section-kicker {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 12px;

    color: var(--tools-primary);

    font-size: 0.85rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.section-kicker i {
    color: var(--tools-secondary);
}


.tools-section-heading h2 {
    margin: 0 0 14px;

    color: var(--tools-dark);

    font-size: clamp(1.9rem, 4vw, 2.55rem);

    font-weight: 800;

    line-height: 1.2;
}


.tools-section-heading h2 span {
    background:
        linear-gradient(
            90deg,
            var(--tools-primary),
            var(--tools-secondary),
            var(--tools-primary)
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


.tools-section-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--tools-gray-600);

    font-size: 1rem;

    line-height: 1.75;
}


/* =========================================================
   TOOL GRID
   ========================================================= */

.tools-grid {
    position: relative;
}


/* =========================================================
   TOOL CARD
   ========================================================= */

.tool-card {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;

    padding: 30px;

    overflow: hidden;

    border: 1px solid var(--tools-gray-200);

    border-radius: 18px;

    background: var(--tools-white);

    box-shadow: var(--tools-shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* Top gradient line */

.tool-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: var(--tools-gradient);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;
}


.tool-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(45, 70, 109, 0.28);

    box-shadow: var(--tools-shadow-hover);
}


.tool-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   TOOL CARD TOP
   ========================================================= */

.tool-card-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 24px;
}


/* =========================================================
   TOOL ICON
   ========================================================= */

.tool-icon {
    width: 72px;
    height: 72px;

    flex: 0 0 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--tools-primary),
            var(--tools-secondary)
        );

    color: var(--tools-white);

    font-size: 28px;

    box-shadow:
        0 10px 25px rgba(45, 70, 109, 0.20);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.tool-card:hover .tool-icon {
    transform: scale(1.06) rotate(-2deg);

    box-shadow:
        0 14px 30px rgba(45, 70, 109, 0.25);
}


/* =========================================================
   TOOL NUMBER
   ========================================================= */

.tool-number {
    color: var(--tools-gray-300);

    font-size: 0.85rem;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   TOOL CARD CONTENT
   ========================================================= */

.tool-card-content {
    flex: 1;
}


.tool-card h3 {
    margin: 0 0 13px;

    color: var(--tools-dark);

    font-size: 1.45rem;

    font-weight: 750;

    line-height: 1.3;
}


.tool-card p {
    margin: 0 0 22px;

    color: var(--tools-gray-600);

    font-size: 0.96rem;

    line-height: 1.75;
}


/* =========================================================
   TOOL FEATURES
   ========================================================= */

.tool-features {
    list-style: none;

    padding: 0;
    margin: 0;
}


.tool-features li {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 12px;

    color: var(--tools-gray-600);

    font-size: 0.92rem;

    line-height: 1.5;
}


.tool-features li:last-child {
    margin-bottom: 0;
}


.tool-features li i {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    flex: 0 0 19px;

    margin-top: 1px;

    border-radius: 50%;

    background:
        rgba(45, 70, 109, 0.10);

    color: var(--tools-primary);

    font-size: 9px;

    font-weight: 700;
}


/* =========================================================
   TOOL CARD FOOTER
   ========================================================= */

.tool-card-footer {
    margin-top: 28px;
}


/* =========================================================
   LAUNCH BUTTON
   ========================================================= */

.tool-launch-btn {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 12px 18px;

    border: 2px solid transparent;

    border-radius: 9px;

    background: var(--tools-gradient);

    color: var(--tools-white) !important;

    font-size: 0.94rem;

    font-weight: 650;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.tool-launch-btn i {
    font-size: 12px;

    transition: transform 0.3s ease;
}


.tool-launch-btn:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            var(--tools-primary-dark),
            var(--tools-primary)
        );

    color: var(--tools-white) !important;

    box-shadow:
        0 10px 24px rgba(45, 70, 109, 0.24);
}


.tool-launch-btn:hover i {
    transform: translate(2px, -2px);
}


/* =========================================================
   CTA SECTION
   ========================================================= */

.tools-cta {
    position: relative;

    overflow: hidden;

    padding: 80px 0;

    color: var(--tools-white);

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(176, 184, 193, 0.10),
            transparent 42%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(45, 70, 109, 0.35),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #333333 0%,
            #2D466D 100%
        );
}


.tools-cta::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.03) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(255, 255, 255, 0.03) 75%,
            transparent 75%
        );

    background-size: 70px 70px;

    opacity: 0.25;

    pointer-events: none;
}


.tools-cta .container {
    position: relative;

    z-index: 2;
}


.tools-cta-inner {
    max-width: 820px;

    margin: 0 auto;
}


/* =========================================================
   CTA KICKER
   ========================================================= */

.cta-kicker {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 15px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.cta-kicker i {
    color: var(--tools-silver);
}


/* =========================================================
   CTA TITLE
   ========================================================= */

.tools-cta .cta-title {
    margin: 0 0 18px;

    color: var(--tools-white);

    font-size: clamp(2rem, 4vw, 2.65rem);

    font-weight: 800;

    line-height: 1.2;
}


.tools-cta .cta-title span {
    background:
        linear-gradient(
            90deg,
            #B0B8C1,
            #FFFFFF,
            #B0B8C1
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


/* =========================================================
   CTA DESCRIPTION
   ========================================================= */

.tools-cta .cta-description {
    max-width: 700px;

    margin: 0 auto 30px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1rem;

    line-height: 1.75;
}


/* =========================================================
   CTA BUTTONS
   ========================================================= */

.cta-buttons {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}


.btn-refined,
.btn-outline-refined {
    min-width: 155px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 25px;

    border-radius: 9px;

    font-size: 0.94rem;

    font-weight: 650;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


/* Primary CTA */

.btn-refined {
    border: 2px solid var(--tools-white);

    background: var(--tools-white);

    color: var(--tools-primary) !important;
}


.btn-refined:hover {
    transform: translateY(-3px);

    background: var(--tools-light);

    color: var(--tools-primary-dark) !important;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.20);
}


/* Outline CTA */

.btn-outline-refined {
    border: 2px solid rgba(255, 255, 255, 0.80);

    background: transparent;

    color: var(--tools-white) !important;
}


.btn-outline-refined:hover {
    transform: translateY(-3px);

    border-color: var(--tools-white);

    background: var(--tools-white);

    color: var(--tools-primary) !important;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   CTA DECORATIVE GLOW
   ========================================================= */

.tools-cta-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.tools-cta-glow-one {
    width: 280px;
    height: 280px;

    left: -160px;
    top: -140px;

    background:
        radial-gradient(
            circle,
            rgba(176, 184, 193, 0.10),
            transparent 70%
        );
}


.tools-cta-glow-two {
    width: 300px;
    height: 300px;

    right: -170px;
    bottom: -180px;

    background:
        radial-gradient(
            circle,
            rgba(45, 70, 109, 0.30),
            transparent 70%
        );
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.fade-in-up {
    animation:
        toolsFadeUp 0.8s ease forwards;
}


.delay-1 {
    animation-delay: 0.18s;
}


.delay-2 {
    animation-delay: 0.35s;
}


.delay-3 {
    animation-delay: 0.50s;
}


@keyframes toolsFadeUp {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes toolsGradientShift {

    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .tools-hero {
        padding: 90px 0 75px;
    }


    .tools-list-section {
        padding: 70px 0 75px;
    }


    .tools-section-heading {
        margin-bottom: 40px;
    }


    .tool-card {
        padding: 27px;
    }


    .tool-icon {
        width: 68px;
        height: 68px;

        flex-basis: 68px;

        font-size: 26px;
    }


    .tools-cta {
        padding: 70px 0;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    /* -----------------------------
       Hero
       ----------------------------- */

    .tools-hero {
        padding: 78px 0 62px;
    }


    .tools-hero .page-title {
        font-size: 2.15rem;

        margin-bottom: 15px;
    }


    .tools-hero .page-description {
        padding: 0 10px;

        font-size: 0.96rem;

        line-height: 1.7;
    }


    .tools-eyebrow {
        margin-bottom: 15px;

        font-size: 0.75rem;

        padding: 6px 12px;
    }


    /* -----------------------------
       Tools section
       ----------------------------- */

    .tools-list-section {
        padding: 58px 0 65px;
    }


    .tools-section-heading {
        margin-bottom: 34px;
    }


    .section-kicker {
        font-size: 0.76rem;
    }


    .tools-section-heading h2 {
        font-size: 1.8rem;

        line-height: 1.25;
    }


    .tools-section-heading p {
        padding: 0 8px;

        font-size: 0.93rem;

        line-height: 1.7;
    }


    /* -----------------------------
       Cards
       ----------------------------- */

    .tools-grid {
        row-gap: 20px !important;
    }


    .tool-card {
        padding: 23px;

        border-radius: 16px;
    }


    .tool-card-top {
        margin-bottom: 20px;
    }


    .tool-icon {
        width: 62px;
        height: 62px;

        flex-basis: 62px;

        border-radius: 14px;

        font-size: 24px;
    }


    .tool-number {
        font-size: 0.78rem;
    }


    .tool-card h3 {
        font-size: 1.3rem;

        margin-bottom: 11px;
    }


    .tool-card p {
        font-size: 0.91rem;

        line-height: 1.7;

        margin-bottom: 20px;
    }


    .tool-features li {
        gap: 9px;

        margin-bottom: 10px;

        font-size: 0.88rem;
    }


    .tool-card-footer {
        margin-top: 24px;
    }


    .tool-launch-btn {
        min-height: 46px;

        padding: 11px 15px;

        font-size: 0.9rem;
    }


    /* -----------------------------
       CTA
       ----------------------------- */

    .tools-cta {
        padding: 60px 0;
    }


    .tools-cta .cta-title {
        padding: 0 8px;

        font-size: 1.85rem;

        line-height: 1.25;
    }


    .tools-cta .cta-description {
        padding: 0 10px;

        font-size: 0.92rem;

        line-height: 1.7;

        margin-bottom: 25px;
    }


    .cta-buttons {
        width: 100%;

        padding: 0 12px;

        gap: 10px;
    }


    .btn-refined,
    .btn-outline-refined {
        width: 100%;

        min-width: 0;

        min-height: 48px;
    }


    .tools-cta-glow-one {
        width: 220px;
        height: 220px;

        left: -130px;
        top: -110px;
    }


    .tools-cta-glow-two {
        width: 220px;
        height: 220px;

        right: -130px;
        bottom: -130px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .tools-hero {
        padding: 68px 0 55px;
    }


    .tools-hero .page-title {
        font-size: 1.95rem;
    }


    .tools-hero .page-description {
        font-size: 0.9rem;
    }


    .tools-list-section {
        padding: 50px 0 58px;
    }


    .tools-section-heading h2 {
        font-size: 1.65rem;
    }


    .tools-section-heading p {
        font-size: 0.88rem;
    }


    .tool-card {
        padding: 20px;
    }


    .tool-icon {
        width: 58px;
        height: 58px;

        flex-basis: 58px;

        font-size: 22px;
    }


    .tool-card h3 {
        font-size: 1.22rem;
    }


    .tool-card p {
        font-size: 0.88rem;
    }


    .tool-features li {
        font-size: 0.85rem;
    }


    .tools-cta {
        padding: 52px 0;
    }


    .tools-cta .cta-title {
        font-size: 1.65rem;
    }


    .tools-cta .cta-description {
        font-size: 0.88rem;
    }


    .btn-refined,
    .btn-outline-refined {
        font-size: 0.88rem;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tools-hero .text-gradient {
        animation: none;
    }


    .fade-in-up {
        animation: none;
    }


    .tool-card,
    .tool-icon,
    .tool-launch-btn,
    .tool-launch-btn i,
    .btn-refined,
    .btn-outline-refined {
        transition: none;
    }

}
/* =========================================================
   MOBILE HEADER → HERO SPACING
   ========================================================= */

@media (max-width: 767.98px) {

    .tools-hero {
        margin-top: 18px;

        padding-top: 68px;
        padding-bottom: 60px;

        border-radius: 0;
    }

    .tools-hero .tools-eyebrow {
        margin-top: 4px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .tools-hero {
        margin-top: 15px;

        padding-top: 62px;
        padding-bottom: 52px;
    }

}