:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --text-primary: #0a0a0a;
    --text-secondary: #505050;
    --text-tertiary: #808080;
    --accent-primary: #0a0a0a;
    --accent-secondary: #404040;
    --border-color: #e5e5e5;
    --border-hover: #d0d0d0;
}

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

body {
    font-family: 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mono {
    font-family: 'Roboto Mono', monospace;
    font-weight: 300;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

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

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

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

.nav-cta {
    padding: 0.625rem 1.5rem;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--text-secondary);
    transform: translateY(-2px);
    color: var(--bg-primary) !important;
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem;
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    background: url('rosegold.png');
    background-size: 200% 200%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(0.75) contrast(1.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--text-primary);
}

.button-primary {
    background-color: var(--text-primary);
    color: #ffffff;
}

.button-primary:hover {
    background-color: var(--text-secondary);
    border-color: var(--text-secondary);
    transform: scale(1.05);
}

.button-secondary {
    background-color: transparent;
    color: var(--text-primary);
}

.button-secondary:hover {
    background-color: var(--bg-tertiary);
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Email Opt-in Form */
.email-form {
    max-width: 500px;
    margin: 2rem auto;
}

.email-form form {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

.email-input {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: 'Zalando Sans', sans-serif;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.2s;
    background-color: var(--bg-primary);
}

.email-input:focus {
    outline: none;
    border-color: var(--text-primary);
    background-color: var(--bg-primary);
}

.email-submit {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Zalando Sans', sans-serif;
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.email-submit:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
}

.form-privacy {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .email-form form {
        flex-direction: row;
    }

    .email-input {
        flex: 1;
    }

    .email-submit {
        flex-shrink: 0;
    }
}

/* Section Headers */
.section {
    padding: 6rem 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
    background: url('rosegold.png');
    background-size: 200% 200%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(0.75) contrast(1.2);
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Page Content - for content pages */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    background: url('rosegold.png');
    background-size: 200% 200%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(0.75) contrast(1.2);
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-content ul, .page-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-content a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: var(--text-secondary);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.benefit-card {
    padding: 2.5rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-image {
    width: calc(100% + 5rem);
    height: 220px;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Science Timeline */
.timeline {
    max-width: 900px;
    margin: 4rem auto 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 200px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}

.timeline-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-time {
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Protocol Section */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (max-width: 1200px) {
    .protocol-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.protocol-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 0;
    overflow: hidden;
}

.protocol-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.protocol-content {
    padding: 2.5rem;
}

.protocol-number {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.protocol-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.protocol-card ul {
    list-style: none;
    margin-top: 1rem;
}

.protocol-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.protocol-card li:before {
    content: "→";
    position: absolute;
    left: 0;
}

/* Pricing Section */
#pricing {
    padding: 3rem 0;
}

#pricing .section-header {
    margin-bottom: 2rem;
}

#pricing .section-title {
    margin-bottom: 0.5rem;
}

#pricing .section-description {
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border-color: var(--text-primary);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-stretch: expanded;
}

.pricing-period {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    padding-left: 1.75rem;
    position: relative;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 600;
}

/* Testimonial Section */
.testimonial {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    background-color: var(--bg-tertiary);
    border-radius: 1.5rem;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-stretch: expanded;
}

.cta-content p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* CTA with Image */
.cta-with-image {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-image {
    flex: 0 0 400px;
}

.cta-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.cta-with-image .cta-content {
    flex: 1;
    text-align: left;
    max-width: none;
    margin: 0;
}

.cta-with-image .email-form {
    margin: 2rem 0;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    height: 80px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-image {
        height: 250px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 2rem;
        min-height: calc(100vh - 100px);
    }

    .nav-links {
        display: none;
    }

    .benefits-grid,
    .protocol-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .cta-with-image {
        flex-direction: column;
        gap: 3rem;
    }

    .cta-image {
        flex: 0 0 auto;
        max-width: 300px;
    }

    .cta-with-image .cta-content {
        text-align: center;
    }
}
