/* ===== CSS Reset and Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    font-size: 16px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a202c;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

a {
    color: #48bb78;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #38a169;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: #1a202c;
}

/* ===== Header and Navigation ===== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #4a5568;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #48bb78;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    transition: 0.3s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: #48bb78;
    color: white;
    border-color: #48bb78;
}

.btn-primary:hover {
    background: #38a169;
    border-color: #38a169;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ed8936;
    color: white;
    border-color: #ed8936;
}

.btn-secondary:hover {
    background: #dd6b20;
    border-color: #dd6b20;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #48bb78;
    border-color: #48bb78;
}

.btn-outline:hover {
    background: #48bb78;
    color: white;
}

/* ===== Hero Section ===== */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #718096;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* ===== Services Section ===== */
.services {
    padding: 4rem 0;
    background: #ffffff;
}

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

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}

.service-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
}

.service-card p {
    color: #718096;
}

/* ===== About Section ===== */
.about {
    padding: 4rem 0;
    background: #f7fafc;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

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

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ===== Recipes Section ===== */
.recipes {
    padding: 4rem 0;
    background: #ffffff;
}

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

.recipe-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-content h3 {
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.recipe-content p {
    color: #718096;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.recipe-meta span {
    font-size: 0.875rem;
    color: #48bb78;
    font-weight: 500;
}

/* ===== Advantages Section ===== */
.advantages {
    padding: 4rem 0;
    background: #f7fafc;
}

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

.advantage-item {
    text-align: center;
    padding: 2rem 1rem;
}

.advantage-number {
    width: 60px;
    height: 60px;
    background: #48bb78;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.advantage-item h3 {
    margin-bottom: 1rem;
    color: #1a202c;
}

.advantage-item p {
    color: #718096;
}

/* ===== Blog Section ===== */
.blog {
    padding: 4rem 0;
    background: #ffffff;
}

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

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    font-size: 0.875rem;
    color: #718096;
}

.blog-content h3 {
    margin-bottom: 0.5rem;
}

.blog-content h3 a {
    color: #1a202c;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #48bb78;
}

.blog-content p {
    color: #718096;
    margin-bottom: 1rem;
}

.read-more {
    color: #48bb78;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: #38a169;
}

/* ===== Subscription Section ===== */
.subscription {
    padding: 4rem 0;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.subscription-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.subscription-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.subscription-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.subscription-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ffffff;
}

.checkbox-group {
    text-align: left;
}

.checkbox-container {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    user-select: none;
    display: block;
    color: white;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.3);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #ffffff;
    border-color: #ffffff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #48bb78;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.checkbox-container a:hover {
    color: white;
}

/* ===== Contact Section ===== */
.contact {
    padding: 4rem 0;
    background: #f7fafc;
}

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

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #718096;
}

.contact-item a {
    color: #48bb78;
}

.social-links h4 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons a {
    padding: 0.5rem 1rem;
    background: #48bb78;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #38a169;
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
    background: #000;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #a0aec0;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #48bb78;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form .form-group {
    margin-bottom: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #4a5568;
    border-radius: 8px;
    background: #2d3748;
    color: white;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: #a0aec0;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #48bb78;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a202c;
    color: white;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    color: #a0aec0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #1a202c;
}

.close {
    color: #a0aec0;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #4a5568;
}

.modal-body {
    padding: 1.5rem;
}
.modal-body .checkmark {
    border: 2px solid rgb(72 187 120);
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category p {
    margin-top: 0.5rem;
    color: #718096;
    font-size: 0.875rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

/* ===== Page-specific Styles ===== */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Page Styles ===== */
.about-detailed {
    padding: 4rem 0;
    background: #ffffff;
}

.about-story {
    margin-bottom: 4rem;
}

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

.about-story p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.mission-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.values {
    margin-bottom: 4rem;
}

.values h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.value-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #48bb78;
}

.value-item h4 {
    color: #48bb78;
    margin-bottom: 0.5rem;
}

.team {
    margin-bottom: 4rem;
}

.team h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #48bb78;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #718096;
    font-weight: 500;
}

.certifications {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
}

.cert-list {
    list-style: none;
    margin-top: 1rem;
}

.cert-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.cert-list li:before {
    content: "✓";
    color: #48bb78;
    font-weight: bold;
    margin-right: 1rem;
}

/* ===== Services Page Styles ===== */
.services-detailed {
    padding: 4rem 0;
    background: #ffffff;
}

.services-detailed .container > div:not(:last-child) {
    margin-bottom: 4rem;
}

