/* Allele Landing Page Styles */
/* AI/Tech Theme: Blues and Greens */

:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --accent-green: #10b981;
    --light-green: #34d399;
    --dark-bg: #0f172a;
    --medium-bg: #1e293b;
    --light-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
}

nav {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--light-green);
}

main {
    margin-top: 80px;
}

section {
    padding: 4rem 0;
}

.container, .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-green) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-light);
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-container h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--light-green);
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background-color: var(--accent-green);
    color: var(--text-light);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.btn.primary:hover:not(.disabled) {
    background-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.4);
}

.btn.primary.disabled {
    background-color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

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

.btn.secondary:hover {
    background-color: var(--light-green);
    color: var(--dark-bg);
}

#about {
    background: linear-gradient(180deg, white 0%, var(--light-bg) 100%);
}

#features {
    background-color: white;
    position: relative;
}

#pricing {
    background: linear-gradient(180deg, var(--light-bg) 0%, white 100%);
}

#docs {
    background-color: var(--light-bg);
}

#about h2, #features h2, #pricing h2, #docs h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-size: 2.75rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#about h2::after, #features h2::after, #pricing h2::after, #docs h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    border-radius: 2px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.2);
    border-color: var(--accent-green);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.feature-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-green);
    margin: 1rem 0;
    background: linear-gradient(135deg, var(--accent-green), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.docs-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.doc-link {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.doc-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.doc-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

.doc-link:hover::before {
    left: 100%;
}

footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--medium-bg) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-container h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

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

    #about h2, #features h2, #pricing h2, #docs h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    #about h2, #features h2, #docs h2 {
        font-size: 2rem;
    }

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

    .docs-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container, .hero-container {
        padding: 0 1rem;
    }

    .hero-container h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    section {
        padding: 2rem 0;
    }
}