/* Branding: Elizabeth Islamgirova (Green/Beige Theme) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary: #8da08e;
    /* Sage Green */
    --primary-dark: #6b7d6c;
    --accent: #d4c5a9;
    /* Beige/Gold */
    --accent-light: #f3efe6;

    --text-dark: #2c3e50;
    --text-light: #666666;

    --bg-body: #f9f8f4;
    /* Warm Cream */
    --bg-card: #ffffff;
    --bg-offset: #f2efe9;
    --bg-dark: #2c3e50;

    --border-color: #e0ddd5;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --container-width: 1200px;
    --transition: 0.2s ease;
    --shadow-soft: 0 5px 15px rgba(141, 160, 142, 0.1);
    --shadow-hover: 0 10px 25px rgba(141, 160, 142, 0.2);
}

body.dark-theme {
    --bg-body: #1a1a1a;
    --bg-card: #2d2d2d;
    --bg-offset: #252525;
    --text-dark: #ecf0f1;
    --text-light: #bdc3c7;
    --border-color: #444;
    --accent-light: #2d2d2d;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-theme .header,
body.dark-theme .mobile-menu {
    background: #1a1a1a;
}

body.dark-theme .pain-card {
    background: #2d2d2d;
    border-color: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    text-rendering: optimizeSpeed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.text-center {
    text-align: center;
}

.text-lead {
    font-size: 1.2rem;
    color: var(--text-light);
}

.highlight {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 45px;
    background-color: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn--outline {
    background-color: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
}

.btn--outline:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.btn--gold {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn--gold:hover {
    background-color: #c4b598;
    border-color: #c4b598;
}

/* Header */
.header {
    padding: 20px 0;
    background: #f9f8f4;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: 0.3s;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* Mobile Menu */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    left: 0;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    top: 8px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-body);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__list li {
    margin: 15px 0;
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
}

.mobile-menu__close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero__image {
    position: relative;
    z-index: 1;
}

.hero__image img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 20px 20px 0px var(--accent-light);
}

/* Common Section */
.section {
    padding: 100px 0;
}

.section--alt {
    background-color: var(--bg-offset);
}

.section--dark {
    background-color: var(--primary-dark);
    color: #fff;
}

.section--dark h2,
.section--dark p,
.section--dark h3 {
    color: #fff;
}

.section--dark .section-subtitle {
    color: var(--accent);
}

/* Grid Systems */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    justify-content: center;
    /* Fix for centering few items */
}

/* This .grid-4 is for the blob animation, not a content grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Increased min-width to avoid tiny columns */
    gap: 30px;
    justify-content: center;
    margin: 0 auto;
    /* Center the grid container itself */
    max-width: 1200px;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, #d4ebd0 0%, #f7f1e3 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 1;
    opacity: 0.6;
    animation: blob-pulse 8s ease-in-out infinite;
}

@keyframes blob-pulse {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 3;
    font-size: 1.5rem;
    color: var(--primary);
    animation: float 4s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 15%;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Rotating Stamp */
.hero-badge-stamp {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stamp-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.stamp-text svg {
    width: 100%;
    height: 100%;
}

.stamp-text text {
    font-size: 13px;
    font-family: var(--font-heading);
    fill: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.stamp-icon {
    font-size: 2rem;
    color: var(--accent);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Scroll Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: fade-up 1s ease-out 1s backwards;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
    margin-bottom: 5px;
}

.wheel {
    width: 4px;
    height: 4px;
    background: var(--text-light);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-scroll 1.5s infinite;
}

@keyframes wheel-scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* MARQUEE SECTION (Running Line) */
.marquee-section {
    background: var(--primary);
    color: #fff;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 5;
    transform: rotate(-1deg);
    margin: 50px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding-right: 50px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* FAQ SECTION */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(141, 160, 142, 0.15);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(141, 160, 142, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--primary);
    background: var(--bg-body);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--primary);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    padding: 0 30px;
    color: var(--text-light);
    opacity: 0;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 30px;
    opacity: 1;
}

/* Hero Trust Badges */
.hero__trust {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--accent-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item span {
    font-size: 0.85rem;
    line-height: 1.3;
    font-weight: 500;
    color: var(--text-dark);
}

/* Pulse Animation for CTA */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(141, 160, 142, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(141, 160, 142, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(141, 160, 142, 0);
    }
}

.btn--pulse {
    animation: pulse-gold 2s infinite;
}

/* Quote Block */
.quote-block {
    text-align: center;
    max-width: 900px;
    margin: 40px auto;
    padding: 60px 40px;
    background: #fff;
    border-radius: 4px;
    position: relative;
    border: 1px solid var(--border-color);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.6;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 20px;
}

.quote-author {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Pain Points Card */
.pain-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pain-card:hover::before {
    transform: scaleX(1);
}

.pain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.pain-card__icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: 0.3s;
}

.pain-card:hover .pain-card__icon-wrapper {
    background: var(--primary);
    transform: scale(1.1);
}

.pain-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0;
    /* Override old margin */
    transition: 0.3s;
}

.pain-card:hover .pain-icon {
    color: #fff;
}

/* Feature/Benefit List */
.benefit-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.benefit-list i {
    color: var(--primary);
    background: var(--accent-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Pillers / Methodology */
.pillers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #fff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.piller-item {
    padding: 50px;
    border-right: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.piller-item:last-child {
    border-right: none;
}

.piller-item:hover {
    background: var(--accent-light);
}

.piller-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 10px;
    line-height: 1;
}

/* Product Cards */
.card {
    background: var(--bg-card);
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 4px;
    height: 100%;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.card__price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 20px 0;
}

.card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    color: #fff;
    padding: 5px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.2s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-top: 10px;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer__socials a {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 15px;
    transition: 0.3s;
}

.footer__socials a:hover {
    color: var(--accent);
}

.footer-nav {
    margin: 30px 0;
}

.footer-nav a {
    margin: 0 15px;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.zoomable {
    cursor: zoom-in;
}

/* TOAST NOTIFICATION */
.article-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
    pointer-events: none;
    /* Click through when hidden */
}

.article-toast.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
}

@media (max-width: 500px) {
    .article-toast {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 20px;
    }
}


/* Responsive */
@media (max-width: 900px) {
    .hero__title {
        font-size: 3rem;
    }

    .pillers-grid {
        grid-template-columns: 1fr;
    }

    .piller-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .burger {
        display: block;
    }

    .logo {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    /* Mobile logo fix */
    .hero__grid,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__image {
        order: -1;
        margin-bottom: 20px;
    }

    .hero__image img {
        box-shadow: 15px 15px 0px var(--accent-light);
    }

    .section {
        padding: 60px 0;
    }

    .header {
        padding: 15px 0;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* PERFORMANCE FIXES: No animations for fade */
@keyframes fadeIn {
    from {
        opacity: 1;
    }

    to {
        opacity: 1;
    }
}

.fade-up {
    opacity: 1;
    transform: none;
    transition: none;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
    transition: none;
}