/* ===================================================================
   Berry Good Auction Manager - Sales Landing Page
   =================================================================== */

:root {
    --gold:        #c9a84c;
    --gold-dark:   #a07530;
    --gold-light:  #e8d49c;
    --navy:        #1a2744;
    --navy-light:  #2d4a7a;
    --dark:        #212529;
    --off-white:   #f8f9fa;
}

/* ---------- GLOBAL ---------- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
}

section { padding: 80px 0; }

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: #6c757d;
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* ---------- NAVBAR ---------- */
.navbar-brand {
    font-weight: 700;
    letter-spacing: .5px;
}
.navbar-brand i { color: var(--gold); }

.navbar .nav-link {
    font-weight: 500;
    transition: color .2s;
}
.navbar .nav-link:hover { color: var(--gold) !important; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #0f1b2d 60%, #1a2744 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(201,168,76,.12) 0%, transparent 55%),
                radial-gradient(circle at 20% 80%, rgba(201,168,76,.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.hero .lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,.75);
    max-width: 560px;
}

.hero .badge-trial {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    font-size: .85rem;
    padding: .45em .9em;
    border-radius: 50px;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    border: none;
    padding: .65rem 1.75rem;
    border-radius: .375rem;
    transition: all .25s;
    text-decoration: none;
    display: inline-block;
}
.btn-gold:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,168,76,.35);
}

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
    font-weight: 600;
    padding: .6rem 1.75rem;
    border-radius: .375rem;
    background: transparent;
    transition: all .25s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-light-custom:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Hero gavel decoration */
.hero-gavel {
    position: absolute;
    right: -5%;
    bottom: -8%;
    font-size: 28rem;
    color: rgba(201,168,76,.04);
    transform: rotate(-15deg);
    pointer-events: none;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: var(--dark);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--gold);
}
.stat-item {
    text-align: center;
    color: #fff;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.stat-label {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    margin-top: .25rem;
}

/* ---------- FEATURES ---------- */
.features-section { background: var(--off-white); }

