:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #8b5cf6;
    --secondary-color: #06b6d4;
    --accent-glow: rgba(139, 92, 246, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Glow Effect */
.background-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 50%);
    z-index: -1;
    animation: pulse-glow 10s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    padding-top: calc(1.5rem + 200px);
    margin-top: -200px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: -200px;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.logo a:hover {
    color: var(--primary-color);
}

.logo-icon {
    height: 1.5rem;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary.small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--glass-bg);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 5% 4rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

/* Glass Card Visual - Removed */
.hero-visual {
    width: 100%;
    max-width: 1200px;
}

/* Table Styles adapted for Hero */
.hero-table th,
.hero-table td {
    padding: 1rem;
    font-size: 0.9rem;
}

.hero-table .bar {
    height: 4px;
}

.hero-table .value {
    font-size: 0.8rem;
}

.hero-table .idea-name {
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 2rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, background 0.3s;
}

.glass-panel:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.glass-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.table-container {
    width: 100%;
    max-width: 1000px;
    overflow-x: auto;
}

.idea-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    /* Add outer border to define the shape */
}

.idea-table th,
.idea-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
}

.idea-table th:last-child,
.idea-table td:last-child {
    border-right: none;
}

.ellipsis {
    text-align: center !important;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.empty-row td {
    height: 3rem;
}

.idea-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.idea-table tr:last-child td {
    border-bottom: none;
}

.idea-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.idea-name {
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.idea-name i {
    color: var(--primary-color);
    opacity: 0.8;
}

.score-value {
    font-weight: 700;
    font-size: 1rem;
}

.score-high {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.score-medium {
    background: linear-gradient(135deg, #eab308, #facc15);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.score-low {
    background: linear-gradient(135deg, #ef4444, #f87171);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.total-score {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* How It Works */
.how-it-works {
    padding: 2rem 5%;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-number {
    font-size: 6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -4.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
    z-index: 1;
}

.step h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

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

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer .version {
    color: var(--text-muted);
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.scroll-reveal {
    opacity: 1;
    /* Changed from 0 to ensure visibility */
    transform: translateY(0);
    /* Changed from 30px */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified for demo */
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .connector {
        display: none;
    }
}