/* ============================================================
   BigCRM Public Site Styles
   ============================================================ */

:root {
    --primary: #FF8C42;
    --primary-dark: #FF6B35;
    --dark-bg: #1a1a2e;
    --mid-bg: #16213e;
    --deep-bg: #0f3460;
    --light-bg: #f8f9ff;
    --text-dark: #2d3748;
    --text-muted: #718096;
}

/* ── Utility ─────────────────────────────────────────────── */
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.75rem 0;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.75);
}

.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
}

.navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 0.45rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 140, 66, 0.4);
    color: #fff !important;
}

/* Register page navbar */
.navbar-gradient {
    background: linear-gradient(135deg, var(--dark-bg), var(--mid-bg)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-back {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-back:hover {
    color: #fff;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--mid-bg) 50%, var(--deep-bg) 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
}

/* ── Hero Buttons ────────────────────────────────────────── */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(255, 140, 66, 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
    color: #fff !important;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff !important;
}

/* ── Section Labels ──────────────────────────────────────── */
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
}

/* ── Feature Cards ───────────────────────────────────────── */
.feature-card {
    background: #fff;
    border: 1px solid rgba(255, 140, 66, 0.1);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 140, 66, 0.14);
    border-color: rgba(255, 140, 66, 0.25);
}

.feature-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.75rem 0 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

/* ── How It Works ────────────────────────────────────────── */
.how-it-works {
    background: var(--light-bg);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35);
}

/* ── Pricing Cards ───────────────────────────────────────── */
.pricing-card {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.18);
}

.pricing-card.featured:hover {
    box-shadow: 0 14px 40px rgba(255, 140, 66, 0.28);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    white-space: nowrap;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-feature {
    font-size: 0.875rem;
    color: var(--text-dark);
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
}

.pricing-feature i.fa-check {
    color: var(--primary);
    font-size: 0.8rem;
}

.pricing-feature i.fa-xmark {
    color: #ccc;
    font-size: 0.8rem;
}

.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 140, 66, 0.4);
    color: #fff !important;
}

.btn-pricing-outline {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--primary) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-pricing-outline:hover {
    background: var(--primary);
    color: #fff !important;
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(255, 140, 66, 0.35);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.65);
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

footer a:hover {
    color: #fff;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ── Section Divider (register form) ────────────────────── */
.section-divider {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    border-bottom: 1px solid #e8eaf0;
    padding-bottom: 0.35rem;
    margin: 0.85rem 0 0.6rem;
}

/* ── Register Page ───────────────────────────────────────── */
.page-gradient {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--mid-bg) 50%, var(--deep-bg) 100%);
}

.register-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem 3rem;
}

.register-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ── Brand Icons ─────────────────────────────────────────── */
.brand-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: #fff;
}

.brand-icon-sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

/* ── Step Indicator ──────────────────────────────────────── */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.5rem;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: background 0.2s;
}

.step-dot.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    width: 20px;
    border-radius: 4px;
}

/* ── Primary Gradient Button ─────────────────────────────── */
.btn-primary-gradient {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(255, 140, 66, 0.35);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 140, 66, 0.45);
}

/* ── Form overrides ──────────────────────────────────────── */
.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.form-control {
    border-radius: 8px;
    border-color: #e2e8f0;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.15);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero {
        padding: 3.5rem 0 3rem;
        text-align: center;
    }

    .hero .d-flex.flex-wrap {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .pricing-card.featured {
        order: -1;
    }

    footer .col-6,
    footer .col-lg-2 {
        margin-bottom: 0.5rem;
    }

    .register-card {
        padding: 1.25rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .cta-banner {
        padding: 2.5rem 1.5rem !important;
    }
}
