:root {
    --bg-dark: #0a0e17;
    --bg-card: #121824;
    --bg-card-alt: #1a2332;
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --accent-glow: rgba(16, 185, 129, 0.15);
    --border-color: #1e293b;
    --border-light: #334155;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography & Helpers */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4 {
    color: #fff;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-heading {
    color: var(--accent-emerald);
    font-family: var(--font-code);
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.brand-logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-emerald);
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-emerald);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-emerald {
    background: var(--accent-emerald);
    color: #000;
}

.btn-emerald:hover {
    background: #059669;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    color: #000;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Hero */
.hero-section {
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badges span {
    font-size: 0.85rem;
    background: var(--bg-card);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Terminal Component */
.terminal-box {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.terminal-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    color: var(--text-muted);
    font-family: var(--font-code);
    font-size: 0.8rem;
    margin-left: 10px;
}

.terminal-body {
    padding: 20px;
    color: var(--accent-cyan);
    font-family: var(--font-code);
    font-size: 0.85rem;
    line-height: 1.5;
}

.status-indicator {
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.05);
    border-top: 1px solid var(--border-color);
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
}

/* Layout Blocks */
.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--bg-card);
}

.section-header {
    margin-bottom: 50px;
    max-width: 700px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
}

.grid {
    display: grid;
    gap: 25px;
}

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

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.section-alt .feature-card {
    background: var(--bg-dark);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-emerald);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 15px;
}

.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.75rem;
    background: var(--bg-card-alt);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--accent-cyan);
    font-family: var(--font-code);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.article-item {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.article-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-emerald);
}

.article-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.article-item p:last-child {
    margin-bottom: 0;
}

/* Custom List */
.features-list-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 12px;
}

.custom-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.custom-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-emerald);
    font-weight: bold;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-emerald);
    font-family: var(--font-code);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #f59e0b;
    margin-bottom: 15px;
}

.comment {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
}

.user-info strong {
    display: block;
    color: var(--text-primary);
}

.user-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-toggle {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle:hover {
    color: var(--accent-emerald);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* CTA */
.cta-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Footer */
.footer {
    background: #06090e;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.brand-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
    max-width: 320px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--accent-emerald);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-grid, .article-grid, .grid-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .custom-list { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.4rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}