/* CSS Variables */
:root {
    --bg: #0a0e1a;
    --bg-gradient: linear-gradient(135deg, #0a0e1a 0%, #151b2e 100%);
    --panel: rgba(25, 35, 55, 0.6);
    --panel-dark: rgba(15, 20, 35, 0.8);
    --border: rgba(79, 209, 197, 0.15);
    --border-light: rgba(79, 209, 197, 0.25);
    --accent: #4fd1c5;
    --secondary: #63b3ed;
    --text: #e2e8f0;
    --text-muted: #a0aec0;
    --text-dim: #718096;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

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

.back-btn {
    padding: 0.5rem 1.25rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--panel-dark);
    border-color: var(--accent);
    transform: translateX(-4px);
}

/* Main Content */
.main-content {
    margin-top: 80px;
    padding-bottom: 4rem;
}

/* Hero Section */
.hero {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.05), transparent);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--bg);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(79, 209, 197, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 209, 197, 0.4);
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(79, 209, 197, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(79, 209, 197, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Tech Section */
.tech-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, rgba(79, 209, 197, 0.03), transparent);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tech-item {
    background: var(--panel-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.tech-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.tech-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

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

.tech-note {
    text-align: center;
    padding: 2rem;
    background: rgba(79, 209, 197, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.tech-note p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.08), transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer-links span {
    color: var(--text-dim);
}

.footer-note {
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .back-btn {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .features {
        padding: 4rem 1.5rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-section {
        padding: 4rem 1.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .final-cta {
        padding: 4rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-button.large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}