/* ============================================================
   JINNY KIT — PREMIUM 3D FUTURISTIC THEME
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;600;700;900&display=swap');

/* ---- CSS Variables ---- */
:root {
    --jk-bg: #050510;
    --jk-bg2: #0a0a1f;
    --jk-surface: rgba(255, 255, 255, 0.04);
    --jk-surface2: rgba(255, 255, 255, 0.08);
    --jk-border: rgba(255, 255, 255, 0.10);
    --jk-border2: rgba(100, 140, 255, 0.25);
    --jk-accent: #6366f1;
    --jk-accent2: #8b5cf6;
    --jk-cyan: #22d3ee;
    --jk-pink: #ec4899;
    --jk-gold: #fbbf24;
    --jk-text: #e2e8f0;
    --jk-text-muted: #94a3b8;
    --jk-glow: 0 0 30px rgba(99, 102, 241, 0.35);
    --jk-glow2: 0 0 60px rgba(99, 102, 241, 0.20);
    --jk-radius: 16px;
    --jk-radius-sm: 10px;
    --jk-transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---- Global Reset Override ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ---- Body ---- */
body.jk-premium {
    background: var(--jk-bg);
    color: var(--jk-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    cursor: none !important;
}

/* ---- Custom Cursor ---- */
#jk-cursor {
    width: 14px;
    height: 14px;
    background: var(--jk-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    box-shadow: 0 0 14px var(--jk-accent), 0 0 28px rgba(99, 102, 241, 0.5);
    mix-blend-mode: normal;
}

#jk-cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(99, 102, 241, 0.55);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: all 0.12s ease-out;
}

body.jk-premium *:hover~#jk-cursor,
body.jk-premium a:hover~#jk-cursor,
body.jk-premium button:hover~#jk-cursor {
    width: 22px;
    height: 22px;
    background: var(--jk-cyan);
}

/* ---- Starfield Canvas ---- */
#jk-starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- 3D Cursor Orb ---- */
#jk-orb-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

#jk-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 35%,
            rgba(139, 92, 246, 0.90) 0%,
            rgba(99, 102, 241, 0.70) 30%,
            rgba(34, 211, 238, 0.40) 60%,
            transparent 80%);
    filter: blur(2px);
    transform: translate(-50%, -50%);
    transition: left 0.08s ease-out, top 0.08s ease-out;
    opacity: 0.28;
    will-change: transform, left, top;
    animation: orbPulse 4s ease-in-out infinite;
}

#jk-orb::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    top: 15%;
    left: 20%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(10px);
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.28;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.42;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* ---- Glassmorphism Hero ---- */
.jk-hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.jk-hero__inner {
    text-align: center;
    max-width: 900px;
}

.jk-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--jk-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    animation: fadeSlideDown 0.8s ease both;
}

.jk-hero__badge-dot {
    width: 7px;
    height: 7px;
    background: var(--jk-cyan);
    border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
    box-shadow: 0 0 8px var(--jk-cyan);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.2
    }
}

.jk-hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: fadeSlideDown 0.9s ease 0.1s both;
}

.jk-hero__title .gradient-text {
    background: linear-gradient(135deg, var(--jk-accent) 0%, var(--jk-cyan) 50%, var(--jk-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jk-hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--jk-text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
    font-weight: 400;
    animation: fadeSlideDown 1s ease 0.2s both;
}

.jk-hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeSlideDown 1.1s ease 0.3s both;
}

.jk-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--jk-transition);
    position: relative;
    overflow: hidden;
    cursor: none;
    border: none;
}

.jk-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.jk-btn:hover::before {
    transform: translateX(100%);
}

.jk-btn--primary {
    background: linear-gradient(135deg, var(--jk-accent), var(--jk-accent2));
    color: #fff;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.45), 0 0 0 1px rgba(99, 102, 241, 0.3);
}

.jk-btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 36px rgba(99, 102, 241, 0.6), 0 0 0 1px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.jk-btn--glass {
    background: var(--jk-surface2);
    backdrop-filter: blur(12px);
    color: var(--jk-text);
    border: 1px solid var(--jk-border2);
}

.jk-btn--glass:hover {
    transform: translateY(-3px) scale(1.02);
    background: var(--jk-surface);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.2);
    color: var(--jk-text);
}

/* ---- Floating Geometry ---- */
.jk-geo {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: geoFloat 8s ease-in-out infinite;
    opacity: 0.18;
}

