/* =========================================================
   INDEX / HOMEPAGE
   Namespaced to avoid collisions with intro.php and other pages.
   ========================================================= */

.gk-index-page {
    --gk-index-soft: #f7f5f8;
    background: #fff;
}

.gk-index-page .gk-hero-empty strong {
    display: block;
    margin-bottom: 8px;
    color: var(--gk-ink);
    font-size: 22px;
}

/* ---------- Shared ---------- */
.gk-index-page .gk-shell {
            width: min(1240px, calc(100% - 40px));
            margin: 0 auto;
        }

        .gk-index-page .gk-primary-btn,
.gk-index-page .gk-secondary-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 54px;
            padding: 0 22px;
            border-radius: 16px;
            font-size: 15px;
            font-weight: 800;
            text-decoration: none !important;
            transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
        }

        .gk-index-page .gk-primary-btn {
            border: 1px solid var(--gk-purple);
            background: var(--gk-purple);
            color: #fff !important;
            box-shadow: 0 10px 26px rgba(112,87,255,.22);
        }

        .gk-index-page .gk-primary-btn:hover {
            transform: translateY(-1px);
            background: var(--gk-purple-dark);
            border-color: var(--gk-purple-dark);
            box-shadow: 0 14px 34px rgba(112,87,255,.28);
        }

        .gk-index-page .gk-secondary-btn {
            border: 1px solid var(--gk-line);
            background: #fff;
            color: var(--gk-ink) !important;
        }

        .gk-index-page .gk-secondary-btn:hover {
            transform: translateY(-1px);
            background: var(--gk-index-soft);
        }

        /* ---------- Hero ---------- */
