:root {
    --navy-dark: #0f1419;
    --navy-primary: #1a2332;
    --navy-light: #253145;
    --cyan-primary: #40e0d0;
    --cyan-light: #5ff5e5;
    --cyan-glow: rgba(64, 224, 208, 0.3);
    --blue-accent: #00a8cc;
    --text-primary: #e8edf4;
    --text-secondary: #8b95a8;
    --text-muted: #5a6477;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--navy-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Sound wave bars - centered and subtle */
.soundwave-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.soundwave-bar {
    width: 8px;
    background: linear-gradient(180deg, transparent, var(--cyan-primary), transparent);
    border-radius: 4px;
    animation: soundwave 2s ease-in-out infinite;
}

@keyframes soundwave {
    0%, 100% { height: 40px; }
    50% { height: 200px; }
}

.soundwave-bar:nth-child(1) { animation-delay: 0s; }
.soundwave-bar:nth-child(2) { animation-delay: 0.1s; }
.soundwave-bar:nth-child(3) { animation-delay: 0.2s; }
.soundwave-bar:nth-child(4) { animation-delay: 0.3s; }
.soundwave-bar:nth-child(5) { animation-delay: 0.4s; }
.soundwave-bar:nth-child(6) { animation-delay: 0.5s; }
.soundwave-bar:nth-child(7) { animation-delay: 0.6s; }
.soundwave-bar:nth-child(8) { animation-delay: 0.5s; }
.soundwave-bar:nth-child(9) { animation-delay: 0.4s; }
.soundwave-bar:nth-child(10) { animation-delay: 0.3s; }
.soundwave-bar:nth-child(11) { animation-delay: 0.2s; }
.soundwave-bar:nth-child(12) { animation-delay: 0.1s; }
.soundwave-bar:nth-child(13) { animation-delay: 0s; }

/* Ensure content appears above waves */
nav, section, footer {
    position: relative;
    z-index: 10;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cyan-primary);
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px var(--cyan-glow);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan-primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--cyan-primary), var(--blue-accent));
    border: none !important;
    color: var(--navy-dark) !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 224, 208, 0.4);
    color: var(--navy-dark) !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    opacity: 0.4;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

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

.logo-container {
    margin-bottom: 3rem;
    animation: fadeInScale 1s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-container img {
    width: 350px;
    height: auto;
    filter: drop-shadow(0 20px 60px var(--cyan-glow));
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease 0.3s backwards;
}

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

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.7s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan-primary), var(--blue-accent));
    color: var(--navy-dark);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(64, 224, 208, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(64, 224, 208, 0.1);
}

/* Section Base Styles */
section {
    padding: 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 50px;
    color: var(--cyan-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--navy-light);
    border: 1px solid rgba(64, 224, 208, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-primary);
    box-shadow: 0 20px 60px rgba(64, 224, 208, 0.15);
}

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

.feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    background: var(--navy-primary);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border: 1px solid rgba(64, 224, 208, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--cyan-primary);
    margin-bottom: 1rem;
}

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

/* Demo Showcase Section */
.demo-section {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
    border-top: 1px solid rgba(64, 224, 208, 0.1);
    border-bottom: 1px solid rgba(64, 224, 208, 0.1);
}

.demo-container {
    background: var(--navy-light);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

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

.demo-step {
    text-align: center;
    padding: 2rem;
    background: var(--navy-primary);
    border-radius: 12px;
    border: 1px solid rgba(64, 224, 208, 0.1);
}

.demo-step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.2), rgba(0, 168, 204, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.demo-step h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--cyan-primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.demo-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.demo-result {
    background: var(--navy-primary);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}

.demo-result h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.result-display {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.result-box {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background: var(--navy-dark);
    border-radius: 12px;
    border: 2px solid;
}

.result-box.authentic {
    border-color: var(--cyan-primary);
}

.result-box.synthetic {
    border-color: #ff4d6d;
}

.result-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.result-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-box.authentic .result-value {
    color: var(--cyan-primary);
}

.result-box.synthetic .result-value {
    color: #ff4d6d;
}

.result-status {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Publications Section */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.publication-card {
    background: var(--navy-light);
    border: 1px solid rgba(64, 224, 208, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.publication-card:hover {
    border-color: var(--cyan-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(64, 224, 208, 0.1);
}

.pub-venue {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(64, 224, 208, 0.1);
    color: var(--cyan-primary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.publication-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.pub-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyan-primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.pub-link:hover {
    gap: 0.8rem;
}

/* News Section */
.news-section {
    background: var(--navy-primary);
    border-top: 1px solid rgba(64, 224, 208, 0.1);
}

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

.news-card {
    background: var(--navy-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(64, 224, 208, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan-primary);
    box-shadow: 0 20px 50px rgba(64, 224, 208, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--navy-primary);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 1.5rem;
}

.news-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

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

.news-source {
    color: var(--cyan-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 4rem 4rem 2rem;
    border-top: 1px solid rgba(64, 224, 208, 0.1);
    text-align: center;
}

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

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: var(--cyan-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(64, 224, 208, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Under Construction Page Styles */
.construction-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.construction-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.construction-container h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.construction-container p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 0 1.5rem;
    }

    .logo-container img {
        width: 250px;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .demo-flow {
        grid-template-columns: 1fr;
    }

    .result-display {
        flex-direction: column;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
