/* Professional Themes for Website Maker */

/* --- Modern SaaS --- */
.theme-modern_saas {
    --color-surface: #ffffff;
    --color-surface-glass: rgba(255, 255, 255, 0.7);
    --color-border: rgba(0, 0, 0, 0.08);
}

.theme-modern_saas .site-header {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.theme-modern_saas .card,
.theme-modern_saas .calculator-widget {
    background: var(--color-surface-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- Professional Corporate --- */
.theme-professional_corporate {
    --color-surface: #f8fafc;
    --color-border: #e2e8f0;
}

.theme-professional_corporate h1,
.theme-professional_corporate h2 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.theme-professional_corporate .site-header {
    background: var(--color-primary);
    color: white;
}

.theme-professional_corporate .site-header .nav__item {
    color: rgba(255, 255, 255, 0.8);
}

.theme-professional_corporate .site-header .nav__item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Minimalist Neo --- */
.theme-minimal_neo {
    --color-surface: #ffffff;
    --color-border: #000000;
}

.theme-minimal_neo .card,
.theme-minimal_neo .calculator-widget {
    border: 2px solid var(--color-border);
    border-radius: 0;
    box-shadow: 4px 4px 0px var(--color-border);
}

.theme-minimal_neo .btn {
    border: 2px solid var(--color-border);
    border-radius: 0;
    box-shadow: 2px 2px 0px var(--color-border);
}

/* --- Creative Vibrant --- */
.theme-creative_vibrant {
    --color-surface: #ffffff;
    --color-border: rgba(0, 0, 0, 0.05);
}

.theme-creative_vibrant .site-body {
    background: linear-gradient(135deg, var(--color-background) 0%, #ffffff 100%);
}

.theme-creative_vibrant .card,
.theme-creative_vibrant .calculator-widget {
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(var(--color-primary), 0.1);
}

/* --- Shared Visual Utilities --- */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.btn--glow:hover {
    box-shadow: 0 0 20px var(--color-primary);
}

/* --- Energy & Patterns --- */
:root {
    --energy-scale: 0.6s;
    --energy-easing: cubic-bezier(0.23, 1, 0.32, 1);
}

.bg-pattern-dots {
    background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-pattern-grid {
    background-image:
        linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 40px 40px;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.theme-stylist_generated .site-body {
    background-attachment: fixed;
}