/*
Theme Name: KROMAFLOW AI
Theme URI: https://kromaflow.online/
Author: KROMAFLOW
Description: Premium futuristic AI platform theme.
Version: 2.0
Requires at least: 6.0
Requires PHP:  7.4
Text Domain: kromaflow-ai
*/

:root {
    --bg: #050611;
    --surface: #10132b;
    --cyan: #00f5ff;
    --purple: #8b5cff;
    --pink: #ff38d1;
    --white: #ffffff;
    --muted: #b9c4e8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--white);
    background:
        radial-gradient(ellipse at 15% 10%, rgba(0,245,255,.13), transparent 35%),
        radial-gradient(ellipse at 85% 30%, rgba(139,92,255,.15), transparent 35%),
        #050611;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

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

button, input {
    font: inherit;
}

.kf-container {
    width: min(1200px, 92%);
    margin: auto;
}

/* HEADER */

.kf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5,6,17,.88);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(0,245,255,.35);
    box-shadow: 0 5px 35px rgba(0,245,255,.08);
}

.kf-nav {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.kf-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: max-content !important;
    height: 55px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
}
.kf-logo img {
    display: block !important;
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: contain !important;
}

.kf-links {
    display: flex;
    gap: 32px;
    color: #d6dcf5;
    font-size: 14px;
    font-weight: bold;
}

.kf-links a {
    transition: .3s;
}

.kf-links a:hover {
    color: var(--cyan);
    text-shadow: 0 0 15px var(--cyan);
}

/* BUTTONS */

.kf-button {
    display: inline-block;
    padding: 14px 27px;
    border-radius: 12px;
    color: #050611;
    font-weight: 900;
    background: linear-gradient(110deg,var(--cyan),#8b5cff,var(--pink));
    background-size: 200% auto;
    box-shadow: 0 0 20px rgba(0,245,255,.35);
    transition: .35s ease;
    animation: gradientMove 4s linear infinite;
    cursor: pointer;
}

.kf-button:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 0 25px var(--cyan),0 0 55px rgba(139,92,255,.5);
}

/* HERO */

.kf-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 110px 20px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 45%,rgba(0,245,255,.16),transparent 38%),
        radial-gradient(ellipse at 15% 70%,rgba(255,56,209,.12),transparent 35%),
        radial-gradient(ellipse at 85% 20%,rgba(139,92,255,.22),transparent 40%);
}

.kf-hero:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(0,245,255,.25);
    border-radius: 50%;
    box-shadow:
        0 0 60px rgba(0,245,255,.15),
        inset 0 0 70px rgba(139,92,255,.15);
    animation: rotateGlow 25s linear infinite;
    pointer-events: none;
}

.kf-hero:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--cyan),var(--purple),var(--pink));
    filter: blur(130px);
    opacity: .2;
    pointer-events: none;
}

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

.kf-badge {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid var(--cyan);
    border-radius: 40px;
    color: var(--cyan);
    background: rgba(0,245,255,.10);
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 25px rgba(0,245,255,.2);
}

.kf-hero h1 {
    font-size: clamp(43px,7vw,82px);
    line-height: 1.08;
    margin: 28px 0;
    font-weight: 1000;
    text-shadow: 0 0 35px rgba(139,92,255,.25);
}

