/* ===================================
   Professional Blog Design
   =================================== */

:root {
    --brand-primary: #284796;
    --brand-secondary: #f97316;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-light: #e2e8f0;
    --shadow-subtle: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-medium: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-large: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    background: var(--bg-light);
    color: var(--text-primary);
}

/* ===== HERO SECTION ===== */
.blog-hero {
    position: relative;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1e3a8a 100%);
    padding: 140px 20px 100px;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta i {
    color: var(--brand-secondary);
}

/* ===== CONTENT LAYOUT ===== */
.blog-content {
    padding: 0 20px 100px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.blog-layout {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-main {
    background: var(--bg-white);
    padding: 80px;
    border-radius: 12px;
    box-shadow: var(--shadow-large);
}

/* ===== TYPOGRAPHY ===== */
.content-section {
    margin-bottom: 80px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--brand-primary);
}

.content-section h2 i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
    color: #fff;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.content-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 48px 0 24px;
    position: relative;
    padding-left: 20px;
}

.content-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--brand-secondary);
    border-radius: 2px;
}

.content-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.content-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.lead-paragraph {
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 48px;
    padding: 32px;
    background: linear-gradient(to right, #eff6ff, #f0f9ff);
    border-left: 4px solid var(--brand-primary);
    border-radius: 8px;
}

/* ===== PROBLEM CARDS ===== */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.problem-card {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-medium);
    transform: translateX(8px);
}

.problem-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(40, 71, 150, 0.2);
}

.problem-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.problem-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.problem-card h3::before {
    display: none;
}

.problem-card p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ===== SOLUTION SECTION ===== */
.solution-section {
    background: linear-gradient(to bottom, #f0fdf4, #ecfdf5);
    padding: 48px;
    border-radius: 16px;
    border: 2px solid #86efac;
    margin: 48px 0;
}

.solution-section h2 {
    color: #166534;
    border-bottom-color: #22c55e;
}

/* ===== STEPS TIMELINE ===== */
.steps-container {
    margin: 48px 0;
    padding-left: 48px;
    border-left: 3px solid var(--border-light);
    position: relative;
}

.step-item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 24px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -64px;
    top: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-primary), #3b82f6);
    border: 4px solid var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(40, 71, 150, 0.3);
    z-index: 2;
}

.step-content {
    background: transparent;
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.benefit-item {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--brand-secondary);
    box-shadow: var(--shadow-medium);
}

.benefit-item i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-secondary), #fb923c);
    color: #fff;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.benefit-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.benefit-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== TESTIMONIAL SLIDER ===== */
.testimonial-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 40px;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
}

.testimonial-slider:active {
    cursor: grabbing;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.testimonial-box {
    background: linear-gradient(135deg, #fef3c7, #fef9d3);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-medium);
}

.testimonial-box::before {
    content: '"';
    position: absolute;
    top: 24px;
    left: 32px;
    font-size: 6rem;
    color: #fbbf24;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-box p {
    font-size: 1.25rem;
    font-style: italic;
    color: #78350f;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: #92400e;
    font-style: normal;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    color: var(--brand-primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--brand-primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-box {
        padding: 32px 24px;
    }

    .testimonial-box p {
        font-size: 1.125rem;
    }
}

/* ===== PRO TIPS ===== */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.styled-list li {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-left: 4px solid var(--brand-secondary);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.styled-list li:last-child {
    margin-bottom: 0;
}

.styled-list li:hover {
    border-color: var(--brand-secondary);
    box-shadow: var(--shadow-subtle);
    transform: translateX(4px);
}

.styled-list li i {
    color: var(--brand-secondary);
    font-size: 1.25rem;
    margin-right: 12px;
}

.styled-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== HIGHLIGHT TEXT ===== */
.highlight-text {
    background: linear-gradient(to right, #dbeafe, #e0f2fe);
    border-left: 6px solid var(--brand-primary);
    border-radius: 12px;
    padding: 36px;
    margin: 48px 0;
}

.highlight-text i {
    font-size: 2.5rem;
    color: var(--brand-primary);
    opacity: 0.3;
    margin-right: 20px;
}

.highlight-text p,
.highlight-text strong {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-box {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1e3a8a 100%);
    padding: 80px 48px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
}

.cta-box h2 {
    color: #fff;
    font-size: 2.75rem;
    border: none;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-large {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-medium);
}

.btn-primary {
    background: var(--brand-secondary);
    color: #fff;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-note {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog-main {
        padding: 60px 48px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 20px 80px;
    }

    .blog-title {
        font-size: 2.25rem;
    }

    .blog-main {
        padding: 40px 28px;
        border-radius: 8px;
    }

    .content-section h2 {
        font-size: 1.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }

    .step-number {
        position: static;
        margin-bottom: 16px;
    }

    .steps-container {
        border-left: none;
        padding-left: 0;
    }

    .cta-box {
        padding: 60px 32px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .benefits-grid,
    .problem-cards {
        grid-template-columns: 1fr;
    }
}