
        :root {
            --surface-color: #ffffff;
            --text-primary: #1A1A1A;
            --text-secondary: #5A5A5A;
            --karanfil-red: #8B1528;
            --karanfil-red-dark: #680f1d;
            --karanfil-red-soft: rgba(139, 21, 40, 0.08);

            /* Asil Gökyüzü Renkleri */
            --sky-top: #412039;
            --sky-mid: #855b76;
            --sky-light: #f7f1f4;
        }

        html { scroll-behavior: smooth; }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
        code, pre, .mono { font-family: 'JetBrains Mono', monospace; }

        body {
            background: linear-gradient(to bottom, var(--sky-top) 0%, var(--sky-mid) 20%, var(--sky-light) 50%, #ffffff 100%);
            background-attachment: fixed;
            color: var(--text-primary);
            overflow-x: hidden;
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* 🎨 HTML5 CANVAS (AĞAÇLAR VE YAPRAKLAR HER ZAMAN AKTİF) */
        #artCanvas {
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            z-index: 0; pointer-events: none;
        }

        .ground-mist {
            position: fixed;
            bottom: 0; left: 0; width: 100vw; height: 35vh;
            background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 20%, rgba(255,255,255,0) 100%);
            z-index: 1;
            pointer-events: none;
        }

        #leafCanvas {
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            z-index: 2; pointer-events: none;
        }

        /* 🚨 FERAH, TEK SATIR MODERN ÜST MENÜ */
        nav.top-navbar {
            display: flex; justify-content: space-between; align-items: center;
            padding: 1.8rem 36px; max-width: 1380px; width: 100%; margin: 0 auto;
            position: relative; z-index: 60; gap: 1.5rem; flex-shrink: 0;
        }

        .brand-text {
            font-size: 2.05rem; font-weight: 900; letter-spacing: -1.3px; color: #171717;
            text-shadow: 0 0 22px rgba(255,255,255,0.95), 0 0 8px rgba(255,255,255,0.9);
            cursor: pointer; text-decoration: none; white-space: nowrap; flex-shrink: 0;
        }
        .brand-text span { color: var(--karanfil-red); }

        .nav-links {
            display: flex; align-items: center; justify-content: flex-end;
            gap: 2rem; flex: 1;
        }
        .nav-center {
            display: flex; align-items: center; gap: 2.2rem; margin: 0 auto;
        }
        .nav-right {
            display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
        }
        .nav-center > a, .dropdown-trigger, .portal-pill-link {
            text-decoration: none; color: #ffffff;
            font-weight: 700; font-size: 0.82rem; letter-spacing: 1px;
            text-transform: uppercase; transition: all 0.25s ease;
            text-shadow: 0 2px 10px rgba(0,0,0,0.45);
            background: none; border: none; cursor: pointer;
            display: inline-flex; align-items: center; gap: 7px;
            white-space: nowrap; line-height: 1;
        }
        .nav-center > a:hover, .dropdown-trigger:hover { color: #ffd6e7; }

        .api-dropdown { position: relative; }
        .api-pill-trigger {
            background: rgba(139, 21, 40, 0.88);
            border: 1px solid rgba(255, 255, 255, 0.42);
            height: 38px; padding: 0 18px;
            border-radius: 999px;
            box-shadow: 0 6px 18px rgba(26, 11, 18, 0.22);
            backdrop-filter: blur(10px);
        }
        .api-pill-trigger:hover { background: var(--karanfil-red); color: #ffffff !important; transform: translateY(-1px); }

        .portal-pill-link {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.52);
            height: 38px; padding: 0 18px;
            border-radius: 999px;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 14px rgba(0,0,0,0.12);
        }
        .portal-pill-link:hover, .portal-pill-link.active-portal {
            background: #ffffff; color: var(--karanfil-red) !important;
            text-shadow: none; transform: translateY(-1px);
        }

        .dropdown-menu {
            position: absolute; top: calc(100% + 12px); right: 0;
            min-width: 265px;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(139, 21, 40, 0.18);
            border-radius: 18px;
            padding: 10px;
            box-shadow: 0 20px 50px rgba(26, 11, 18, 0.18);
            display: none; flex-direction: column; gap: 4px;
            z-index: 100;
        }
        .api-dropdown.open .dropdown-menu { display: flex; }
        .dropdown-menu a {
            text-decoration: none; color: #1A1A1A;
            font-size: 0.88rem; font-weight: 600; letter-spacing: 0;
            text-transform: none; text-shadow: none;
            padding: 10px 14px; border-radius: 12px;
            display: flex; justify-content: space-between; align-items: center;
            transition: all 0.2s ease; cursor: pointer;
        }
        .dropdown-menu a:hover { background: var(--karanfil-red-soft); color: var(--karanfil-red); }
        .dropdown-menu .menu-tag {
            font-size: 0.68rem; font-weight: 700; color: var(--karanfil-red);
            background: rgba(139, 21, 40, 0.1); padding: 2px 7px; border-radius: 99px;
        }

        .icon-circle-btn {
            background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.45);
            width: 38px; height: 38px; border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
            cursor: pointer; color: #ffffff; backdrop-filter: blur(8px);
            font-weight: 800; font-size: 0.78rem; letter-spacing: 0.5px;
            transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .icon-circle-btn:hover { background: #ffffff; color: var(--karanfil-red); transform: scale(1.08); }

        /* ANA VİTRİN (LANDING) BÖLÜMLERİ */
        #landingView { position: relative; z-index: 10; flex: 1 0 auto; width: 100%; animation: fadeView 0.3s ease; }
        @keyframes fadeView { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

        .hero {
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            text-align: center; min-height: 45vh; padding: 0 20px;
            max-width: 850px; margin: 0 auto; position: relative;
        }

        .badge {
            color: var(--karanfil-red); padding: 8px 20px; border-radius: 30px; font-size: 0.85rem; font-weight: 700;
            letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 2rem;
            border: 1px solid rgba(139, 21, 40, 0.2); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            display: inline-flex; align-items: center; gap: 10px;
        }

        .hero h1 {
            font-size: 4.5rem; font-weight: 900; letter-spacing: -2px; line-height: 1.1; margin-bottom: 1.5rem;
            color: #111; text-shadow: 0 10px 30px rgba(255,255,255,0.9), 0 0 10px rgba(255,255,255,1);
        }

        .hero p {
            font-size: 1.25rem; color: #333; max-width: 650px; margin-bottom: 3rem; line-height: 1.7; font-weight: 500;
            background: rgba(255,255,255,0.85); padding: 15px 25px; border-radius: 15px; backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.02);
        }

        .bento-section { max-width: 1060px; margin: 0 auto 6rem auto; padding: 0 20px; position: relative; }
        .bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 30px; }

        .bento-item {
            background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(18px); border: 1px solid rgba(139, 21, 40, 0.12);
            border-radius: 24px; padding: 2.8rem 2.4rem; box-shadow: 0 15px 40px rgba(0,0,0,0.04);
            transition: all 0.4s ease;
        }
        .bento-item:hover { box-shadow: 0 25px 60px rgba(139, 21, 40, 0.1); transform: translateY(-5px); border-color: rgba(139, 21, 40, 0.3); background: rgba(255,255,255,0.98); }
        .item-large { grid-column: span 2; }
        .item-tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }

        .icon-svg { width: 38px; height: 38px; margin-bottom: 1.5rem; color: var(--karanfil-red); }
        .bento-item h3 { font-size: 1.38rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.9rem; color: #111; }
        .bento-item p { color: #555; font-size: 1.02rem; line-height: 1.65; font-weight: 400; }

        .section-header { text-align: center; max-width: 780px; margin: 0 auto 3rem auto; }
        .section-header h2 {
            font-size: 2.8rem; font-weight: 900; letter-spacing: -1.5px; color: #111;
            margin-bottom: 1rem; text-shadow: 0 6px 24px rgba(255,255,255,0.95);
        }
        .section-header p {
            font-size: 1.08rem; color: #444; line-height: 1.65;
            background: rgba(255,255,255,0.88); padding: 12px 22px; border-radius: 14px;
            backdrop-filter: blur(10px); display: inline-block;
        }

        .live-dot {
            width: 9px; height: 9px; border-radius: 50%; background: var(--karanfil-red);
            display: inline-block; box-shadow: 0 0 0 4px rgba(139, 21, 40, 0.18);
            animation: pulseDot 2s infinite;
        }
        @keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: 0.7; } }

        .api-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
        .api-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

        .drop-zone {
            border: 2px dashed rgba(139, 21, 40, 0.28);
            background: rgba(247, 241, 244, 0.55);
            border-radius: 18px; padding: 2.2rem 1.5rem; text-align: center;
            cursor: pointer; transition: all 0.25s ease; display: block; margin-top: 1.2rem;
        }
        .drop-zone:hover, .drop-zone.dragover { border-color: var(--karanfil-red); background: rgba(139, 21, 40, 0.06); }
        .drop-zone-title { font-weight: 700; color: var(--karanfil-red); font-size: 0.98rem; margin-bottom: 6px; }
        .drop-zone-sub { font-size: 0.82rem; color: #666; }

        .code-box {
            background: #1d1018; color: #fce4ec; border: 1px solid rgba(139, 21, 40, 0.35);
            border-radius: 16px; padding: 1.3rem; font-size: 0.78rem; line-height: 1.65;
            overflow-x: auto; margin-top: 1.2rem;
        }

        .kicker {
            font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
            letter-spacing: 1.6px; color: var(--karanfil-red); margin-bottom: 0.6rem;
        }

        .match-row {
            display: flex; align-items: stretch; gap: 16px;
            background: #ffffff; border: 1px solid rgba(139, 21, 40, 0.16);
            padding: 14px; border-radius: 16px; margin-top: 12px;
            box-shadow: 0 4px 14px rgba(27, 17, 28, 0.04);
        }
        .match-row.match-row-top {
            border: 1.5px solid rgba(139, 21, 40, 0.28);
            background: linear-gradient(145deg, #ffffff, #fdf8fa);
            padding: 16px;
            box-shadow: 0 8px 22px rgba(139, 21, 40, 0.08);
        }
        .match-row.match-row-alt {
            align-items: center; justify-content: space-between; gap: 12px;
            padding: 10px 14px; border-radius: 12px; margin-top: 8px;
        }
        .match-left {
            display: flex; align-items: center; gap: 18px; min-width: 0; flex: 1; text-align: left;
        }
        .match-poster {
            width: 180px; height: 270px; border-radius: 11px; object-fit: cover; flex-shrink: 0;
            background: #f6eef1; border: 1px solid rgba(139, 21, 40, 0.16);
            box-shadow: 0 6px 18px rgba(27, 17, 28, 0.16);
            cursor: zoom-in; transition: transform 0.18s ease, box-shadow 0.18s ease;
        }
        .match-poster:hover {
            transform: scale(1.025); box-shadow: 0 10px 24px rgba(139, 21, 40, 0.24);
        }
        .match-poster-fallback {
            width: 180px; height: 270px; border-radius: 11px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            background: linear-gradient(145deg, #fbf6f8, #f2e4e8);
            border: 1px solid rgba(139, 21, 40, 0.16); color: var(--karanfil-red);
        }
        .match-info {
            display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
            gap: 8px; min-width: 0; flex: 1;
        }
        .match-score {
            font-weight: 800; color: var(--karanfil-red); background: var(--karanfil-red-soft);
            padding: 4px 11px; border-radius: 8px; font-size: 0.88rem; display: inline-block; flex-shrink: 0;
        }
        @media (max-width: 520px) {
            .match-left { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
            .match-info { align-items: center; }
            .match-poster, .match-poster-fallback { width: 190px; height: 285px; }
        }

        .price-card { display: flex; flex-direction: column; justify-content: space-between; }
        .price-card.featured { border: 2px solid var(--karanfil-red); box-shadow: 0 22px 55px rgba(139, 21, 40, 0.14); }
        .price-amount { font-size: 2.8rem; font-weight: 900; color: #111; letter-spacing: -1.5px; margin: 0.6rem 0 1.2rem 0; }
        .price-amount span { font-size: 0.95rem; font-weight: 500; color: #666; letter-spacing: 0; }
        .price-features { list-style: none; margin-bottom: 2rem; }
        .price-features li { font-size: 0.94rem; color: #444; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }

        .btn-karanfil {
            display: inline-flex; justify-content: center; align-items: center;
            width: 100%; padding: 14px 20px; border-radius: 14px;
            font-weight: 700; font-size: 0.92rem; text-decoration: none;
            transition: all 0.25s ease; cursor: pointer;
            border: 1.5px solid var(--karanfil-red);
            color: var(--karanfil-red); background: transparent;
        }
        .btn-karanfil:hover, .btn-karanfil.solid {
            background: var(--karanfil-red); color: #ffffff;
            box-shadow: 0 10px 25px rgba(139, 21, 40, 0.25);
        }
        .btn-karanfil.solid:hover { background: var(--karanfil-red-dark); }

        .guide-list { list-style: none; margin-top: 0.8rem; }
        .guide-list li { padding: 10px 0; border-bottom: 1px solid rgba(139, 21, 40, 0.08); font-size: 0.94rem; color: #3a3a3a; line-height: 1.6; }
        .guide-list li:last-child { border-bottom: none; }
        .guide-tag {
            display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 2px 8px;
            border-radius: 6px; background: var(--karanfil-red-soft); color: var(--karanfil-red); margin-right: 6px;
        }
        .guide-tag.green { background: rgba(16, 185, 129, 0.12); color: #047857; }
        .guide-tag.blue { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }

        .glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1.2rem; }
        .glossary-box { background: rgba(247, 241, 244, 0.55); border: 1px solid rgba(139, 21, 40, 0.12); border-radius: 16px; padding: 16px 18px; }
        .glossary-box strong { display: block; font-size: 0.9rem; color: var(--karanfil-red); margin-bottom: 5px; }
        .glossary-box span { font-size: 0.88rem; color: #444; line-height: 1.55; display: block; }

        .b2b-swatch-bar {
            display: flex; width: 100%; height: 28px; border-radius: 10px;
            overflow: hidden; margin-top: 14px; border: 1px solid rgba(0,0,0,0.08);
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
        }
        .b2b-swatch-seg { height: 100%; transition: transform 0.15s ease; cursor: pointer; }
        .b2b-swatch-seg:hover { filter: brightness(1.1); }
        .b2b-pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
        .b2b-mini-pill {
            font-size: 0.71rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
            background: rgba(139, 21, 40, 0.08); color: var(--karanfil-red);
            border: 1px solid rgba(139, 21, 40, 0.16);
        }
        .play-tool-card {
            border: 1px solid rgba(139,21,40,0.16); border-radius: 16px;
            padding: 18px; background: rgba(255,255,255,0.82);
            display: flex; flex-direction: column; justify-content: space-between;
        }
        .play-select, .play-text-inp {
            width: 100%; padding: 9px 11px; border: 1px solid #cbd5e1;
            border-radius: 10px; font-size: 0.84rem; background: #fff; color: #111;
        }
        .play-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
        .snip-tab-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px 0; align-items: center; }
        .snip-tab-btn {
            padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(139,21,40,0.25);
            background: #fff; color: var(--karanfil-red); font-size: 0.76rem; font-weight: 700; cursor: pointer;
        }
        .snip-tab-btn.active { background: var(--karanfil-red); color: #fff; }
        .play-guide-banner {
            background: linear-gradient(145deg, #fdf8fa, #ffffff);
            border: 1.5px solid rgba(139, 21, 40, 0.22);
            border-radius: 16px; padding: 16px 18px; margin-bottom: 18px;
        }
        .play-guide-grid {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px;
        }
        .play-guide-item {
            background: #ffffff; border: 1px solid rgba(139, 21, 40, 0.12);
            border-radius: 12px; padding: 10px 12px; font-size: 0.8rem; color: #374151; line-height: 1.5;
        }
        .play-guide-item strong { color: var(--karanfil-red); display: block; margin-bottom: 2px; font-size: 0.82rem; }
        .play-how-box {
            background: #f8fafc; border-left: 3px solid var(--karanfil-red);
            border-radius: 8px; padding: 8px 10px; font-size: 0.77rem; color: #334155;
            line-height: 1.48; margin-bottom: 10px;
        }
        .play-field-lbl {
            display: block; font-size: 0.73rem; font-weight: 800; color: #475569;
            margin-bottom: 4px; letter-spacing: 0.01em;
        }
        .preset-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; align-items: center; }
        .preset-chip {
            border: 1px solid rgba(139, 21, 40, 0.24); background: #fff; color: #8B1528;
            border-radius: 999px; padding: 4px 10px; font-size: 0.72rem; font-weight: 700;
            cursor: pointer; transition: all 0.15s ease;
        }
        .preset-chip:hover { background: var(--karanfil-red); color: #fff; }
        @media (max-width: 760px) { .play-guide-grid { grid-template-columns: 1fr; } }

        /* =========================================================
           🌸 SAYFA İÇİ MÜŞTERİ PANELİ (AĞAÇLAR VE MÜZİK HİÇ KAYBOLMAZ)
           ========================================================= */
        #portalView {
            display: none;
            position: relative;
            z-index: 20;
            flex: 1 0 auto;
            width: 100%;
            max-width: 1220px;
            margin: 0 auto;
            padding: 0 24px 2.5rem 24px;
            animation: fadeView 0.3s ease;
        }

        .portal-subbar {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
        }
        .back-glass-btn {
            background: rgba(255, 255, 255, 0.88);
            backdrop-filter: blur(14px);
            border: 1px solid rgba(139, 21, 40, 0.22);
            color: var(--karanfil-red);
            padding: 9px 18px; border-radius: 999px;
            font-weight: 800; font-size: 0.84rem; cursor: pointer;
            box-shadow: 0 8px 24px rgba(26, 11, 18, 0.08);
            transition: all 0.2s ease;
        }
        .back-glass-btn:hover { background: var(--karanfil-red); color: #ffffff; }

        .p-card {
            background: rgba(255, 255, 255, 0.91);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(139, 21, 40, 0.16);
            border-radius: 24px;
            padding: 28px;
            box-shadow: 0 20px 55px rgba(26, 11, 18, 0.1);
        }

        .auth-wrap { max-width: 470px; margin: 10px auto 40px auto; }
        .tabs { display: flex; background: rgba(243, 237, 241, 0.9); border-radius: 14px; padding: 4px; margin-bottom: 20px; gap: 4px; }
        .tabs button {
            flex: 1; padding: 10px 8px; border: none; background: transparent; border-radius: 11px;
            font-weight: 700; font-size: 0.82rem; color: #555; cursor: pointer; transition: all 0.2s;
        }
        .tabs button.active { background: #fff; color: var(--karanfil-red); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

        .field { margin-bottom: 14px; }
        .field label { display: block; font-size: 0.8rem; font-weight: 700; color: #333; margin-bottom: 6px; }
        .field input, .field select {
            width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(139, 21, 40, 0.22);
            background: rgba(255,255,255,0.95); font-size: 0.92rem; outline: none; transition: border 0.2s;
        }
        .field input:focus { border-color: var(--karanfil-red); }

        .p-btn-primary {
            width: 100%; padding: 13px 18px; border-radius: 13px; border: none;
            background: var(--karanfil-red); color: #fff; font-weight: 800; font-size: 0.92rem;
            cursor: pointer; transition: all 0.2s;
        }
        .p-btn-primary:hover { background: var(--karanfil-red-dark); }
        .p-btn-outline {
            padding: 9px 15px; border-radius: 11px; border: 1.5px solid var(--karanfil-red);
            background: rgba(255,255,255,0.8); color: var(--karanfil-red); font-weight: 700; font-size: 0.82rem; cursor: pointer;
        }
        .p-btn-outline:hover { background: var(--karanfil-red); color: #fff; }

        .p-alert { padding: 11px 14px; border-radius: 12px; font-size: 0.84rem; font-weight: 600; margin-bottom: 14px; display: none; line-height: 1.5; }
        .p-alert.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; display: block; }
        .p-alert.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; display: block; }

        .portal-grid {
            display: none; grid-template-columns: 255px 1fr; gap: 24px; align-items: start;
        }
        .p-sidebar { position: sticky; top: 20px; padding: 20px; }
        .user-chip { padding: 12px; background: rgba(247, 241, 244, 0.85); border-radius: 14px; margin-bottom: 14px; border: 1px solid rgba(139, 21, 40, 0.14); }
        .user-chip .email { font-size: 0.82rem; font-weight: 700; color: #111; word-break: break-all; }
        .user-chip .plan-badge {
            display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px;
            background: var(--karanfil-red-soft); color: var(--karanfil-red); font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
        }
        .side-nav { display: flex; flex-direction: column; gap: 6px; }
        .side-nav button {
            text-align: left; padding: 11px 14px; border-radius: 12px; border: none;
            background: transparent; font-weight: 600; font-size: 0.88rem; color: #222; cursor: pointer; transition: all 0.2s;
        }
        .side-nav button:hover { background: var(--karanfil-red-soft); color: var(--karanfil-red); }
        .side-nav button.active { background: var(--karanfil-red); color: #fff; font-weight: 700; }

        .panel-view { display: none; flex-direction: column; gap: 20px; }
        .panel-view.active { display: flex; }

        .stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
        .stat-box { padding: 20px; }
        .stat-box .lbl { font-size: 0.74rem; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }
        .stat-box .val { font-size: 1.7rem; font-weight: 900; color: #111; margin-top: 6px; }

        .progress-track { width: 100%; height: 12px; background: #eee5ea; border-radius: 999px; overflow: hidden; margin: 12px 0; }
        .progress-bar { height: 100%; background: linear-gradient(90deg, #8B1528, #d94678); width: 0%; transition: width 0.4s; }

        .key-box {
            display: flex; gap: 10px; align-items: center; background: #1d1018; color: #fce4ec;
            padding: 14px 18px; border-radius: 14px; flex-wrap: wrap; justify-content: space-between;
        }
        .key-mini-btn {
            background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35);
            color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; cursor: pointer;
        }
        .key-mini-btn:hover { background: #fff; color: var(--karanfil-red); }

        .log-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
        .log-table th { text-align: left; padding: 12px 10px; border-bottom: 2px solid rgba(139,21,40,0.12); color: #555; font-size: 0.74rem; text-transform: uppercase; }
        .log-table td { padding: 12px 10px; border-bottom: 1px solid rgba(0,0,0,0.06); vertical-align: middle; }
        .thumb-img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; border: 1px solid #ddd; }
        .json-drawer {
            background: #190e15; color: #fbd5e5; padding: 14px; border-radius: 12px;
            font-size: 0.76rem; overflow-x: auto; max-height: 280px; margin-top: 8px;
        }

        .plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .plan-box {
            background: rgba(255,255,255,0.95); border: 1px solid rgba(139,21,40,0.16);
            border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
        }
        .plan-box.popular { border: 2px solid var(--karanfil-red); box-shadow: 0 14px 35px rgba(139,21,40,0.12); }

        /* Kurumsal Footer & Yasal Pencereler (En Altta Sabit & Manzarayı Kesmeyen Şeffaf Yapı) */
        footer {
            margin-top: auto;
            flex-shrink: 0;
            width: 100%;
            padding: 1.4rem 20px 1.25rem 20px;
            text-align: center;
            position: relative;
            z-index: 10;
            background: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border: none;
            pointer-events: none;
        }
        .footer-inner {
            max-width: 760px;
            margin: 0 auto;
            pointer-events: auto;
        }
        .footer-text {
            font-size: 0.88rem; color: #222; font-weight: 700; letter-spacing: 0.2px; margin-bottom: 5px;
            text-shadow: 0 1px 12px rgba(255,255,255,0.98), 0 0 5px rgba(255,255,255,1);
        }
        .footer-sub {
            font-size: 0.8rem; color: #444; margin-bottom: 9px; line-height: 1.5; font-weight: 500;
            text-shadow: 0 1px 12px rgba(255,255,255,0.98), 0 0 5px rgba(255,255,255,1);
        }
        .footer-sub a { color: var(--karanfil-red); text-decoration: none; font-weight: 700; }
        .legal-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
        .legal-links button, .legal-links a {
            background: none; border: none; color: #3a3a3a; font-size: 0.79rem;
            font-weight: 600; text-decoration: underline; cursor: pointer;
            text-shadow: 0 1px 10px rgba(255,255,255,0.98), 0 0 4px rgba(255,255,255,1);
        }
        .legal-links button:hover, .legal-links a:hover { color: var(--karanfil-red); }

        .modal-backdrop {
            position: fixed; inset: 0; background: rgba(26, 11, 18, 0.6);
            backdrop-filter: blur(6px); display: none; align-items: center;
            justify-content: center; padding: 20px; z-index: 999;
        }
        .modal-backdrop.active { display: flex; }
        .modal-card {
            background: #ffffff; border: 1px solid rgba(139, 21, 40, 0.2);
            border-radius: 24px; max-width: 620px; width: 100%; padding: 2.2rem;
            box-shadow: 0 25px 70px rgba(0,0,0,0.25); max-height: 82vh; overflow-y: auto;
        }
        .modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
        .modal-head h3 { font-size: 1.35rem; font-weight: 800; color: #111; }
        .modal-close { background: var(--karanfil-red-soft); color: var(--karanfil-red); border: none; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; cursor: pointer; }
        .modal-body p { color: #444; font-size: 0.95rem; line-height: 1.65; margin-bottom: 0.9rem; }

        @media (max-width: 960px) {
            nav.top-navbar { flex-direction: column; gap: 1rem; padding: 1.5rem 16px; }
            .nav-links { flex-direction: column; gap: 0.9rem; width: 100%; }
            .nav-center, .nav-right { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
            .dropdown-menu { left: 50%; right: auto; transform: translateX(-50%); }
            .hero h1 { font-size: 3.1rem; }
            .section-header h2 { font-size: 2.2rem; }
            .bento-grid, .api-two-col, .api-three-col, .glossary-grid, .portal-grid, .stats-row, .plans-grid { grid-template-columns: 1fr; }
            .item-large, .item-tall { grid-column: span 1; grid-row: span 1; }
            .p-sidebar { position: static; }
        }

        /* === 24-language selector (top nav) === */
        .lang-dropdown { position: relative; }
        .lang-pill-btn {
            background: rgba(255,255,255,0.22);
            border: 1px solid rgba(255,255,255,0.45);
            height: 38px; padding: 0 13px; border-radius: 999px;
            display: inline-flex; justify-content: center; align-items: center; gap: 5px;
            cursor: pointer; color: #ffffff; backdrop-filter: blur(8px);
            font-weight: 800; font-size: 0.76rem; letter-spacing: 0.5px;
            transition: all 0.25s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .lang-pill-btn:hover { background: #ffffff; color: var(--karanfil-red); transform: translateY(-1px); }
        .lang-menu-grid {
            position: absolute; top: calc(100% + 12px); right: 0;
            width: 340px; max-height: min(480px, 78vh); overflow-y: auto;
            background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
            border: 1px solid rgba(139, 21, 40, 0.18); border-radius: 18px;
            padding: 10px; box-shadow: 0 20px 50px rgba(26, 11, 18, 0.2);
            display: none; grid-template-columns: 1fr 1fr; gap: 4px; z-index: 120;
            direction: ltr; text-align: left;
        }
        .lang-dropdown.open .lang-menu-grid { display: grid; }
        .lang-opt-btn {
            border: none; background: transparent; color: #1A1A1A;
            font-size: 0.8rem; font-weight: 600; padding: 8px 10px;
            border-radius: 10px; cursor: pointer; text-align: left;
            display: flex; align-items: center; justify-content: space-between;
            transition: all 0.15s ease; direction: ltr;
        }
        .lang-opt-btn:hover { background: var(--karanfil-red-soft); color: var(--karanfil-red); }
        .lang-opt-btn.active { background: var(--karanfil-red); color: #ffffff; font-weight: 700; }
        @media (max-width: 560px) {
            .lang-menu-grid { width: 280px; right: -40px; grid-template-columns: 1fr; }
        }

        /* === KARANFIL-60FPS-PERF-START === */
        html {
            scroll-behavior: auto !important;
            overflow-x: clip;
        }
        body {
            background: #f7f1f4 !important;
            background-attachment: scroll !important;
            overflow-x: clip !important;
            width: 100%;
        }
        #fixedSkyBackdrop {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            pointer-events: none;
            background: linear-gradient(to bottom, var(--sky-top) 0%, var(--sky-mid) 20%, var(--sky-light) 50%, #ffffff 100%);
            transform: translateZ(0);
            will-change: transform;
        }
        #artCanvas, .ground-mist, #leafCanvas {
            transform: translateZ(0);
            will-change: transform;
            backface-visibility: hidden;
        }

        .bento-item,
        .p-card,
        .hero p,
        .section-header p {
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        .bento-item {
            background: rgba(255, 255, 255, 0.95);
            transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
        }
        .p-card {
            background: rgba(255, 255, 255, 0.96);
        }
        .hero p {
            background: rgba(255, 255, 255, 0.92);
        }
        .section-header p {
            background: rgba(255, 255, 255, 0.93);
        }

        .bento-grid > *,
        .api-two-col > *,
        .api-three-col > *,
        .glossary-grid > *,
        .plans-grid > *,
        .portal-grid > *,
        #public-live-studio .pub8-grid > *,
        #public-live-studio .pub8-mini2 > * {
            min-width: 0;
            max-width: 100%;
        }
        .code-box, .json-drawer, pre {
            max-width: 100%;
        }

        @media (max-width: 1280px) {
            nav.top-navbar {
                padding: 1.25rem 22px;
                gap: 0.9rem;
            }
            .brand-text {
                font-size: 1.72rem;
            }
            .nav-links {
                gap: 1rem;
            }
            .nav-center {
                gap: 1.1rem;
            }
            .nav-center > a, .dropdown-trigger, .portal-pill-link {
                font-size: 0.76rem;
                letter-spacing: 0.6px;
            }
            .api-pill-trigger, .portal-pill-link {
                padding: 0 13px;
                height: 36px;
            }
            .bento-section {
                max-width: 1000px;
                margin-bottom: 4.2rem;
                padding: 0 18px;
            }
            .bento-grid {
                gap: 20px;
            }
            .bento-item {
                padding: 1.9rem 1.65rem;
                border-radius: 20px;
            }
            .section-header h2 {
                font-size: 2.35rem;
            }
        }

        @media (max-width: 1100px) {
            nav.top-navbar {
                flex-wrap: wrap;
                justify-content: space-between;
                padding: 1.1rem 18px;
            }
            .nav-links {
                flex-wrap: wrap;
                justify-content: flex-end;
                gap: 0.75rem;
            }
            .nav-center {
                margin: 0;
                gap: 0.85rem;
                flex-wrap: wrap;
            }
            .bento-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 18px;
            }
            .item-large {
                grid-column: span 2;
            }
            .item-tall {
                grid-row: span 1;
            }
            .api-three-col {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 18px;
            }
            .stats-row {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 820px) {
            nav.top-navbar {
                flex-direction: column;
                align-items: center;
                gap: 0.85rem;
                padding: 1rem 14px;
            }
            .nav-links {
                width: 100%;
                justify-content: center;
            }
            .nav-center, .nav-right {
                justify-content: center;
            }
            .hero {
                min-height: auto;
                padding: 1.2rem 14px 2rem 14px;
            }
            .hero h1 {
                font-size: clamp(2rem, 7vw, 2.75rem) !important;
                line-height: 1.15;
            }
            .hero p {
                font-size: 1rem;
                padding: 12px 16px;
                margin-bottom: 1.8rem;
            }
            .section-header {
                margin-bottom: 1.8rem;
            }
            .section-header h2 {
                font-size: clamp(1.65rem, 5.6vw, 2.15rem);
            }
            .bento-section {
                margin-bottom: 3.2rem;
                padding: 0 12px;
            }
            .bento-grid,
            .api-two-col,
            .api-three-col,
            .glossary-grid,
            .plans-grid {
                grid-template-columns: minmax(0, 1fr) !important;
                gap: 16px;
            }
            .item-large, .item-tall {
                grid-column: span 1 !important;
                grid-row: span 1 !important;
            }
            .bento-item, .p-card {
                padding: 1.35rem 1.15rem;
                border-radius: 18px;
            }
            #public-live-studio .pub8-card {
                padding: 14px;
            }
        }

        @media (max-width: 560px) {
            #public-live-studio .pub8-mini2,
            .play-mini-grid {
                grid-template-columns: minmax(0, 1fr) !important;
            }
            .lang-menu-grid {
                width: min(300px, calc(100vw - 24px)) !important;
                right: 0 !important;
                left: auto !important;
                grid-template-columns: 1fr;
            }
            .dropdown-menu {
                min-width: min(260px, calc(100vw - 24px));
            }
        }
        /* === KARANFIL-60FPS-PERF-END === */

    
/* KL-GPU-SMOOTH-START */
#artCanvas, #leafCanvas {
    pointer-events: none;
    contain: strict;
}
.bento-item,
.pub8-shell,
.api-showcase-shell,
.play20-shell,
.hero-badge,
.live-counter-pill {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.pub8-shell,
.api-showcase-shell,
.play20-shell {
    background: rgba(255, 255, 255, 0.95) !important;
}
/* KL-GPU-SMOOTH-END */

.ground-mist { pointer-events: none; }

/* KL-NO-WHITE-GAP-START */
.kl-stack-vertical {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
    align-items: start !important;
}
.kl-stack-vertical > * {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
}
/* PART 2 icindeki 14 satiri tam genislikte ferah 2 sutunlu kart izgarasi gibi diz (PART 3 ile ayni estetik) */
.kl-guide-stacked > *:nth-child(2) ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 12px 24px;
    align-items: start;
}
.kl-guide-stacked > *:nth-child(2) li {
    margin-bottom: 0 !important;
}
/* Diger tum 2-sutunlu kart izgaralarinda bir kart uzadiginda yanindaki kartin bos beyaz uzamasini engelle */
.api-two-col,
.pub8-grid,
.play20-grid,
.bento-grid {
    align-items: start !important;
}
.bento-item {
    height: auto !important;
}
/* KL-NO-WHITE-GAP-END */

/* KL-INPAGE-AND-WIDE-STACK-START */
/* 1) Ek-1'deki Canli Sahne Tarayici ve 3 Satirda REST Entegrasyonu kutularini yanlamasina tam genislikte alt alta diz */
.kl-scanner-rest-stacked {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
    align-items: start !important;
    max-width: 100% !important;
}
.kl-scanner-rest-stacked > * {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
}
.kl-scanner-rest-stacked pre {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* 2) Alt kurumsal/ajan link satiri — ustteki yasal linklerle birebir ayni zarif gorunum */
.kl-unified-sublinks {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 18px;
}
.kl-unified-sublinks a {
    color: #3d2c32;
    font-size: 0.81rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(139, 21, 40, 0.35);
    cursor: pointer;
    transition: color 0.2s ease;
}
.kl-unified-sublinks a:hover {
    color: #8B1528;
    text-decoration-color: #8B1528;
}

/* 3) Sayfa-Ici (In-Page) Acilir Kurumsal Pencere — Arka plandaki kiraz cicekleri kesintisiz gorunur */
.kl-inpage-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 11, 18, 0.48);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1050;
}
.kl-inpage-backdrop.active {
    display: flex;
    animation: klFadeIn 0.18s ease-out;
}
@keyframes klFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.kl-inpage-sheet {
    width: min(920px, 96vw);
    max-height: 86vh;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(139, 21, 40, 0.22);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(26, 11, 18, 0.32);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.kl-inpage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(180deg, #fff6f8 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(139, 21, 40, 0.14);
}
.kl-inpage-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.kl-ip-tab {
    border: 1px solid rgba(139, 21, 40, 0.18);
    background: #ffffff;
    color: #4a3d42;
    font-size: 0.79rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.kl-ip-tab:hover {
    border-color: #8B1528;
    color: #8B1528;
}
.kl-ip-tab.active {
    background: #8B1528;
    border-color: #8B1528;
    color: #ffffff;
}
.kl-inpage-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(139, 21, 40, 0.2);
    background: #ffffff;
    color: #8B1528;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
}
.kl-inpage-close:hover {
    background: #8B1528;
    color: #ffffff;
}
.kl-inpage-body {
    padding: 26px 30px 30px;
    overflow-y: auto;
    color: #1f1619;
    line-height: 1.68;
}
.kl-ip-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #8B1528;
    background: rgba(139, 21, 40, 0.08);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.kl-ip-title {
    margin: 0 0 12px;
    font-size: 1.55rem;
    color: #1a0f14;
}
.kl-ip-p {
    margin: 0 0 14px;
    font-size: 0.94rem;
    color: #33272b;
}
.kl-ip-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.kl-ip-stat {
    background: #fff7f9;
    border: 1px solid rgba(139, 21, 40, 0.14);
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
}
.kl-ip-stat strong {
    display: block;
    font-size: 1.35rem;
    color: #8B1528;
}
.kl-ip-stat span {
    font-size: 0.78rem;
    color: #5A4E53;
    font-weight: 600;
}
.kl-ip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 14px;
    align-items: start;
}
.kl-ip-box {
    background: #fcf9fa;
    border: 1px solid rgba(139, 21, 40, 0.14);
    border-radius: 14px;
    padding: 16px 18px;
}
.kl-ip-box h4 {
    margin: 10px 0 4px;
    font-size: 0.94rem;
    color: #8B1528;
}
.kl-ip-box h4:first-child { margin-top: 0; }
.kl-ip-box p {
    margin: 0 0 6px;
    font-size: 0.88rem;
    color: #2f2327;
}
.kl-ip-box a {
    color: #8B1528;
    font-weight: 700;
    text-decoration: none;
}
.kl-ip-mini-btn {
    border: 1px solid rgba(139, 21, 40, 0.25);
    background: #fff;
    color: #8B1528;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    margin-left: 6px;
}
.kl-ip-mini-btn:hover { background: #8B1528; color: #fff; }
.kl-ip-action {
    display: inline-flex;
    align-items: center;
    background: #8B1528;
    color: #ffffff !important;
    border: 1px solid #8B1528;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
}
.kl-ip-action.secondary {
    background: #ffffff;
    color: #8B1528 !important;
    border-color: rgba(139, 21, 40, 0.28);
}
.kl-ip-code-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #23141b;
    color: #f8dce4;
    padding: 8px 14px;
    border-radius: 12px 12px 0 0;
    font-size: 0.78rem;
    font-family: monospace;
    margin-top: 12px;
}
.kl-ip-pre {
    margin: 0;
    background: #140b10;
    color: #fceef2;
    padding: 16px;
    border-radius: 0 0 12px 12px;
    font-size: 0.8rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 320px;
}
.kl-ip-legal h4 {
    color: #8B1528;
    margin: 18px 0 6px;
}
@media (max-width: 640px) {
    .kl-inpage-body { padding: 18px 16px 22px; }
}
/* KL-INPAGE-AND-WIDE-STACK-END */

/* KL-TOP-SPA-VIEW-START */
body.kl-corp-view-active #landingView,
body.kl-corp-view-active #portalView {
    display: none !important;
}
body.kl-corp-view-active #corpPageView {
    display: block !important;
}

.kl-corp-top-shell {
    position: relative;
    z-index: 15;
    max-width: 1080px;
    margin: 0 auto;
    padding: 112px 24px 44px;
}
.kl-corp-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.kl-corp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #8B1528;
    color: #ffffff;
    border: 1px solid #8B1528;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(139, 21, 40, 0.24);
    transition: transform 0.18s ease, background 0.18s ease;
}
.kl-corp-back-btn:hover {
    background: #680e1d;
    transform: translateY(-1px);
}
.kl-corp-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.kl-corp-pill {
    background: rgba(255, 255, 255, 0.92);
    color: #3d2c32;
    border: 1px solid rgba(139, 21, 40, 0.2);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}
.kl-corp-pill:hover {
    border-color: #8B1528;
    color: #8B1528;
}
.kl-corp-pill.active {
    background: #8B1528;
    border-color: #8B1528;
    color: #ffffff;
}
.kl-corp-article {
    padding: 38px 40px !important;
}
.kl-corp-h1 {
    font-size: 2rem;
    line-height: 1.24;
    margin: 8px 0 16px;
    color: #1a0f14;
}
.kl-corp-lead {
    font-size: 0.98rem;
    line-height: 1.74;
    color: #2d2327;
    margin: 0 0 16px;
}
.kl-corp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 22px 0;
}
.kl-corp-stat {
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
    border: 1px solid rgba(139, 21, 40, 0.15);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
}
.kl-corp-stat strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 900;
    color: #8B1528;
}
.kl-corp-stat span {
    font-size: 0.81rem;
    color: #5A4E53;
    font-weight: 600;
}
.kl-corp-grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 20px;
    align-items: start;
}
.kl-corp-card {
    background: #fdf9fa;
    border: 1px solid rgba(139, 21, 40, 0.15);
    border-radius: 18px;
    padding: 22px 24px;
}
.kl-corp-card h3 {
    margin: 12px 0 6px;
    font-size: 1.02rem;
    color: #8B1528;
}
.kl-corp-card h3:first-child { margin-top: 0; }
.kl-corp-card p {
    margin: 0 0 10px;
    font-size: 0.92rem;
    line-height: 1.66;
    color: #2d2327;
}
.kl-corp-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.kl-corp-links a, .kl-corp-card a {
    color: #8B1528;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
}
.kl-corp-links a:hover, .kl-corp-card a:hover {
    text-decoration: underline;
}
.kl-corp-inline-code {
    display: inline-block;
    background: #201218;
    color: #fde6f0;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-family: monospace;
}
.kl-corp-copy-btn {
    border: 1px solid rgba(139, 21, 40, 0.25);
    background: #ffffff;
    color: #8B1528;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    margin-left: 6px;
}
.kl-corp-copy-btn:hover { background: #8B1528; color: #ffffff; }
.kl-corp-code-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #23141b;
    color: #f8dce4;
    padding: 9px 16px;
    border-radius: 14px 14px 0 0;
    font-size: 0.8rem;
    font-family: monospace;
    margin-top: 14px;
}
.kl-corp-pre {
    margin: 0;
    background: #140b10;
    color: #fceef2;
    padding: 18px;
    border-radius: 0 0 14px 14px;
    font-size: 0.82rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
.kl-corp-cta {
    display: inline-flex;
    align-items: center;
    background: #8B1528;
    color: #ffffff !important;
    border: 1px solid #8B1528;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none !important;
}
.kl-corp-cta.secondary {
    background: #ffffff;
    color: #8B1528 !important;
    border-color: rgba(139, 21, 40, 0.28);
}
.kl-corp-legal-body h4 {
    color: #8B1528;
    margin: 22px 0 8px;
    font-size: 1.04rem;
}
.kl-corp-legal-body p, .kl-corp-legal-body li {
    color: #2d2327;
    line-height: 1.72;
    font-size: 0.94rem;
}
.kl-corp-legal-body a {
    color: #8B1528;
    font-weight: 700;
}
.kl-dd-form {
    max-width: 640px;
    margin-top: 18px;
}
.kl-dd-field {
    margin-bottom: 16px;
}
.kl-dd-field label {
    display: block;
    font-weight: 700;
    font-size: 0.86rem;
    margin-bottom: 6px;
    color: #1a0f14;
}
@media (max-width: 640px) {
    .kl-corp-top-shell { padding: 92px 14px 32px; }
    .kl-corp-article { padding: 24px 18px !important; }
    .kl-corp-h1 { font-size: 1.5rem; }
}
#corpPageView { background: transparent !important; }
/* KL-TOP-SPA-VIEW-END */
