/* Minimal custom overrides for the SagaSites Builder */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Custom utility for dynamic theme color from PHP inline styles */
.theme-bg {
    background-color: var(--theme-color);
}
.theme-text {
    color: var(--theme-color);
}
.theme-border {
    border-color: var(--theme-color);
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.95) 100%);
}

/* High-Tech Beveled Form Elements & Layouts */
.beveled-panel {
    background: linear-gradient(135deg, rgba(30,41,59,1) 0%, rgba(15,23,42,1) 100%);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(0,0,0,0.5);
    border-bottom: 2px solid rgba(0,0,0,0.8);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), inset 0 2px 5px rgba(255,255,255,0.05);
}

.beveled-btn {
    border-top: 1px solid rgba(255,255,255,0.4);
    border-bottom: 3px solid rgba(0,0,0,0.6);
    box-shadow: 0 5px 15px var(--theme-color), inset 0 2px 4px rgba(255,255,255,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.beveled-btn:active {
    border-top: 1px solid rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transform: translateY(2px) !important;
    box-shadow: 0 2px 5px var(--theme-color), inset 0 4px 8px rgba(0,0,0,0.5);
}

/* FX Nav Effects */
.nav-fx {
    display: inline-block;
}
.nav-fx::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--theme-color);
    transition: all 0.3s ease-out;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--theme-color);
}
.nav-fx:hover::after, .nav-fx.active::after {
    width: 100%;
}

/* Silicon Signature Modal */
.silicon-signature-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(2,6,23,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 20px var(--theme-color), inset 0 2px 5px rgba(255,255,255,0.05);
    color: #fff;
    min-width: 320px;
    z-index: 100000;
    border-radius: 12px;
    animation: signatureFadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes signatureFadeIn {
    0% { opacity: 0; transform: translate(-50%, -40%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