.kf-gradient {
    background: linear-gradient(90deg,var(--cyan),var(--purple),var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.kf-hero p {
    max-width: 700px;
    margin: 20px auto 35px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 17px;
}

/* HERO STATS */

.kf-hero-stats {
    display: flex;
    justify-content: center;
    gap: 75px;
    margin-top: 70px;
}

.kf-hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.kf-hero-stats strong {
    font-size: 32px;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0,245,255,.5);
}

.kf-hero-stats span {
    font-size: 12px;
    color: var(--muted);
}

/* SECTIONS */

.kf-section {
    position: relative;
    padding: 95px 0;
}

.kf-section-title {
    text-align: center;
    margin-bottom: 45px;
}

.kf-section-title > span {
    color: var(--cyan);
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 15px var(--cyan);
}

.kf-section-title h2 {
    font-size: clamp(30px,4vw,46px);
    margin: 15px 0;
    font-weight: 900;
}

.kf-section-title p {
    color: var(--muted);
}

/* SEARCH */

.kf-search {
    width: min(620px,100%);
    margin: 0 auto 30px;
    display: block;
    padding: 19px 22px;
    color: white;
    background: rgba(15,20,45,.95);
    border: 1px solid rgba(0,245,255,.45);
    border-radius: 15px;
    outline: none;
    box-shadow: 0 0 25px rgba(0,245,255,.08);
    transition: .3s;
}

.kf-search:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(0,245,255,.3);
}

/* FILTERS */

.kf-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.kf-filter {
    padding: 12px 20px;
    border: 1px solid rgba(139,92,255,.6);
    border-radius: 40px;
    background: #10132b;
    color: white;
    cursor: pointer;
    transition: .3s;
}

.kf-filter:hover,
.kf-filter.active {
    color: #050611;
    background: linear-gradient(100deg,var(--cyan),var(--purple));
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(0,245,255,.35);
    transform: translateY(-3px);
}

/* AI TOOL GRID */

.kf-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.kf-card {
    position: relative;
    min-height: 210px;
    padding: 30px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 22px;
    background:
        linear-gradient(145deg,rgba(22,29,64,.97),rgba(9,12,30,.98));
    border: 1px solid rgba(139,92,255,.5);
    box-shadow: 0 10px 35px rgba(0,0,0,.3);
    transition: .4s ease;
}

.kf-card:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 180px;
    height: 180px;
    right: -80px;
    top: -80px;
    background: var(--cyan);
    filter: blur(75px);
    opacity: .35;
    transition: .4s;
}

.kf-card:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,var(--cyan),transparent 40%,var(--pink));
    -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.kf-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--cyan);
    box-shadow:
        0 15px 40px rgba(0,245,255,.2),
        0 0 35px rgba(139,92,255,.18);
}

.kf-card:hover:before {
    opacity: .65;
    transform: scale(1.4);
}

.kf-card-icon {
    font-size: 39px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px rgba(0,245,255,.5));
}

.kf-card h3 {
    font-size: 21px;
    margin: 0 0 12px;
}

.kf-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.kf-card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--cyan);
    font-weight: bold;
    transition: .3s;
}

.kf-card-link:hover {
    color: var(--pink);
    text-shadow: 0 0 15px var(--pink);
    transform: translateX(5px);
}

/* ABOUT */

.kf-about {
    position: relative;
    text-align: center;
    padding: 75px 35px;
    border: 1px solid rgba(0,245,255,.4);
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 20% 50%,rgba(0,245,255,.12),transparent 45%),
        linear-gradient(120deg,rgba(139,92,255,.15),rgba(255,56,209,.09));
    box-shadow: 0 0 45px rgba(139,92,255,.1);
}

.kf-about h2 {
    font-size: 35px;
}

.kf-about p {
    color: var(--muted);
    line-height: 1.8;
}

/* FOOTER */

.kf-footer {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,245,255,.35);
    background: linear-gradient(180deg,#080a19,#03040c);
    color: var(--muted);
    box-shadow: 0 -10px 40px rgba(0,245,255,.05);
}

.kf-footer .kf-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.kf-copyright {
    font-size: 12px;
    margin-top: 25px;
}

/* NO RESULTS */

#kfNoResults {
    color: var(--muted);
    text-align: center;
    padding: 35px;
}

/* ANIMATIONS */

@keyframes gradientMove {
    to {
        background-position: 200% center;
    }
}

@keyframes rotateGlow {
    to {
        transform: rotate(360deg);
    }
}

/* CUSTOM CURSOR */

