/* styles.css */
:root {
    --bg-color: #0B0C10;
    --surface-color: rgba(31, 40, 51, 0.4);
    --surface-light: rgba(69, 162, 158, 0.1);
    --text-primary: #C5C6C7;
    --text-heading: #FFFFFF;
    --accent-primary: #66FCF1;
    --accent-secondary: #45A29E;
    
    --purple-glow: rgba(138, 43, 226, 0.3);
    --blue-glow: rgba(30, 144, 255, 0.2);

    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-backdrop: blur(12px);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--text-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navbar */
.navbar {
    padding: 2rem 5%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000;
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: rgba(197, 198, 199, 0.9);
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.glow-1 {
    width: 60vw;
    height: 60vw;
    background: var(--purple-glow);
    top: -10vw;
    right: -10vw;
}

.glow-2 {
    width: 50vw;
    height: 50vw;
    background: var(--blue-glow);
    bottom: -20vw;
    left: -10vw;
}

/* Sections Common */
section {
    padding: 8rem 0;
    position: relative;
}

section h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.2rem;
}

/* Fade in animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

.feature-card {
    background: var(--surface-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(31, 40, 51, 0.6);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--surface-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Section */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-secondary);
    padding-left: 1.5rem;
}

.about p {
    margin-bottom: 1.5rem;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(69, 162, 158, 0.1), rgba(138, 43, 226, 0.1));
    border: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.glass-orb {
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
    box-shadow: inset 0 0 40px rgba(102, 252, 241, 0.2), 0 0 40px rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

/* Library Section */
.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.audio-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.audio-card.featured {
    background: linear-gradient(135deg, rgba(31, 40, 51, 0.6), rgba(69, 162, 158, 0.1));
    border: 1px solid rgba(102, 252, 241, 0.3);
}

.card-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-working {
    background: rgba(255, 255, 255, 0.1);
    color: #CCC;
}

.status-live {
    background: rgba(102, 252, 241, 0.2);
    color: var(--accent-primary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.audio-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-right: 4rem;
}

.audio-card p {
    color: rgba(197, 198, 199, 0.8);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.play-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    background: var(--surface-light);
    color: var(--text-heading);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-card.featured .play-btn {
    background: var(--accent-primary);
    color: #000;
}

.play-btn:not(.disabled):hover {
    background: var(--accent-secondary);
    color: #FFF;
}

.play-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Support Section */
.support-container {
    text-align: center;
    max-width: 800px;
    background: radial-gradient(circle at center, rgba(31, 40, 51, 0.8) 0%, transparent 100%);
    padding: 4rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.support h2 {
    margin-bottom: 1.5rem;
}

.support p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn-large {
    margin-top: 2rem;
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 5%;
}

.legal-content h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.legal-content p, .legal-content li {
    margin-bottom: 1rem;
    color: rgba(197, 198, 199, 0.9);
}

.legal-content ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
}

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

.footer-links a {
    color: rgba(197, 198, 199, 0.7);
    transition: color 0.3s;
}

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

.footer-copyright {
    color: rgba(197, 198, 199, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .layout-split {
        grid-template-columns: 1fr;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}
