/* =========================================================
   AudioHawg - Main Stylesheet
   ========================================================= */

:root {
    --ah-dark: #101114;
    --ah-dark-2: #181a1f;
    --ah-dark-3: #22252c;
    --ah-light: #f7f8fa;
    --ah-white: #ffffff;
    --ah-text: #1f2430;
    --ah-text-muted: #6b7280;
    --ah-border: #d9dee7;
    --ah-accent: #f5b301;
    --ah-accent-hover: #df9f00;
    --ah-accent-soft: #fff3c7;
    --ah-link: #dca300;
    --ah-link-hover: #b98700;
    --ah-success: #198754;
    --ah-danger: #dc3545;
    --ah-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    --ah-shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.16);
    --ah-radius: 1rem;
    --ah-radius-sm: 0.75rem;
    --ah-transition: all 0.2s ease-in-out;
}

/* =========================================================
   Base
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--ah-light);
    color: var(--ah-text);
    line-height: 1.6;
}

a {
    color: var(--ah-link);
    transition: var(--ah-transition);
}

a:hover {
    color: var(--ah-link-hover);
}

img {
    max-width: 100%;
    height: auto;
}

#site-wrapper {
    min-height: 100vh;
}

/* =========================================================
   Header / Navbar
   ========================================================= */

.site-header {
    z-index: 1030;
}

.ah-logo-img {
    height: 78px;
    width: auto;
    max-width: 100%;
    display: block;
}

.ah-tagline {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.2px;
}

.ah-navbar {
    background: linear-gradient(135deg, var(--ah-dark), var(--ah-dark-2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-brand {
    color: var(--ah-white) !important;
    letter-spacing: 0.2px;
}

.ah-logo-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ah-accent), #ffd256);
    color: #111;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(245, 179, 1, 0.22);
    flex-shrink: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: var(--ah-transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--ah-white);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar .btn {
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
    font-weight: 600;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    border-radius: 999px;
    transition: var(--ah-transition);
}

.btn-warning {
    background-color: var(--ah-accent);
    border-color: var(--ah-accent);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: var(--ah-accent-hover) !important;
    border-color: var(--ah-accent-hover) !important;
}

.btn-outline-light:hover {
    color: var(--ah-dark);
}

/* =========================================================
   Main Content
   ========================================================= */

main#main-content {
    width: 100%;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    background: linear-gradient(180deg, #14161b 0%, #0f1014 100%);
}

.site-footer .ah-logo-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.80);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--ah-white);
    text-decoration: none;
}

.footer-links li + li {
    margin-top: 0.45rem;
}

/* =========================================================
   Cards / Panels
   ========================================================= */

.ah-card,
.card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--ah-radius);
    box-shadow: var(--ah-shadow);
}

.ah-panel {
    background: var(--ah-white);
    border-radius: var(--ah-radius);
    box-shadow: var(--ah-shadow);
}

/* =========================================================
   Forms
   ========================================================= */

.form-control,
.form-select {
    min-height: 50px;
    border-radius: 0.9rem;
    border: 1px solid var(--ah-border);
    padding: 0.8rem 0.95rem;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(245, 179, 1, 0.7);
    box-shadow: 0 0 0 0.25rem rgba(245, 179, 1, 0.15);
}

.form-label {
    margin-bottom: 0.45rem;
}

.form-text {
    color: var(--ah-text-muted);
}

/* =========================================================
   Modals
   ========================================================= */

.ah-modal {
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--ah-shadow-lg);
}

.ah-modal .modal-header,
.ah-modal .modal-body,
.ah-modal .modal-footer {
    background: var(--ah-white);
}

.ah-modal .modal-header {
    padding: 1.4rem 1.4rem 0.25rem;
}

.ah-modal .modal-body {
    padding: 1.25rem 1.4rem 1.5rem;
}

.ah-modal .btn-close {
    box-shadow: none;
}

.modal-content {
    border: 0;
}

/* =========================================================
   Alerts
   ========================================================= */

.alert {
    border: 0;
    border-radius: 1rem;
    box-shadow: var(--ah-shadow);
}

/* =========================================================
   Utility Helpers
   ========================================================= */

.text-light-emphasis {
    color: rgba(255, 255, 255, 0.68) !important;
}

.bg-soft-accent {
    background: var(--ah-accent-soft);
}

.shadow-soft {
    box-shadow: var(--ah-shadow);
}

.rounded-4 {
    border-radius: 1rem !important;
}

.rounded-5 {
    border-radius: 1.5rem !important;
}

/* =========================================================
   Placeholder Hero / Sections
   ========================================================= */

.ah-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(245, 179, 1, 0.20), transparent 30%),
        linear-gradient(135deg, #171920 0%, #20242d 55%, #121318 100%);
    color: var(--ah-white);
    border-radius: 0 0 2rem 2rem;
}

.ah-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.ah-section {
    padding: 4rem 0;
}

.ah-section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.ah-section-subtitle {
    color: var(--ah-text-muted);
    max-width: 760px;
}

/* =========================================================
   Dashboard / Account Placeholder Styles
   ========================================================= */

.ah-dashboard-card {
    background: var(--ah-white);
    border-radius: var(--ah-radius);
    box-shadow: var(--ah-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ah-stat {
    padding: 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 767.98px) {
    .ah-logo-img {
        height: 72px;
    }
}

@media (max-width: 575.98px) {
    .ah-logo-img {
        height: 66px;
    }
}

@media (max-width: 991.98px) {
    .ah-tagline {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.04);
    }

    .navbar .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .ah-section {
        padding: 3rem 0;
    }

    .ah-modal .modal-header {
        padding: 1.2rem 1.1rem 0.2rem;
    }

    .ah-modal .modal-body {
        padding: 1rem 1.1rem 1.25rem;
    }

    .site-footer {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .ah-logo-placeholder {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .navbar-brand .fs-4 {
        font-size: 1.1rem !important;
    }
}