/* ==========================================================================
   Premium Hosting & Pricing Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --pricing-bg: #fdfdfd;
    --card-bg: #ffffff;
    --accent-color: #395e0e;
    /* Deep dark green from user */
    --accent-light: #7ebc12;
    /* Original green for accents */
    --accent-glow: #e6f4d7;
    --text-main: #1d2833;
    --text-muted: #667085;
    --border-color: #eaecf0;
    --dark-card: #0a0f02;
    /* Very dark green-black */
}

.hosting-page-wrapper {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background-color: var(--pricing-bg) !important;
    padding: clamp(40px, 8vw, 80px) 0 !important;
    display: block !important;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 42px) !important;
    font-weight: 900 !important;
    color: var(--text-main) !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
}

.section-header h2 span {
    color: var(--accent-light);
    display: inline-block;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
}

/* New Badge */
.new-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.new-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 6px 16px 6px 6px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.new-badge .tag {
    background: var(--accent-light);
    color: #000;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.pricing-toggle {
    display: flex;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 5px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.pricing-toggle .toggle-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.pricing-toggle .toggle-btn.active {
    color: #fff;
    background: var(--text-main);
}

.save-badge {
    background: #ff5c00;
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    margin-left: 5px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 80px;
}

.pricing-card {
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 24px 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    background: var(--dark-card);
    border-color: #000;
    transform: scale(1.02);
    z-index: 2;
}

.pricing-card.featured .plan-type,
.pricing-card.featured .plan-desc {
    color: #fff !important;
}

.pricing-card.featured .plan-price {
    color: #fff !important;
}

.pricing-card.featured .plan-price span {
    color: rgba(255, 255, 255, 0.6) !important;
}

.pricing-card .plan-header {
    margin-bottom: 20px;
}

.plan-icon-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 8px;
}

.pricing-card.featured .plan-icon-title {
    color: #fff;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.plan-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    line-height: 1;
}

.plan-price span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0;
}

/* CTA Buttons */
.plan-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #000;
    text-align: center;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none !important;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}

/* Secondary action row (Cart + Wishlist) */
.plan-secondary-actions {
    margin-bottom: 20px;
}

.plan-btn-secondary:hover {
    background: var(--accent-light, #a2e635) !important;
    color: #000 !important;
}

.plan-btn-wishlist:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

.pricing-card.featured .plan-btn {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: #000;
}

.pricing-card:not(.featured) .plan-btn:hover {
    background: #f0f0f0;
}

.pricing-card.featured .plan-btn:hover {
    filter: brightness(1.1);
}

/* Features Wrapper */
.plan-features-wrapper {
    background: #fff;
    margin: 0 -20px -24px -20px;
    padding: 24px 20px;
    border-radius: 0 0 24px 24px;
    flex-grow: 1;
    border-top: 1px solid var(--border-color);
}

.pricing-card.featured .plan-features-wrapper {
    background: #fff;
}

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

.plan-features li {
    font-size: 13px;
    color: #000;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i.fa {
    width: 22px !important;
    height: 22px !important;
    background: #000 !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: block !important;
    font-size: 10px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    line-height: 22px !important;
}

.plan-features li i.fa::before {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
    text-align: center !important;
    margin: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Responsive Grid */
@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: translateY(0);
    }

    .section-header h2 {
        font-size: 40px !important;
    }
}

@media (max-width: 480px) {
    .plan-secondary-actions {
        padding: 0 12px !important;
    }

    .plan-btn-secondary {
        font-size: 11px !important;
        padding: 8px 8px !important;
    }

    .plan-btn-wishlist {
        padding: 8px 10px !important;
    }
}

/* ─── Pricing Carousel (4+ plans, single row) ────────────────────────── */
.pricing-carousel-wrapper {
    position: relative;
    margin-bottom: 80px;
}

.pricing-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pricing-carousel::-webkit-scrollbar {
    display: none;
}

