/* ==========================================================================
   Bilal Sons Trader — Custom CSS
   Dark tech-forward design inspired by "Itecho" IT Solutions template
   
   All colors use CSS custom properties defined in functions.php
   for easy rebranding via WordPress Customizer.
   ========================================================================== */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--bst-font-body);
    color: var(--bst-text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bst-light-bg);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--bst-transition);
}

/* ==========================================================================
   2. LAYOUT
   ========================================================================== */

.bst-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.bst-container--narrow {
    max-width: 860px;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

.bst-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--bst-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bst-accent);
    margin-bottom: 16px;
}

.bst-section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--bst-gradient-primary);
    border-radius: 2px;
}

.bst-section-label--light {
    color: var(--bst-secondary);
}

.bst-section-title {
    font-family: var(--bst-font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--bst-text-dark);
}

.bst-section-subtitle {
    font-size: 1.125rem;
    color: #64748B;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

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

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.bst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--bst-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--bst-transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.bst-btn--primary {
    background: var(--bst-gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.bst-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.bst-btn--outline {
    background: transparent;
    color: var(--bst-text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.bst-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.bst-btn--full {
    width: 100%;
}

.bst-btn--lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* Dark section outline button override */
.bst-services .bst-btn--outline,
.bst-pricing .bst-btn--outline {
    color: var(--bst-accent);
    border-color: var(--bst-accent);
}

.bst-pricing .bst-btn--outline:hover,
.bst-services .bst-btn--outline:hover {
    background: rgba(0, 102, 255, 0.08);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.bst-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bst-dark-bg);
    overflow: hidden;
    padding: 120px 0 80px;
}

.bst-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bst-hero__grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.bst-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: heroGlowFloat 8s ease-in-out infinite;
}

.bst-hero__glow--1 {
    width: 600px;
    height: 600px;
    background: var(--bst-accent);
    top: -200px;
    right: -200px;
    opacity: 0.15;
}

.bst-hero__glow--2 {
    width: 400px;
    height: 400px;
    background: var(--bst-secondary);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
    animation-delay: 4s;
}

@keyframes heroGlowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.bst-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.bst-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--bst-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.bst-hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--bst-secondary);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.bst-hero__title {
    font-family: var(--bst-font-primary);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--bst-text-light);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.bst-hero__subtitle {
    font-size: 1.125rem;
    color: var(--bst-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.bst-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.bst-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.bst-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--bst-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   6. STATS SECTION
   ========================================================================== */

.bst-stats {
    background: var(--bst-dark-surface);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bst-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.bst-stats__item {
    position: relative;
}

.bst-stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

.bst-stats__number {
    font-family: var(--bst-font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--bst-text-light);
    line-height: 1;
    margin-bottom: 8px;
}

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

.bst-stats__label {
    font-size: 0.875rem;
    color: var(--bst-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */

.bst-about {
    padding: 100px 0;
    background: var(--bst-light-bg);
}

.bst-about__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.bst-about__desc {
    font-size: 1.0625rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.8;
}

.bst-about__features {
    display: grid;
    gap: 20px;
    margin-top: 36px;
}

.bst-about__feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bst-light-surface);
    border-radius: var(--bst-border-radius);
    border: 1px solid #E2E8F0;
    transition: var(--bst-transition);
}

.bst-about__feature:hover {
    border-color: var(--bst-accent);
    box-shadow: var(--bst-shadow-sm);
    transform: translateX(4px);
}

.bst-about__feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 170, 0.1));
    border-radius: 12px;
    color: var(--bst-accent);
}

.bst-about__feature h4 {
    font-family: var(--bst-font-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--bst-text-dark);
}

.bst-about__feature p {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.6;
}

/* About visual card */
.bst-about__card {
    position: relative;
    border-radius: var(--bst-border-radius-lg);
    overflow: hidden;
}

.bst-about__card-inner {
    background: var(--bst-dark-bg);
    padding: 40px;
    border-radius: var(--bst-border-radius-lg);
    position: relative;
    z-index: 1;
}

.bst-about__card-stat {
    font-family: var(--bst-font-primary);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bst-text-light);
    line-height: 1;
    margin-bottom: 24px;
}

.bst-about__card-stat .bst-counter {
    background: var(--bst-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bst-about__card-stat small {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bst-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
}

.bst-about__card-quote blockquote {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    border-left: 3px solid var(--bst-accent);
    padding-left: 20px;
    margin-bottom: 20px;
    font-style: italic;
}

.bst-about__card-quote cite {
    font-size: 0.875rem;
    color: var(--bst-secondary);
    font-style: normal;
    font-weight: 600;
}

.bst-about__card-glow {
    position: absolute;
    bottom: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: var(--bst-accent);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

/* ==========================================================================
   8. SERVICES SECTION
   ========================================================================== */

.bst-services {
    padding: 100px 0;
    background: var(--bst-light-surface);
}

.bst-services__header {
    text-align: center;
    margin-bottom: 60px;
}

.bst-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.bst-services__card {
    position: relative;
    padding: 36px;
    background: var(--bst-light-bg);
    border: 1px solid #E2E8F0;
    border-radius: var(--bst-border-radius-lg);
    transition: var(--bst-transition);
    overflow: hidden;
}

.bst-services__card:hover {
    border-color: var(--bst-accent);
    transform: translateY(-8px);
    box-shadow: var(--bst-shadow-lg);
}

.bst-services__card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 212, 170, 0.08));
    border-radius: 16px;
    color: var(--bst-accent);
    margin-bottom: 24px;
    transition: var(--bst-transition);
}

.bst-services__card:hover .bst-services__card-icon {
    background: var(--bst-gradient-primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.bst-services__card-title {
    font-family: var(--bst-font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bst-text-dark);
}

.bst-services__card-desc {
    font-size: 0.9375rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 20px;
}

.bst-services__card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bst-accent);
}

.bst-services__card-link:hover {
    gap: 12px;
    color: var(--bst-secondary);
}

.bst-services__card-glow {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: var(--bst-accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.5s;
}

.bst-services__card:hover .bst-services__card-glow {
    opacity: 0.06;
}

/* ==========================================================================
   9. PRICING SECTION
   ========================================================================== */

.bst-pricing {
    padding: 100px 0;
    background: var(--bst-light-bg);
}

.bst-pricing__header {
    text-align: center;
    margin-bottom: 60px;
}

.bst-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.bst-pricing__card {
    position: relative;
    padding: 40px 32px;
    background: var(--bst-light-surface);
    border: 1px solid #E2E8F0;
    border-radius: var(--bst-border-radius-lg);
    transition: var(--bst-transition);
    overflow: hidden;
}

.bst-pricing__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bst-shadow-md);
}

