:root {
    --color-primary: #1C1C1E;
    --color-secondary: #8E8E93;
    --color-accent: #7D52FF;
    --color-bg: #F2F2F7;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 9999px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 2px 12px rgba(125, 82, 255, 0.08);
    --spacing: 1.5rem;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(242, 242, 247, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(142, 142, 147, 0.2);
    padding: 1rem var(--spacing);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    height: 36px;
    width: auto;
}

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

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

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

.nav-list a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

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

.burger span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}



.burger-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-bg);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.burger-menu.active {
    transform: translateX(0);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.burger-menu ul {
    list-style: none;
}

.burger-menu a {
    display: block;
    padding: 1rem 0;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(142, 142, 147, 0.2);
}

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

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

    .burger {
        display: flex;
    }

    .burger-overlay {
        display: block;
    }
}

main {
    flex: 1;
    padding-top: 70px;
}

.section {
    padding: 4rem 0;
}

.section.alt-bg {
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, var(--color-bg) 100%);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.section-intro {
    color: var(--color-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(125, 82, 255, 0.08) 0%, rgba(125, 82, 255, 0.02) 40%, transparent 70%);
    pointer-events: none;
}

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

.hero-left h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-desc {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.badge-trust {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent), #9d7bff);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

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

.hero-rating .stars {
    color: #f5a623;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--color-secondary);
    font-size: 1rem;
}

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

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

.order-form input,
.order-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(142, 142, 147, 0.3);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.order-form textarea {
    border-radius: 1rem;
    min-height: 80px;
    resize: vertical;
}

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

.gdpr-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-secondary);
    cursor: pointer;
}

.gdpr-check a {
    color: var(--color-accent);
}

.cta-btn {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform 0.2s;
}

.cta-btn:hover {
    background: #6b45e6;
    transform: translateY(-1px);
}

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

.hero-right {
    display: flex;
    justify-content: center;
}

.hero-right img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 32px rgba(125, 82, 255, 0.15));
}

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

.card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(242,242,247,0.9));
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

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

.card:hover .card-pulse {
    opacity: 0.6;
}

.card-pulse {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.3;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

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

.card p {
    color: var(--color-secondary);
    font-size: 0.95rem;
}

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

.synergy-card {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.6), transparent);
    border-radius: 1.5rem;
    transition: transform var(--transition);
}

.synergy-card:hover {
    transform: translateY(-2px);
}

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

.synergy-card h3 {
    margin-bottom: 0.5rem;
}

.synergy-card p {
    color: var(--color-secondary);
}

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

.flow-step {
    text-align: center;
}

.flow-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.flow-step h3 {
    margin-bottom: 0.5rem;
}

.flow-step p {
    color: var(--color-secondary);
    font-size: 0.95rem;
}

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

.protocol-card {
    padding: 1.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 1rem;
}

.protocol-card h3 {
    margin-bottom: 0.5rem;
}

.protocol-card p {
    color: var(--color-secondary);
}

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

.validation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.validation-badge {
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-list {
    max-width: 640px;
}

.faq-item {
    border-bottom: 1px solid rgba(142, 142, 147, 0.2);
}

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

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

.faq-trigger::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--color-secondary);
    transition: transform var(--transition);
}

.faq-trigger[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-content p {
    padding: 0 0 1.25rem;
    color: var(--color-secondary);
}

.contact-info {
    max-width: 400px;
}

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

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

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

.disclaimer {
    padding: 2rem 0;
    background: rgba(142, 142, 147, 0.1);
    font-size: 0.85rem;
    color: var(--color-secondary);
}

.disclaimer p {
    max-width: 720px;
}

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

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

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

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 0.85rem;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: white;
    padding: 1.5rem var(--spacing);
    z-index: 2000;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

.cookie-consent.hidden {
    display: none !important;
}

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

.cookie-content p {
    flex: 1;
    min-width: 200px;
}

.cookie-content a {
    color: var(--color-accent);
}

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

.cookie-consent button {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cookie-accept {
    background: var(--color-accent);
    color: white;
}

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

.cookie-settings {
    background: rgba(255,255,255,0.1);
    color: white;
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-settings-modal.hidden {
    display: none !important;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 400px;
    width: 100%;
}

.modal-content h3 {
    margin-bottom: 1rem;
}

.cookie-option {
    margin-bottom: 1rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.save-settings {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

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

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 0;
    }

    .hero-right img {
        max-width: 240px;
    }

    .order-form {
        max-width: 100%;
    }

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

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

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

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legal-page p, .legal-page ul {
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.legal-page .date {
    font-style: italic;
    margin-bottom: 2rem;
}