.service-detail {
    margin-bottom: 4rem;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.service-detail.reverse .service-content {
    flex-direction: row-reverse;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    margin-bottom: 1rem;
}

.service-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.service-text h4 {
    color: #48bb78;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.service-text ul {
    margin-bottom: 1.5rem;
}

.service-text ul li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.service-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.feature {
    background: #f7fafc;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.feature strong {
    color: #48bb78;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 4rem 0;
    background: #f7fafc;
}

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

.pricing-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 3px solid #48bb78;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Najpopularniejszy";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #48bb78;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 1rem;
    color: #1a202c;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #48bb78;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 4rem 0;
    background: #ffffff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f7fafc;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item h4 {
    background: #48bb78;
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-item h4:hover {
    background: #38a169;
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    color: #4a5568;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ===== Thank You Page ===== */
.thank-you {
    padding: 8rem 0 4rem;
    background: #f7fafc;
    text-align: center;
}

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

.thank-you-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.thank-you h1 {
    color: #48bb78;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

.next-steps {
    margin: 3rem 0;
}

.next-steps h3 {
    margin-bottom: 2rem;
    color: #1a202c;
}

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

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #48bb78;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.step p {
    color: #718096;
    margin: 0;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.additional-resources {
    padding: 4rem 0;
    background: white;
}

.additional-resources h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.resource-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.resource-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

/* ===== Legal Pages ===== */
.legal-page {
    padding: 8rem 0 4rem;
    background: #ffffff;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.last-updated {
    text-align: center;
    color: #718096;
    margin-bottom: 3rem;
    font-style: italic;
}

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

.legal-content section {
    margin-bottom: 3rem;
}

.legal-content h2 {
    color: #1a202c;
    border-bottom: 2px solid #48bb78;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    color: #48bb78;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.legal-content ol li,
.legal-content ul li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.legal-content ol ol,
.legal-content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cookies-table th,
.cookies-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cookies-table th {
    background: #48bb78;
    color: white;
    font-weight: 600;
}

.cookies-table tr:last-child td {
    border-bottom: none;
}

/* ===== Article Pages ===== */
.article-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.article-date,
.article-category {
    background: #48bb78;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-category {
    background: #ed8936;
}

.article-header h1 {
    text-align: center;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-excerpt {
    text-align: center;
    font-size: 1.25rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.article-hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    max-height: 400px;
}

.article-content {
    padding: 4rem 0;
    background: white;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
    border-bottom: 2px solid #48bb78;
    padding-bottom: 0.5rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #48bb78;
}

.article-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.article-body li strong {
    color: #1a202c;
}

/* ===== Article Special Boxes ===== */
.info-box,
.tip-box,
.warning-box,
.benefits-box,
.safety-box,
.supplement-plan,
.meal-plan,
.budget-example,
.final-tips,
.mistakes-box,
.equipment-list,
.final-tip {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.tip-box {
    background: #edf7ed;
    border-color: #48bb78;
    border-left: 4px solid #48bb78;
}

.warning-box {
    background: #fef5e7;
    border-color: #ed8936;
    border-left: 4px solid #ed8936;
}

.benefits-box {
    background: #e6fffa;
    border-color: #38b2ac;
    border-left: 4px solid #38b2ac;
}

.safety-box {
    background: #fed7d7;
    border-color: #e53e3e;
    border-left: 4px solid #e53e3e;
}

.info-box h4,
.tip-box h4,
.warning-box h4,
.benefits-box h4,
.safety-box h4,
.supplement-plan h4,
.meal-plan h4,
.budget-example h4,
.final-tips h4,
.mistakes-box h4,
.equipment-list h4,
.final-tip h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-box ul,
.tip-box ul,
.warning-box ul,
.benefits-box ul,
.safety-box ul,
.supplement-plan ul,
.meal-plan ul,
.budget-example ul,
.final-tips ul,
.mistakes-box ul,
.equipment-list ul,
.final-tip ul {
    margin-bottom: 0;
}

.info-box p,
.tip-box p,
.warning-box p,
.benefits-box p,
.safety-box p {
    margin-bottom: 1rem;
}

.info-box p:last-child,
.tip-box p:last-child,
.warning-box p:last-child,
.benefits-box p:last-child,
.safety-box p:last-child {
    margin-bottom: 0;
}

/* ===== Article Navigation ===== */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 2rem;
}

.article-share h4 {
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    background: #48bb78;
    color: white;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #38a169;
    transform: translateY(-1px);
}

/* ===== Related Articles ===== */
.related-articles {
    padding: 4rem 0;
    background: #f7fafc;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .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-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .service-content {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .article-navigation {
        flex-direction: column;
        text-align: center;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .recipes-grid,
    .blog-grid,
    .advantages-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid,
    .resources-grid,
    .team-stats,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .service-card,
    .recipe-card,
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .subscription-form {
        padding: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .article-body {
        padding: 0 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body p {
        font-size: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .cookies-table {
        font-size: 0.875rem;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .modal,
    .article-navigation,
    .related-articles {
        display: none !important;
    }
    
    .article-content {
        padding: 1rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    p, ul, ol {
        page-break-inside: avoid;
    }
    
    .info-box,
    .tip-box,
    .warning-box,
    .benefits-box,
    .safety-box {
        border: 2px solid #333;
        page-break-inside: avoid;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #48bb78;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-outline {
        border-color: #000;
        color: #000;
    }
}

/* ===== Loading States ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #48bb78;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

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