.bst-pricing__card--featured {
    background: var(--bst-dark-bg);
    border-color: var(--bst-accent);
    padding-top: 56px;
    transform: scale(1.04);
    box-shadow: var(--bst-shadow-glow);
}

.bst-pricing__card--featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.bst-pricing__badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: var(--bst-gradient-primary);
    color: #FFFFFF;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bst-pricing__name {
    font-family: var(--bst-font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bst-pricing__card--featured .bst-pricing__name {
    color: var(--bst-text-light);
}

.bst-pricing__desc {
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 24px;
    line-height: 1.6;
}

.bst-pricing__card--featured .bst-pricing__desc {
    color: var(--bst-text-muted);
}

.bst-pricing__price {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #E2E8F0;
}

.bst-pricing__card--featured .bst-pricing__price {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.bst-pricing__amount {
    font-family: var(--bst-font-primary);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--bst-text-dark);
}

.bst-pricing__card--featured .bst-pricing__amount {
    background: var(--bst-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bst-pricing__period {
    font-size: 0.875rem;
    color: #94A3B8;
    font-weight: 500;
}

.bst-pricing__features {
    list-style: none;
    margin-bottom: 32px;
}

.bst-pricing__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: #475569;
}

.bst-pricing__card--featured .bst-pricing__features li {
    color: rgba(255, 255, 255, 0.75);
}

.bst-pricing__features li svg {
    min-width: 16px;
    margin-top: 4px;
}

.bst-pricing__card-footer {
    margin-top: auto;
}

.bst-pricing__card-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: var(--bst-accent);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
}

.bst-pricing__note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.875rem;
    color: #64748B;
}

.bst-pricing__note strong {
    color: var(--bst-accent);
}

/* ==========================================================================
   10. FAQ SECTION
   ========================================================================== */

.bst-faq {
    padding: 100px 0;
    background: var(--bst-light-surface);
}

