
/* ==========================================================================
   WebHub Bespoke Design Polish & Micro-Interactions (Non-AI Handcrafted Feel)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --wh-font-heading: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wh-transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --wh-glass-bg: rgba(255, 255, 255, 0.85);
  --wh-glass-border: rgba(255, 255, 255, 0.4);
  --wh-shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --wh-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.12), 0 8px 12px -4px rgba(0, 0, 0, 0.04);
}

h1, h2, h3, h4, h5, h6, .brand-title, .section-title {
  font-family: var(--wh-font-heading) !important;
  letter-spacing: -0.025em;
  font-weight: 500;
}

body, p, li, a, span, button, input, select, textarea {
  font-family: var(--wh-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Polished Card Hover Elevate */
.card, .feature-card, .feature-box, .pricing-card, .service-card, .template-card, .benefit-card {
  transition: var(--wh-transition-smooth) !important;
}

.card:hover, .feature-card:hover, .feature-box:hover, .pricing-card:hover, .service-card:hover, .template-card:hover, .benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wh-shadow-hover) !important;
}

/* Glassmorphism Accents */
.glass-panel, .hero-badge, .pill-badge, .badge-glow {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Subtle Interactive Buttons */
.btn-primary, .cta-btn, .topbar-btn, .btn-demo {
  transition: var(--wh-transition-smooth) !important;
}

.btn-primary:hover, .cta-btn:hover, .btn-demo:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Fix image responsiveness and prevent clipping */
img {
  max-width: 100%;
}

/* === Extracted from index.php === */
:root {
            --primary-orange: #f59e0b;
            --primary-orange-hover: #d97706;
            --navy-dark: #0f172a;
            --bg-light: #f8fafc;
            --text-dark: #1e293b;
            --accent-blue: #0ea5e9;
            --accent-green: #10b981;
            --accent-purple: #8b5cf6;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            color: var(--text-dark);
            background-color: #ffffff;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, .navbar-brand {
            font-family: 'Outfit', sans-serif;
            font-weight: 500;
        }

        /* Top Promo Bar */
        .top-promo-bar {
            background-color: var(--navy-dark);
            color: #ffffff;
            font-size: 0.82rem;
            font-weight: 500;
            padding: 8px 0;
            letter-spacing: 0.3px;
        }

        .top-promo-bar a {
            color: var(--primary-orange);
            text-decoration: none;
        }

        .top-promo-bar a:hover {
            text-decoration: underline;
        }

        /* Navbar */
        .navbar-custom {
            background: #ffffff;
            border-bottom: 1px solid #f1f5f9;
            padding: 16px 0;
        }

        .navbar-brand-logo {
            text-decoration: none;
            display: flex;
            align-items: center;
        }

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

        .logo-divider {
            color: #cbd5e1;
            margin: 0 10px;
            font-weight: 300;
        }

        .logo-subtext {
            color: #64748b;
            font-size: 1.05rem;
            font-weight: 500;
        }

        .nav-link-custom {
            color: #334155;
            font-weight: 500;
            font-size: 0.95rem;
            margin: 0 10px;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .nav-link-custom:hover {
            color: var(--primary-orange-hover);
        }

        .btn-cta-orange {
            background: var(--primary-orange);
            color: #ffffff;
            font-weight: 500;
            font-size: 0.9rem;
            padding: 9px 22px;
            border-radius: 50px;
            border: none;
            text-decoration: none;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-cta-orange:hover {
            background: var(--primary-orange-hover);
            color: #ffffff;
        }

        /* Hero Section */
        .hero-section {
            position: relative;
            background: #0d172e;
            color: #ffffff;
            padding: 95px 0 115px;
            overflow: hidden;
            display: flex;
            align-items: center;
            min-height: 560px;
        }

        .hero-overlay-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 30%;
            opacity: 0.82;
            z-index: 0;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(13, 23, 46, 0.76) 0%, rgba(13, 23, 46, 0.54) 42%, rgba(13, 23, 46, 0.24) 75%, rgba(13, 23, 46, 0.10) 100%);
            z-index: 1;
            pointer-events: none;
        }

        .hero-section::after {
            content: '';
            position: absolute;
            top: -20%;
            left: -10%;
            width: 55%;
            height: 140%;
            background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 65%);
            z-index: 1;
            pointer-events: none;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(245, 158, 11, 0.18);
            color: #fde68a;
            border: 1px solid rgba(245, 158, 11, 0.4);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 22px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .hero-title {
            font-size: 2.35rem;
            font-weight: 600;
            line-height: 1.25;
            letter-spacing: -0.3px;
            margin-bottom: 18px;
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
        }

        .hero-title .highlight {
            color: #fbbf24;
            font-weight: 600;
            text-shadow: 0 2px 14px rgba(251, 191, 36, 0.35);
        }

        .hero-subtitle {
            font-size: 1.08rem;
            color: #e2e8f0;
            line-height: 1.65;
            margin-bottom: 30px;
            max-width: 690px;
            text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
        }

        .btn-outline-hero {
            border: 1px solid rgba(255, 255, 255, 0.4);
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: #ffffff;
            font-weight: 500;
            padding: 9px 24px;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.25s ease;
        }

        .btn-outline-hero:hover {
            background: rgba(255, 255, 255, 0.25);
            color: #ffffff;
            border-color: #ffffff;
            transform: translateY(-2px);
        }

        .hero-price-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(15, 23, 42, 0.45);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 50px;
            padding: 6px 18px;
            margin-top: 22px;
        }

        /* 4 Templates In Line Section */
        #template .templates-grid,
        .templates-grid {
            display: grid !important;
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 1.5rem !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 auto !important;
            padding: 0 !important;
        }

        .template-only-card {
            display: block;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
            transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
            text-decoration: none;
            background: #ffffff;
            position: relative;
        }

        .template-only-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 35px rgba(15, 23, 42, 0.14) !important;
            border-color: #cbd5e1;
        }

        .template-only-card img {
            width: 100%;
            display: block;
            height: 310px;
            object-fit: cover;
            transition: transform 0.45s ease;
        }

        .template-only-card:hover img {
            transform: scale(1.05);
        }

        @media (max-width: 1200px) {
            #template .templates-grid,
            .templates-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 1.25rem !important;
            }
        }

        @media (max-width: 640px) {
            #template .templates-grid,
            .templates-grid {
                grid-template-columns: 1fr !important;
                gap: 1.25rem !important;
            }
            .template-only-card img {
                height: 260px;
            }
        }

        /* Trust Strip */
        .trust-strip {
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            padding: 26px 0;
        }

        .trust-icon {
            font-size: 1.6rem;
            color: #94a3b8;
            transition: color 0.2s ease;
        }

        .trust-icon:hover {
            color: var(--primary-orange);
        }

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

        .bg-soft {
            background-color: #f8fafc;
        }

        /* Section Titles (Sober Standard) */
        .sober-title {
            font-size: 1.75rem;
            font-weight: 500;
            line-height: 1.3;
            letter-spacing: -0.2px;
            color: #0f172a;
            margin-bottom: 0.75rem;
        }

        /* Macro Cards */
        .macro-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 26px;
            height: 100%;
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
        }

        .macro-card:hover {
            border-color: #cbd5e1;
            box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
        }

        .macro-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            margin-bottom: 16px;
            flex-shrink: 0;
        }

        /* Pricing Cards */
        .pricing-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 32px 26px;
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: all 0.2s ease;
        }

        .pricing-card.popular {
            border: 1px solid var(--primary-orange);
            box-shadow: 0 10px 30px rgba(245, 158, 11, 0.08);
        }

        .popular-badge {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary-orange);
            color: #ffffff;
            font-size: 0.72rem;
            font-weight: 500;
            padding: 3px 14px;
            border-radius: 50px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .price-val {
            font-size: 2.1rem;
            font-weight: 600;
            color: #0f172a;
            line-height: 1;
            margin: 14px 0 6px;
        }

        /* Footer */
        footer {
            background: var(--navy-dark);
            color: #94a3b8;
            padding: 55px 0 28px;
            font-size: 0.9rem;
        }

        footer h5 {
            color: #ffffff;
            font-size: 1.0rem;
            font-weight: 500;
            margin-bottom: 18px;
        }

        footer a {
            color: #94a3b8;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        footer a:hover {
            color: #ffffff;
        }

        /* Showcase Image Card with smooth hover */
        .showcase-image-card {
            position: relative;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
            border: 1px solid #e2e8f0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: #ffffff;
        }

        .showcase-image-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
        }

        .showcase-image-card img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.4s ease;
        }

        .showcase-image-card:hover img {
            transform: scale(1.025);
        }