/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: #0d0d0d;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #1a1a1a;
    --accent-hover: #252525;
    --accent-glow: rgba(255, 255, 255, 0.05);
    --border: #1a1a1a;
    --border-light: #2a2a2a;
    --shadow: rgba(0, 0, 0, 0.8);
    --shadow-glow: rgba(255, 255, 255, 0.03);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

body {
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(79, 172, 254, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: lowercase;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 20px;
    background: var(--gradient-1);
    border-radius: 1px;
    opacity: 0.8;
}

.logo-icon {
    width: 28px;
    height: 28px;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.logo:hover .logo-icon {
    opacity: 1;
    transform: rotate(180deg) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

/* Main Content */
main {
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.005) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(255,255,255,0.005) 50%, transparent 100%);
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-transform: lowercase;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero h1::after {
    content: 'Trade in Shadows';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 1.5px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-delay-1 {
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--border-light);
    letter-spacing: 2.5px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 0.6s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px);
    border-color: var(--text-secondary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(102, 126, 234, 0.2);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    opacity: 0.1;
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    background-color: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(102, 126, 234, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    display: inline-block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.feature-card:hover .feature-icon {
    color: var(--text-primary);
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.3));
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-transform: lowercase;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.9;
}

/* Privacy Level Section */
.privacy-level {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.privacy-content {
    max-width: 600px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.privacy-bar {
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.privacy-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 2px;
}

.privacy-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 2rem;
    background-color: var(--bg-secondary);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.steps-container h2 {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: lowercase;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 8px;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover {
    border-color: var(--border-light);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 700;
    min-width: 70px;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1.5px;
    text-transform: lowercase;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.9;
}

/* CTA Section */
.cta {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.telegram-username {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.telegram-username::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.telegram-username:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(102, 126, 234, 0.1);
}

.username-label {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 600;
}

.username-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.username-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.telegram-username:hover .username-link {
    color: #667eea;
}

.telegram-username:hover .username-link::after {
    width: 100%;
}

/* Documentation Styles */
.docs {
    padding: 2rem;
}

.docs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 2.5rem;
}

.sidebar-section h3 {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section li {
    margin-bottom: 0.3rem;
}

.sidebar-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1rem;
}

.sidebar-section a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    background-color: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sidebar-section a:hover {
    color: var(--text-primary);
    padding-left: 1.5rem;
}

.sidebar-section a:hover::before {
    background-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.docs-content {
    max-width: 900px;
}

.doc-section {
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.doc-section:last-child {
    border-bottom: none;
}

.doc-section h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.doc-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    letter-spacing: 1.5px;
    text-transform: lowercase;
    font-weight: 600;
}

.doc-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    letter-spacing: 1px;
    text-transform: lowercase;
    font-weight: 600;
}

.doc-section p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.doc-section ul,
.doc-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.doc-section li {
    margin-bottom: 0.6rem;
    line-height: 1.9;
}

.doc-section code {
    background-color: var(--bg-tertiary);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border);
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.85rem;
    border-radius: 3px;
    color: var(--text-primary);
}

.doc-section pre {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    padding: 1.5rem;
    border: 1px solid var(--border);
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.doc-section pre code {
    background: none;
    border: none;
    padding: 0;
}

.warning-box,
.info-box {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 3px solid var(--text-secondary);
    background: linear-gradient(90deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    border-radius: 0 6px 6px 0;
    position: relative;
}

.warning-box {
    border-left-color: #f5576c;
}

.warning-box::before {
    content: '⚠️';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
}

.info-box {
    border-left-color: #4facfe;
}

.info-box::before {
    content: 'ℹ️';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
}

.warning-box strong,
.info-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.code-block {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    padding: 1.5rem;
    border: 1px solid var(--border);
    margin: 1.5rem 0;
    border-radius: 6px;
}

.code-block p {
    margin-bottom: 0.8rem;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.85rem;
}

.code-block strong {
    color: var(--text-primary);
}

.command-list {
    margin: 2rem 0;
}

.command-item {
    padding: 1.5rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.command-item:hover {
    border-color: var(--border-light);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.command-item code {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: none;
    border: none;
    padding: 0;
}

.command-item p {
    margin: 0;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    background-color: var(--bg-secondary);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .docs-container {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .docs-sidebar {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.8rem;
    }

    .privacy-content h2,
    .steps-container h2,
    .cta h2 {
        font-size: 2rem;
    }

    .doc-section h1 {
        font-size: 2.2rem;
    }

    .doc-section h2 {
        font-size: 1.6rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-hover) 0%, #333 100%);
}

/* Selection */
::selection {
    background-color: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background-color: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Additional Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
}

/* Enhanced Card Hover Effect */
.feature-card,
.step,
.command-item,
.faq-item {
    will-change: transform, box-shadow;
}

/* Subtle Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
