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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0f172a;
    overflow-x: hidden;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

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

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #7c3aed;
}

.btn-github {
    background: #7c3aed;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-github:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #cbd5e1;
    cursor: pointer;
}

.main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: clamp(4rem, 7.5vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #7c3aed, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title .gradient-text {
    display: block;
    margin-bottom: 0.1rem; /* small gap */
}
#alfe {
    display: block;
    margin-top: 0; /* optional */
}

.main-title #alfe {
    font-size: clamp(1rem, 2vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
}

.main-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.main-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: rgba(51, 65, 85, 0.8);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-secondary:hover {
    background: rgba(71, 85, 105, 0.8);
    transform: translateY(-3px);
}

.main-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
    text-align: center;
}

.main-code {
    position: relative;
}

.code-window {
    background: #1e293b;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.code-header {
    background: #334155;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-title {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-window pre {
    margin: 0;
    padding: 1.5rem;
    background: transparent;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-window code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.main-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.125rem;
    color: #94a3b8;
}

.features {
    background: #1e293b;
}

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

.feature-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}

.types {
    background: #0f172a;
}

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

.type-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.type-card:hover {
    border-color: #7c3aed;
    transform: translateY(-3px);
}

.type-card h4 {
    color: #7c3aed;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.type-card p {
    color: #94a3b8;
    font-size: 0.875rem;
}

.syntax {
    background: #1e293b;
}

.syntax-tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.syntax-tab {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.3);
    color: #94a3b8;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.syntax-tab.active,
.syntax-tab:hover {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

.syntax-content {
    position: relative;
}

.syntax-panel {
    display: none;
    background: #0f172a;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.3);
}

.syntax-panel.active {
    display: block;
}

.syntax-panel pre {
    margin: 0;
    padding: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.directives {
    background: #0f172a;
}

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

.directive-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.directive-card:hover {
    border-color: #7c3aed;
    transform: translateY(-3px);
}

.directive-card h4 {
    color: #7c3aed;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.directive-card p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.directive-card pre {
    background: #0f172a;
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0;
    font-size: 0.875rem;
}

.roadmap {
    background: #1e293b;
}

.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #7c3aed, #3b82f6, #06b6d4);
}

.timeline-item {
    position: relative;
    padding: 2rem 0 2rem 5rem;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 2.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #334155;
    border: 3px solid #7c3aed;
}

.timeline-item.completed .timeline-marker {
    background: #10b981;
    border-color: #10b981;
}

.timeline-item.in-progress .timeline-marker {
    background: #f59e0b;
    border-color: #f59e0b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.timeline-content {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    padding: 2rem;
}

.timeline-content h4 {
    color: #e2e8f0;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #94a3b8;
    line-height: 1.6;
}

.cli {
    background: #0f172a;
}

.cli-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.cli-example {
    background: #1e293b;
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    overflow: hidden;
}

.cli-header {
    background: #334155;
    padding: 1rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.cli-title {
    color: #e2e8f0;
    font-weight: 600;
}

.cli-example pre {
    margin: 0;
    padding: 1.5rem;
    background: transparent;
    font-size: 1rem;
    line-height: 1.6;
}

.community {
    background: #1e293b;
}

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

.community-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15);
    color: inherit;
    text-decoration: none;
}

.community-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.community-card h4 {
    color: #e2e8f0;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.community-card p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer {
    background: #0f172a;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
    padding: 3rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #e2e8f0;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-section a:hover {
    color: #7c3aed;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7c3aed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .main-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .main-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .syntax-tab-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .roadmap-timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline-marker {
        left: 5px;
    }
    
    .cli-examples {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container, .nav {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-card, .directive-card, .timeline-content {
        padding: 1.5rem;
    }
}

/* Syntax Highlighting Overrides */
.token.comment { color: #64748b; }
.token.keyword { color: #7c3aed; }
.token.string { color: #10b981; }
.token.number { color: #f59e0b; }
.token.function { color: #3b82f6; }
.token.operator { color: #e2e8f0; }
.token.punctuation { color: #94a3b8; }
.token.annotation { color: #06b6d4; }