:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background-light: #f3f4f6;
    --white: #ffffff;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-indicator {
    font-size: 0.6rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.nav-menu li:hover .dropdown-indicator {
    transform: rotate(180deg);
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--gradient-start);
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.logo {
    width: 150px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.cta-button {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

#hero {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

#hero::before,
#hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

#hero::before {
    width: 400px;
    height: 400px;
    background: var(--gradient-start);
    top: -200px;
    right: -100px;
}

#hero::after {
    width: 300px;
    height: 300px;
    background: var(--gradient-end);
    bottom: -150px;
    left: -50px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeIn 1s ease 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeIn 1s ease 0.4s both;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.featured {
    border-color: var(--gradient-start);
    transform: scale(1.05);
}

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

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeIn 1s ease 0.6s both;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
}

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

.secondary-btn:hover {
    background: var(--text-primary);
    color: var(--white);
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.benefit-item {
    position: relative;
    padding-left: 4rem;
}

.benefit-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

#table-of-contents {
    text-align: center;
}

#table-of-contents ul {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 900px;
}

#table-of-contents li {
    background: var(--white);
    border: 2px solid var(--background-light);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

#table-of-contents li:hover {
    border-color: var(--gradient-start);
    transform: scale(1.05);
}

#table-of-contents a {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

#table-of-contents li:hover a {
    color: var(--gradient-start);
}

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

.tech-card {
    background: var(--white);
    border: 2px solid var(--background-light);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tech-header {
    padding: 2rem 2rem 1rem;
    position: relative;
}

.tech-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-start);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.tech-badge.hot {
    background: var(--accent-color);
}

.tech-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.tech-features {
    list-style: none;
    padding: 1rem 2rem;
}

.tech-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--background-light);
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.tech-features li:last-child {
    border-bottom: none;
}

.tech-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gradient-start);
}

.tech-footer {
    background: var(--background-light);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-stat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gradient-start);
}

.tech-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gradient-start);
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid var(--background-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--gradient-start);
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h3::before {
    content: '💡';
}

.faq-item p {
    color: var(--text-secondary);
    padding-left: 2rem;
}

#cta {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
    border-radius: 24px;
    margin: 4rem auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

#cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
}

#cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

#cta .cta-button {
    background: var(--white);
    color: var(--gradient-start);
    font-size: 1.1rem;
    padding: 1rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#cta .cta-button:hover {
    background: var(--accent-color);
    color: var(--white);
}

footer {
    background: var(--text-primary);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

footer p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-right {
        gap: 1rem;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #table-of-contents ul {
        flex-direction: column;
        align-items: center;
    }
    
    #cta h2 {
        font-size: 2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card.featured {
        transform: scale(1);
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        text-align: center;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}