/* ============================================================
   Xquip v2 Design System - Global polish layer
   Applied on top of customer.css across every page.
   ============================================================ */

/* --- Buttons --- */
.btn, button.btn, a.btn,
.send-btn, .crew-btn, .link-btn, .xq-btn-hero {
    border-radius: 10px;
    font-weight: 600;
    transition: transform 180ms, background 180ms, border-color 180ms;
    letter-spacing: 0.01em;
}
.btn:hover, a.btn:hover, button.btn:hover {
    transform: translateY(-1px);
}

/* Primary action buttons — teal accent */
button[type="submit"],
input[type="submit"],
.btn-primary,
.cat-btn-primary {
    background: var(--teal);
    color: #060a10;
    border: 1px solid var(--teal);
    border-radius: 10px;
    padding: 0.7rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 180ms, background 180ms;
    letter-spacing: 0.01em;
}
button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-primary:hover,
.cat-btn-primary:hover {
    background: #2de5d2;
    transform: translateY(-1px);
}

/* Ghost / secondary buttons */
.btn-ghost, .cat-btn-ghost {
    background: transparent;
    color: #d8dde8;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 0.65rem 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 180ms, border-color 180ms;
}
.btn-ghost:hover, .cat-btn-ghost:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.25);
}

/* --- Page hero band (for non-homepage pages) --- */
.xq-page-hero {
    padding: 3rem 2rem 2.5rem;
    background:
        radial-gradient(ellipse at top, rgba(31,212,196,0.08) 0%, transparent 70%),
        linear-gradient(180deg, #0a0f1a 0%, #05080f 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.xq-page-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.6rem;
    letter-spacing: -0.01em;
}
.xq-page-hero p {
    font-size: 1.05rem;
    color: #b8c0cf;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.55;
}
@media (max-width: 720px) {
    .xq-page-hero { padding: 2rem 1.25rem 1.75rem; }
}

/* --- Cards --- */
.card, .cat-section, .crew-card {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    transition: border-color 220ms;
}
.card:hover, .crew-card:hover { border-color: rgba(255,255,255,0.15); }

/* Equipment card tweaks */
.eq-card {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: transform 220ms, border-color 220ms;
    background: rgba(255,255,255,0.02);
}
.eq-card:hover {
    transform: translateY(-3px);
    border-color: rgba(31,212,196,0.35);
}

/* --- Form inputs --- */
input[type="text"]:not(.cat-input):not(.search-input),
input[type="email"]:not(.cat-input),
input[type="password"]:not(.cat-input),
input[type="url"]:not(.cat-input),
input[type="number"]:not(.cat-input),
input[type="tel"]:not(.cat-input),
select:not(.cat-input),
textarea:not(.cat-input) {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #d8dde8;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 160ms, background 160ms;
}
input[type="text"]:not(.cat-input):focus,
input[type="email"]:not(.cat-input):focus,
input[type="password"]:not(.cat-input):focus,
input[type="url"]:not(.cat-input):focus,
input[type="number"]:not(.cat-input):focus,
input[type="tel"]:not(.cat-input):focus,
select:not(.cat-input):focus,
textarea:not(.cat-input):focus {
    outline: none;
    border-color: rgba(31,212,196,0.45);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(31,212,196,0.1);
}

/* --- Headings consistency --- */
main h1, .container > h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.01em;
    color: #fff;
}
main h2 {
    font-size: 1.3rem;
    color: #fff;
}

/* --- Subtle section spacing --- */
.container, main.container {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

/* --- Labels --- */
label {
    color: #9ba4b5;
    font-size: 0.88rem;
    font-weight: 500;
}

/* --- Pricing / price badges --- */
.price, .eq-card-price, .listing-price, .crew-rate {
    font-weight: 700;
    color: #ffcc4d;
}

/* --- Tab buttons (dashboard) --- */
.tab-btn {
    border-radius: 10px;
    transition: background 160ms, color 160ms;
}

/* --- Chips / pills --- */
.pill, .skill-pill, .crew-skill, .eq-tag {
    border-radius: 999px;
}

/* --- Modal overlays consistency --- */
.cat-modal-overlay, .reel-modal {
    backdrop-filter: blur(4px);
}
.cat-modal, .reel-modal-content {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- Subtle link polish --- */
a { transition: color 160ms; }

/* --- Consistent container width --- */
main.container, .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   Restyle legacy .hero / .hero-inner blocks to match homepage
   ============================================================ */
section.hero {
    padding: 3rem 2rem 2.5rem !important;
    background:
        radial-gradient(ellipse at top, rgba(31,212,196,0.08) 0%, transparent 70%),
        linear-gradient(180deg, #0a0f1a 0%, #05080f 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    text-align: center !important;
    border-radius: 0 !important;
}
section.hero .hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
section.hero .eyebrow {
    display: inline-block !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--teal) !important;
    font-weight: 600 !important;
    padding: 0.35rem 0.9rem !important;
    border: 1px solid rgba(31,212,196,0.3) !important;
    background: rgba(31,212,196,0.1) !important;
    border-radius: 999px !important;
    margin-bottom: 1.25rem !important;
    font-family: "Inter", sans-serif !important;
}
section.hero h1 {
    font-family: "Inter", sans-serif !important;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 0.6rem !important;
    letter-spacing: -0.01em !important;
    line-height: 1.15 !important;
    text-transform: none !important;
}
section.hero h1 span {
    color: #fff !important;
}
section.hero p {
    font-size: 1.05rem !important;
    color: #b8c0cf !important;
    max-width: 640px;
    margin: 0 auto !important;
    line-height: 1.55;
}
