:root {
    --bg-color: #09090b;
    --surface-color: #18181b;
    --surface-hover: #27272a;
    --border-color: #3f3f46;
    --primary-color: #10b981; /* Neon Emerald */
    --primary-glow: rgba(16, 185, 129, 0.3);
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --danger: #ef4444;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Grid Effect */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    border-bottom: 1px solid var(--border-color);
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

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

.github-star-btn {
    background: var(--surface-hover);
    color: var(--text-main);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.github-star-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 50px;
}

.badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(90deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-assets {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.app-screenshot {
    max-width: 250px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Cards & Sections */
.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.icon-primary {
    color: var(--primary-color);
}

h3 {
    font-size: 1.1rem;
    color: #e4e4e7;
    margin-bottom: 10px;
}

.mt-4 { margin-top: 24px; }

/* Lists */
.custom-list {
    list-style: none;
    margin-top: 15px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.custom-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.custom-list strong {
    color: var(--text-main);
}

/* Code Blocks */
.code-wrapper {
    position: relative;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin: 15px 0;
    overflow-x: auto;
}

.code-wrapper code {
    font-family: 'Fira Code', monospace;
    color: #10b981;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--surface-hover);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: var(--text-main);
    background: var(--border-color);
}

/* Accordion */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background: var(--surface-hover);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    user-select: none;
}

.accordion-header span i {
    margin-right: 8px;
    color: #f59e0b;
}

.chevron {
    transition: transform 0.3s ease;
}

.accordion.active .chevron {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: var(--surface-color);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion.active .accordion-body {
    max-height: 500px;
    padding: 20px;
}

/* CLI Grid */
.cli-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

.cli-item {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cli-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cli-item code {
    font-family: 'Fira Code', monospace;
    color: #3b82f6;
    font-size: 0.95rem;
}

/* Disclaimer */
.disclaimer-card {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(to bottom right, var(--surface-color), rgba(239, 68, 68, 0.05));
}

.disclaimer-card h2 {
    color: var(--danger);
    border-bottom-color: rgba(239, 68, 68, 0.2);
}

.disclaimer-card p {
    color: #fca5a5;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.author-info h3 {
    color: var(--text-main);
    margin-bottom: 15px;
}

.socials {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.socials a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.socials a:hover {
    color: var(--primary-color);
}

.license {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.box-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.box-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .hero h1 { font-size: 4rem; }
}