.jk-geo-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--jk-accent) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
    filter: blur(60px);
}

.jk-geo-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--jk-cyan) 0%, transparent 70%);
    bottom: 50px;
    left: -80px;
    animation-delay: -3s;
    filter: blur(50px);
}

.jk-geo-3 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, var(--jk-pink) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation-delay: -5s;
    filter: blur(40px);
}

@keyframes geoFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(24px, -20px) rotate(60deg);
    }

    66% {
        transform: translate(-18px, 14px) rotate(-40deg);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Stats Strip ---- */
.jk-stats {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1px;
    margin: 0 0 60px;
    background: var(--jk-border);
    border-top: 1px solid var(--jk-border);
    border-bottom: 1px solid var(--jk-border);
}

.jk-stat {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 28px 20px;
    background: var(--jk-bg);
    transition: background 0.3s;
}

.jk-stat:hover {
    background: var(--jk-surface);
}

.jk-stat__num {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #a5b4fc;
    letter-spacing: -0.5px;
}

.jk-stat__label {
    font-size: 13px;
    color: var(--jk-text-muted);
    margin-top: 4px;
}

/* ---- Section Titles ---- */
.jk-section {
    position: relative;
    z-index: 10;
    padding: 70px 24px;
}

.jk-section-title {
    text-align: center;
    margin-bottom: 56px;
}

.jk-section-title h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #f1f5f9;
    letter-spacing: -0.5px;
    /* NO gradient-clip — Orbitron + gradient causes rendering glitch */
}

.jk-section-title p {
    color: var(--jk-text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
}

.jk-section-title__line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--jk-accent), var(--jk-cyan));
    border-radius: 100px;
    margin: 16px auto 0;
}

/* ---- Filter Tags ---- */
.jk-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.jk-tag {
    padding: 8px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: none;
    border: 1px solid var(--jk-border2);
    background: var(--jk-surface);
    color: var(--jk-text-muted);
    transition: var(--jk-transition);
    letter-spacing: 0.3px;
    user-select: none;
}

.jk-tag:hover {
    border-color: var(--jk-accent);
    color: var(--jk-text);
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.jk-tag.active {
    background: linear-gradient(135deg, var(--jk-accent), var(--jk-accent2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
}

/* ---- Tool Cards ---- */
.jk-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.jk-card {
    position: relative;
    background: var(--jk-surface);
    border: 1px solid var(--jk-border);
    border-radius: var(--jk-radius);
    padding: 28px 20px 22px;
    text-decoration: none;
    color: var(--jk-text);
    overflow: hidden;
    transition: var(--jk-transition);
    display: block;
    will-change: transform, box-shadow;
    cursor: none;
    transform-style: preserve-3d;
}

.jk-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--jk-radius);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.jk-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg, rgba(99, 102, 241, 0.15) 60deg, transparent 120deg);
    animation: cardRotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

@keyframes cardRotate {
    to {
        transform: rotate(360deg);
    }
}

.jk-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-8px) rotate3d(0.5, 0.5, 0, 4deg);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.3);
    color: var(--jk-text);
}

.jk-card:hover::before {
    opacity: 1;
}

.jk-card:hover::after {
    opacity: 1;
}

.jk-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s;
}

.jk-card:hover .jk-card__icon {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.jk-card__icon svg {
    width: 32px;
    height: 32px;
}

.jk-card__title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--jk-text);
}

.jk-card__desc {
    font-size: 12.5px;
    color: var(--jk-text-muted);
    line-height: 1.6;
    margin: 0;
}

.jk-card__arrow {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--jk-transition);
    font-size: 12px;
    color: var(--jk-accent);
}

.jk-card:hover .jk-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Special card variants */
.jk-card--premium {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.10) 100%);
    border-color: rgba(99, 102, 241, 0.4);
}

.jk-card--featured {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-color: rgba(34, 211, 238, 0.3);
}

.jk-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.jk-badge--new {
    background: linear-gradient(45deg, #f43f5e, #ec4899);
    color: #fff;
}

.jk-badge--popular {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #111;
}

.jk-badge--hot {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: #fff;
}

/* ---- Navbar 3D ---- */
.jk-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    background: rgba(5, 5, 16, 0.80);
    border-bottom: 1px solid var(--jk-border);
    transition: background 0.3s;
}

.jk-nav.scrolled {
    background: rgba(5, 5, 16, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.jk-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: auto;
}

.jk-nav__logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--jk-accent), var(--jk-cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
}

