/*
Theme Name: Bellara Coming Soon
Theme URI: https://bellara-va.com
Author: Bellara VA Services
Description: A premium, on-brand "coming soon" / maintenance theme for Bellara VA Services. Includes a working contact form that emails inquiries to your inbox. Designed to bridge the gap before the full Divi site goes live.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bellara-coming-soon
Tags: one-page, landing-page, custom-colors, custom-logo, threaded-comments, translation-ready
*/

/* =====================================================================
   BELLARA COMING SOON
   Brand: #7A63B3 · #B888C2 · #D8C4E6 · #1F1B2E · #F7F5FB · #FFFFFF
   ===================================================================== */

:root {
    --primary: #7A63B3;
    --secondary: #B888C2;
    --accent: #D8C4E6;
    --dark: #1F1B2E;
    --light: #F7F5FB;
    --white: #FFFFFF;
    --border: #EDE7F4;
    --border-light: #E5DCEF;
    --text-muted: rgba(31, 27, 46, 0.65);
    --primary-gradient: linear-gradient(90deg, #7A63B3 0%, #B888C2 100%);
}

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

html { scroll-behavior: smooth; }

body.bellara-body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dark);
    background: linear-gradient(135deg, #F7F5FB 0%, rgba(216, 196, 230, 0.55) 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", "Inter", sans-serif;
    letter-spacing: -0.01em;
    color: var(--dark);
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--dark); }

/* ---- Layout ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-bottom: 3rem;
}

/* ---- Background decoration ---- */
.bg-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(122,99,179,0.08) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.55;
    pointer-events: none;
}
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.bg-blob-1 {
    top: -10rem; right: -8rem;
    width: 36rem; height: 36rem;
    background: rgba(184, 136, 194, 0.35);
}
.bg-blob-2 {
    top: 30%; left: -12rem;
    width: 28rem; height: 28rem;
    background: rgba(122, 99, 179, 0.2);
}
.bg-blob-3 {
    bottom: -10rem; right: 20%;
    width: 22rem; height: 22rem;
    background: rgba(216, 196, 230, 0.5);
}

/* ---- Header ---- */
.page-head {
    position: relative;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.625rem; }
.brand-mark {
    width: 2.25rem; height: 2.25rem;
    border-radius: 0.75rem;
    background: var(--primary-gradient);
    color: var(--white);
    display: grid; place-items: center;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
}
.brand-text {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
}
.brand-accent { color: var(--primary); }

.head-mail {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: var(--dark);
    transition: all 0.2s;
}
.head-mail:hover { border-color: var(--primary); color: var(--primary); }
@media (min-width: 640px) { .head-mail { display: inline-flex; } }

/* ---- Hero ---- */
.hero {
    position: relative;
    padding: 3rem 1.5rem;
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) { .hero { padding: 4rem 2rem; } }
@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 1.1fr 1fr;
        padding: 5rem 2rem;
        gap: 4rem;
    }
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 8px 30px rgba(31, 27, 46, 0.04);
}
.pill-dot {
    position: relative;
    display: inline-flex;
    width: 0.5rem; height: 0.5rem;
}
.pill-dot::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.75;
    animation: ping 1.6s cubic-bezier(0,0,0.2,1) infinite;
}
.pill-dot span {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--primary);
}
@keyframes ping {
    75%, 100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
    margin-top: 1.5rem;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.under { position: relative; display: inline-block; }
.squiggle {
    position: absolute;
    left: 0; bottom: -0.4rem;
    width: 100%; height: 0.5rem;
}

.grad-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    margin-top: 1.5rem;
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 36rem;
}

.stats {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stats li { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-v {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.875rem;
    letter-spacing: -0.02em;
}
.stat-l {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: rgba(31, 27, 46, 0.55);
}

/* ---- Form card ---- */
.form-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(31, 27, 46, 0.1);
    backdrop-filter: blur(10px);
}
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }

.card-overline {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.form-title {
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.2;
}
.form-sub {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.form {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dark);
}
.field input,
.field textarea {
    width: 100%;
    background: var(--light);
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--dark);
    transition: all 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(31, 27, 46, 0.35); }
.field input:focus,
.field textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(122, 99, 179, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }

.btn-primary {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 9999px;
    padding: 1rem 1.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(122, 99, 179, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.fine-print {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(31, 27, 46, 0.5);
    text-align: center;
}

/* ---- Alerts ---- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.125rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}
.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.alert-success strong { display: block; font-weight: 600; }
.alert-success svg { flex-shrink: 0; margin-top: 1px; color: #10B981; }
.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}
.alert-error a { font-weight: 600; text-decoration: underline; }

/* ---- Footer ---- */
.page-foot {
    position: relative;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}
@media (min-width: 640px) { .page-foot { flex-direction: row; text-align: left; } }
.page-foot p {
    font-size: 0.8125rem;
    color: rgba(31, 27, 46, 0.55);
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem !important;
    font-weight: 500;
    color: var(--dark) !important;
}

/* ---- Accessibility ---- */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* WP admin bar adjustment */
.admin-bar .page-head { padding-top: 4rem; }
