@font-face {
	font-family: 'BlinkMacSystemFont-Bold';
	src: url('../fonts/blinkmacsystemfont-bold.eot'); /* IE 9 Compatibility Mode */
	src: url('../fonts/blinkmacsystemfont-bold.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
		url('../fonts/blinkmacsystemfont-bold.woff2') format('woff2'), /* Super Modern Browsers */
		url('../fonts/blinkmacsystemfont-bold.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
		url('../fonts/blinkmacsystemfont-bold.ttf') format('truetype'), /* Safari, Android, iOS */
		url('../fonts/blinkmacsystemfont-bold.svg#blinkmacsystemfont-bold') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
	font-family: 'Segoe UI';
	src: url('fonts/segoe-ui.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Segoe UI';
	src: url('fonts/segoe-ui-bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Segoe UI';
	src: url('fonts/segoe-ui-italic.woff') format('woff');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Segoe UI';
	src: url('fonts/segoe-ui-bold-italic.woff') format('woff');
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: 'Segoe UI';
	src: url('fonts/segoe-ui-black.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
}

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

:root {
    --bg: #0a0a0a;
    --fg: #f5f5f5;
    --accent: #b4a7d6;
    --accent-muted: #a099bec7;
    --border: #1f1f1f;
    --card-bg: #111111;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

.logo {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--accent) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.tagline {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-muted);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--fg);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--fg) 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--accent);
    opacity: 0.5;
    font-size: 1rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .feature-card-indicator {
    opacity: 1;
    transform: translateY(3px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--fg);
}

.feature-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Commands Section */
.commands {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.03) 100%);
}

.command-categories {
    display: grid;
    gap: 2rem;
}

.category {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.category:hover {
    border-color: var(--accent);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    font-size: 2rem;
    color: var(--accent);
}

.category-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--fg);
}

.command-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.command-item {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.command-item-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: var(--accent);
    opacity: 0.4;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}

.command-item:hover .command-item-indicator {
    opacity: 1;
}

.command-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
}

.command-name {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
}

.command-aliases {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-family: 'Courier New', monospace;
}

.command-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* Stats Section */
.stats {
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: #64748b;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 4rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Courier New', monospace;
}

.modal-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-body {
    padding: 2rem;
}

.modal-aliases {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
}

.modal-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 0.75rem;
}

.modal-usage {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    font-size: 0.9rem;
}

.modal-examples {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-example {
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--accent);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #94a3b8;
}

.modal-note {
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--accent);
    padding: 1rem;
    border-radius: 4px;
    color: #94a3b8;
    font-size: 0.9rem;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--fg);
    opacity: 0.4;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}
