/* OpenCode AI Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #030508;
    --bg-card: rgba(6, 10, 18, 0.65);
    --bg-card-hover: rgba(10, 18, 30, 0.85);
    --primary: #10b981; /* Emerald */
    --primary-glow: rgba(16, 185, 129, 0.3);
    --accent: #06b6d4; /* Cyan */
    --accent-glow: rgba(6, 182, 212, 0.25);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(16, 185, 129, 0.35);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, rgba(3, 5, 8, 0) 50%),
                radial-gradient(circle at 100% 100%, rgba(6, 182, 212, 0.04) 0%, rgba(3, 5, 8, 0) 40%),
                var(--bg-dark);
    background-attachment: fixed;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 5, 8, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

.logo-group {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary) 75%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.lang-selector {
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

/* Hero Section */
.hero {
    max-width: 1000px;
    margin: 8rem auto 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 70%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.cta-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
}

/* Feature Grid */
.features-section {
    max-width: 1100px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* Code Playground Preview */
.code-preview-section {
    max-width: 900px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
}

.terminal-box {
    background: #010204;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #080c14;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 0.4rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #38bdf8; /* light blue */
}

.comment { color: #64748b; }
.keyword { color: #f43f5e; }
.string { color: #10b981; }
.number { color: #fb923c; }

/* Pricing Section */
.pricing-section {
    max-width: 600px;
    margin: 0 auto 7rem auto;
    padding: 0 2rem;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%), var(--bg-card);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.08);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-price span {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.pricing-list {
    text-align: left;
    max-width: 320px;
    margin: 0 auto 2.5rem auto;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pricing-list li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-list li i {
    color: var(--primary);
    font-size: 1rem;
}

.pricing-btn {
    width: 100%;
    padding: 1.1rem;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    background: rgba(3, 5, 8, 0.95);
    padding: 3rem 0;
}

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

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .header-container, .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Unified left hamburger/service drawer */
.header-container {
    justify-content: flex-start;
    gap: 1rem;
}
.logo-group {
    margin-right: auto;
}
.menu-toggle {
    display: flex !important;
    order: -1;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 0 !important;
    margin-right: 0.85rem;
    z-index: 260;
}
.menu-toggle .bar {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-drawer {
    display: block !important;
    position: fixed;
    top: 0;
    left: -320px !important;
    right: auto !important;
    width: 300px;
    max-width: 86vw;
    height: 100vh;
    z-index: 250;
    background: rgba(5, 7, 10, 0.96);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 5rem 1.25rem 2rem;
    transition: left 0.3s ease !important;
}
.mobile-drawer.active {
    left: 0 !important;
    right: auto !important;
}
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0;
    margin: 0;
}
.unified-service-menu .mobile-menu-heading {
    margin: 1rem 0 0.35rem;
    padding: 0.2rem 0.35rem;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}
.unified-service-menu a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.35rem;
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
}
.unified-service-menu a:hover {
    background: rgba(255,255,255,0.06);
}
.unified-service-menu i {
    width: 1.1rem;
    color: var(--primary);
    text-align: center;
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        text-align: left;
    }
}

