/* ============================================
   SocialPowerHub - Component Styles
   Home Page Specific Components
   ============================================ */

/* ============================================
   HERO SECTION COMPONENTS
   ============================================ */

/* Hero Gradient Overlay */
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
}

/* Hero Animated Shapes */
.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    will-change: transform;
    animation: float 20s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: white;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    top: 60%;
    right: 10%;
    animation-delay: 4s;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: white;
    bottom: 10%;
    left: 40%;
    animation-delay: 2s;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.main-hero-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 5;
}

/* Analytics Dashboard Illustration */
.analytics-dashboard {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    z-index: 5;
}

.dashboard-container {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* Stat Blocks */
.stat-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-block:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-followers .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-engagement .stat-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.stat-reach .stat-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.stat-details {
    text-align: left;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

.stat-trend {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.stat-trend.positive {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.stat-trend i {
    font-size: 0.75rem;
}

/* Platform Indicators */
.platform-indicators {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1.5rem 0 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-dot {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-dot:hover {
    transform: scale(1.15);
}

.instagram-dot {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
}

.youtube-dot {
    background: #ff0000;
    color: white;
}

.facebook-dot {
    background: #1877f2;
    color: white;
}

.twitter-dot {
    background: #1da1f2;
    color: white;
}

.tiktok-dot {
    background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
    color: white;
}

/* Success Badge */
.success-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    margin-top: 0.5rem;
}

.success-badge i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 2rem 1.5rem;
    }

    .stat-block {
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
    }

    .stat-trend {
        grid-column: 2;
        justify-self: end;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .platform-dot {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .success-badge {
        font-size: 0.875rem;
        padding: 0.65rem 1.25rem;
    }
}

/* ============================================
   FLOATING CARDS (Hero Section)
   ============================================ */

.floating-card {
    position: absolute;
    background: white;
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    will-change: transform;
    animation: floatCard 3s ease-in-out infinite;
    z-index: 10;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

/* Social Icon Wrapper */
.social-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.social-icon-wrapper i {
    font-size: 1.75rem;
    color: white;
}

/* Instagram Gradient */
.social-icon-wrapper.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

/* YouTube Red */
.social-icon-wrapper.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

/* Facebook Blue */
.social-icon-wrapper.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

/* Floating Card Stats */
.floating-card .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
    display: block;
    line-height: 1.2;
}

.floating-card .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ============================================
   STATS SECTION COMPONENTS
   ============================================ */

.stat-card {
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.counter-number {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   PACKAGE CARDS (Enhanced)
   ============================================ */

/* Packages Section - Fixed height to prevent scroll jumping */
#packages .row.g-4 {
    min-height: 2000px;
}

.package-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.package-card-header {
    position: relative;
    width: 100%;
    background: #f3f4f6;
    overflow: hidden;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
}

.package-card-header .fi {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 0 !important;
    line-height: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: block !important;
    z-index: 1;
}

.package-card-header .fa-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    line-height: 0.75;
    z-index: 1;
    color: #667eea;
    opacity: 0.9;
}

.flag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    z-index: 2;
}

.country-code-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    letter-spacing: 1px;
}

.platform-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

/* Platform badge styling is handled by platformBadge() helper function with size='lg' */

.package-type-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.package-type-badge.badge-solo {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.package-type-badge.badge-combo {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.package-type-badge.badge-auto {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

/* Package Card Body */
.package-card-body {
    padding: 1.25rem;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-align: center;
    /* Always occupy exactly 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3rem; /* 1.25rem * 1.2 * 2 lines */
    min-height: 3rem;
}

.feature-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
    padding: 0.5rem;
    gap: 0.5rem;
    align-items: center;
}

.feature-icons .feature {
    text-align: center;
    width: 90px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 0.5rem 0.25rem;
    transition: all 0.3s ease;
}

.feature-icons .feature:hover {
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icons .feature i {
    display: block;
    font-size: 1.5rem;
    color: #11998e;
    margin-bottom: 0.35rem;
}

.feature-icons .feature .text {
    font-size: 0.55rem;
    font-weight: 600;
    color: #6c757d;
    line-height: 1.1;
    white-space: nowrap;
}

.package-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    height: 2.85rem; /* Exactly 2 lines (0.95rem * 1.5 line-height * 2 lines) */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Original Price Outside (floating above price section) */
.original-price-outside {
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #6c757d;
    background: white;
    padding: 4px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
    white-space: nowrap;
}

.original-price-outside .price-label {
    font-weight: 500;
}

.original-price-outside .price-strikethrough {
    text-decoration: line-through;
    font-weight: 600;
    color: #dc3545;
}

/* Package Price Section */
.package-price-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.discount-banner {
    position: absolute;
    top: -8px;
    right: 10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.discount-banner i {
    font-size: 0.75rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

/* Package Services Section */
.package-services-section {
    margin-bottom: 0.75rem;
    padding: 0.25rem 0;
    height: 180px;
    display: flex;
    flex-direction: column;
}

.services-header {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-header i {
    color: #667eea;
}

.services-count {
    color: #6b7280;
    font-size: 0.75rem;
}

.package-features {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-items-list {
    flex: 1;
    display: grid;
    gap: 10px;
    align-content: center;
    justify-content: center;
}

/* Grid layout based on number of services */
.service-items-list[data-count="1"] {
    grid-template-columns: minmax(0, 140px);
}

.service-items-list[data-count="2"],
.service-items-list[data-count="3"],
.service-items-list[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 140px));
}

/* Center the third service when there are 3 services */
.service-items-list[data-count="3"] .service-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    width: 140px;
    height: 70px;
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.service-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.service-item-icon .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
}

.service-item-quantity {
    display: block;
}

.qty-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
}

.service-type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    min-height: 40px;
}

.service-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    padding: 10px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.service-badge-item:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.service-name {
    font-size: 1rem;
    color: #667eea;
    white-space: nowrap;
    font-weight: 600;
}

.no-services-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
    font-style: italic;
}

/* Package Button Section */
.package-button-section {
    margin-top: auto;
    padding-top: 0.5rem;
}

.package-button-section .btn {
    font-weight: 700;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.package-button-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.package-button-section .btn i {
    transition: transform 0.3s ease;
}

.package-button-section .btn:hover i {
    transform: translateX(3px);
}

/* ============================================
   PROCESS CARDS (How It Works Section)
   ============================================ */

.process-line {
    position: absolute;
    top: 80px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.process-card {
    position: relative;
    z-index: 2;
}

.process-number {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: #f3f4f6;
    line-height: 1;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* ============================================
   FEATURE BOXES (Why Choose Us Section)
   ============================================ */

.feature-box {
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(118, 75, 162, 0.2) 0%, transparent 50%);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .floating-card {
        display: none;
    }

    .process-line {
        display: none !important;
    }

    .hero-shapes .shape {
        display: none;
    }

    .package-card {
        max-height: none;
    }

    .package-title {
        font-size: 1.25rem;
    }

    .package-description {
        font-size: 0.95rem;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    /* Feature Icons - No changes needed, consistent across all screens */

    .service-item {
        padding: 10px 12px;
    }

    .service-item-icon .badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .qty-number {
        font-size: 1.15rem;
    }

    .process-number {
        font-size: 3rem;
    }

    .process-icon {
        width: 60px;
        height: 60px;
    }
}

/* Hero Section Mobile Responsiveness */
@media (max-width: 991px) {
    .floating-card {
        padding: 1.25rem 1rem;
    }

    .social-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .social-icon-wrapper i {
        font-size: 1.5rem;
    }

    .floating-card .stat-number {
        font-size: 1.25rem;
    }

    .floating-card .stat-label {
        font-size: 0.75rem;
    }

    .card-1 {
        left: -5%;
    }

    .card-2 {
        right: -5%;
    }

    .card-3 {
        left: 0;
    }
}

@media (max-width: 767px) {
    /* Hide floating cards on mobile for cleaner look */
    .floating-card {
        display: none;
    }

    /* Hero Image Wrapper - Full Width on Mobile */
    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    /* Analytics Dashboard - Mobile Optimized */
    .analytics-dashboard {
        max-width: 100%;
        margin-top: 2rem;
    }

    .dashboard-container {
        padding: 2rem 1.5rem;
    }

    .stat-block {
        grid-template-columns: auto 1fr;
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stat-trend {
        grid-column: 2;
        justify-self: end;
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .platform-indicators {
        gap: 0.5rem;
        margin: 1rem 0 0.75rem;
    }

    .platform-dot {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .success-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .package-card-header {
        padding-bottom: 75%;
    }

    /* Mobile: Ensure full coverage for flags */
    .package-card-header .fi {
        width: 100% !important;
        height: 100% !important;
    }

    .package-card-header .fa-globe {
        font-size: 15rem;
    }

    /* Hero Image Wrapper - Full Width on Small Screens */
    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    /* Feature Icons - No changes needed, consistent across all screens */

    /* Analytics Dashboard - Extra Small Screens */
    .analytics-dashboard {
        margin-top: 1.5rem;
        max-width: 100%;
    }

    .dashboard-container {
        padding: 1.75rem 1.25rem;
    }

    .stat-block {
        padding: 1.15rem;
    }

    .stat-icon {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stat-trend {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .platform-indicators {
        gap: 0.4rem;
    }

    .platform-dot {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .success-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* ============================================
   FAQ PAGE - ACCORDION STYLES
   ============================================ */

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa !important;
    color: #212529;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667eea'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23764ba2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ========================================
   PRODUCT DETAIL PAGE STYLES
   ======================================== */

/* Package Hero Header */
.product-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    padding: 3rem 0 2rem;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,90.7C960,96,1056,128,1152,133.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

.product-hero .package-preview {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: white;
}

.product-hero .package-card-header {
    padding-bottom: 60%;
    margin: 0;
}

.product-hero-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.product-hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Product Content Card */
.product-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

/* Form Group Styling */
.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.form-section-title i {
    color: #667eea;
    margin-right: 0.75rem;
}

/* Modern Quantity Control */
.quantity-wrapper {
    max-width: 320px;
}

.quantity-control {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quantity-btn:hover:not(:disabled) {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: scale(1.05);
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-input {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    padding: 0 0.75rem;
    min-width: 100px;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input {
    -moz-appearance: textfield;
}

.quantity-input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.quantity-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Services List */
.services-included {
    margin-top: 1.5rem;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.services-list .service-item {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.services-list .service-item:hover {
    background: white;
    border-color: #e2e8f0;
    transform: translateX(4px);
}

.service-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.938rem;
}

.service-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 8px;
    font-size: 0.813rem;
    font-weight: 600;
}

.badge-adjustable {
    background: #fef3c7;
    color: #92400e;
}

.badge-fixed {
    background: #e2e8f0;
    color: #4a5568;
}

/* Order Summary */
.order-summary-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 2rem;
    position: sticky;
    top: 2rem;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.summary-title i {
    margin-right: 0.75rem;
    color: #667eea;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.summary-label {
    color: #64748b;
    font-size: 0.938rem;
}

.summary-value {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.938rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 0.5rem;
    margin-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

.total-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2d3748;
}

.total-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #10b981;
}

/* Buy Button */
.btn-buy {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    margin-top: 1rem;
}

.btn-buy:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-buy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Info Sections */
.info-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.info-section-title {
    font-size: 0.938rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.info-section-title i {
    margin-right: 0.5rem;
    color: #667eea;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.375rem 0;
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
}

.info-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    margin-right: 0.625rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Responsive */
@media (max-width: 991px) {
    .order-summary-card {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .product-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .product-hero-title {
        font-size: 1.5rem;
    }
    
    .product-content {
        padding: 1.5rem;
        margin-top: -2rem;
    }
    
    .quantity-wrapper {
        max-width: 100%;
    }
    
    .quantity-control {
        width: 100%;
    }
}

/* Product Badges */
.product-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Badges now use helper functions - custom styles removed */

.product-hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 1rem;
}

/* Post Preview Card */
.post-preview-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.post-preview-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f9fa;
}

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

.post-user-info {
    display: flex;
    flex-direction: column;
}

.post-username {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.938rem;
}

.post-time {
    font-size: 0.813rem;
    color: #64748b;
}

.post-preview-image {
    position: relative;
    background: #f8f9fa;
    height: 500px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-preview-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.post-preview-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #667eea;
}

.post-preview-loading i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.post-preview-caption {
    padding: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    min-height: 100px;
}

.post-preview-services {
    padding: 1.25rem;
    background: #f8f9fa;
}

.post-preview-services strong {
    color: #2d3748;
    font-size: 0.938rem;
    display: block;
    margin-bottom: 0.75rem;
}

.service-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-summary-list li {
    padding: 0.375rem 0;
    color: #4a5568;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.service-summary-list li span {
    font-weight: 600;
    color: #2d3748;
}

/* Package Description */
.package-description {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
}

.package-description p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .product-badges {
        gap: 0.5rem;
    }

    .post-preview-card .row {
        flex-direction: column;
    }

    .post-preview-image {
        min-height: 250px;
    }

    .post-preview-caption {
        min-height: auto;
    }
}

/* ========================================
   PRODUCT DETAIL PAGE IMPROVEMENTS
   ======================================== */

/* Package Detail Title */
.package-detail-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Feature Icons Showcase */
.package-features-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid #667eea40;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s ease;
}

.feature-badge i {
    font-size: 1.1rem;
}

.feature-badge:hover {
    background: linear-gradient(135deg, #667eea25 0%, #764ba225 100%);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #fef3ff 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
}

.stat-item i {
    font-size: 1.25rem;
    color: #667eea;
}

/* Sticky Summary Enhancements */
.sticky-summary {
    transition: all 0.3s ease;
}

.sticky-summary:hover {
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
}

/* Improved Form Inputs */
.modern-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Enhanced Form Section Titles */
.form-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title i {
    color: #667eea;
    font-size: 1rem;
}

/* Improved Buy Button */
.btn-buy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-buy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-buy:hover::before {
    width: 300px;
    height: 300px;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-buy:active {
    transform: translateY(0);
}

.btn-buy:disabled {
    background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
    cursor: not-allowed;
    box-shadow: none;
}

/* Summary Services List */
.summary-row .summary-value div {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: #4a5568;
}

.summary-row .summary-value div:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

/* Summary Card Improvements */
.summary-total {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 1.25rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 2px solid #667eea20;
}

.total-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Info Section Improvements */
.info-section {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.info-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section-title i {
    color: #667eea;
}

/* Post Preview Card Enhancement */
.post-preview-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-preview-card:hover {
    border-color: #667eea40;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.1);
}

/* Product Content Card */
.product-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive Improvements */
@media (max-width: 991px) {
    .package-detail-title {
        font-size: 1.75rem;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .package-detail-title {
        font-size: 1.5rem;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .package-features-showcase {
        flex-direction: column;
    }

    .feature-badge {
        justify-content: center;
    }

    .product-content {
        padding: 1.5rem;
    }
}