.bst-faq__header {
    text-align: center;
    margin-bottom: 60px;
}

.bst-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.bst-faq__item {
    border: 1px solid #E2E8F0;
    border-radius: var(--bst-border-radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--bst-transition);
    background: var(--bst-light-bg);
}

.bst-faq__item:hover {
    border-color: var(--bst-accent);
}

.bst-faq__item--active {
    border-color: var(--bst-accent);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08);
}

.bst-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-family: var(--bst-font-primary);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--bst-text-dark);
    cursor: pointer;
    text-align: left;
    transition: var(--bst-transition);
}

.bst-faq__question:hover {
    color: var(--bst-accent);
}

.bst-faq__chevron {
    min-width: 20px;
    transition: transform 0.3s ease;
    color: var(--bst-accent);
}

.bst-faq__item--active .bst-faq__chevron {
    transform: rotate(180deg);
}

.bst-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bst-faq__answer p {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    color: #64748B;
    line-height: 1.8;
}

/* ==========================================================================
   11. CTA / CONTACT SECTION
   ========================================================================== */

.bst-cta {
    position: relative;
    padding: 100px 0;
    background: var(--bst-dark-bg);
    overflow: hidden;
}

.bst-cta__bg {
    position: absolute;
    inset: 0;
}

.bst-cta__glow--1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--bst-accent);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    top: -200px;
    left: -200px;
}

.bst-cta__glow--2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--bst-secondary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.08;
    bottom: -200px;
    right: -200px;
}

.bst-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.bst-cta__title {
    font-family: var(--bst-font-primary);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--bst-text-light);
    line-height: 1.2;
    margin-bottom: 16px;
}

.bst-cta__desc {
    font-size: 1.0625rem;
    color: var(--bst-text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.bst-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.bst-cta__contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bst-cta__info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bst-text-muted);
    font-size: 0.9375rem;
}

.bst-cta__info-item svg {
    color: var(--bst-secondary);
    min-width: 18px;
}

/* CTA Form Card */
.bst-cta__form-card {
    background: var(--bst-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--bst-border-radius-lg);
    padding: 40px;
}

.bst-cta__form-card h3 {
    font-family: var(--bst-font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bst-text-light);
    margin-bottom: 8px;
}

.bst-cta__form-card p {
    font-size: 0.9375rem;
    color: var(--bst-text-muted);
    margin-bottom: 28px;
}

/* ==========================================================================
   12. FORMS
   ========================================================================== */

.bst-fallback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bst-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bst-form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bst-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bst-form-group input,
.bst-form-group select,
.bst-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--bst-border-radius);
    color: var(--bst-text-light);
    font-family: var(--bst-font-body);
    font-size: 0.9375rem;
    transition: var(--bst-transition);
}

.bst-form-group input::placeholder,
.bst-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.bst-form-group input:focus,
.bst-form-group select:focus,
.bst-form-group textarea:focus {
    outline: none;
    border-color: var(--bst-accent);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.bst-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}

.bst-form-group select option {
    background: var(--bst-dark-bg);
    color: var(--bst-text-light);
}

.bst-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Light-background form overrides */
.bst-contact-form-card .bst-form-group input,
.bst-contact-form-card .bst-form-group select,
.bst-contact-form-card .bst-form-group textarea {
    background: var(--bst-light-bg);
    border-color: #E2E8F0;
    color: var(--bst-text-dark);
}

.bst-contact-form-card .bst-form-group input::placeholder,
.bst-contact-form-card .bst-form-group textarea::placeholder {
    color: #94A3B8;
}

.bst-contact-form-card .bst-form-group label {
    color: #475569;
}

.bst-contact-form-card .bst-form-group select option {
    background: var(--bst-light-surface);
    color: var(--bst-text-dark);
}

/* ==========================================================================
   13. PAGE HERO (Inner Pages)
   ========================================================================== */

.bst-page-hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--bst-dark-bg);
    overflow: hidden;
    text-align: center;
}

.bst-page-hero--compact {
    padding: 120px 0 60px;
}

.bst-page-hero__bg {
    position: absolute;
    inset: 0;
}

.bst-page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.bst-page-hero__title {
    font-family: var(--bst-font-primary);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: var(--bst-text-light);
    line-height: 1.15;
    margin-bottom: 16px;
}

