/* ============================================
   Futurapos Blog — Premium Blue Gradient Theme
   ============================================ */

/* Design Tokens */
:root {
    /* Primary Colors */
    --primary: #1e6ce0;
    --primary-dark: #0d4ea6;
    --primary-light: #4d9aff;

    /* Neutrals */
    --bg-main: #ffffff;
    --bg-secondary: #f0f6ff;
    --text-body: #2d3748;
    --text-heading: #0f172a;
    --text-muted: #64748b;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0b1d3a 0%, #1e6ce0 50%, #4d9aff 100%);
    --gradient-btn: linear-gradient(135deg, #1e6ce0, #4d9aff);
    --gradient-subtle: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(30, 108, 224, 0.10);
    --shadow-card: 0 8px 32px rgba(30, 108, 224, 0.12);
    --shadow-glow: 0 0 30px rgba(30, 108, 224, 0.25);

    /* Spacing & Radius */
    --radius: 12px;
    --radius-pill: 50px;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Base Reset & Typography ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

/* ---- Layout Container ---- */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header — Gradient Glass ---- */
.blog-header {
    background: var(--gradient-hero);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo:hover {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.03);
}

/* ---- Header Nav ---- */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.header-btn--demo {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-btn--demo:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ---- Floating WhatsApp Button ---- */
.floating-wa-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #1DA851);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 16px rgba(29, 168, 81, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-wa-btn svg {
    width: 32px;
    height: 32px;
}

.floating-wa-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(29, 168, 81, 0.5);
    color: #ffffff;
}

/* ---- Hero Section ---- */
.hero-section {
    background: var(--gradient-hero);
    padding: 48px 0 56px;
    margin-top: -1px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(77, 154, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 78, 166, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section h1 {
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-meta {
    margin-top: 24px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    gap: 12px;
    padding-right: 12px;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---- Blog Post Content Area ---- */
.blog-post {
    padding: 40px 0 60px;
}

.featured-image {
    margin-bottom: 36px;
}

.featured-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-image img:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 16px 48px rgba(30, 108, 224, 0.18);
}

.post-content {
    font-size: 17px;
}

.post-content p {
    color: var(--text-body);
}

/* ---- Benefits List — Card Style ---- */
.benefits-list {
    list-style: none;
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-secondary);
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(30, 108, 224, 0.06);
    transition: all 0.3s ease;
    font-weight: 500;
}

.benefits-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(30, 108, 224, 0.12);
}

.benefits-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: var(--gradient-btn);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---- CTA Button — Gradient Pill ---- */
.cta-container {
    margin-top: 40px;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-btn);
    color: #ffffff !important;
    padding: 16px 40px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-glow);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 40px rgba(30, 108, 224, 0.35);
    color: #ffffff !important;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

/* CTA Pulse Animation */
@keyframes ctaPulse {
    0%, 100% {
        box-shadow: var(--shadow-glow);
    }
    50% {
        box-shadow: 0 0 40px rgba(30, 108, 224, 0.35);
    }
}

.btn-primary {
    animation: ctaPulse 3s ease-in-out infinite;
}

.btn-primary:hover {
    animation: none;
}

/* ---- Footer — Gradient Match Header ---- */
.blog-footer {
    background: var(--gradient-hero);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.blog-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.blog-footer p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.blog-footer a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.blog-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ---- Fade-in Animation Removed for SEO ---- */
/* .fade-in animation classes were here */

/* ---- Divider ---- */
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-btn);
    border-radius: 2px;
    margin: 0 auto 32px;
    border: none;
}

/* ---- Desktop Breakpoint ---- */
@media (min-width: 768px) {
    h1 {
        font-size: 42px;
        margin-bottom: 24px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    .container {
        padding: 0;
    }

    .hero-section {
        padding: 64px 0 72px;
    }

    .blog-post {
        padding: 48px 0 72px;
    }

    .blog-header {
        padding: 12px 0;
    }

    .logo {
        font-size: 24px;
    }

    .btn-primary {
        font-size: 17px;
        padding: 18px 48px;
    }

    .benefits-list li {
        padding: 18px 24px;
    }

    .header-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* ---- Large Desktop ---- */
@media (min-width: 1200px) {
    .hero-section::before {
        width: 700px;
        height: 700px;
    }
}

/* ---- Card-style Benefits ---- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.benefit-card {
    background: var(--bg-main);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(30, 108, 224, 0.05);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(30, 108, 224, 0.15);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-bottom: 12px;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* ---- Callout & Highlight Box ---- */
.callout-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: var(--radius);
    margin: 28px 0;
    box-shadow: var(--shadow-soft);
}

.callout-box p {
    margin: 0;
    font-weight: 500;
    color: var(--text-heading);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(30, 108, 224, 0.05), rgba(77, 154, 255, 0.1));
    border: 1px solid rgba(30, 108, 224, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
}

.highlight-card h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

