:root {
    --color-primary: #4D00FF;
    --color-secondary: #FF00E6;
    --color-accent: #00FFF2;
    --color-bg: #02040A;
    --color-text: #F0F5FF;
    --font-main: 'DM Sans', -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 16px;
    --shadow: 0 8px 32px rgba(77, 0, 255, 0.15);
    --spacing: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

a:hover {
    opacity: 0.85;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.section,
.hero-content,
.order-form,
.policy-content {
    max-width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 4, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.burger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
}

.burger.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.9rem;
    color: rgba(240, 245, 255, 0.9);
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    max-width: 1023px;
    height: 100vh;
    background: rgba(2, 4, 10, 0.98);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1001;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile.open {
    right: 0;
}

.nav-mobile .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0;
}

@media (max-width: 1023px) {
    .burger {
        display: flex;
    }
    .nav {
        display: none;
    }
}

@media (min-width: 1024px) {
    .nav-mobile {
        display: none;
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(77, 0, 255, 0.12), transparent),
                radial-gradient(ellipse 60% 40% at 70% 70%, rgba(255, 0, 230, 0.08), transparent),
                radial-gradient(ellipse 50% 30% at 20% 50%, rgba(0, 255, 242, 0.06), transparent);
    pointer-events: none;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-text), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(240, 245, 255, 0.85);
    margin-bottom: 2rem;
}

.hero-product {
    margin: 2rem auto;
}

.hero-product img {
    margin: 0 auto;
}

.hero-badges,
.hero-rating,
.hero-pricing {
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    background: rgba(77, 0, 255, 0.2);
    border: 1px solid rgba(77, 0, 255, 0.4);
    border-radius: var(--radius);
    color: var(--color-accent);
}

.stars {
    color: #FFD700;
}

.rating-text {
    font-size: 0.85rem;
    margin-left: 0.5rem;
    color: rgba(240, 245, 255, 0.8);
}

.price-old {
    text-decoration: line-through;
    color: rgba(240, 245, 255, 0.5);
    margin-right: 0.75rem;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.hero-desc {
    font-size: 0.95rem;
    color: rgba(240, 245, 255, 0.9);
    margin: 1.5rem 0 2rem;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.order-form input,
.order-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
    color: rgba(240, 245, 255, 0.5);
}

.order-form input:focus,
.order-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(77, 0, 255, 0.2);
}

.order-form input.error {
    border-color: #e63946;
}

.gdpr-check {
    align-items: flex-start;
    color: rgba(240, 245, 255, 0.85);
}

.gdpr-check input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.cta-btn {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    color: var(--color-bg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.cta-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(77, 0, 255, 0.4);
}

.cta-btn:active {
    transform: translateY(0);
}

.section {
    padding: 4rem 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: rgba(240, 245, 255, 0.85);
}

.features-grid,
.benefits-grid,
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(77, 0, 255, 0.3);
    box-shadow: var(--shadow);
}

.feature-icon,
.benefit-card h3,
.ingredient-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.75rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.desc-content {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.desc-content p {
    margin-bottom: 1rem;
}

.product-showcase {
    text-align: center;
}

.product-showcase img {
    margin: 0 auto;
}

.usage-list {
    max-width: 560px;
    margin: 0 auto;
    padding-left: 1.5rem;
}

.usage-list li {
    margin-bottom: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.review-card cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(240, 245, 255, 0.7);
}

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

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 0;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 0 1.25rem;
    color: rgba(240, 245, 255, 0.85);
}

.section-cta {
    text-align: center;
}

.section-cta .cta-btn {
    display: inline-block;
}

.section-disclaimer {
    padding: 2rem 1.5rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(240, 245, 255, 0.6);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer {
    margin-top: auto;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer .container {
    text-align: center;
}

.copyright {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-nav a {
    font-size: 0.9rem;
}

.footer-address,
.footer-email {
    font-size: 0.85rem;
    color: rgba(240, 245, 255, 0.7);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(2, 4, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem var(--spacing);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s;
}

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

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.cookie-accept,
.cookie-reject,
.cookie-save {
    padding: 0.6rem 1rem;
    font-family: var(--font-main);
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-accept {
    background: var(--color-primary);
    color: white;
    border: none;
}

.cookie-reject {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-settings {
    background: transparent;
    color: var(--color-accent);
    border: none;
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-inner {
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 420px;
    width: 90%;
}

.cookie-settings-inner h3 {
    margin-bottom: 1rem;
}

.cookie-settings-inner label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cookie-save {
    margin-top: 1rem;
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
}

.policy-page main,
.thank-you main {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: 60vh;
}

.policy-page h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.policy-page h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.policy-page p,
.policy-page li {
    margin-bottom: 0.75rem;
}

.policy-page ul {
    padding-left: 1.5rem;
}

.error-msg {
    font-size: 0.8rem;
    color: #e63946;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }
   
}
