:root {
    --color-primary: #0A0E1A;
    --color-secondary: #F2F4F7;
    --color-accent: #FFB800;
    --color-background: #FFFFFF;
    --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 999px;
    --shadow: 0 4px 24px rgba(10, 14, 26, 0.06);
    --shadow-lg: 0 12px 48px rgba(10, 14, 26, 0.08);
    --spacing: 1.5rem;
    --max-width: 1200px;
    --header-height: 72px;
    --burger-breakpoint: 1023px;
}

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

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-primary);
    background: var(--color-background);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 14, 26, 0.06);
}

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

.brand {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.nav-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

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

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    aria-label: Open menu;
}

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

.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.burger-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: var(--burger-breakpoint);
    height: 100vh;
    background: var(--color-background);
    z-index: 200;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
}

.burger-menu.is-open {
    transform: translateX(0);
}

.burger-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.4);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.burger-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.burger-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.burger-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

    .burger-btn {
        display: flex;
    }
}

main {
    flex: 1;
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: rgba(10, 14, 26, 0.6);
    margin-bottom: 2rem;
}

.hero {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.03) 0%, rgba(242, 244, 247, 0.5) 50%, rgba(255, 255, 255, 1) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(10, 14, 26, 0.8);
    margin-bottom: 0.75rem;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(10, 14, 26, 0.7);
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

.rating-text {
    font-weight: 600;
}

.rating-count {
    font-size: 0.9rem;
    color: rgba(10, 14, 26, 0.5);
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    background: var(--color-secondary);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.hero-price-block {
    margin-bottom: 1.5rem;
}

.hero-price-old {
    font-size: 1rem;
    text-decoration: line-through;
    color: rgba(10, 14, 26, 0.5);
    margin-right: 0.75rem;
}

.hero-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 360px;
}

.form-row label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.required {
    color: #c00;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(10, 14, 26, 0.15);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(10, 14, 26, 0.4);
}

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

.form-row.error input,
.form-row.error textarea {
    border-color: #c00;
}

.gdpr-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(10, 14, 26, 0.8);
    cursor: pointer;
}

.gdpr-label input {
    margin-top: 0.25rem;
}

.gdpr-label a {
    color: var(--color-accent);
    text-decoration: underline;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-accent) 0%, #e6a600 100%);
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.35);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    max-width: 280px;
    height: auto;
}

.legal-disclaimer {
    font-size: 0.8rem;
    color: rgba(10, 14, 26, 0.6);
    max-width: 600px;
    margin-top: 2rem;
    padding: 1rem;
    border-left: 3px solid var(--color-secondary);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.matrix-card {
    padding: 2rem 1.5rem;
    background: var(--color-background);
    border: 1px solid rgba(10, 14, 26, 0.06);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.matrix-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.matrix-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.matrix-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.matrix-card p {
    font-size: 0.95rem;
    color: rgba(10, 14, 26, 0.7);
}

.balance-content,
.ritual-content,
.standards-content {
    max-width: 720px;
}

.balance-text,
.ritual-content p,
.standards-content p {
    margin-bottom: 1rem;
    color: rgba(10, 14, 26, 0.8);
}

.composition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.composition-item {
    padding: 2rem;
    border-left: 2px solid var(--color-accent);
    background: rgba(242, 244, 247, 0.5);
    border-radius: 0 8px 8px 0;
    transition: background 0.2s;
}

.composition-item:hover {
    background: rgba(242, 244, 247, 0.8);
}

.composition-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.composition-item p {
    font-size: 0.95rem;
    color: rgba(10, 14, 26, 0.7);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.proof-card {
    padding: 2rem;
    background: var(--color-secondary);
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.proof-card:hover {
    box-shadow: var(--shadow);
}

.proof-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.proof-author {
    font-size: 0.9rem;
    color: rgba(10, 14, 26, 0.6);
}

.contact-content {
    max-width: 480px;
}

.contact-email {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: opacity 0.2s;
}

.contact-email:hover {
    opacity: 0.8;
}

.footer {
    margin-top: auto;
    padding: 2rem var(--spacing);
    background: var(--color-primary);
    color: var(--color-secondary);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

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

.footer-links a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 1.5rem 2rem;
    z-index: 300;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cookie-consent.is-visible {
    transform: translateY(0);
}

.cookie-consent[aria-hidden="false"] {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

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

.btn-cookie {
    padding: 0.6rem 1.25rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: opacity 0.2s;
    border: none;
}

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

.btn-reject {
    background: transparent;
    color: var(--color-secondary);
    border: 1px solid rgba(242, 244, 247, 0.4);
}

.btn-settings {
    background: rgba(242, 244, 247, 0.2);
    color: var(--color-secondary);
}

.cookie-settings {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(242, 244, 247, 0.2);
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #e6a600);
    width: 0%;
    z-index: 999;
    transition: width 0.05s linear;
}

.thank-you-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.thank-you-section {
    text-align: center;
    max-width: 520px;
}

.thank-you-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thank-you-section p {
    margin-bottom: 1rem;
    color: rgba(10, 14, 26, 0.8);
}

.thank-you-section .btn-cta {
    margin-top: 1.5rem;
}

.legal-page main {
    padding: 4rem 0;
}

.legal-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.legal-page h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
    margin-bottom: 1rem;
    color: rgba(10, 14, 26, 0.85);
}

.legal-page ul {
    margin-left: 1.5rem;
}

@media (max-width: 900px) {
    .matrix-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .composition-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

.section {
    opacity: 0;
    transform: translateY(24px);
}

.section.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.matrix-card,
.composition-item,
.proof-card {
    opacity: 0;
    transform: translateY(16px);
}

.matrix-card.animate-in,
.composition-item.animate-in,
.proof-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
