/* ============================
   SAFTGENUSS – Professional Dark
   Class-only selectors
   ============================ */

/* --- CSS Variables (Dark Theme) --- */
.saftgenuss-site {
    /* Backgrounds */
    --clr-bg-primary: #0F172A;
    /* Deep Slate */
    --clr-bg-secondary: #1E293B;
    /* Lighter Slate */
    --clr-bg-accent: #334155;
    /* Interactable Surface */

    /* Text */
    --clr-text-main: #F8FAFC;
    /* White/Ghost */
    --clr-text-light: #94A3B8;
    /* Slate Grey */
    --clr-text-muted: #64748B;

    /* Accents */
    --clr-accent-primary: #10B981;
    /* Emerald Green */
    --clr-accent-glow: rgba(16, 185, 129, 0.4);
    --clr-accent-hover: #059669;

    /* Borders & Shadows */
    --clr-border: #334155;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.15);

    /* Typography */
    --ff-main: 'Inter', sans-serif;

    /* Animation */
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: var(--ff-main);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.saftgenuss-html {
    scroll-behavior: smooth;
}

/* --- Resets --- */
.saftgenuss-site *,
.saftgenuss-site *::before,
.saftgenuss-site *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.responsive-img {
    display: block;
    max-width: 100%;
}

/* --- Typography --- */
.hero-headline {
    font-family: var(--ff-main);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--clr-text-main);
}

.section-title {
    font-family: var(--ff-main);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--clr-text-main);
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--clr-accent-primary);
    border-radius: 2px;
}

.center-text .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.center-text {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    /* Slightly rounded, professional */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-bg-secondary);
    color: var(--clr-text-main);
    border: 1px solid var(--clr-border);
}

.btn-primary:hover {
    background-color: var(--clr-bg-accent);
    border-color: var(--clr-text-light);
}

.btn-accent {
    background-color: var(--clr-accent-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

/* --- Loader --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--clr-bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-text {
    font-family: var(--ff-main);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--clr-text-main);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: textPulse 2s infinite ease-in-out;
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.3;
        letter-spacing: 0.2em;
    }

    50% {
        opacity: 1;
        letter-spacing: 0.25em;
    }
}

/* --- Ad Banner --- */
.ad-banner {
    background: var(--clr-accent-primary);
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.ad-text {
    color: #FFFFFF;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Header --- */
.site-header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--clr-border);
    padding: 20px 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--ff-main);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--clr-accent-primary);
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--clr-text-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    color: var(--clr-text-main);
}

/* --- Hero Section --- */
.hero-section {
    padding: 100px 0 120px;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent 40%),
        var(--clr-bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    order: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-accent-primary);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-headline {
    font-size: 4rem;
    /* Big impact */
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-price-block {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.old-price {
    text-decoration: line-through;
    color: var(--clr-text-muted);
    font-size: 1.5rem;
}

.current-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-accent-primary);
    text-shadow: var(--shadow-glow);
}

.hero-tax-info {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    margin-bottom: 40px;
}

.hero-usp-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
}

.hero-usp-item {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--clr-text-main);
}

.hero-usp-item::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--clr-accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--clr-accent-primary);
}

.hero-image-wrapper {
    order: 2;
    position: relative;
    z-index: 10;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02) translateY(-5px);
}

/* --- About Section --- */
.about-section {
    padding: 120px 0;
    background: var(--clr-bg-primary);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 12px;
    filter: brightness(0.9);
    border: 1px solid var(--clr-border);
}

.about-text {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

/* --- Features Grid --- */
.features-section {
    padding: 120px 0;
    background: var(--clr-bg-secondary);
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: var(--clr-bg-primary);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-accent-primary);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--clr-accent-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-text-main);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 1rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* --- Design Section --- */
.design-section {
    padding: 120px 0;
    background: var(--clr-bg-primary);
}

.design-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.design-text {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    line-height: 1.8;
}

.design-image {
    border-radius: 12px;
    border: 1px solid var(--clr-border);
}

/* --- Colors Section --- */
.colors-section {
    padding: 100px 0;
    background: var(--clr-bg-secondary);
}

.colors-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.colors-intro {
    font-size: 1.2rem;
    color: var(--clr-text-light);
    margin-bottom: 40px;
}

.color-swatches {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.swatch {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    /* Rounded rects instead of circles */
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.swatch:hover {
    transform: scale(1.1);
    border-color: var(--clr-text-main);
}

.swatch-blue {
    background: #64748B;
}

/* Adjusted to Slate Blue */
.swatch-purple {
    background: #8B5CF6;
}

/* Adjusted to more Vivid Purple */
.swatch-beige {
    background: #F1F5F9;
}

/* Adjusted to Slate White */
.swatch-black {
    background: #000000;
    border: 1px solid #333;
}

.swatch-white {
    background: #FFFFFF;
}

/* --- Reviews --- */
.reviews-section {
    padding: 120px 0;
    background: var(--clr-bg-primary);
}

.reviews-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.review-card {
    padding: 32px;
    background: var(--clr-bg-secondary);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
}

.review-stars {
    color: var(--clr-accent-primary);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--clr-text-light);
    font-style: italic;
    margin-bottom: 24px;
}

.review-author {
    font-weight: 700;
    color: var(--clr-text-main);
    display: block;
    text-align: right;
}

/* --- Shipping --- */
.shipping-section {
    padding: 80px 0;
    background: var(--clr-bg-secondary);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.shipping-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.shipping-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.shipping-icon {
    font-size: 2rem;
    color: var(--clr-accent-primary);
    margin-bottom: 16px;
    display: block;
}

.shipping-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-text-main);
}

