/* ==========================================================================
   B2B Landing Pages - Mobile-First High-Conversion Styles
   ========================================================================== */

:root {
    --b2b-primary: #FFD900;
    --b2b-dark: #1a1a1a;
    --b2b-text: #333;
    --b2b-muted: #666;
    --b2b-light: #f8f9fa;
    --b2b-white: #fff;
    --b2b-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --b2b-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Base Reset */
.b2b-page {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--b2b-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.b2b-page * {
    box-sizing: border-box;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.b2b-navbar {
    background: var(--b2b-primary);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.b2b-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.b2b-navbar-logo img {
    height: 40px;
    width: auto;
}

.b2b-navbar-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.b2b-navbar-phone {
    color: var(--b2b-dark) !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
}

.b2b-navbar-phone i {
    margin-right: 6px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.b2b-hero {
    background: linear-gradient(135deg, var(--b2b-primary) 0%, #e6c300 100%);
    min-height: 100vh;
    padding: 40px 0 60px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .b2b-hero {
        min-height: 80vh;
        padding: 60px 0 80px;
    }
}

.b2b-hero-content {
    margin-bottom: 40px;
}

.b2b-hero-badge {
    display: inline-block;
    background: var(--b2b-dark);
    color: var(--b2b-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.b2b-hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--b2b-dark) !important;
}

.b2b-hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--b2b-muted);
    margin-bottom: 24px;
    max-width: 500px;
}

.b2b-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.b2b-hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.b2b-hero-feature i {
    color: #28a745;
    font-size: 18px;
}

/* ==========================================================================
   Form - High Conversion Optimized
   ========================================================================== */
.b2b-form-card {
    background: var(--b2b-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--b2b-shadow);
}

@media (min-width: 768px) {
    .b2b-form-card {
        padding: 32px;
        position: sticky;
        top: 100px;
    }
}

.b2b-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--b2b-dark);
}

.b2b-form-subtitle {
    font-size: 14px;
    color: var(--b2b-muted);
    margin-bottom: 24px;
}

.b2b-form .form-group {
    margin-bottom: 16px;
}

.b2b-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--b2b-dark);
}

.b2b-form input,
.b2b-form select {
    width: 100%;
    padding: 16px;
    font-size: 16px; /* Prevents iOS zoom */
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--b2b-white);
}

.b2b-form input:focus,
.b2b-form select:focus {
    outline: none;
    border-color: var(--b2b-primary);
    box-shadow: 0 0 0 3px rgba(255, 217, 0, 0.3);
}

.b2b-form input::placeholder {
    color: #999;
}

.b2b-form .btn-cta {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    background: var(--b2b-dark);
    color: var(--b2b-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    min-height: 56px; /* Touch-friendly */
    transition: transform 0.2s, box-shadow 0.2s;
}

.b2b-form .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.b2b-form .btn-cta:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.b2b-form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--b2b-muted);
}

.b2b-form-security i {
    color: #28a745;
}

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.b2b-pain {
    background: var(--b2b-light);
    padding: 60px 0;
}

.b2b-pain h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--b2b-dark) !important;
    text-align: center;
}

.b2b-pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.b2b-pain-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.b2b-pain-list li:last-child {
    border-bottom: none;
}

.b2b-pain-list i {
    color: #dc3545;
    font-size: 20px;
    margin-top: 2px;
}

.b2b-pain-list span {
    font-size: 16px;
    color: var(--b2b-text);
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.b2b-benefits {
    background: var(--b2b-white);
    padding: 60px 0;
}

.b2b-benefits h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--b2b-dark) !important;
    text-align: center;
}

.b2b-benefit-card {
    text-align: center;
    padding: 24px;
    background: var(--b2b-light);
    border-radius: 12px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.b2b-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--b2b-shadow-hover);
}

.b2b-benefit-card i {
    font-size: 48px;
    color: var(--b2b-primary);
    margin-bottom: 16px;
}

.b2b-benefit-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--b2b-dark);
}

.b2b-benefit-card p {
    font-size: 14px;
    color: var(--b2b-muted);
    margin: 0;
}

/* ==========================================================================
   How it Works Section
   ========================================================================== */
.b2b-steps {
    background: var(--b2b-primary);
    padding: 60px 0;
}

.b2b-steps h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--b2b-dark) !important;
    text-align: center;
}

.b2b-step {
    text-align: center;
    padding: 24px;
}

.b2b-step-number {
    width: 60px;
    height: 60px;
    background: var(--b2b-dark);
    color: var(--b2b-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.b2b-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--b2b-dark);
}

.b2b-step p {
    font-size: 14px;
    color: var(--b2b-muted);
    margin: 0;
}

/* ==========================================================================
   Social Proof Section
   ========================================================================== */
.b2b-social {
    background: var(--b2b-light);
    padding: 60px 0;
}

.b2b-social h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--b2b-dark) !important;
    text-align: center;
}

.b2b-testimonial {
    background: var(--b2b-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--b2b-shadow);
    height: 100%;
}

.b2b-testimonial-quote {
    font-size: 16px;
    font-style: italic;
    color: var(--b2b-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.b2b-testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--b2b-dark);
}

.b2b-testimonial-role {
    font-size: 13px;
    color: var(--b2b-muted);
}

/* ==========================================================================
   API Section
   ========================================================================== */
.b2b-api {
    background: var(--b2b-dark);
    padding: 60px 0;
    color: var(--b2b-white);
}

.b2b-api h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--b2b-white) !important;
    text-align: center;
}

.b2b-api p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.b2b-api-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.b2b-api-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================================================
   CTA Final Section
   ========================================================================== */
.b2b-cta-final {
    background: linear-gradient(135deg, var(--b2b-primary) 0%, #e6c300 100%);
    padding: 60px 0;
}

.b2b-cta-final h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--b2b-dark) !important;
    text-align: center;
}

.b2b-cta-final p {
    text-align: center;
    color: var(--b2b-muted);
    margin-bottom: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.b2b-footer {
    background: var(--b2b-dark);
    color: var(--b2b-white);
    padding: 40px 0 24px;
}

.b2b-footer-logo img {
    height: 40px;
    margin-bottom: 16px;
}

.b2b-footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.b2b-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b2b-footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.b2b-footer-links a:hover {
    color: var(--b2b-primary) !important;
}

.b2b-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 32px;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Mobile Floating CTA
   ========================================================================== */
.b2b-floating-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--b2b-dark);
    color: var(--b2b-white);
    text-align: center;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.b2b-floating-cta:hover {
    background: #333;
    color: var(--b2b-white);
}

@media (min-width: 768px) {
    .b2b-floating-cta {
        display: none;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.b2b-text-center {
    text-align: center;
}

.b2b-mb-0 {
    margin-bottom: 0;
}

/* Add padding bottom on mobile for floating CTA */
@media (max-width: 767.98px) {
    .b2b-page {
        padding-bottom: 60px;
    }
}

/* Success Modal */
.b2b-modal-success .modal-content {
    border-radius: 16px;
    border: none;
}

.b2b-modal-success .modal-header {
    background: #28a745;
    color: white;
    border-radius: 16px 16px 0 0;
}

.b2b-modal-success .modal-body {
    padding: 32px;
    text-align: center;
}

.b2b-modal-success .modal-body i {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 16px;
}
