/* 
   Professional Base Design System 
   Designed for: Website Builder Editorial Engine
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* These will be overridden by tenant variables, but provide sane defaults */
    --primary: #4f46e5;
    --secondary: #fbbf24;
    --premium-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-3d: 0 30px 60px -15px rgba(0, 0, 0, 0.15), 0 15px 30px -10px rgba(0, 0, 0, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Smoothing */
html { scroll-behavior: smooth; }
.premium-layout {
    font-family: var(--font-body);
    color: #1f2937;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography - Scoped to .premium-layout to avoid breaking tenant headers/footers */
.premium-layout h1, 
.premium-layout h2, 
.premium-layout h3, 
.premium-layout h4, 
.premium-layout h5, 
.premium-layout h6 {
    font-family: var(--font-heading);
    color: #111827;
    font-weight: 700;
}

.premium-3d-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-3d);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-3d-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 60px 100px -20px rgba(0, 0, 0, 0.2), 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}



.premium-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--primary);
    filter: brightness(1.1);
}

/* Auto-styling for standard tags in Manual Files */
.premium-layout article, 
.premium-layout main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.premium-layout section {
    position: relative;
    padding: 80px 0;
}

button:not(.ignore-premium), 
.btn-primary {
    font-family: var(--font-body);
}

input, select, textarea {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 10px 16px;
    outline: none;
    transition: all 0.2s;
}

input:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: fadeInUp 0.8s ease forwards;
}

/* Grid Utilities */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