.jk-nav__brand-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--jk-text);
    letter-spacing: 0.5px;
}

.jk-nav__links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jk-nav__link {
    padding: 8px 16px;
    border-radius: 10px;
    color: var(--jk-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
    white-space: nowrap;
    cursor: none;
}

.jk-nav__link:hover {
    color: var(--jk-text);
    background: var(--jk-surface2);
}

.jk-nav__link--cta {
    background: linear-gradient(135deg, var(--jk-accent), var(--jk-accent2));
    color: #fff !important;
    padding: 9px 20px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.jk-nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.55);
    background: linear-gradient(135deg, var(--jk-accent2), var(--jk-accent)) !important;
}

/* ---- Feature Section ---- */
.jk-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.jk-feature {
    background: var(--jk-surface);
    border: 1px solid var(--jk-border);
    border-radius: var(--jk-radius);
    padding: 32px 28px;
    transition: var(--jk-transition);
    position: relative;
    overflow: hidden;
}

.jk-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--jk-accent), var(--jk-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

.jk-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--jk-glow);
}

.jk-feature:hover::before {
    transform: scaleX(1);
}

.jk-feature__icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 12px var(--jk-accent));
}

.jk-feature__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--jk-text);
}

.jk-feature__desc {
    font-size: 14px;
    color: var(--jk-text-muted);
    line-height: 1.7;
}

/* ---- 3D Parallax Model ---- */
#jk-model {
    position: fixed;
    pointer-events: none;
    z-index: 2;
    top: 50%;
    right: 6%;
    transform: translateY(-50%) rotateY(0deg) rotateX(0deg);
    transform-style: preserve-3d;
    transition: transform 0.06s linear;
}

.jk-diamond {
    width: 180px;
    height: 180px;
    position: relative;
    transform-style: preserve-3d;
    animation: diamondSpin 18s linear infinite;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.6)) drop-shadow(0 0 60px rgba(34, 211, 238, 0.3));
}

@keyframes diamondSpin {
    0% {
        transform: rotateY(0deg) rotateX(15deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(15deg);
    }
}

.jk-diamond svg {
    width: 180px;
    height: 180px;
}

/* ---- Footer ---- */
.jk-footer {
    position: relative;
    z-index: 10;
    background: var(--jk-bg2);
    border-top: 1px solid var(--jk-border);
    padding: 60px 24px 40px;
}

.jk-footer__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.jk-footer__brand p {
    font-size: 14px;
    color: var(--jk-text-muted);
    line-height: 1.7;
    margin-top: 14px;
}

.jk-footer__col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--jk-accent);
    margin-bottom: 16px;
}

.jk-footer__col a {
    display: block;
    font-size: 14px;
    color: var(--jk-text-muted);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
    cursor: none;
}

.jk-footer__col a:hover {
    color: var(--jk-text);
}

.jk-footer__bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--jk-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--jk-text-muted);
}

/* ---- Scroll Progress ---- */
#jk-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--jk-accent), var(--jk-cyan), var(--jk-pink));
    z-index: 99999;
    transition: width 0.1s linear;
}

/* ---- Number Counter Animation ---- */
.jk-counter {
    display: inline-block;
}

/* ---- Tool card 3D tilt on hover ---- */
.jk-card-wrap {
    perspective: 800px;
}

/* ---- 3D section divider ---- */
.jk-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--jk-accent), var(--jk-cyan), transparent);
    margin: 0;
    opacity: 0.4;
    position: relative;
    z-index: 10;
}

/* ---- Glow Pulse ---- */
.jk-glow-btn {
    animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 4px 24px rgba(99, 102, 241, 0.45);
    }

    50% {
        box-shadow: 0 4px 40px rgba(99, 102, 241, 0.75), 0 0 60px rgba(34, 211, 238, 0.25);
    }
}

/* ---- Responsive tweaks ---- */
@media (max-width: 900px) {
    #jk-model {
        display: none;
    }

    .jk-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .jk-nav__links {
        display: none;
    }
}

@media (max-width: 600px) {
    .jk-hero {
        padding: 100px 16px 60px;
    }

    .jk-footer__grid {
        grid-template-columns: 1fr;
    }

    .jk-tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .jk-card {
        padding: 20px 14px 16px;
    }
}

/* ---- Existing ilovepdf styles override ---- */
.header,
.site-header {
    display: none !important;
}