/* ============================================================
   FlowForge - Custom Styles (NovaFlow Theme)
   Extracted from deepseek_html_20260502_080dec.html
   ============================================================ */

:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-teal: #0d9488;
    --accent-emerald: #059669;
    --accent-light-teal: #14b8a6;
    --accent-bright: #10b981;
    --gradient-hero: linear-gradient(135deg, #0d9488 0%, #059669 30%, #14b8a6 60%, #10b981 100%);
    --gradient-card: linear-gradient(145deg, rgba(13, 148, 136, 0.05) 0%, rgba(5, 150, 105, 0.02) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-glow: rgba(5, 150, 105, 0.4);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Animated Background Orbs ── */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: floatOrb 18s ease-in-out infinite;
}
.bg-orb--1 {
    width: 600px;
    height: 600px;
    background: var(--accent-teal);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}
.bg-orb--2 {
    width: 500px;
    height: 500px;
    background: var(--accent-light-teal);
    top: 50%;
    right: -12%;
    animation-delay: -6s;
    animation-duration: 20s;
}
.bg-orb--3 {
    width: 400px;
    height: 400px;
    background: var(--accent-emerald);
    bottom: -10%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 22s;
}
.bg-orb--4 {
    width: 350px;
    height: 350px;
    background: var(--accent-bright);
    top: 30%;
    left: 50%;
    animation-delay: -14s;
    animation-duration: 16s;
    opacity: 0.1;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -80px) scale(1.15); }
    50% { transform: translate(-30px, 40px) scale(0.9); }
    75% { transform: translate(-70px, -30px) scale(1.08); }
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 16px 0;
    transition: var(--transition-smooth);
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}
.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.5px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-fast);
}
.navbar-brand:hover {
    filter: brightness(0.9);
}
.navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    border-radius: 50px;
    transition: var(--transition-fast);
    position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent-emerald) !important;
    background: rgba(5, 150, 105, 0.06);
}
.navbar-toggler {
    border: none !important;
    color: var(--text-primary) !important;
    padding: 8px;
    box-shadow: none !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 23, 42, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.btn-nav {
    background: var(--gradient-hero);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fff 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.45);
    color: #fff;
}
.btn-nav:hover::before {
    opacity: 0.2;
}

/* ── Hero Section ── */
.hero-section {
    position: relative;
    z-index: 1;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 50px;
    padding: 6px 18px 6px 6px;
    font-size: 0.85rem;
    color: var(--accent-emerald);
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.7s ease-out;
}
.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    color: var(--text-primary);
    animation: fadeInUp 0.7s ease-out 0.1s both;
}
.hero-title .gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.65;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}
.btn-primary-glow {
    background: var(--gradient-hero);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(13, 148, 136, 0.3);
}
.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(13, 148, 136, 0.5);
    color: #fff;
}
.btn-outline-glow {
    background: transparent;
    border: 1.5px solid var(--border-subtle);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}
.btn-outline-glow:hover {
    border-color: var(--accent-teal);
    background: rgba(13, 148, 136, 0.04);
    color: var(--accent-emerald);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.08);
}
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}
.hero-demo-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-subtle);
}
.hero-stats-row {
    display: flex;
    gap: 30px;
    margin-top: 28px;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease-out 0.4s both;
}
.hero-stat h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ── Section Shared ── */
.section-padding {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-emerald);
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -0.8px;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ── Feature Cards ── */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background: var(--accent-teal);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.4s;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}
.feature-card:hover::before {
    opacity: 0.15;
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.fi-teal { background: rgba(13, 148, 136, 0.12); color: #0d9488; }
.fi-emerald { background: rgba(5, 150, 105, 0.12); color: #059669; }
.fi-cyan { background: rgba(20, 184, 166, 0.12); color: #14b8a6; }
.fi-green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.feature-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* ── Pricing Cards ── */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
    z-index: 2;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.05) 0%, var(--bg-card) 40%);
}
.pricing-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}
.pricing-card.popular:hover {
    transform: scale(1.05);
}
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-hero);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.lifetime-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #059669;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.pricing-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin: 16px 0 4px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}
.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    flex-grow: 1;
}
.pricing-features li {
    padding: 7px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li i {
    color: #10b981;
    font-size: 1.1rem;
}
.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    text-align: center;
    border: 1.5px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
}
.btn-pricing:hover {
    background: rgba(13, 148, 136, 0.04);
    border-color: var(--accent-teal);
    color: var(--accent-emerald);
}
.btn-pricing.btn-glow {
    background: var(--gradient-hero);
    border: none;
    color: white;
    box-shadow: 0 6px 25px rgba(13, 148, 136, 0.3);
}
.btn-pricing.btn-glow:hover {
    box-shadow: 0 12px 35px rgba(13, 148, 136, 0.45);
    transform: translateY(-2px);
}

/* ── Toggle Switch ── */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-weight: 500;
    color: var(--text-secondary);
}
.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    background-color: #cbd5e1;
    border: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='%23fff' d='M12.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM5 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5z'/%3e%3c/svg%3e");
    background-size: 1.2em;
    cursor: pointer;
}
.form-switch .form-check-input:checked {
    background-color: var(--accent-emerald);
}
.save-badge {
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent-emerald);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
}