@media(pointer:fine) {
    body, a, button {
        cursor: none;
    }

    .kf-cursor {
        position: fixed;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: white;
        box-shadow: 0 0 15px var(--cyan),0 0 30px var(--purple);
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%,-50%);
    }

    .kf-cursor-glow {
        position: fixed;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(0,245,255,.8);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transform: translate(-50%,-50%);
        box-shadow: 0 0 22px rgba(139,92,255,.5),inset 0 0 15px rgba(0,245,255,.15);
        transition: width .2s,height .2s;
    }
}

/* RESPONSIVE */

@media(max-width:850px) {
    .kf-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .kf-hero-stats {
        gap: 35px;
    }
}

@media(max-width:600px) {
    .kf-nav {
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px 0;
    }

    .kf-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .kf-nav > .kf-button {
        display: none;
    }

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

    .kf-hero {
        min-height: 560px;
        padding: 75px 15px;
    }

    .kf-hero:before {
        width: 300px;
        height: 300px;
    }

    .kf-hero-stats {
        gap: 22px;
        margin-top: 45px;
    }

    .kf-hero-stats strong {
        font-size: 23px;
    }

    .kf-hero-stats span {
        font-size: 10px;
    }

    .kf-section {
        padding: 65px 0;
    }

    .kf-about {
        padding: 45px 20px;
    }
}

/* ACCESSIBILITY */

@media(prefers-reduced-motion:reduce) {
    *, *:before, *:after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ==============================
   KROMAFLOW BANNER CAROUSEL
============================== */

.kf-banner-section {
    padding: 35px 0;
}

.kf-banner-slider {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 25px;
    border: 1px solid rgba(0,245,255,0.35);
    background:
        radial-gradient(circle at 85% 20%, rgba(139,92,255,0.35), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(0,245,255,0.22), transparent 45%),
        #090b1d;
    box-shadow: 0 0 35px rgba(0,245,255,0.12);
}

.kf-banner-slide {
    position: absolute;
    inset: 0;
    padding: 55px 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(35px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.kf-banner-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.kf-banner-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.kf-banner-content h2 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    margin: 15px 0;
    color: #ffffff;
}

.kf-banner-content p {
    color: #c5c9e0;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.kf-banner-art {
    font-size: clamp(85px, 12vw, 150px);
    filter: drop-shadow(0 0 25px rgba(0,245,255,0.65));
    animation: kfFloat 3s ease-in-out infinite;
}

@keyframes kfFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.kf-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0,245,255,0.5);
    border-radius: 50%;
    background: rgba(5,6,17,0.8);
    color: #00f5ff;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.kf-banner-arrow:hover {
    background: #00f5ff;
    color: #050611;
    box-shadow: 0 0 20px #00f5ff;
}

.kf-banner-arrow.prev { left: 15px; }
.kf-banner-arrow.next { right: 15px; }

.kf-banner-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.kf-banner-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #777b95;
    cursor: pointer;
    transition: 0.3s;
}

.kf-banner-dots button.active {
    width: 28px;
    background: #00f5ff;
    box-shadow: 0 0 12px #00f5ff;
}

@media (max-width: 768px) {
    .kf-banner-slider {
        min-height: 390px;
    }

    .kf-banner-slide {
        padding: 45px 45px 55px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .kf-banner-art {
        font-size: 75px;
    }

    .kf-banner-content h2 {
        font-size: 28px;
    }

    .kf-banner-content p {
        font-size: 14px;
    }

    .kf-banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 19px;
    }
}

/* KROMAFLOW ROBOT IMAGE */
.kf-banner-art img {
    width: 300px;
    max-width: 100%;
    height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0,245,255,0.55));
    animation: kfFloat 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .kf-banner-art img {
        width: 190px;
        height: 150px;
    }
}

/* ===== KROMAFLOW ROBOT MOTION ===== */

.kf-banner-art {
    perspective: 1000px;
}

.kf-banner-art img {
    transform-style: preserve-3d;
    animation: kfRobotFloat 3s ease-in-out infinite,
               kfRobotGlow 2.5s ease-in-out infinite alternate;
    transition: transform 0.25s ease;
    will-change: transform, filter;
}

