<style>
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --text: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --bg-secondary: #1e293b;
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --border: #334155;
  }
}
.tk-nav { display:flex; align-items:center; height:56px; padding:0 24px; background:var(--bg); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:100; gap:4px; }
.tk-nav .brand { font-weight:700; font-size:1.1em; color:var(--primary); text-decoration:none; margin-right:8px; display:flex; align-items:center; gap:8px; }
.tk-nav .brand svg { width:28px; height:28px; }
.tk-nav a.nav-link { color:var(--text-secondary); text-decoration:none; padding:6px 14px; border-radius:6px; font-size:0.9em; font-weight:500; transition:all .15s; }
.tk-nav a.nav-link:hover { color:var(--text); background:var(--bg-secondary); }
.tk-nav a.nav-link.active { color:var(--primary); background:rgba(99,102,241,0.08); }
.tk-nav .spacer { flex:1; }
.tk-nav .btn { padding:7px 18px; border-radius:6px; font-weight:600; font-size:0.88em; text-decoration:none; transition:all .15s; border:none; cursor:pointer; }
.tk-nav .btn-primary { background:var(--primary); color:#fff; }
.tk-nav .btn-primary:hover { background:var(--primary-dark); }
.tk-nav .btn-ghost { color:var(--text); border:1px solid var(--border); background:transparent; }
.tk-nav .btn-ghost:hover { background:var(--bg-secondary); }
.tk-nav .user-menu { position:relative; }
.tk-nav .user-menu .trigger { display:flex; align-items:center; gap:6px; padding:5px 10px; border-radius:6px; cursor:pointer; font-weight:600; font-size:0.88em; color:var(--text); border:1px solid transparent; }
.tk-nav .user-menu .trigger:hover { background:var(--bg-secondary); border-color:var(--border); }
.tk-nav .user-menu .avatar { width:26px; height:26px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-size:0.75em; font-weight:700; }
.tk-nav .user-menu .dropdown { display:none; position:absolute; right:0; top:100%; margin-top:8px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-lg); min-width:180px; padding:6px; z-index:200; }
.tk-nav .user-menu.open .dropdown { display:block; }
.tk-nav .user-menu .dropdown a { display:flex; align-items:center; gap:8px; padding:8px 12px; border-radius:5px; color:var(--text); text-decoration:none; font-size:0.88em; }
.tk-nav .user-menu .dropdown a:hover { background:var(--bg-secondary); }
.tk-nav .user-menu .dropdown .divider { height:1px; background:var(--border); margin:4px 8px; }
.tk-nav .user-menu .dropdown .danger { color:#ef4444; }
.tk-nav .user-menu .dropdown .danger:hover { background:#fef2f2; }

.tk-hero { background:linear-gradient(160deg, #1e1b4b 0%, #312e81 30%, #4338ca 70%, #4f46e5 100%); color:#fff; padding:80px 0 60px; position:relative; overflow:hidden; }
.tk-hero::before { content:''; position:absolute; top:-20%; right:-15%; width:600px; height:600px; background:radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%); border-radius:50%; }
.tk-hero::after { content:''; position:absolute; bottom:-25%; left:-10%; width:400px; height:400px; background:radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%); border-radius:50%; }
.tk-section { padding:64px 0; }
.tk-section.alt { background:var(--bg-secondary); }
.tk-container { max-width:1100px; margin:0 auto; padding:0 24px; }
.tk-flex { display:flex; align-items:center; gap:60px; }
.tk-flex > * { flex:1; }
.tk-hero h1 { font-size:2.6em; font-weight:800; letter-spacing:-0.5px; line-height:1.15; margin:0 0 12px; }
.tk-hero p { font-size:1.05em; opacity:0.8; line-height:1.7; margin-bottom:28px; }
.tk-hero .actions { display:flex; gap:10px; flex-wrap:wrap; }
.tk-hero .actions a { padding:12px 26px; border-radius:6px; font-weight:600; font-size:0.92em; text-decoration:none; transition:all .2s; }
.tk-hero .actions .fill { background:#fff; color:#312e81; }
.tk-hero .actions .fill:hover { background:#eef2ff; transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,0,0,0.2); }
.tk-hero .actions .outline { border:2px solid rgba(255,255,255,0.35); color:#fff; }
.tk-hero .actions .outline:hover { background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.6); }
.tk-terminal { background:#0d1117; border-radius:10px; padding:18px 20px; font-family:'SF Mono',Menlo,monospace; font-size:0.82em; box-shadow:0 20px 50px rgba(0,0,0,0.35); border:1px solid #30363d; }
.tk-terminal .dots { display:flex; gap:6px; margin-bottom:14px; }
.tk-terminal .dots span { width:10px; height:10px; border-radius:50%; }
.tk-terminal .dots .r { background:#ff5f56; } .tk-terminal .dots .y { background:#ffbd2e; } .tk-terminal .dots .g { background:#27c93f; }
.tk-terminal .line { display:flex; margin-bottom:6px; align-items:center; }
.tk-terminal .prompt { color:#58a6ff; margin-right:8px; user-select:none; }
.tk-terminal .cmd { color:#e6edf3; }
.tk-terminal .out { color:#7ee787; }

.tk-section h2 { text-align:center; font-size:1.8em; font-weight:700; margin-bottom:8px; }
.tk-section .subtitle { text-align:center; color:var(--text-secondary); margin-bottom:44px; font-size:1em; }
.tk-grid { display:grid; gap:20px; }
.tk-grid.cols-2 { grid-template-columns:repeat(2,1fr); }
.tk-grid.cols-3 { grid-template-columns:repeat(3,1fr); }
.tk-grid.cols-4 { grid-template-columns:repeat(4,1fr); }
.tk-card { background:var(--bg); border:1px solid var(--border); border-radius:var(--radius); padding:24px; transition:all .2s; }
.tk-card:hover { border-color:var(--primary-light); box-shadow:var(--shadow-lg); transform:translateY(-2px); }
.tk-card .icon { font-size:1.8em; margin-bottom:12px; }
.tk-card h3 { font-size:1.05em; font-weight:700; margin:0 0 6px; }
.tk-card p { color:var(--text-secondary); font-size:0.9em; line-height:1.6; margin:0; }

.tk-stat { text-align:center; padding:28px 12px; }
.tk-stat .num { font-size:2.2em; font-weight:800; color:var(--primary); line-height:1; }
.tk-stat .lbl { font-size:0.85em; color:var(--text-secondary); margin-top:6px; }

.tk-cta { background:linear-gradient(135deg, var(--primary), #7c3aed); color:#fff; text-align:center; }
.tk-cta h2 { font-size:1.8em; font-weight:700; margin-bottom:8px; color:#fff; }
.tk-cta p { opacity:0.85; margin-bottom:24px; font-size:1em; }
.tk-cta a { display:inline-block; padding:12px 32px; background:#fff; color:#4f46e5; border-radius:6px; font-weight:700; font-size:0.95em; text-decoration:none; transition:all .2s; }
.tk-cta a:hover { background:#eef2ff; color:#4338ca; transform:translateY(-1px); }

.tk-step { text-align:center; }
.tk-step .circle { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:var(--primary); color:#fff; font-weight:700; font-size:1.1em; margin-bottom:12px; }
.tk-step h3 { font-size:1em; font-weight:700; margin-bottom:4px; }
.tk-step p { color:var(--text-secondary); font-size:0.88em; }

.tk-footer { border-top:1px solid var(--border); padding:24px 0; text-align:center; font-size:0.85em; color:var(--text-secondary); background:var(--bg-secondary); }
.tk-footer a { color:var(--text-secondary); text-decoration:none; }
.tk-footer a:hover { color:var(--primary); }
.tk-footer .links { display:flex; justify-content:center; gap:24px; flex-wrap:wrap; margin-bottom:8px; }

@media(max-width:860px) {
  .tk-flex { flex-direction:column; gap:32px; }
  .tk-grid.cols-3, .tk-grid.cols-4 { grid-template-columns:repeat(2,1fr); }
  .tk-hero h1 { font-size:1.8em; }
}
@media(max-width:540px) {
  .tk-grid.cols-2, .tk-grid.cols-3, .tk-grid.cols-4 { grid-template-columns:1fr; }
  .tk-nav { padding:0 12px; gap:2px; }
  .tk-nav a.nav-link { padding:4px 8px; font-size:0.8em; }
}
</style>