.shipping-desc {
    color: var(--clr-text-light);
    font-size: 0.9rem;
}

/* --- FAQ --- */
.faq-section {
    padding: 120px 0;
    background: var(--clr-bg-primary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--clr-bg-secondary);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--ff-main);
    font-weight: 600;
    color: var(--clr-text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-toggle {
    color: var(--clr-accent-primary);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item .faq-question.active {
    color: var(--clr-accent-primary);
}

.faq-item .faq-question.active+.faq-answer {
    padding-bottom: 24px;
}

/* --- Footer --- */
.site-footer {
    background: #0b1120;
    /* Slightly darker than main bg for contrast */
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
    text-align: left;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.footer-logo span {
    color: var(--clr-accent-primary);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    max-width: 250px;
}

.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-text-muted);
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links-list {
    list-style: none;
    padding-left: 2px;
    /* Slight indentation "thodha aage" */
}

.footer-link-item {
    margin-bottom: 12px;
}

.footer-link,
.footer-modal-btn {
    display: inline-block;
    color: var(--clr-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.footer-link:hover,
.footer-modal-btn:hover {
    color: var(--clr-accent-primary);
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align items */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.disclaimer-text {
    max-width: 600px;
    /* Narrower width like reference */
    margin: 0 auto;
    font-size: 0.7rem;
    /* Smaller font */
    color: rgba(255, 255, 255, 0.3);
    /* Lower opacity */
    line-height: 1.6;
}

.disclaimer-text p {
    margin-bottom: 8px;
}

.copyright-text {
    color: var(--clr-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Modals / Cookie --- */
.cookie-popup {
    background: var(--clr-bg-secondary);
    border: 1px solid var(--clr-accent-primary);
    box-shadow: var(--shadow-glow);
    /* ... keep pos props from prev css, just updating theme ... */
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 400px;
    padding: 24px;
    border-radius: 12px;
    z-index: 10000;
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

@media (max-width: 768px) {
    .cookie-popup {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        /* Full width minus margins */
        text-align: center;
    }

    .cookie-btns {
        justify-content: center;
    }
}

.cookie-popup.active {
    transform: translateY(0);
}

.cookie-text {
    color: var(--clr-text-main);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.cookie-btns {
    display: flex;
    gap: 12px;
}

.cookie-accept-btn {
    flex: 1;
    padding: 10px;
    background: var(--clr-accent-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.cookie-decline-btn {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--clr-border);
    color: var(--clr-text-light);
    border-radius: 6px;
    cursor: pointer;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    /* ... keep pos props ... */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--clr-bg-secondary);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-main);
    box-shadow: var(--shadow-md);
    /* ... keep pos props ... */
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .modal-container {
        width: calc(100% - 40px);
        /* Gaps on side */
        padding: 24px;
        max-height: 85vh;
        /* Taller ("lamba") */
    }
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-text-light);
    cursor: pointer;
}

/* --- Mobile Nav --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger-line {
    width: 28px;
    height: 2px;
    background: var(--clr-text-main);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    /* Drawer width */
    max-width: 80%;
    /* Safety for very small screens */
    height: 100%;
    background: var(--clr-bg-primary);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    /* Shadow for depth */
    z-index: 2000;
    padding: 80px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.mobile-nav-link {
    font-size: 1.5rem;
    color: var(--clr-text-main);
    text-decoration: none;
    font-weight: 700;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--clr-text-light);
    cursor: pointer;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .shipping-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-headline {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .hero-container,
    .about-container,
    .design-container,
    .features-container,
    .reviews-container,
    .shipping-container,
    .faq-container,
    .footer-container,
    .header-container {
        padding: 0 20px;
        /* Reduced padding for mobile */
    }

    .hero-container,
    .about-container,
    .design-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-headline {
        font-size: 2.5rem;
        /* Smaller headline */
    }

    .desktop-nav,
    .header-cta-wrapper {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-image-wrapper {
        order: -1;
        margin-bottom: 20px;
    }

    /* Refined Mobile Button */
    .mobile-menu-cta {
        text-align: center;
        width: 100%;
    }

    .mobile-cta-btn {
        width: auto;
        display: inline-block;
        padding: 12px 24px;
        font-size: 1rem;
        margin-top: 20px;
    }

    /* Image top on mobile */
    .hero-usp-list {
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .shipping-grid {
        grid-template-columns: 1fr;
        /* 1 col for very small screens or consistent stack */
        gap: 24px;
    }
}

/* Ensure mobile menu is hidden on desktop (even if active class is toggled) */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
        transform: translateX(100%) !important;
    }

    body.no-scroll {
        overflow: auto !important;
    }
}