
:root {
    --bg: #f9f9f7;
    --text: #2a2a2a;
    --muted: #5a5a5a;
    --primary: #5d8a7a;
    --accent: #a7c4b5;
    --surface: #f0f3f0;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient: linear-gradient(135deg, #5d8a7a 0%, #a7c4b5 100%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header */
.header {
    background-color: var(--bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

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

.cta {
    background-color: var(--primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.cta:hover {
    background-color: #1a4fd3;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text);
    margin: 4px 0;
    transition: var(--transition);
}

/* Hero */
.hero {
    background: var(--gradient);
    padding: 6rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('http://static.photos/nature/1200x630/42') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #1a4fd3;
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background-color: rgba(41, 98, 255, 0.1);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--text);
}

.btn-outline:hover {
    background-color: rgba(34, 34, 34, 0.1);
    transform: translateY(-1px);
}

/* Blog listing */
.blog-section {
    padding: 3rem 0;
}

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

.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card a {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface);
    overflow: hidden;
}

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

.blog-card-content {
    padding: 1rem 1.25rem 1.25rem;
}

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(93, 138, 122, 0.12);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.blog-card h2 {
    font-size: 1.125rem;
    line-height: 1.3;
    margin: 0.25rem 0 0.5rem;
}

.blog-card p {
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.blog-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

/* Article tables */
.article-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.article-table th,
.article-table td {
    border: 1px solid rgba(0,0,0,0.12);
    padding: 0.75rem;
    text-align: left;
}

.article-table thead th {
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
}

/* FAQ accordion */
.faq-accordion details {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
    margin: 0.5rem 0;
    box-shadow: var(--shadow);
}

.faq-accordion summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    outline: none;
}

.faq-accordion summary::-webkit-details-marker { display: none; }

.faq-accordion summary::after {
    content: '▸';
    float: right;
    transition: transform 0.2s ease;
    color: var(--muted);
}

.faq-accordion details[open] summary::after {
    transform: rotate(90deg);
}

.faq-accordion details > *:not(summary) {
    margin-top: 0.5rem;
    color: var(--muted);
}

/* Benefits */
.benefits {
    padding: 4rem 0;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.benefit-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card p {
    color: var(--muted);
    line-height: 1.7;
}
.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Posts */
.featured-posts {
    padding: 4rem 0;
    background-color: var(--surface);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.post-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
}

.post-card::before {
    content: '';
    display: block;
    padding-top: 56.25%;
    background: var(--surface) url('http://static.photos/wellness/640x360') center/cover;
}

.post-card:nth-child(2)::before {
    background-image: url('http://static.photos/nature/640x360/1');
}

.post-card:nth-child(3)::before {
    background-image: url('http://static.photos/minimal/640x360/2');
}

.post-card a {
    display: block;
    padding: 1.5rem;
    color: var(--text);
    text-decoration: none;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.post-card a {
    display: block;
    padding: 1.5rem;
    color: var(--text);
    text-decoration: none;
}

.post-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.post-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 500;
}

/* Nigelle Spotlight */
.nigelle-spotlight {
    padding: 4rem 0;
    text-align: center;
}

.nigelle-spotlight h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.nigelle-card {
    background-color: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 600px;
    margin: 0 auto;
}

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

.nigelle-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Newsletter */
.newsletter {
    padding: 4rem 0;
    background-color: var(--surface);
}

.newsletter h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
}

.small-text {
    font-size: 0.875rem;
    color: var(--muted);
    text-align: center;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--text);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

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

.footer-col h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
