/* Base Styles */
:root {
    /* Colors */
    --primary-bg: #08111d;
    --secondary-bg: #111b29;
    --card-bg: #1a2332;
    --text-primary: #ffffff;
    --text-secondary: #a0b3d7;
    --text-muted: #6b8ab7;
    --accent-blue: #6191ff;
    --accent-green: #36d399;
    --accent-red: #f87272;
    --border-color: #2a3b54;

    /* Font sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.5rem;
    --font-2xl: 2rem;
    --font-3xl: 3rem;
    --font-4xl: 4rem;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-blue);
}

button {
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.highlight {
    color: var(--accent-blue);
}

/* Header styles */
header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 32px;
    width: auto;
}

header h1 {
    font-size: var(--font-xl);
    font-weight: 700;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul li a {
    font-size: var(--font-md);
    font-weight: 500;
}

.cta-button {
    background-color: var(--accent-blue);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #4a7eff;
    color: white;
}

/* Hero section */
.hero {
    padding: 6rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-bg);
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: var(--font-4xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-text h2 span {
    display: block;
    color: var(--accent-blue);
}

.hero-text h3 {
    font-size: var(--font-2xl);
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(97, 145, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(97, 145, 255, 0.3);
    margin-top: 2rem;
}

.feature-badge i {
    color: var(--accent-blue);
    font-size: var(--font-lg);
}

.feature-badge p {
    color: var(--text-primary);
    font-weight: 500;
}

.hero-image {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.dashboard-preview {
    flex: 2;
    position: relative;
}

.dashboard-preview img {
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-container {
    flex: 1;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    color: #333;
}

.qr-container h4 {
    font-size: var(--font-md);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.qr-container h5 {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: 1rem;
}

.qr-code {
    width: 100%;
}

/* Features section */
.features {
    padding: 6rem 2rem;
    background-color: var(--secondary-bg);
}

.features h2 {
    text-align: center;
    font-size: var(--font-3xl);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-lg);
    margin-bottom: 3rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: var(--font-2xl);
    color: var(--accent-blue);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(97, 145, 255, 0.1);
    border-radius: 50%;
}

.card-header h3 {
    font-size: var(--font-xl);
    font-weight: 600;
}

.feature-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-preview {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: auto;
}

.confidence-meter {
    margin-bottom: 1.5rem;
}

.confidence-meter p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--accent-blue);
    border-radius: 4px;
}

.recommendation {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-align: center;
}

.comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.comparison-item {
    text-align: center;
}

.comparison-item h4 {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.comparison-item p {
    font-size: var(--font-sm);
    margin-bottom: 0.5rem;
}

.comparison-item.highlight p {
    color: var(--accent-blue);
    font-weight: 600;
}

.feature-button {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: var(--font-md);
    transition: background-color 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.feature-button:hover {
    background-color: #4a7eff;
    color: white;
}

/* DNA Analysis */
.dna-analysis {
    margin-bottom: 1.5rem;
}

.dna-analysis h4 {
    font-size: var(--font-md);
    margin-bottom: 1rem;
    text-align: center;
}

.pattern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.pattern i {
    color: var(--accent-blue);
}

.pattern p {
    font-size: var(--font-sm);
}

/* Options Chain */
.options-header {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.column {
    text-align: center;
}

.column h4 {
    font-size: var(--font-sm);
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.column p {
    padding: 0.5rem 0;
    font-size: var(--font-sm);
}

.strike .strike-item {
    padding: 0.25rem 0;
    position: relative;
}

.strike-item p {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.strike-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
}

.strike-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: var(--accent-blue);
    border-radius: 4px;
    width: var(--level);
}

.strike-item.current {
    background-color: rgba(97, 145, 255, 0.1);
    border-radius: 4px;
}

.options-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: var(--font-xs);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-btn:hover {
    background-color: rgba(97, 145, 255, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Stats section */
.stats {
    padding: 4rem 2rem;
    background-color: var(--primary-bg);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: var(--font-md);
}

/* CTA section */
.cta {
    padding: 6rem 2rem;
    text-align: center;
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
}

.cta h2 {
    font-size: var(--font-2xl);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-large {
    background-color: var(--accent-blue);
    color: white;
    padding: 1rem 2.5rem;
    font-size: var(--font-lg);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.3s ease;
}

.cta-button-large:hover {
    background-color: #4a7eff;
}

/* Footer */
footer {
    background-color: var(--primary-bg);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.link-column {
    min-width: 150px;
}

.link-column h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: var(--font-md);
    font-weight: 600;
}

.link-column a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

.link-column a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--font-sm);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: var(--font-lg);
}

.social-links a:hover {
    color: var(--accent-blue);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .feature-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero {
        padding: 4rem 1.5rem;
    }
    
    .hero-text h2 {
        font-size: var(--font-3xl);
    }
    
    .hero-text h3 {
        font-size: var(--font-xl);
    }
    
    .hero-image {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: var(--font-2xl);
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