@keyframes kfRobotFloat {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -16px;
    }
}

@keyframes kfRobotGlow {
    from {
        filter: drop-shadow(0 0 15px rgba(0,245,255,0.4));
    }
    to {
        filter: drop-shadow(0 0 38px rgba(139,92,255,0.9));
    }
}

/* KROMAFLOW ROBOT ANIMATION FIX */

.kf-banner-art img {
    display: block !important;
    animation: robotFloatFix 2s ease-in-out infinite !important;
    filter: drop-shadow(0 0 30px #00f5ff) !important;
}

@keyframes robotFloatFix {
    0% {
        translate: 0 0;
    }
    50% {
        translate: 0 -25px;
    }
    100% {
        translate: 0 0;
    }
}

/* ROBOT MOVEMENT TEST */

.kf-banner-art img {
    animation: robotMoveTest 2s infinite ease-in-out !important;
    display: block !important;
}

@keyframes robotMoveTest {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0);
    }
}

/* KROMAFLOW ROBOT SEAMLESS BLEND */

.kf-banner-art {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.kf-banner-art img {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    mix-blend-mode: screen;
    object-fit: contain;
    filter:
        drop-shadow(0 0 18px rgba(0,245,255,0.35))
        drop-shadow(0 0 35px rgba(139,92,255,0.25)) !important;
}

/* ===== KROMAFLOW CINEMATIC INTRO ===== */

#kf-intro {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, #17133a 0%, #08091b 45%, #03040b 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#kf-intro.kf-intro-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.kf-intro-content {
    width: 90%;
    max-width: 550px;
    text-align: center;
    animation: kfIntroAppear 1.2s ease both;
}

.kf-intro-logo {
    font-size: clamp(35px, 7vw, 65px);
    font-weight: 900;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,245,255,0.5);
}

.kf-intro-logo span {
    color: #00f5ff;
    text-shadow: 0 0 25px #00f5ff;
}

.kf-intro-dot {
    color: #a56bff !important;
}

.kf-intro-content p {
    margin: 18px 0 30px;
    color: #c6c9ff;
    font-size: 12px;
    letter-spacing: 6px;
}

.kf-intro-loader {
    width: 220px;
    height: 3px;
    margin: auto;
    overflow: hidden;
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0,245,255,0.2);
}

.kf-intro-progress {
    width: 40%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #00f5ff, #8b5cff, #ff38d1);
    box-shadow: 0 0 15px #00f5ff;
    animation: kfLoading 2s ease-in-out forwards;
}

.kf-intro-content small {
    display: block;
    margin-top: 18px;
    color: #8589ad;
    font-size: 10px;
    letter-spacing: 3px;
}

@keyframes kfLoading {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes kfIntroAppear {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* KROMAFLOW HERO ENTRANCE */

.kf-hero {
    animation: kfHeroReveal 1.2s ease both;
}

@keyframes kfHeroReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
/* AI TOOLS PREMIUM HOVER */

.kf-tool-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.kf-tool-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 15px 40px rgba(0, 245, 255, 0.15),
        0 0 25px rgba(139, 92, 255, 0.15);
}
/* KROMAFLOW NEON BUTTON */

.kf-button {
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.kf-button:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 15px rgba(0, 245, 255, 0.5),
        0 0 35px rgba(139, 92, 255, 0.35);
}

.kf-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.kf-button:hover::before {
    left: 150%;
}
/* ABOUT SECTION PREMIUM EFFECT */

#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
    background: #8b5cff;
    filter: blur(140px);
    opacity: 0.18;
    pointer-events: none;
}

#about::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: -100px;
    background: #00f5ff;
    filter: blur(130px);
    opacity: 0.15;
    pointer-events: none;
}
/* KROMAFLOW FOOTER EFFECT */

.kf-footer {
    position: relative;
    border-top: 1px solid rgba(0,245,255,0.2);
    box-shadow: 0 -10px 40px rgba(0,245,255,0.04);
}

