:root {
    --bg-dark: #080B11;
    --bg-card: rgba(18, 24, 38, 0.7);
    --bg-card-hover: rgba(28, 37, 56, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.4);
    --primary: #6366F1;
    --primary-light: #818CF8;
    --primary-glow: rgba(99, 102, 241, 0.35);
    --accent-cyan: #06B6D4;
    --accent-purple: #A855F7;
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --text-dim: #6B7280;
    --success: #10B981;
    --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(168, 85, 247, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
}

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

/* Typography & Visual Effects */
.gradient-text {
    background: linear-gradient(135deg, #818CF8 0%, #C084FC 50%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--primary-light);
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navbar */
.navbar {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 17, 0.75);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.github-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem !important;
    transition: all 0.2s;
}

.github-badge:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

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

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
    color: #fff;
    box-shadow: 0 4px 25px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
}

/* Showcase Grid Section */
.showcase-section {
    padding: 40px 0 100px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.mockup-container {
    padding: 12px;
    overflow: hidden;
}

.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.terminal-window {
    background: #090D16;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #111622;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

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

.btn-dot.red { background-color: #FF5F56; }
.btn-dot.yellow { background-color: #FFBD2E; }
.btn-dot.green { background-color: #27C93F; }

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.8;
    flex-grow: 1;
}

.terminal-body .line { margin-bottom: 6px; }
.terminal-body .prompt { color: var(--accent-purple); font-weight: bold; }
.terminal-body .info { color: #60A5FA; }
.terminal-body .success { color: var(--success); font-weight: 500; }
.terminal-body .text-dim { color: var(--text-dim); }

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
    padding: 24px 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.card {
    padding: 36px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Architecture Section */
.arch-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.arch-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 48px;
}

.arch-step {
    flex: 1;
    min-width: 240px;
    text-align: center;
}

.step-num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.arch-step h4 { margin-bottom: 10px; font-size: 1.15rem; }
.arch-step p { color: var(--text-muted); font-size: 0.92rem; }
.arch-arrow { color: var(--text-dim); font-size: 1.8rem; }

/* Quickstart Section */
.code-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.code-box {
    background: #090D16;
    border: 1px solid var(--border-color);
    padding: 28px 36px;
    border-radius: 16px;
    max-width: 750px;
    margin: 0 auto;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.code-box .comment { color: var(--text-dim); }

/* Footer */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a { color: var(--primary-light); text-decoration: none; }

@media (max-width: 992px) {
    .showcase-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
    .arch-arrow { display: none; }
    .stats-bar { grid-template-columns: 1fr; gap: 16px; }
}

/* Pricing Cards Styling */
.pricing-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.25);
}

.badge-featured {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 16px 0 8px;
}

.price span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.pricing-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-list li {
    padding: 8px 0;
    color: var(--text-main);
    font-size: 0.92rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.full-width {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.nav-btn {
    padding: 8px 18px !important;
    font-size: 0.88rem !important;
}

/* Features label */
.features-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--success);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
}

.roadmap-label {
    color: var(--accent-purple);
}

.roadmap-card {
    opacity: 0.85;
    border-style: dashed;
    position: relative;
}

.badge-soon {
    display: inline-block;
    margin-top: 16px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.3);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}