.bst-page-hero__subtitle {
    font-size: 1.125rem;
    color: var(--bst-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   14. LEGAL / POLICY PAGES
   ========================================================================== */

.bst-legal-content {
    padding: 80px 0;
    background: var(--bst-light-bg);
}

.bst-legal-body h2 {
    font-family: var(--bst-font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bst-text-dark);
    margin: 40px 0 16px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.bst-legal-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.bst-legal-body h3 {
    font-family: var(--bst-font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bst-text-dark);
    margin: 24px 0 12px;
}

.bst-legal-body p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.bst-legal-body ul,
.bst-legal-body ol {
    margin: 12px 0 20px 24px;
}

.bst-legal-body li {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 8px;
}

.bst-legal-body a {
    color: var(--bst-accent);
    font-weight: 500;
}

.bst-legal-body a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   15. ABOUT PAGE SPECIFICS
   ========================================================================== */

.bst-content-section {
    padding: 80px 0;
    background: var(--bst-light-bg);
}

.bst-content-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: start;
}

.bst-content-main h2 {
    font-family: var(--bst-font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bst-text-dark);
    margin: 36px 0 16px;
}

.bst-content-main h2:first-child {
    margin-top: 0;
}

.bst-content-main p {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Sidebar cards */
.bst-sidebar-card {
    background: var(--bst-light-surface);
    border: 1px solid #E2E8F0;
    border-radius: var(--bst-border-radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.bst-sidebar-card--dark {
    background: var(--bst-dark-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.bst-sidebar-card h3 {
    font-family: var(--bst-font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bst-sidebar-card--dark h3 {
    color: var(--bst-text-light);
}

.bst-info-list {
    list-style: none;
}

.bst-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.9375rem;
}

.bst-info-list li:last-child {
    border-bottom: none;
}

.bst-info-list li strong {
    color: #64748B;
    font-weight: 500;
}

.bst-info-list li span {
    color: var(--bst-text-dark);
    font-weight: 600;
}

.bst-values-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bst-value-item {
    display: flex;
    gap: 12px;
}

.bst-value-item svg {
    min-width: 20px;
    margin-top: 2px;
}

.bst-value-item strong {
    display: block;
    color: var(--bst-text-light);
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.bst-value-item p {
    font-size: 0.8125rem;
    color: var(--bst-text-muted);
    line-height: 1.5;
}

/* CEO section */
.bst-ceo-section {
    padding: 80px 0;
    background: var(--bst-light-surface);
}

.bst-ceo-card {
    max-width: 800px;
    margin: 0 auto;
}

.bst-ceo-card__content {
    background: var(--bst-dark-bg);
    border-radius: var(--bst-border-radius-lg);
    padding: 48px;
    text-align: center;
}

.bst-ceo-quote {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    font-style: italic;
    margin: 24px 0 32px;
    text-align: left;
}

.bst-ceo-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.bst-ceo-avatar {
    width: 56px;
    height: 56px;
    background: var(--bst-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bst-ceo-avatar span {
    font-family: var(--bst-font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
}

.bst-ceo-info strong {
    display: block;
    color: var(--bst-text-light);
    font-size: 1rem;
}

.bst-ceo-info span {
    font-size: 0.8125rem;
    color: var(--bst-text-muted);
}

/* ==========================================================================
   16. SERVICES PAGE SPECIFICS
   ========================================================================== */

.bst-services-detail {
    padding: 80px 0;
    background: var(--bst-light-bg);
}

.bst-service-block {
    padding: 48px;
    background: var(--bst-light-surface);
    border: 1px solid #E2E8F0;
    border-radius: var(--bst-border-radius-lg);
    margin-bottom: 28px;
    transition: var(--bst-transition);
}

.bst-service-block:hover {
    border-color: var(--bst-accent);
    box-shadow: var(--bst-shadow-sm);
}

.bst-service-block__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 212, 170, 0.08));
    border-radius: 16px;
    color: var(--bst-accent);
    margin-bottom: 24px;
}

.bst-service-block h2 {
    font-family: var(--bst-font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bst-text-dark);
    margin-bottom: 16px;
}

.bst-service-block__desc {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bst-service-block__list {
    list-style: none;
    margin: 16px 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bst-service-block__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #475569;
}

.bst-service-block__list li svg {
    min-width: 16px;
}

/* ==========================================================================
   17. CONTACT PAGE SPECIFICS
   ========================================================================== */

.bst-contact-section {
    padding: 80px 0;
    background: var(--bst-light-bg);
}

.bst-contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.bst-contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bst-contact-card {
    padding: 28px;
    background: var(--bst-light-surface);
    border: 1px solid #E2E8F0;
    border-radius: var(--bst-border-radius);
    transition: var(--bst-transition);
}

.bst-contact-card:hover {
    border-color: var(--bst-accent);
    transform: translateY(-4px);
    box-shadow: var(--bst-shadow-sm);
}

.bst-contact-card--whatsapp {
    background: linear-gradient(135deg, #075E54, #128C7E);
    border-color: transparent;
    color: #FFFFFF;
}

.bst-contact-card--whatsapp:hover {
    border-color: transparent;
}

.bst-contact-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 212, 170, 0.08));
    border-radius: 12px;
    color: var(--bst-accent);
    margin-bottom: 16px;
}

.bst-contact-card--whatsapp .bst-contact-card__icon {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.bst-contact-card h3 {
    font-family: var(--bst-font-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.bst-contact-card p {
    font-size: 0.8125rem;
    color: #64748B;
    margin-bottom: 12px;
    line-height: 1.5;
}

.bst-contact-card--whatsapp p {
    color: rgba(255, 255, 255, 0.8);
}

.bst-contact-card__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bst-accent);
}

.bst-contact-card--whatsapp .bst-contact-card__link {
    color: #FFFFFF;
}

.bst-contact-card__hours {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #94A3B8;
}

/* Contact form card */
.bst-contact-form-card {
    background: var(--bst-light-surface);
    border: 1px solid #E2E8F0;
    border-radius: var(--bst-border-radius-lg);
    padding: 40px;
}

.bst-contact-form-card h2 {
    font-family: var(--bst-font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bst-contact-form-card > p {
    font-size: 0.9375rem;
    color: #64748B;
    margin-bottom: 28px;
}

/* ==========================================================================
   18. FOOTER (WordPress / Blocksy integration)
   ========================================================================== */

/* Custom footer styling to match dark theme */
.site-footer,
footer[data-id] {
    background: var(--bst-dark-bg) !important;
}

/* ==========================================================================
   19. ANIMATIONS
   ========================================================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].bst-animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .bst-about__grid {
        grid-template-columns: 1fr;
    }

    .bst-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bst-pricing__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bst-pricing__card--featured {
        transform: none;
    }

    .bst-pricing__card--featured:hover {
        transform: translateY(-4px);
    }

    .bst-cta__grid {
        grid-template-columns: 1fr;
    }

    .bst-content-grid {
        grid-template-columns: 1fr;
    }

    .bst-contact-grid {
        grid-template-columns: 1fr;
    }

    .bst-service-block__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bst-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .bst-hero__title {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }

    .bst-hero__actions {
        flex-direction: column;
    }

    .bst-hero__trust {
        flex-direction: column;
        gap: 12px;
    }

    .bst-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .bst-stats__item:not(:last-child)::after {
        display: none;
    }

    .bst-services__grid {
        grid-template-columns: 1fr;
    }

    .bst-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .bst-form-row {
        grid-template-columns: 1fr;
    }

    .bst-contact-info {
        grid-template-columns: 1fr;
    }

    .bst-service-block {
        padding: 28px;
    }

    .bst-page-hero {
        padding: 100px 0 60px;
    }

    .bst-about,
    .bst-services,
    .bst-pricing,
    .bst-faq,
    .bst-cta {
        padding: 60px 0;
    }

    .bst-content-section,
    .bst-ceo-section,
    .bst-services-detail,
    .bst-contact-section,
    .bst-legal-content {
        padding: 48px 0;
    }

    .bst-ceo-card__content {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .bst-container {
        padding: 0 16px;
    }

    .bst-hero__badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .bst-stats__number {
        font-size: 2rem;
    }

    .bst-btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }

    .bst-btn--lg {
        padding: 14px 28px;
    }

    .bst-cta__form-card,
    .bst-contact-form-card {
        padding: 24px;
    }
}

/* ==========================================================================
   21. WHATSAPP FLOATING BUTTON
   ========================================================================== */

.bst-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--bst-transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.bst-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* ==========================================================================
   22. SCROLLBAR STYLING
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bst-dark-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   23. PRINT STYLES
   ========================================================================== */

@media print {
    .bst-hero__bg,
    .bst-whatsapp-float,
    .bst-hero__particles,
    .bst-cta__bg {
        display: none !important;
    }

    .bst-hero,
    .bst-cta,
    .bst-page-hero {
        background: #1a1a2e !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ==========================================================================
   24. HEADER
   ========================================================================== */

.bst-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.bst-header--scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bst-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.bst-header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.bst-header__logo-text {
    font-family: var(--bst-font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--bst-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.bst-header__logo-tagline {
    font-size: 0.625rem;
    color: var(--bst-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 2px;
}

.bst-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bst-header__menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.bst-header__menu li a {
    font-family: var(--bst-font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--bst-transition);
    position: relative;
}

.bst-header__menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bst-gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.bst-header__menu li a:hover {
    color: #FFFFFF;
}

.bst-header__menu li a:hover::after {
    width: 100%;
}

.bst-header__menu li.current-menu-item a,
.bst-header__menu li.current_page_item a {
    color: #FFFFFF;
}

.bst-header__menu li.current-menu-item a::after,
.bst-header__menu li.current_page_item a::after {
    width: 100%;
}

.bst-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bst-header__cta {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* Mobile toggle */
.bst-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bst-header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.bst-header__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.bst-header__toggle--active span:nth-child(2) {
    opacity: 0;
}

.bst-header__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile nav */
.bst-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    z-index: 9999;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bst-mobile-nav--open {
    opacity: 1;
    visibility: visible;
}

.bst-mobile-nav__menu {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.bst-mobile-nav__menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bst-mobile-nav__menu li a {
    display: block;
    padding: 18px 0;
    font-family: var(--bst-font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--bst-transition);
}

.bst-mobile-nav__menu li a:hover {
    color: #FFFFFF;
    padding-left: 12px;
}

@media (max-width: 768px) {
    .bst-header__nav {
        display: none;
    }

    .bst-header__cta {
        display: none;
    }

    .bst-header__toggle {
        display: flex;
    }

    .bst-mobile-nav {
        display: block;
    }
}

/* ==========================================================================
   25. FOOTER
   ========================================================================== */

.bst-footer {
    background: var(--bst-dark-bg);
}

.bst-footer__main {
    padding: 80px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bst-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 48px;
}

.bst-footer__logo-text {
    font-family: var(--bst-font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--bst-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bst-footer__desc {
    font-size: 0.9375rem;
    color: var(--bst-text-muted);
    line-height: 1.7;
    margin: 16px 0 24px;
}

.bst-footer__social {
    display: flex;
    gap: 12px;
}

.bst-footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: var(--bst-text-muted);
    transition: var(--bst-transition);
}

.bst-footer__social-link:hover {
    background: var(--bst-accent);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.bst-footer__heading {
    font-family: var(--bst-font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--bst-text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bst-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bst-footer__links li {
    margin-bottom: 10px;
}

.bst-footer__links a {
    font-size: 0.9375rem;
    color: var(--bst-text-muted);
    transition: var(--bst-transition);
}

.bst-footer__links a:hover {
    color: #FFFFFF;
    padding-left: 6px;
}

.bst-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bst-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9375rem;
    color: var(--bst-text-muted);
}

.bst-footer__contact li svg {
    color: var(--bst-secondary);
    min-width: 16px;
    margin-top: 3px;
}

.bst-footer__contact li a {
    color: var(--bst-text-muted);
}

.bst-footer__contact li a:hover {
    color: #FFFFFF;
}

/* Footer bottom */
.bst-footer__bottom {
    padding: 24px 0;
}

.bst-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bst-footer__copyright {
    font-size: 0.8125rem;
    color: var(--bst-text-muted);
}

.bst-footer__legal {
    display: flex;
    list-style: none;
    gap: 24px;
    padding: 0;
    margin: 0;
}

.bst-footer__legal a {
    font-size: 0.8125rem;
    color: var(--bst-text-muted);
}

.bst-footer__legal a:hover {
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .bst-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .bst-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .bst-footer__main {
        padding: 48px 0 32px;
    }

    .bst-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .bst-footer__legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* ==========================================================================
   26. SKIP LINK (Accessibility)
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--bst-accent);
    color: #FFFFFF;
    padding: 12px 24px;
    z-index: 100000;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}