.kf-footer a {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.kf-footer a:hover {
    color: #00f5ff;
    text-shadow: 0 0 12px #00f5ff;
}
/* ===== SCROLL REVEAL EFFECT ===== */

.kf-reveal {
    opacity: 0;
    transform: translateY(35px);
    filter: blur(5px);
    transition: 
        opacity 0.8s ease,
        transform 0.8s ease,
        filter 0.8s ease;
}

.kf-reveal.kf-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
/* ===== MOBILE HEADER ===== */

@media (max-width: 768px) {

    .kf-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 15px;
    }

    .kf-logo {
        font-size: 22px;
    }

    .kf-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
        width: 100%;
    }

    .kf-links a {
        font-size: 13px;
    }

    .kf-nav .kf-button {
        font-size: 12px;
        padding: 10px 16px;
    }
}
/* ===== MOBILE HERO ===== */

@media (max-width: 768px) {

    .kf-hero {
        padding: 65px 18px;
        text-align: center;
    }

    .kf-hero h1 {
        font-size: clamp(32px, 9vw, 48px);
        line-height: 1.15;
    }

    .kf-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .kf-hero .kf-button {
        margin-top: 15px;
    }

    .kf-container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}
/* ===== MOBILE CAROUSEL ===== */

@media (max-width: 768px) {

    .kf-banner-slider {
        min-height: 520px;
    }

    .kf-banner-slide {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 45px 25px 70px;
    }

    .kf-banner-content {
        width: 100%;
    }

    .kf-banner-content h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .kf-banner-content p {
        font-size: 13px;
    }

    .kf-banner-art {
        width: 100%;
        margin-top: 20px;
    }

    .kf-banner-art img {
        max-width: 200px;
        height: auto;
    }

    .kf-banner-arrow {
        width: 32px;
        height: 32px;
    }
}
/* ===== MOBILE TOOLS GRID ===== */

@media (max-width: 768px) {

    .kf-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .kf-tool-card {
        padding: 16px 12px;
    }

    .kf-tool-card h3 {
        font-size: 15px;
    }

    .kf-tool-card p {
        font-size: 12px;
        line-height: 1.5;
    }
}