.gk-index-page .gk-hero {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 80% 20%, rgba(112,87,255,.12), transparent 31%),
                radial-gradient(circle at 14% 80%, rgba(255,191,148,.16), transparent 28%),
                linear-gradient(180deg, #fff 0%, #fcfbfd 100%);
        }

        .gk-index-page .gk-hero-inner {
            min-height: 650px;
            padding: 66px 0 72px;
            display: grid;
            grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr);
            align-items: center;
            gap: clamp(50px, 8vw, 108px);
        }

        .gk-index-page .gk-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 18px;
            color: var(--gk-purple);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .09em;
            text-transform: uppercase;
        }

        .gk-index-page .gk-hero-title {
            max-width: 720px;
            margin: 0;
            font-size: clamp(48px, 6.5vw, 82px);
            line-height: .94;
            letter-spacing: -.06em;
            font-weight: 800;
        }

        .gk-index-page .gk-hero-copy {
            max-width: 590px;
            margin: 24px 0 0;
            color: var(--gk-muted);
            font-size: clamp(17px, 1.8vw, 20px);
            line-height: 1.58;
        }

        .gk-index-page .gk-hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 32px;
        }

        .gk-index-page .gk-proof-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 20px;
            margin-top: 26px;
            color: #66606d;
            font-size: 13px;
            font-weight: 700;
        }

        .gk-index-page .gk-proof {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .gk-index-page .gk-proof i {
            color: var(--gk-purple);
            font-size: 12px;
        }

        /* ---------- Artwork composition ---------- */
.gk-index-page .gk-hero-art {
            position: relative;
            min-height: 510px;
        }

        .gk-index-page .gk-art-glow {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 430px;
            height: 430px;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            background: rgba(112,87,255,.075);
            filter: blur(4px);
        }

        .gk-index-page .gk-hero-card {
            position: absolute;
            display: block;
            overflow: hidden;
            border-radius: 18px;
            background: #fff;
            box-shadow: 0 24px 60px rgba(36,28,54,.18), 0 3px 10px rgba(36,28,54,.08);
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .gk-index-page .gk-hero-card:hover {
            z-index: 20 !important;
            box-shadow: 0 30px 72px rgba(36,28,54,.23);
        }

        .gk-index-page .gk-hero-card img {
            display: block;
            width: 100%;
            height: auto;
        }

        .gk-index-page .gk-hero-card:nth-of-type(1) {
            z-index: 6;
            width: 42%;
            left: 29%;
            top: 7%;
            transform: rotate(1deg);
        }

        .gk-index-page .gk-hero-card:nth-of-type(1):hover {
            transform: rotate(1deg) translateY(-5px);
        }

        .gk-index-page .gk-hero-card:nth-of-type(2) {
            z-index: 4;
            width: 34%;
            left: 2%;
            top: 24%;
            transform: rotate(-8deg);
        }

        .gk-index-page .gk-hero-card:nth-of-type(2):hover {
            transform: rotate(-8deg) translateY(-5px);
        }

        .gk-index-page .gk-hero-card:nth-of-type(3) {
            z-index: 5;
            width: 35%;
            right: 1%;
            top: 27%;
            transform: rotate(8deg);
        }

        .gk-index-page .gk-hero-card:nth-of-type(3):hover {
            transform: rotate(8deg) translateY(-5px);
        }

        .gk-index-page .gk-hero-card:nth-of-type(4) {
            z-index: 3;
            width: 28%;
            left: 18%;
            bottom: 2%;
            transform: rotate(5deg);
        }

        .gk-index-page .gk-hero-card:nth-of-type(5) {
            z-index: 2;
            width: 27%;
            right: 18%;
            bottom: 0;
            transform: rotate(-5deg);
        }

        .gk-index-page .gk-hero-empty {
            position: absolute;
            inset: 8% 8%;
            display: grid;
            place-items: center;
            padding: 50px;
            border: 1px solid var(--gk-line);
            border-radius: 34px;
            background:
                radial-gradient(circle at 25% 20%, rgba(112,87,255,.13), transparent 36%),
                radial-gradient(circle at 75% 80%, rgba(255,190,148,.16), transparent 36%),
                #faf9fb;
            color: var(--gk-muted);
            text-align: center;
        }

        /* ---------- How it works ---------- */
.gk-index-page .gk-how {
            padding: 98px 0 104px;
        }

        .gk-index-page .gk-section-heading {
            max-width: 720px;
            margin: 0 auto 50px;
            text-align: center;
        }

        .gk-index-page .gk-section-eyebrow {
            margin-bottom: 10px;
            color: var(--gk-purple);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .09em;
            text-transform: uppercase;
        }

        .gk-index-page .gk-section-title {
            margin: 0;
            font-size: clamp(34px, 4.5vw, 54px);
            line-height: 1.02;
            letter-spacing: -.045em;
            font-weight: 800;
        }

        .gk-index-page .gk-section-copy {
            max-width: 580px;
            margin: 16px auto 0;
            color: var(--gk-muted);
            font-size: 17px;
            line-height: 1.6;
        }

        .gk-index-page .gk-steps {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        .gk-index-page .gk-step {
            min-height: 252px;
            padding: 30px;
            border: 1px solid var(--gk-line);
            border-radius: 26px;
            background: #fff;
        }

        .gk-index-page .gk-step-no {
            display: grid;
            place-items: center;
            width: 40px;
            height: 40px;
            margin-bottom: 34px;
            border-radius: 13px;
            background: var(--gk-purple-soft);
            color: var(--gk-purple);
            font-size: 13px;
            font-weight: 900;
        }

        .gk-index-page .gk-step h3 {
            margin: 0;
            font-size: 21px;
            line-height: 1.2;
            font-weight: 800;
            letter-spacing: -.025em;
        }

        .gk-index-page .gk-step p {
            margin: 12px 0 0;
            color: var(--gk-muted);
            font-size: 15px;
            line-height: 1.55;
        }

        /* ---------- Browse strip ---------- */
.gk-index-page .gk-browse-section {
            padding: 100px 0;
            background: var(--gk-index-soft);
        }

        .gk-index-page .gk-browse-head {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 30px;
            margin-bottom: 30px;
        }

        .gk-index-page .gk-browse-head h2 {
            margin: 0;
            font-size: clamp(31px, 4vw, 48px);
            line-height: 1;
            letter-spacing: -.045em;
            font-weight: 800;
        }

        .gk-index-page .gk-browse-head p {
            max-width: 500px;
            margin: 13px 0 0;
            color: var(--gk-muted);
            font-size: 16px;
            line-height: 1.55;
        }

        .gk-index-page .gk-text-link {
            flex: 0 0 auto;
            color: var(--gk-ink) !important;
            font-size: 14px;
            font-weight: 800;
            text-decoration: none !important;
        }

        .gk-index-page .gk-text-link:hover { color: var(--gk-purple) !important; }

        .gk-index-page .gk-card-strip {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 18px;
        }

        .gk-index-page .gk-card-tile {
            display: block;
            overflow: hidden;
            border-radius: 17px;
            background: #fff;
            box-shadow: 0 10px 28px rgba(36,28,54,.08);
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .gk-index-page .gk-card-tile:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 36px rgba(36,28,54,.13);
        }

        .gk-index-page .gk-card-tile img {
            display: block;
            width: 100%;
            height: auto;
        }

        /* ---------- Final CTA ---------- */
.gk-index-page .gk-final {
            padding: 104px 0;
        }

        .gk-index-page .gk-final-card {
            position: relative;
            overflow: hidden;
            padding: clamp(38px, 6vw, 72px);
            border-radius: 34px;
            background:
                radial-gradient(circle at 90% 10%, rgba(255,255,255,.24), transparent 34%),
                linear-gradient(135deg, #6f56ff 0%, #7d5ef3 54%, #8e6df4 100%);
            color: #fff;
        }

        .gk-index-page .gk-final-card::after {
            content: "";
            position: absolute;
            width: 260px;
            height: 260px;
            right: -70px;
            bottom: -100px;
            border-radius: 50%;
            background: rgba(255,255,255,.09);
        }

        .gk-index-page .gk-final-content {
            position: relative;
            z-index: 1;
            max-width: 700px;
        }

        .gk-index-page .gk-final-card h2 {
            margin: 0;
            font-size: clamp(38px, 5vw, 62px);
            line-height: .98;
            letter-spacing: -.05em;
            font-weight: 800;
        }

        .gk-index-page .gk-final-card p {
            max-width: 570px;
            margin: 18px 0 27px;
            color: rgba(255,255,255,.84);
            font-size: 17px;
            line-height: 1.55;
        }

        .gk-index-page .gk-final-card .gk-primary-btn {
            background: #fff;
            border-color: #fff;
            color: var(--gk-ink) !important;
            box-shadow: none;
        }

        .gk-index-page .gk-final-card .gk-primary-btn:hover {
            background: #f6f3ff;
            border-color: #f6f3ff;
        }

        @media (max-width: 991.98px){
            .gk-index-page .gk-hero-inner {
                min-height: auto;
                padding: 56px 0 64px;
                grid-template-columns: 1fr;
                gap: 46px;
            }

            .gk-index-page .gk-hero-copy-block {
                max-width: 760px;
            }

            .gk-index-page .gk-hero-art {
                min-height: 500px;
                max-width: 660px;
                width: 100%;
                margin: 0 auto;
            }

            .gk-index-page .gk-steps {
                grid-template-columns: 1fr;
            }

            .gk-index-page .gk-step {
                min-height: 0;
            }

            .gk-index-page .gk-step-no {
                margin-bottom: 22px;
            }

            .gk-index-page .gk-card-strip {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 767.98px){
.gk-index-page .gk-shell {
                width: min(100% - 28px, 1240px);
            }

            .gk-index-page .gk-hero-inner {
                padding: 42px 0 48px;
                gap: 36px;
            }

            .gk-index-page .gk-hero-title {
                font-size: clamp(44px, 14vw, 64px);
            }

            .gk-index-page .gk-hero-copy {
                margin-top: 18px;
                font-size: 17px;
                line-height: 1.5;
            }

            .gk-index-page .gk-hero-actions {
                margin-top: 26px;
            }

            .gk-index-page .gk-primary-btn,
.gk-index-page .gk-secondary-btn {
                width: 100%;
            }

            .gk-index-page .gk-proof-row {
                gap: 9px 16px;
                margin-top: 21px;
                font-size: 12px;
            }

            .gk-index-page .gk-hero-art {
                min-height: 370px;
                max-width: 480px;
            }

            .gk-index-page .gk-art-glow {
                width: 310px;
                height: 310px;
            }

            .gk-index-page .gk-hero-card {
                border-radius: 13px;
            }

            .gk-index-page .gk-hero-card:nth-of-type(1) {
                width: 43%;
                left: 28%;
            }

            .gk-index-page .gk-hero-card:nth-of-type(2) {
                width: 36%;
                left: 0;
                top: 25%;
            }

            .gk-index-page .gk-hero-card:nth-of-type(3) {
                width: 36%;
                right: 0;
                top: 27%;
            }

            .gk-index-page .gk-hero-card:nth-of-type(4) {
                width: 29%;
                left: 18%;
            }

            .gk-index-page .gk-hero-card:nth-of-type(5) {
                width: 29%;
                right: 18%;
            }

            .gk-index-page .gk-how {
                padding: 72px 0 78px;
            }

            .gk-index-page .gk-section-heading {
                margin-bottom: 32px;
                text-align: left;
            }

            .gk-index-page .gk-section-copy {
                margin-left: 0;
                margin-right: 0;
            }

            .gk-index-page .gk-step {
                padding: 24px;
                border-radius: 22px;
            }

            .gk-index-page .gk-browse-section {
                padding: 72px 0;
            }

            .gk-index-page .gk-browse-head {
                align-items: flex-start;
                margin-bottom: 24px;
            }

            .gk-index-page .gk-card-strip {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
            }

            .gk-index-page .gk-card-strip .gk-card-tile:nth-child(n+5) {
                display: none;
            }

            .gk-index-page .gk-final {
                padding: 72px 0;
            }

            .gk-index-page .gk-final-card {
                border-radius: 26px;
            }
        }

        @media (max-width: 420px){
            .gk-index-page .gk-browse-head {
                display: block;
            }

            .gk-index-page .gk-browse-head .gk-text-link {
                display: inline-block;
                margin-top: 18px;
            }
        }

        @media (prefers-reduced-motion: reduce){
            .gk-index-page * {
                scroll-behavior: auto !important;
                transition: none !important;
            }
        }
