:root {
    --primary-color: #618685;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-color: #ffffff;
    --text-muted: #e0e0e0;
    --accent-color: #80d8ff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    background-color: #0f172a;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
}

/* Background Blobs for Liquid Effect */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #4c1d95;
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #0ea5e9;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: #db2777;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Main Glass Container */
.glass-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 40px;
    max-width: 900px;
    width: 90%;
    margin: 40px 20px;
}

/* Typography */
h1,
h2 {
    font-weight: 700;
    color: #fff;
    margin-top: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(to right, #fff, #80d8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

p,
li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

strong {
    color: #fff;
    font-weight: 600;
}

/* Audio Player */
.audio-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

audio {
    width: 100%;
    max-width: 500px;
    margin-bottom: 15px;
    filter: invert(1) hue-rotate(180deg);
    /* Simple trick to make default player look better on dark bg */
}

.controls button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 10px 20px;
    margin: 0 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
}

/* Table Styles - Glass Cards */
.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    /* Spacing between rows for card effect */
}

thead {
    display: none;
    /* Hidden by default for mobile-first approach, shown on desktop */
}

tr {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: block;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

tr:hover {
    transform: scale(1.01);
    background: rgba(255, 255, 255, 0.08);
}

td {
    display: block;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

td:last-child {
    border-bottom: none;
}

td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Table Styles */
@media (min-width: 768px) {
    thead {
        display: table-header-group;
    }

    tr {
        display: table-row;
        background: rgba(255, 255, 255, 0.03);
    }

    th {
        text-align: left;
        padding: 20px;
        color: var(--accent-color);
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 2px solid var(--glass-border);
    }

    td {
        display: table-cell;
        padding: 20px;
        border-bottom: none;
        vertical-align: top;
    }

    td::before {
        display: none;
    }

    /* Rounded corners for rows */
    tr td:first-child {
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
    }

    tr td:last-child {
        border-top-right-radius: 16px;
        border-bottom-right-radius: 16px;
    }
}

/* Tips Section */
.tips {
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.tips ul {
    list-style: none;
    padding: 0;
}

.tips li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.tips li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 2px;
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

.video-link {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    font-weight: 600;
}

.video-link:hover {
    background: var(--accent-color);
    color: #000;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .glass-container {
        padding: 20px;
        margin: 20px 10px;
        width: 100%;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}

.infographic-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pdf-container {
    width: 100%;
    height: 600px;
    /* Default height */
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    display: none;
    /* Hidden by default (mobile first) */
}

@media (min-width: 768px) {
    .pdf-container {
        display: block;
        /* Show on desktop */
    }
}

.pdf-embed {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-mobile-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    padding: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .pdf-mobile-link {
        display: none;
        /* Hide button on desktop */
    }
}




/* New Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.8;
    margin-bottom: 10px;
    line-height: 1;
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.scientific-explanation {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
}

.example-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    border-left: 3px solid var(--accent-color);
}