.feature-card {
    background: #fff;
    border-radius: .75rem;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
    border: 1px solid #e9ecef;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.feature-icon.gold  { background: rgba(201,168,76,.12); color: var(--gold-dark); }
.feature-icon.navy  { background: rgba(26,39,68,.1);    color: var(--navy); }
.feature-icon.green { background: rgba(25,135,84,.1);   color: #198754; }
.feature-icon.blue  { background: rgba(13,110,253,.1);  color: #0d6efd; }
.feature-icon.red   { background: rgba(220,53,69,.1);   color: #dc3545; }
.feature-icon.teal  { background: rgba(13,202,240,.1);  color: #0dcaf0; }
.feature-icon.purple { background: rgba(111,66,193,.1); color: #6f42c1; }
.feature-icon.orange { background: rgba(253,126,20,.1); color: #fd7e14; }

/* ---------- UI SHOWCASE ---------- */
.showcase-section { background: #fff; }

.ui-mockup {
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    border: 1px solid #dee2e6;
}

.ui-mockup-bar {
    background: var(--dark);
    padding: .5rem 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.ui-mockup-bar .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.ui-mockup-bar .dot.red   { background: #ff5f57; }
.ui-mockup-bar .dot.yellow { background: #febc2e; }
.ui-mockup-bar .dot.green  { background: #28c840; }
.ui-mockup-bar .url {
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    margin-left: .75rem;
}

.ui-mockup-body {
    background: #f4f5f7;
    padding: 1.25rem;
    min-height: 260px;
}

/* Mini UI elements inside mockups */
.mock-nav {
    background: var(--dark);
    height: 32px;
    border-radius: .25rem;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    padding: 0 .75rem;
}
.mock-nav span {
    display: inline-block;
    width: 44px; height: 8px;
    background: rgba(255,255,255,.2);
    border-radius: 4px;
    margin-right: .4rem;
}
.mock-nav span:first-child {
    width: 70px;
    background: var(--gold);
}

.mock-card {
    background: #fff;
    border-radius: .35rem;
    padding: .65rem;
    margin-bottom: .5rem;
    border: 1px solid #e3e6ea;
}

.mock-row {
    display: flex;
    gap: .4rem;
    margin-bottom: .4rem;
}
.mock-input {
    flex: 1;
    height: 24px;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: .2rem;
}
.mock-btn {
    height: 24px;
    width: 52px;
    background: var(--gold);
    border-radius: .2rem;
}
.mock-btn-primary {
    height: 24px;
    width: 52px;
    background: #0d6efd;
    border-radius: .2rem;
}
.mock-btn-dark {
    height: 24px;
    width: 52px;
    background: var(--navy);
    border-radius: .2rem;
}

.mock-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: .25rem;
    overflow: hidden;
}
.mock-table th {
    background: #e9ecef;
    padding: .25rem .4rem;
    font-size: .6rem;
    color: #6c757d;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    text-align: left;
}
.mock-table td {
    background: #fff;
    padding: .25rem .4rem;
    font-size: .6rem;
    border-bottom: 1px solid #f0f0f0;
}
.mock-table .text-success { color: #198754 !important; font-weight: 600; }
.mock-table .text-danger  { color: #dc3545 !important; font-weight: 600; }

.mock-badge {
    display: inline-block;
    padding: .1em .4em;
    border-radius: .2rem;
    font-size: .55rem;
    font-weight: 600;
}
.mock-badge.paid     { background: #d1e7dd; color: #0f5132; }
.mock-badge.unpaid   { background: #f8d7da; color: #842029; }
.mock-badge.partial  { background: #fff3cd; color: #664d03; }

.mock-label {
    font-size: .5rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ---------- HOW-IT-WORKS ---------- */
.how-section { background: var(--off-white); }

.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-connector {
    display: none;
}
@media (min-width: 768px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 28px;
        left: calc(50% + 40px);
        width: calc(100% - 80px);
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 6px, transparent 6px, transparent 12px);
    }
}

/* ---------- SAVINGS ---------- */
.savings-section {
    background: var(--off-white);
}
.savings-section .table th { font-weight: 600; font-size: .82rem; }
.savings-section .table td { vertical-align: middle; }

/* ---------- PRICING ---------- */
.pricing-section { background: #fff; }

.pricing-card {
    background: #fff;
    border-radius: .75rem;
    border: 2px solid #e9ecef;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.pricing-card.featured {
    border-color: var(--gold);
    position: relative;
}
.pricing-card.featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gold);
    color: var(--navy);
    text-align: center;
    font-weight: 700;
    font-size: .75rem;
    padding: .35rem;
    letter-spacing: 1px;
}

.pricing-header {
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
}
.pricing-card.featured .pricing-header {
    padding-top: 3.25rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.pricing-price .currency { font-size: 1.5rem; vertical-align: super; }
.pricing-price .period { font-size: .9rem; color: #6c757d; font-weight: 400; }

.pricing-body {
    padding: 0 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pricing-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.pricing-body li {
    padding: .55rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .92rem;
}
.pricing-body li:last-child { border-bottom: none; }
.pricing-body li i.fa-check { color: #198754; margin-top: .2rem; }
.pricing-body li i.fa-times { color: #ccc; margin-top: .2rem; }
.pricing-body li.disabled { color: #adb5bd; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--off-white); }

.accordion-button:not(.collapsed) {
    background: rgba(201,168,76,.08);
    color: var(--navy);
    font-weight: 600;
}
.accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(201,168,76,.25);
}

/* ---------- CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0f1b2d 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201,168,76,.08) 0%, transparent 60%);
    pointer-events: none;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--dark);
    color: rgba(255,255,255,.5);
    padding: 2rem 0;
    font-size: .85rem;
}
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    section { padding: 50px 0; }
    .hero { min-height: 80vh; }
    .hero-gavel { display: none; }
    .ui-mockup-body { min-height: 200px; }
    .stats-bar .stat-number { font-size: 1.5rem; }
}
