/* БлогоФабрика - Custom Styles inspired by Telco design principles */

:root {
    /* Color Palette inspired by Telco */
    --bf-primary: #824CF2;        /* Main purple from Telco */
    --bf-secondary: #FF6B35;      /* Orange accent */
    --bf-success: #4ECDC4;        /* Teal accent */
    --bf-dark: #1B1D21;           /* Dark text from Telco */
    --bf-dark-blue: #010C2A;      /* Dark blue from Telco */
    --bf-gray: #494A4D;           /* Gray text from Telco */
    --bf-light-gray: #F6F6F6;     /* Light background */
    --bf-white: #FFFFFF;

    /* Gradients */
    --bf-gradient: linear-gradient(135deg, #824CF2 0%, #FF6B35 100%);
    --bf-gradient-text: linear-gradient(90deg, #824CF2, #4ECDC4);

    /* Typography */
    --font-primary: 'Mulish', sans-serif;
    --font-heading: 'Oswald', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 10px rgba(130, 76, 242, 0.1);
    --shadow-md: 0 10px 30px rgba(130, 76, 242, 0.15);
    --shadow-lg: 0 20px 60px rgba(130, 76, 242, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--bf-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--bf-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.75rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header Styles */
.bf-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.bf-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bf-primary);
    font-family: var(--font-heading);
}

.bf-logo span {
    color: var(--bf-success);
}

.navbar-nav .nav-link {
    color: var(--bf-dark);
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--bf-primary);
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bf-primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after {
    width: 100%;
}

/* Button Styles */
.bf-btn-primary,
.bf-btn-secondary {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.bf-btn-primary {
    background: var(--bf-gradient);
    color: var(--bf-white);
}

.bf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--bf-white);
}

.bf-btn-secondary {
    background: var(--bf-white);
    color: var(--bf-primary);
    border-color: var(--bf-primary);
}

.bf-btn-secondary:hover {
    background: var(--bf-primary);
    color: var(--bf-white);
}

.bf-btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.bf-hero {
    background: linear-gradient(135deg, #F6F6F6 0%, rgba(130, 76, 242, 0.05) 100%);
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.bf-badge {
    background: rgba(130, 76, 242, 0.1);
    color: var(--bf-primary);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.bf-lead {
    font-size: 1.25rem;
    color: var(--bf-gray);
    margin: 2rem 0;
}

.bf-stats {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
}

.bf-stat {
    text-align: center;
}

.bf-stat h3 {
    color: var(--bf-primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.bf-stat p {
    color: var(--bf-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Cards */
.bf-hero-image {
    position: relative;
    padding: 2rem;
}

.bf-floating-card {
    background: var(--bf-white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
}

.bf-card-2 {
    animation-delay: 3s;
    margin-left: 3rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.bf-micro-blogger {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bf-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.bf-micro-blogger strong {
    display: block;
    color: var(--bf-dark);
}

.bf-micro-blogger span {
    color: var(--bf-gray);
    font-size: 0.85rem;
}

.bf-engagement {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

/* Shapes */
.bf-shape-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--bf-gradient);
    opacity: 0.1;
    border-radius: 50%;
    top: 10%;
    right: -100px;
}

.bf-shape-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--bf-success);
    opacity: 0.1;
    transform: rotate(45deg);
    bottom: 10%;
    left: -75px;
}

/* Section Styles */
.bf-section {
    padding: 80px 0;
}

.bf-section-header {
    margin-bottom: 4rem;
}

.bf-subtitle {
    color: var(--bf-primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

/* How It Works Section */
.bf-how-works {
    background: var(--bf-light-gray);
}

.bf-comparison-card {
    background: var(--bf-white);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.bf-comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bf-card-bad {
    border-left: 4px solid #E74C3C;
}

.bf-card-good {
    border-left: 4px solid var(--bf-success);
}

.bf-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.bf-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.bf-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--bf-primary);
}

.bf-case-highlight {
    background: var(--bf-gradient);
    color: var(--bf-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.bf-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Pricing Section */
.bf-packages {
    background: var(--bf-white);
}

.bf-pricing-card {
    background: var(--bf-light-gray);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.bf-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.bf-featured {
    background: var(--bf-white);
    border: 2px solid var(--bf-primary);
    transform: scale(1.05);
}

.bf-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bf-primary);
    color: var(--bf-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.bf-pricing-header {
    margin-bottom: 2rem;
}

.bf-pricing-desc {
    color: var(--bf-gray);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.bf-price {
    margin: 1.5rem 0;
}

.bf-currency {
    font-size: 1.5rem;
    color: var(--bf-gray);
}

.bf-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bf-primary);
}

.bf-thousand {
    font-size: 1rem;
    color: var(--bf-gray);
}

.bf-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.bf-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bf-features li:last-child {
    border: none;
}

/* Process Section */
.bf-process {
    background: var(--bf-light-gray);
}

.bf-timeline {
    position: relative;
    padding: 2rem 0;
}

.bf-timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--bf-primary);
    opacity: 0.3;
}

.bf-timeline-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
}

.bf-timeline-item:nth-child(odd) .bf-timeline-content {
    margin-right: auto;
    text-align: right;
    padding-right: 3rem;
}

.bf-timeline-item:nth-child(even) .bf-timeline-content {
    margin-left: auto;
    text-align: left;
    padding-left: 3rem;
}

.bf-timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--bf-gradient);
    color: var(--bf-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 1;
}

.bf-timeline-content {
    max-width: 45%;
    background: var(--bf-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

/* Contact Section */
.bf-contact {
    background: var(--bf-white);
}

.bf-contact-info h2 {
    margin-bottom: 1.5rem;
}

.bf-contact-benefits {
    margin: 2rem 0;
}

.bf-benefit {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.bf-check {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--bf-success);
    color: var(--bf-white);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 1rem;
}

.bf-contact-form {
    background: var(--bf-light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.bf-contact-form .form-control {
    background: var(--bf-white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.bf-contact-form .form-control:focus {
    border-color: var(--bf-primary);
    box-shadow: 0 0 0 3px rgba(130, 76, 242, 0.1);
}

/* Footer */
.bf-footer {
    background: var(--bf-dark-blue);
    color: var(--bf-white);
    padding: 2rem 0;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .bf-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .bf-timeline:before {
        left: 30px;
    }

    .bf-timeline-icon {
        left: 30px;
    }

    .bf-timeline-item .bf-timeline-content {
        margin-left: 100px;
        max-width: calc(100% - 100px);
        text-align: left !important;
        padding: 1rem !important;
    }

    .bf-floating-card {
        margin-left: 0 !important;
    }

    .bf-pricing-card.bf-featured {
        transform: scale(1);
    }
}