﻿:root {
    --bg-light: #f8fafc;
    --card-light: #ffffff;
    --text-light: #1e293b;
    --text-muted-light: #64748b;
    --border-light: #e2e8f0;
    --shadow-light: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --bg-dark: #0f172a;
    --card-dark: #1e293b;
    --text-dark: #f1f5f9;
    --text-muted-dark: #94a3b8;
    --border-dark: #334155;
    --shadow-dark: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
}

.dark-mode {
    background: var(--bg-dark);
    color: var(--text-dark);
}

.light-mode {
    background: var(--bg-light);
    color: var(--text-light);
}

.text-muted {
    color: var(--text-muted-dark) !important;
    transition: color 0.3s ease;
}

.light-mode .text-muted {
    color: var(--text-muted-light) !important;
}

.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideUp 0.8s ease-out;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.light-mode .hero-title {
    color: var(--text-light);
}

.gradient-text {
    color: #667eea;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    max-width: 500px;
    margin: 0 auto;
}

.light-mode .hero-subtitle {
    color: var(--text-muted-light);
}

.content-card {
    background: var(--card-dark);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-dark);
    max-width: 800px;
    width: 100%;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.light-mode .content-card {
    background: var(--card-light);
    border-color: var(--border-light);
    box-shadow: var(--shadow-light);
}

.card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .card-header h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

.docs-section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted-dark);
    margin-bottom: 1rem;
}

.light-mode .docs-section-label {
    color: var(--text-muted-light);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.docs-grid--two {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
}

.doc-card {
    position: relative;
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
}

.light-mode .doc-card {
    background: var(--card-light);
    border-color: var(--border-light);
}

.doc-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.doc-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.doc-card p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.light-mode .doc-card p {
    color: var(--text-muted-light);
}

.card-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    transition: left 0.3s ease;
}

.doc-card:hover .card-hover-effect {
    left: 0;
}

.features-section {
    text-align: center;
}

.features-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-muted-dark);
}

.light-mode .features-title {
    color: var(--text-muted-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-dark);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.light-mode .feature-item {
    background: var(--bg-light);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    color: var(--primary);
}

.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--card-dark);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
    z-index: 1000;
}

.light-mode .theme-toggle {
    background: var(--card-light);
    color: var(--text-light);
    box-shadow: var(--shadow-light);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.3;
    animation: ripple 0.6s ease-out;
    transform: scale(0);
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .content-card {
        padding: 1.5rem;
    }

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

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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