:root {
    --bg: #070b1a;
    --bg-alt: rgba(14, 19, 44, 0.82);
    --card: rgba(18, 25, 55, 0.75);
    --primary: #0df2ff;
    --primary-dark: #08c7ce;
    --secondary: #7b68ee;
    --accent: #D4AF37;
    --accent-gold: #ffd700;
    --gold-light: #F4E4B0;
    --gold-dark: #B8941E;
    --text: #f8fafc;
    --text-muted: #98a2c3;
    --border: rgba(13, 242, 255, 0.25);
    --danger: #ff4f7b;
    --success: #55ff9f;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #001023;
    box-shadow: 0 10px 30px rgba(0, 125, 255, 0.25);
}

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

.btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btn.primary:hover {
    box-shadow: 0 12px 34px rgba(0, 125, 255, 0.35);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(7, 11, 26, 0.85);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.brand:hover {
    text-decoration: none;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #001023;
    font-weight: 700;
    font-size: 0.9rem;
}

.menu-toggle {
    background: none;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    display: none;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: clamp(4rem, 7vw, 6rem) 0;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 16px 40px rgba(3, 12, 38, 0.45);
}

.hero-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    align-items: center;
}

.feature-list span {
    font-size: 1.1rem;
}

/* Products Section */
.products-section {
    background: rgba(9, 14, 32, 0.9);
    padding: clamp(4rem, 7vw, 6rem) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
}

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

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(13, 242, 255, 0.15);
}

.product-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(13, 242, 255, 0.2);
}

.product-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #001023;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.75rem;
    margin: 1rem 0 0.5rem;
}

.product-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.product-features li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1rem;
    font-weight: 400;
}

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

/* How It Works */
.how-it-works {
    padding: clamp(4rem, 7vw, 6rem) 0;
}

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

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    margin: 0.75rem 0 0;
}

/* Code Demo */
.code-demo {
    background: rgba(9, 14, 32, 0.9);
    padding: clamp(4rem, 7vw, 6rem) 0;
}

.code-panel {
    background: #0a0f1f;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    overflow-x: auto;
}

.code-panel pre {
    margin: 0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.code-comment { color: #6c7a89; }
.code-keyword { color: var(--secondary); }
.code-string { color: #55ff9f; }

/* Use Cases */
.use-cases {
    padding: clamp(4rem, 7vw, 6rem) 0;
}

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

.use-case-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.use-case-card h3 {
    margin-top: 0;
    font-size: 1.35rem;
}

.use-case-card p {
    color: var(--text-muted);
    margin: 0.75rem 0 0;
}

/* Pricing Section */
.pricing-section {
    background: rgba(9, 14, 32, 0.9);
    padding: clamp(4rem, 7vw, 6rem) 0;
}

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

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(13, 242, 255, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #001023;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin: 0 0 1.5rem;
    font-size: 1.75rem;
}

.pricing-amount {
    margin: 1.5rem 0;
}

.price-large {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 0.85rem;
    text-align: left;
}

.pricing-features li {
    color: var(--text-muted);
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
}

/* Documentation */
.docs-section {
    padding: clamp(4rem, 7vw, 6rem) 0;
}

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

.doc-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: block;
}

.doc-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    text-decoration: none;
}

.doc-card h3 {
    margin-top: 0;
    color: var(--text);
}

.doc-card p {
    color: var(--text-muted);
    margin: 0.5rem 0 0;
}

/* Contact */
.contact {
    background: rgba(9, 14, 32, 0.9);
    padding: clamp(4rem, 7vw, 6rem) 0;
}

.contact-grid {
    display: grid;
    gap: 3.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: start;
}

.contact-meta p {
    margin: 0.6rem 0;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(4, 8, 21, 0.65);
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 242, 255, 0.15);
}

.form-footnote {
    font-size: 0.85rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(4, 6, 18, 0.96);
    padding: 3rem 0 1.5rem;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.6rem;
}

.footer-note {
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

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

/* Mobile Responsive */
@media (max-width: 840px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
        background: rgba(5, 7, 18, 0.98);
        padding: 1.5rem;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-note {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}
