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

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --accent: #ec4899;
    --bg-dark: #0f0a1f;
    --bg-gradient-start: #1a0b2e;
    --bg-gradient-end: #0f0a1f;
    --bg-card: rgba(36, 28, 56, 0.6);
    --bg-card-hover: rgba(36, 28, 56, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border: rgba(139, 92, 246, 0.2);
    --glow: rgba(139, 92, 246, 0.4);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(15, 10, 31, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    font-weight: 500;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

nav a:hover {
    color: var(--primary-light);
}

nav a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-buttons .btn {
    padding: 16px 40px;
    font-size: 18px;
}

.hero-visual {
    margin-top: 60px;
    position: relative;
}

.demo-screenshot {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 100px 60px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 0 60px rgba(139, 92, 246, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-size: 24px;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.demo-screenshot::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.demo-screenshot::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(139, 92, 246, 0.3));
}

.feature-icon-img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.3));
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon-img {
    transform: scale(1.1) translateY(-4px);
}

.step-icon-img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.3));
    transition: transform 0.3s;
}

.step:hover .step-icon-img {
    transform: scale(1.15) rotate(5deg);
}

.demo-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    filter: drop-shadow(0 12px 24px rgba(139, 92, 246, 0.2));
}

.platform-icon-img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.3));
    transition: transform 0.3s;
}

.platform-card:hover .platform-icon-img {
    transform: scale(1.15);
}

.security-icon-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.3));
    transition: transform 0.3s;
}

.security-item:hover .security-icon-img {
    transform: scale(1.1) rotate(-5deg);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-toggle {
    display: inline-block;
    color: var(--primary-light);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
}

.feature-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(4px);
}

.feature-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, margin-top 0.4s;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-details.active {
    max-height: 500px;
    margin-top: 16px;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.step {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s;
    position: relative;
}

.step::after {
    content: '→';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--primary);
    opacity: 0.3;
}

.step:last-child::after {
    display: none;
}

.step:hover {
    transform: scale(1.05);
    border-color: var(--primary-light);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
}

.step-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.step h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-secondary);
}

/* Demo Tabs */
.demo-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.demo-tab {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.demo-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
}

.demo-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.demo-details ul {
    list-style: none;
}

.demo-details li {
    padding: 12px 20px;
    margin-bottom: 12px;
    background: var(--bg-card);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.demo-details li:hover {
    transform: translateX(8px);
    background: var(--bg-card-hover);
    border-left-color: var(--primary-light);
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(20px);
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.platform-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.platform-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.platform-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Security Grid */
.security-grid {
    display: grid;
    gap: 24px;
    margin-top: 60px;
}

.security-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
    transition: all 0.3s;
}

.security-item:hover {
    transform: translateX(8px);
    border-color: var(--primary-light);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
}

.security-icon {
    font-size: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.security-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.security-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

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

.faq-icon {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

/* Mobile Navigation */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(15, 10, 31, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav a {
    display: block;
    padding: 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary-light);
    padding-left: 24px;
}

.mobile-nav .header-buttons {
    margin-top: 20px;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
    }
    
    .step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    nav, .header-buttons {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Footer mobile centering */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section-mobile-center {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .footer-section-mobile-center h4 {
        text-align: center;
        margin-bottom: 16px;
    }
    
    .footer-section-mobile-center p {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-section-mobile-center ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        width: 100%;
    }
    
    .footer-section-mobile-center li {
        text-align: center;
        margin-bottom: 12px;
    }
    
    .footer-section-mobile-center a {
        display: inline-block;
        text-align: center;
    }
    
    /* Disable hover shift on mobile */
    .footer-section-mobile-center a:hover {
        padding-left: 0 !important;
    }
}

/* Cookie Banner & Legal Popup */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(36, 28, 56, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
    transition: bottom 0.4s;
    z-index: 2000;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.cookie-banner p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.7;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-accept,
.cookie-decline,
.cookie-settings {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    white-space: nowrap;
    line-height: 1;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cookie-decline,
.cookie-settings {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border);
}

.cookie-accept:hover,
.cookie-decline:hover,
.cookie-settings:hover {
    transform: translateY(-2px);
}

.legal-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.legal-popup.show {
    display: flex;
}

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.legal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.legal-close:hover {
    color: var(--primary-light);
    background: rgba(139, 92, 246, 0.1);
    transform: rotate(90deg);
}

/* Footer */
footer {
    background: rgba(15, 10, 31, 0.8);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

/* Cookie banner responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 16px;
    }
    
    .cookie-banner h3 {
        font-size: 18px;
    }
    
    .cookie-banner p {
        font-size: 14px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-accept,
    .cookie-decline,
    .cookie-settings {
        width: 100%;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section .container {
    max-width: 800px;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
}

/* CTA Section responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
}

/* Legal Card & Cookie Settings Page */
.legal-card {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.legal-back {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* Cookie Settings Page */
.cookie-settings-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.cookie-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-category-header h3 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cookie-category-header p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--text-secondary);
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
    border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background: white;
}

.toggle-switch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-switch.disabled .toggle-slider {
    cursor: not-allowed;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    justify-content: center;
}

/* Legal Pages */
.legal-page {
    min-height: 80vh;
    padding: 80px 0;
    background: var(--bg-primary);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 40px 0;
    }
    
    .legal-header h1 {
        font-size: 24px;
    }
    
    .legal-header p {
        font-size: 14px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toggle-switch {
        align-self: flex-end;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions .btn {
        width: 100%;
    }
}

/* Password Input with Toggle */
.password-input-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.password-input-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s;
}

.password-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.3s;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--primary);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    pointer-events: none;
}

.password-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Auth Form Styles */
.auth-page {
    min-height: 80vh;
    padding: 80px 0;
    background: var(--bg-primary);
}

.auth-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input:not([type="checkbox"]) {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:not([type="checkbox"]):focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.form-group small {
    color: var(--text-secondary);
    font-size: 13px;
}

.form-footer {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
}

.auth-alt {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
}

.auth-back {
    text-align: center;
    margin-top: 16px;
}

.link {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .auth-page {
        padding: 40px 0;
    }
    
    .auth-container {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .auth-header h1 {
        font-size: 28px;
    }
}