/* ── Testimonials ── */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    transition: var(--transition-smooth);
    height: 100%;
}
.testimonial-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-author strong {
    font-size: 0.9rem;
    display: block;
}
.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── FAQ accordion ── */
.accordion-button {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    color: var(--accent-emerald) !important;
    background: rgba(13, 148, 136, 0.04) !important;
    border-color: var(--border-glow) !important;
}
.accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 1rem 1.5rem;
}

/* ── CTA Section ── */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}
.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: var(--gradient-glow);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.3;
}
.cta-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}
.cta-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 12px auto 28px;
}
.cta-card .btn-primary-glow {
    position: relative;
    z-index: 1;
}

/* ── Footer ── */
.footer-section {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 24px;
    background: rgba(255, 255, 255, 0.4);
}
.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.footer-link:hover {
    color: var(--accent-emerald);
}
.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    text-decoration: none;
    margin-right: 8px;
}
.social-icon:hover {
    background: var(--accent-teal);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Page-specific ── */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}
.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -0.8px;
}
.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ── Contact Form ── */
.contact-form .form-control,
.contact-form .form-select {
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: var(--bg-card);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* ── Hidden Pricing Cards (hidden via CSS — no flash) ── */
.pricing-card-hidden {
    display: none !important;
}

/* ── Explore More Button ── */
.btn-explore-more {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 50px;
    transition: var(--transition-fast);
    cursor: pointer;
}
.btn-explore-more:hover {
    border-color: var(--accent-teal);
    color: var(--accent-emerald);
    background: rgba(13, 148, 136, 0.04);
}

/* ── Blog Cards ── */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.blog-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background: var(--accent-teal);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}
.blog-card:hover::before {
    opacity: 0.15;
}
.blog-card-image-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-primary);
    position: relative;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}
.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    color: var(--text-muted);
    font-size: 2.5rem;
    opacity: 0.4;
}
.blog-card-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.blog-card-date i {
    font-size: 0.75rem;
}
.blog-card-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-emerald);
    background: rgba(5, 150, 105, 0.1);
    padding: 2px 10px;
    border-radius: 50px;
}
.blog-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.35;
}
.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}
.blog-card-title a:hover {
    color: var(--accent-emerald);
}
.blog-card-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    margin-top: auto;
}
.blog-card-link:hover {
    color: var(--accent-emerald);
    gap: 10px;
}

/* ── Blog Pagination ── */
.blog-pagination {
    margin-top: 48px;
}
.blog-pagination .pagination {
    gap: 6px;
}
.blog-pagination .page-link {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm) !important;
    padding: 10px 18px;
    color: var(--text-secondary);
    background: var(--bg-card);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    box-shadow: none;
}
.blog-pagination .page-link:hover {
    border-color: var(--accent-teal);
    color: var(--accent-emerald);
    background: rgba(13, 148, 136, 0.04);
}
.blog-pagination .page-item.active .page-link {
    background: var(--gradient-hero);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}
.blog-pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Single Blog Post ── */
#blog-post {
    padding-top: 40px;
}
/* Blog post hero title */
#page-hero .hero-title.blog-post-hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important;
    max-width: 100%;
}

.blog-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px 44px;
    box-shadow: var(--shadow-card);
    position: relative;
}
.blog-post-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: var(--gradient-glow);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
}
@media (max-width: 575.98px) {
    .blog-post-card {
        padding: 24px 20px;
    }
}

.blog-post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 28px;
    transition: var(--transition-fast);
}
.blog-post-back:hover {
    color: var(--accent-emerald);
    gap: 10px;
}
.blog-post-subheading {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}
.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.88rem;
    color: var(--text-muted);
}
.blog-post-meta i {
    margin-right: 4px;
}
.blog-post-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-emerald);
    background: rgba(5, 150, 105, 0.1);
    padding: 3px 12px;
    border-radius: 50px;
}
.blog-post-featured-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
    border: 1px solid var(--border-subtle);
}
.blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.blog-post-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}
.blog-post-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 28px;
    margin-bottom: 10px;
}
.blog-post-content p {
    margin-bottom: 18px;
}
.blog-post-content p:last-child {
    margin-bottom: 0;
}
.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}
.blog-post-content li {
    margin-bottom: 6px;
}
.blog-post-content a {
    color: var(--accent-teal);
    text-decoration: underline;
    transition: var(--transition-fast);
}
.blog-post-content a:hover {
    color: var(--accent-emerald);
}
.blog-post-content blockquote {
    border-left: 4px solid var(--accent-teal);
    padding: 16px 20px;
    margin: 24px 0;
    background: rgba(13, 148, 136, 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 24px 0;
    border: 1px solid var(--border-subtle);
}
.blog-post-content code {
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-emerald);
}
.blog-post-content pre {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
}
.blog-post-content pre code {
    background: none;
    padding: 0;
    color: var(--text-secondary);
}
.blog-post-footer-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 130px 0 60px;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 40px;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: scale(1.02);
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.97);
        border-radius: var(--radius-lg);
        padding: 16px;
        margin-top: 10px;
        border: 1px solid var(--border-subtle);
        backdrop-filter: blur(20px);
    }
}
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    .cta-card {
        padding: 36px 20px;
    }
    .hero-stats-row {
        gap: 16px;
    }
    .hero-stat h4 {
        font-size: 1.4rem;
    }
}
