/* ==========================================================================
   LEINBURGERS — ELEGANT DOMAIN PARKING PAGE STYLES
   Aesthetic: Luxury Dark Gourmet, Glassmorphism, Warm Ember Accents
   ========================================================================== */

:root {
    --bg-dark: #0A090D;
    --bg-card: rgba(22, 20, 28, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-gold: rgba(229, 169, 60, 0.3);
    
    --text-main: #ECEBF0;
    --text-muted: #9E9AA8;
    --text-dark: #0D0C10;
    
    --gold-primary: #E5A93C;
    --gold-light: #FCE698;
    --amber-glow: #FF6B00;
    --amber-dark: #B84700;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 0 25px rgba(229, 169, 60, 0.25);
    --shadow-amber: 0 0 35px rgba(255, 107, 0, 0.3);
}

/* Reset & Global Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Canvas & Ambient Glow */
#emberCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-glow {
    position: fixed;
    top: -20%;
    left: 30%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(229, 169, 60, 0.12) 0%, rgba(255, 107, 0, 0.05) 50%, rgba(0,0,0,0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: ambientPulse 8s ease-in-out infinite alternate;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

@keyframes ambientPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(-3%, 4%); opacity: 1; }
}

/* App Main Container */
.app-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Typography Helpers */
.font-accent {
    font-family: var(--font-heading);
}

.text-gold { color: var(--gold-primary); }
.text-amber { color: var(--amber-glow); }
.text-white { color: #FFFFFF; }

.gold-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-light) 40%, var(--gold-primary) 80%, var(--amber-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Site Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border-gold);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-primary);
    animation: dotBlink 2s infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
    text-decoration: none;
}

.pill-btn.primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--amber-glow) 100%);
    color: var(--text-dark);
    box-shadow: var(--shadow-amber);
}

.pill-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.45);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
}

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

.pill-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--glass-border-gold);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.logo-wrapper {
    margin-bottom: 0.2rem;
}

.brand-logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(229, 169, 60, 0.3));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.04);
}

.text-logo-fallback {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.subtitle-tag {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    font-weight: 700;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.7;
}

/* Feature Pills Row */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.3rem;
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(10px);
}

.feature-pill:hover:not(.status-only) {
    background: rgba(229, 169, 60, 0.12);
    border-color: var(--glass-border-gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.feature-pill.status-only {
    cursor: default;
    opacity: 0.75;
}

/* Hero Visual Frame */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border-gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), var(--shadow-amber);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-frame:hover {
    transform: translateY(-6px) scale(1.02);
}

.visual-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(10,9,13,0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

.visual-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.visual-frame:hover .visual-img {
    transform: scale(1.08);
}

.visual-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 3;
    background: rgba(10, 9, 13, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-gold);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Footer */
.site-footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.sep {
    opacity: 0.3;
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 4, 7, 0.82);
    backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #14121A;
    border: 1px solid var(--glass-border-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    padding: 2.2rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-gold);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-icon {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 0.6rem;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #FFFFFF;
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Menu Teaser Items */
.menu-teaser-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.teaser-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    transition: border-color 0.25s ease;
}

.teaser-item:hover {
    border-color: var(--glass-border-gold);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.item-header h4 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 1.05rem;
}

.price-tag {
    color: var(--gold-primary);
    font-weight: 700;
}

.teaser-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Domain Info Box */
.domain-info-box {
    background: rgba(229, 169, 60, 0.05);
    border: 1px solid var(--glass-border-gold);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.info-label {
    color: var(--text-muted);
}

.badge-active {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Inquiry Form */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
    background: rgba(10, 9, 13, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold-primary);
}

.full-width {
    width: 100%;
    margin-top: 0.5rem;
}

/* Copy Email Section */
.copy-domain-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed var(--glass-border-gold);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.8rem;
    margin-top: 0.6rem;
}

#domainEmailText {
    color: var(--gold-light);
    font-weight: 600;
}

.copy-btn {
    background: rgba(229, 169, 60, 0.15);
    border: 1px solid var(--glass-border-gold);
    color: var(--gold-primary);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--gold-primary);
    color: var(--text-dark);
}

.modal-body-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Responsive Layout */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 0;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .visual-frame {
        max-width: 360px;
    }
}

@media (max-width: 640px) {
    .app-container {
        padding: 1.2rem 1.2rem;
    }

    .site-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