@media (max-width: 380px) {
    .kf-tools-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== KROMAFLOW NEON CURSOR ===== */

@media (hover: hover) and (pointer: fine) {

    body,
    body a,
    body button {
        cursor: none !important;
    }

    .kf-cursor {
        position: fixed;
        width: 8px;
        height: 8px;
        background: #00f5ff;
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999999;
        box-shadow: 0 0 12px #00f5ff, 0 0 25px #00f5ff;
        transform: translate(-50%, -50%);
    }

    .kf-cursor-glow {
        position: fixed;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999998;
        background: radial-gradient(
            circle,
            rgba(0,245,255,0.35),
            rgba(139,92,255,0.15),
            transparent 70%
        );
        box-shadow: 0 0 20px rgba(0,245,255,0.3);
        transform: translate(-50%, -50%);
    }
}
/* FORCE NEON CURSOR FIX */

.kf-cursor {
    width: 10px !important;
    height: 10px !important;
    background: #00f5ff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px #00f5ff, 0 0 25px #00f5ff !important;
    pointer-events: none !important;
    z-index: 99999999 !important;
}

.kf-cursor-glow {
    width: 40px !important;
    height: 40px !important;
    background: radial-gradient(circle, rgba(0,245,255,.3), rgba(139,92,255,.15), transparent 70%) !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 0 20px rgba(0,245,255,.4) !important;
    pointer-events: none !important;
    z-index: 99999998 !important;
}
/* ===== FINAL CURSOR CENTER FIX ===== */

.kf-cursor {
    appearance: none !important;
    background: #00f5ff !important;
    background-image: none !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 50% !important;
    width: 10px !important;
    height: 10px !important;
    box-shadow: 0 0 8px #00f5ff, 0 0 20px #00f5ff, 0 0 35px #8b5cff !important;
}

.kf-cursor::before,
.kf-cursor::after {
    content: none !important;
    display: none !important;
}

.kf-cursor-glow {
    background: radial-gradient(circle, rgba(0,245,255,0.35) 0%, rgba(139,92,255,0.15) 45%, transparent 75%) !important;
    border: 0 !important;
}
.kf-logo {
    display: flex;
    align-items: center;
    width: fit-content;
    background: transparent !important;
}

.kf-logo img {
    width: 65px !important;
    height: 55px !important;
    max-width: 65px !important;
    object-fit: contain;
    display: block;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.kf-header .kf-logo {
    display: inline-flex !important;
    width: 65px !important;
    height: 55px !important;
    overflow: hidden;
    background: transparent !important;
}

.kf-header .kf-logo img {
    width: 65px !important;
    height: 55px !important;
    max-width: 65px !important;
    max-height: 55px !important;
    object-fit: contain !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* KROMAFLOW SMALL LEFT LOGO */
.kf-header .kf-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.kf-header .kf-logo {
    width: 55px !important;
    height: 45px !important;
    min-width: 55px !important;
    margin-right: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: transparent !important;
}

.kf-header .kf-logo img {
    width: 55px !important;
    height: 45px !important;
    max-width: 55px !important;
    max-height: 45px !important;
    object-fit: contain !important;
    display: block !important;
}
header.kf-header .kf-nav a.kf-logo {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    flex: 0 0 50px !important;
    overflow: hidden !important;
}

header.kf-header .kf-nav a.kf-logo img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    object-fit: contain !important;
}
/* KROMAFLOW LOGO SIZE AND POSITION FIX */

.kf-header .kf-container.kf-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.kf-header .kf-nav > a.kf-logo {
    display: flex !important;
    flex: 0 0 45px !important;
    width: 45px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    height: 45px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.kf-header .kf-nav > a.kf-logo img {
    display: block !important;
    width: 45px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    height: 45px !important;
    max-height: 45px !important;
    object-fit: contain !important;
}
/* ===== KROMAFLOW BLOG DESIGN ===== */

.kf-blog-section {
    padding: 80px 0;
}

.kf-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.kf-blog-card {
    background: #10182d;
    border: 1px solid rgba(0,229,255,0.18);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s ease;
}

.kf-blog-card:hover {
    transform: translateY(-8px);
    border-color: #00e5ff;
    box-shadow: 0 10px 35px rgba(0,229,255,0.15);
}

.kf-blog-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.kf-blog-content {
    padding: 22px;
}

.kf-blog-content h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.kf-blog-content h3 a {
    color: #fff;
    text-decoration: none;
}

.kf-blog-content p {
    color: #aab4cc;
    line-height: 1.7;
}

.kf-blog-read {
    display: inline-block;
    margin-top: 12px;
    color: #00e5ff;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 768px) {
    .kf-blog-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== KROMAFLOW SINGLE BLOG DESIGN ===== */

.kf-card {
    max-width: 850px;
    margin: 40px auto;
    padding: 35px;
    background: #10182d;
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: 20px;
}

.kf-card h2 {
    font-size: 36px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 25px;
}

.kf-card h2 a {
    color: #fff;
    text-decoration: none;
}

.kf-single-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 15px 0 30px;
}

.kf-card p {
    color: #c5cde0;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.kf-card h2,
.kf-card h3,
.kf-card h4 {
    color: #00e5ff;
}

@media (max-width: 768px) {
    .kf-card {
        padding: 20px;
        margin: 20px auto;
    }

    .kf-card h2 {
        font-size: 26px;
    }
}
/* KROMAFLOW LOGO FINAL FIX */

header.kf-header .kf-nav > a.kf-logo {
    display: inline-block !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    height: auto !important;
    overflow: visible !important;
    white-space: nowrap !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    letter-spacing: 1px !important;
    text-indent: 0 !important;
    clip-path: none !important;
}