.pricing-carousel .pricing-card {
    flex: 0 0 calc(33.333% - 16px) !important;
    min-width: 280px !important;
    max-width: calc(33.333% - 16px) !important;
    scroll-snap-align: start;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-main, #111);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.carousel-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.carousel-nav:disabled {
    opacity: 0.25;
    cursor: default;
    transform: translateY(-50%) scale(1);
}

.carousel-nav.prev {
    left: -24px;
}

.carousel-nav.next {
    right: -24px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-light, #a3e635);
    width: 28px;
    border-radius: 12px;
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .pricing-carousel .pricing-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 260px;
    }
}

@media (max-width: 767px) {
    .pricing-carousel .pricing-card {
        flex: 0 0 85%;
        min-width: 260px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .carousel-nav.prev {
        left: -12px;
    }

    .carousel-nav.next {
        right: -12px;
    }
}

/* Why Choose Us Section (Namecheap & Bento Style) */
.why-hosting-section {
    padding: 60px 0;
    /* Reduced from 100px */
    background: #ffffff;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
    /* Changed from 180px to auto to fit content snugly */
    gap: 20px;
    margin-bottom: 20px;
    /* Reduced margin to bring footer up */
}

.bento-card {
    position: relative;
    background: #fff;
    border: 1px dashed var(--accent-color);
    padding: 20px;
    /* Reduced from 24px */
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    /* Tighter internal gap */
    overflow: visible;
}

/* Deep Green Accent Variant */
.bento-card.bg-accent {
    background: #395e0e !important;
    /* Requested deep green */
    border: 1px solid #395e0e !important;
}

.bento-card.bg-accent h4,
.bento-card.bg-accent p {
    color: #fff !important;
    /* White text on green */
}

.bento-card.bg-accent::before,
.bento-card.bg-accent::after,
.bento-card.bg-accent .corner-bl,
.bento-card.bg-accent .corner-br {
    filter: brightness(10);
    /* White corner icons on green bg */
}


.bento-card:hover {
    border: 1px dashed var(--accent-color);
    background: rgba(126, 188, 18, 0.02);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(126, 188, 18, 0.08);
}

.bento-card h4 {
    font-size: 20px;
    /* Exact text-xl from React */
    font-weight: 700;
    /* Exact font-bold from React */
    color: var(--text-main);
    margin-bottom: 8px;
    /* Precise spacing */
    transition: color 0.3s ease;
}

.bento-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Bento Corner Icons - Matching React SVG Style */
.bento-card::before,
.bento-card::after,
.bento-card .corner-bl,
.bento-card .corner-br {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237ebc12' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6v12m6-6H6' /%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    z-index: 10;
    transition: transform 0.3s ease;
}

.bento-card::before {
    top: -12px;
    left: -12px;
}

.bento-card::after {
    top: -12px;
    right: -12px;
}

.bento-card .corner-bl {
    bottom: -12px;
    left: -12px;
    position: absolute;
}

.bento-card .corner-br {
    bottom: -12px;
    right: -12px;
    position: absolute;
}

.bento-card:hover::before,
.bento-card:hover::after,
.bento-card:hover .corner-bl,
.bento-card:hover .corner-br {
    transform: rotate(90deg);
}

/* Grid Spans */
.span-3 {
    grid-column: span 3;
    grid-row: span 2;
}

.span-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.span-4 {
    grid-column: span 4;
    grid-row: span 1;
}

.span-lg-2 {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-footer {
    max-width: 700px;
    margin-left: auto;
    text-align: right;
    margin-top: 40px;
    position: relative;
    z-index: 5;
}

.bento-footer h2 {
    font-size: 60px;
    /* Matching text-6xl */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.bento-footer p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .span-3,
    .span-2,
    .span-4,
    .span-lg-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-footer {
        text-align: center;
        margin-top: 40px;
    }

    .bento-footer h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.faq-answer {
    padding-top: 15px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Enhancing sticky table headers */
.comp-table tr:hover td {
    background-color: rgba(126, 188, 18, 0.02);
}

/* Comparison Table Area */
.comparison-section {
    padding: 40px 0 80px;
    /* Reduced top padding from 80px to 40px */
    background: #ffffff;
}

.comparison-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comp-table th,
.comp-table td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.comp-table th {
    background: #fcfcfd;
    font-weight: 700;
    color: var(--text-main);
}

.comp-table .feature-col {
    width: 250px;
    font-weight: 700;
    color: var(--text-main);
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 10;
    border-right: 1px solid var(--border-color);
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.02);
}

/* Plan highlighting (based on images) */
.comp-table th.highlight-col,
.comp-table td.highlight-col {
    background: rgba(126, 188, 18, 0.05);
    /* Very light green hint */
}

.comp-table th.highlight-col {
    border-top: 3px solid var(--accent-color);
}

.comp-plan-header {
    text-align: center;
}

.comp-plan-header i {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.comp-plan-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    display: block;
}

.comp-check {
    color: var(--accent-color);
    font-weight: 700;
}

.comp-cross {
    color: #f04438;
}

.comp-text {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 40px 0;
    }
}

/* ==========================================================================
   Premium CTA Section (Image-Inspired)
   ========================================================================== */
.premium-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    /* Soft background context */
    overflow: hidden;
}

.premium-cta-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 50px 70px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.cta-content-left {
    flex: 1;
    max-width: 550px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.rating-badge .stars {
    color: #ffb800;
    display: flex;
    gap: 4px;
}

.rating-badge span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.cta-content-left h2 {
    font-size: 42px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    color: #000 !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
}

.cta-content-left p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 480px;
}

.cta-apps {
    display: flex;
    gap: 16px;
}

.cta-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000 !important;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cta-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-app-btn i {
    font-size: 24px;
}

.cta-app-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cta-app-text small {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.7;
}

.cta-app-text b {
    font-size: 16px;
}

.cta-visual-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.cta-visual-right img {
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
}

@media (max-width: 991px) {
    .premium-cta-card {
        flex-direction: column;
        padding: 60px 40px;
        text-align: center;
    }

    .cta-content-left {
        max-width: 100%;
    }

    .cta-content-left h2 {
        font-size: 42px !important;
    }

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

    .cta-apps {
        justify-content: center;
    }

    .cta-content-left p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-visual-right {
        justify-content: center;
        margin-top: 40px;
    }
}

/* ==========================================================================
   Modern Hero Section (Reference Image Inspired)
   ========================================================================== */
.modern-hero-section {
    padding: 30px 0 40px;
    background: #fcfcfc;
    overflow: hidden;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content-left {
    flex: 1;
    max-width: 650px;
    z-index: 5;
}

.hero-content-left h1 {
    font-size: clamp(48px, 8vw, 96px) !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
    letter-spacing: -2px !important;
    color: #000 !important;
    text-transform: none !important;
    margin-bottom: 30px !important;
    position: relative;
}

.hero-content-left h1 .highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    margin-right: 10px;
    position: relative;
    top: 5px;
}

.hero-content-left h1 .tag-pill {
    display: inline-block;
    border: 1px solid #d1d5db;
    padding: 5px 30px;
    border-radius: 100px;
    font-size: 40px;
    font-weight: 300;
    color: #a855f7;
    /* Purple hint */
    letter-spacing: 0;
    margin-left: 15px;
    vertical-align: middle;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
    max-width: 480px;
    margin-bottom: 50px;
}

.hero-users {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.user-avatars {
    display: flex;
}

.user-avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -15px;
}

.user-avatars img:first-child {
    margin-left: 0;
}

.user-text {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.user-text span {
    display: block;
    font-weight: 400;
    color: #6b7280;
    font-size: 13px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-tag {
    padding: 8px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.hero-tag.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Right Visual */
.hero-visual-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    background: linear-gradient(135deg, #e9e5ff 0%, #d8d1ff 100%);
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1/1.1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
    transition: transform 0.5s ease;
    /* Stepped Shape using Mask */
    mask-image: url("data:image/svg+xml,%3Csvg width='500' height='550' viewBox='0 0 500 550' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M120 40C120 17.9086 137.909 0 160 0H460C482.091 0 500 17.9086 500 40V470C500 492.091 482.091 510 460 510H380C357.909 510 340 527.909 340 550H40C17.9086 550 0 532.091 0 510V160C0 137.909 17.9086 120 40 120H80C102.091 120 120 102.091 120 80V40Z' fill='black'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='500' height='550' viewBox='0 0 500 550' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M120 40C120 17.9086 137.909 0 160 0H460C482.091 0 500 17.9086 500 40V470C500 492.091 482.091 510 460 510H380C357.909 510 340 527.909 340 550H40C17.9086 550 0 532.091 0 510V160C0 137.909 17.9086 120 40 120H80C102.091 120 120 102.091 120 80V40Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
}

.visual-frame:hover {
    transform: scale(1.02);
}

.visual-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(126, 188, 18, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.hero-visual-container {
    position: relative;
    padding: 40px;
}

/* Small floating details */
.visual-status-tags {
    position: absolute;
    top: -20px;
    left: 40px;
    display: flex;
    gap: 8px;
}

.status-tag {
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000;
}

.status-tag i {
    color: var(--accent-light);
    font-size: 10px;
}

.visual-diagonal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.visual-explore-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.visual-explore-text i {
    font-size: 16px;
}

.visual-spinning-text {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    animation: spin 15s linear infinite;
    z-index: 10;
    pointer-events: none;
}

.visual-spinning-text img {
    width: 100%;
    height: 100%;
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.visual-status-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.visual-frame .hero-main-img {
    max-width: 90%;
    width: auto;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
    z-index: 2;
    animation: floatHero 6s ease-in-out infinite;
}

.visual-frame .hero-main-img.dedicated-img-power {
    filter: hue-rotate(-20deg) brightness(1.1) drop-shadow(0 30px 60px rgba(126, 188, 18, 0.3));
}

@keyframes floatHero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 1200px) {
    .hero-content-left h1 {
        font-size: 80px !important;
        letter-spacing: -4px !important;
    }
}

@media (max-width: 991px) {
    .modern-hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content-left {
        max-width: 100%;
    }

    .hero-users {
        justify-content: center;
        margin-bottom: 30px;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 30px;
        text-align: center;
    }

    .visual-spinning-text {
        width: 110px;
        height: 110px;
        left: -40px;
    }

    .visual-frame {
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .modern-hero-section {
        padding: 40px 0;
    }

    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero-content-left h1 {
        font-size: 48px !important;
        letter-spacing: -1px !important;
        margin-bottom: 15px !important;
        line-height: 1.1 !important;
    }

    .hero-content-left h1 .tag-pill {
        font-size: 18px;
        padding: 2px 10px;
        margin-left: 5px;
        margin-top: 10px;
        display: inline-block;
    }

    .hero-users {
        flex-direction: column;
        gap: 10px;
    }

    .user-text {
        text-align: center;
    }

    .status-tag {
        padding: 4px 10px;
        font-size: 9px;
    }

    .visual-diagonal-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
        top: 15px;
        right: 15px;
    }

    .visual-explore-text {
        font-size: 12px;
        bottom: 15px;
        right: 15px;
    }

    .visual-spinning-text {
        display: none;
    }

    .visual-frame {
        max-width: 100%;
        border-radius: 20px;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        aspect-ratio: 1/1;
        padding: 15px;
    }

    .hero-visual-container {
        padding: 0;
        width: 100%;
    }
}
