/* Profile-inspired monochrome theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --ink: #050505;
    --surface: #101010;
    --surface-raised: #171717;
    --surface-soft: #202020;
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.28);
    --muted: #a3a3a3;
    --accent: #f4f4f4;
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--ink);
}

.how-it-works-section {
    background: var(--ink) !important;
    background-image: none !important;
}

/* Keep Tailwind utility surfaces in the same grayscale palette. */
.bg-slate-950 {
    background-color: var(--ink) !important;
}

.bg-slate-900 {
    background-color: #0b0b0b !important;
}

.bg-slate-800 {
    background-color: var(--surface-raised) !important;
}

.bg-slate-700 {
    background-color: var(--surface-soft) !important;
}

.border-slate-800 {
    border-color: var(--line) !important;
}

.border-slate-700 {
    border-color: var(--line-strong) !important;
}

.text-gray-300,
.text-gray-400,
.text-gray-500 {
    color: var(--muted) !important;
}

.text-cyan-300,
.text-blue-300,
.text-purple-300,
.text-purple-400,
.text-purple-500,
.text-blue-400 {
    color: #e2e2e2 !important;
}

/* Re-map the template's colored Tailwind gradients to grayscale. */
.from-purple-400,
.from-purple-500 {
    --tw-gradient-from: #f4f4f4 var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(244 244 244 / 0) var(--tw-gradient-to-position) !important;
}

.to-blue-400,
.to-blue-500 {
    --tw-gradient-to: #777777 var(--tw-gradient-to-position) !important;
}

.from-purple-900 {
    --tw-gradient-from: #282828 var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(40 40 40 / 0) var(--tw-gradient-to-position) !important;
}

.to-blue-900 {
    --tw-gradient-to: #0a0a0a var(--tw-gradient-to-position) !important;
}

.bg-gradient-to-r.from-purple-400.to-blue-400 {
    background-image: linear-gradient(to right, #f4f4f4, #777777) !important;
}

.bg-gradient-to-r.from-purple-500.to-transparent {
    background-image: linear-gradient(to right, #bdbdbd, transparent) !important;
}

.bg-gradient-to-r.from-purple-900.to-blue-900 {
    background-image: linear-gradient(to right, #282828, #0a0a0a) !important;
}

.bg-purple-400,
.bg-purple-500,
.bg-blue-500,
.bg-indigo-500 {
    background-color: #bdbdbd !important;
}

.bg-blue-900 {
    background-color: #292929 !important;
}

.bg-purple-900 {
    background-color: #1f1f1f !important;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
    background: #777777;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bdbdbd;
}

::placeholder,
:-ms-input-placeholder,
::-ms-input-placeholder {
    color: #9a9a9a;
    opacity: 1;
}

.gradient-glow {
    background: linear-gradient(135deg, #242424 0%, #0b0b0b 100%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.btn-primary {
    color: #080808 !important;
    background: linear-gradient(135deg, #f4f4f4 0%, #999999 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #c8c8c8 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-strong);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.55);
}

.feature-card {
    background: linear-gradient(135deg, rgba(36, 36, 36, 0.86) 0%, rgba(12, 12, 12, 0.9) 100%);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(48, 48, 48, 0.96) 0%, rgba(18, 18, 18, 0.98) 100%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-card {
    background: linear-gradient(135deg, rgba(36, 36, 36, 0.72) 0%, rgba(12, 12, 12, 0.78) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.section-title {
    background: linear-gradient(135deg, #ffffff 0%, #9b9b9b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-number {
    color: #080808 !important;
    background: linear-gradient(135deg, #f4f4f4 0%, #8d8d8d 100%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
}

.command-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.72) 0%, rgba(10, 10, 10, 0.82) 100%);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.command-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.86) 0%, rgba(16, 16, 16, 0.92) 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.category-badge {
    color: #080808;
    background: linear-gradient(135deg, #f4f4f4 0%, #929292 100%);
}

.permission-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.bot-avatar {
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    filter: grayscale(1) contrast(1.08);
}

.hero-avatar {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 0 36px rgba(255, 255, 255, 0.14);
}

.policy-page {
    min-height: 100vh;
}

.policy-content {
    color: #c2c2c2;
    line-height: 1.8;
}

.policy-content h1,
.policy-content h2 {
    color: #f4f4f4;
}

.policy-content h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.policy-content h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 2.5rem 0 0.75rem;
}

.policy-content p {
    margin: 0 0 1rem;
}

.policy-content ul {
    list-style: disc;
    margin: 0 0 1rem 1.5rem;
}

.policy-content li {
    padding-left: 0.35rem;
    margin: 0.35rem 0;
}

.policy-content a {
    color: #f4f4f4;
    text-decoration: underline;
    text-decoration-color: #777777;
    text-underline-offset: 0.2em;
    transition: color 0.2s ease;
}

.policy-content a:hover {
    color: #ffffff;
}

.policy-meta {
    color: #888888;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.policy-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.5rem 0 0;
}
