/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
    --happymod-green: #57c21c;
    --happymod-dark: #1a1a1a;
    --happymod-light: #f4f7f5;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #f3f4f6;
    --text-muted: #6b7280;
    --faq-dark-bg: #121212;
    --faq-answer-bg: #222222;
    --faq-accent: #d4e157;
}


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

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--gray-900);
    overflow-x: hidden;
    line-height: 1.5;
    width: 100%;
    /* Ensure body doesn't expand */
    position: relative;
}

p {
    font-family: 'Roboto', sans-serif, Arial;
    font-size: 17.6px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.space-x-2>*+* {
    margin-left: 0.5rem;
}

.space-x-3>*+* {
    margin-left: 0.75rem;
}

.space-x-4>*+* {
    margin-left: 1rem;
}

.space-x-8>*+* {
    margin-left: 2rem;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.hidden {
    display: none;
}

.container {
    max-width: 80rem;
    /* 7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    border-bottom: none;
}

@media (max-width: 1023px) {
    .header {
        background-color: var(--white);
        border-bottom: 1px solid var(--gray-100);
        position: relative;
        top: 0;
    }
}

.header-inner {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1005;
    /* Stays above the sliding menu */
    background-color: transparent;
}

.header-logo {
    width: auto;
    height: 2.25rem;
    /* Mobile Size */
}

@media (min-width: 1024px) {
    .header-logo {
        width: 215px;
        /* Desktop Size */
        height: 52px;
    }
}

.logo-box {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--happymod-green);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(87, 194, 28, 0.2);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--gray-900);
}


.nav-links {
    display: none;
    gap: 2rem;
    font-weight: 600;
    color: var(--gray-900);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover,
.nav-link.active {
    background-color: #2d6a0b;
    color: var(--white);
}


.dark-theme .nav-link {
    color: var(--gray-600);
}

/* Language Selector */
.lang-btn {
    display: flex;
    align-items: center;
    background-color: var(--gray-50);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    position: relative;
    z-index: 60;
    /* Above header (50) and hero (2) */
}

.lang-btn:hover {
    background-color: var(--gray-100);
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
}

.lang-code {
    /* text-transform: uppercase; */
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-700);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 12rem;
    width: max-content;
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 0.5rem;
    display: none;
    z-index: 100;
}

/* .group:hover .lang-dropdown Removed to prevent flickering. Using JS click only. */
.lang-dropdown.show {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.lang-option:hover {
    background-color: rgba(87, 194, 28, 0.1);
}

.lang-option.active {
    color: var(--happymod-green);
    background-color: rgba(87, 194, 28, 0.05);
}

/* Hero */
.hero {
    padding-top: 8rem;
    /* Enough room for the absolute header content */
    padding-bottom: 2rem;
    background: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-color: var(--happymod-green);
    border-bottom-left-radius: 90% 120%;
    z-index: 0;
}

@media (max-width: 1023px) {
    .hero {
        padding-top: 2rem;
        /* Reduced because header is now sticky/relative in flow */
        padding-bottom: 2rem;
        min-height: auto;
    }
}





/* Stars Effect */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@media (max-width: 1023px) {
    .hero-bg-shape {
        width: 380px;
        height: 380px;
        top: auto;
        bottom: -80px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 50%;
        clip-path: none;
    }
}

@media(min-width: 1024px) {

    /* Show blobs on desktop only */
    .hero-blob {
        display: block;
        position: absolute;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

@media(min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: rgba(87, 194, 28, 0.1);
    color: var(--happymod-green);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    word-break: break-word;
    /* Prevent overflow */
}

.hero-subtitle-new {
    font-size: 30px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media(min-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle-new {
        font-size: 36px;
    }
}

.hero-sub {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

@media(min-width: 1024px) {
    .hero-sub {
        font-size: 1.875rem;
    }
}

.hero-btn {
    background-color: var(--happymod-green);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(87, 194, 28, 0.3);
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-btn:hover {
    background-color: #46a016;
    transform: translateY(-4px);
}

.hero-btn-mobile {
    display: none;
}

.hero-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
}

.hero-security {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-icons {
    display: flex;
    gap: 1rem;
    filter: grayscale(100%);
    opacity: 0.6;
}

.security-icons img {
    height: 2rem;
}

.security-text {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.625;
    max-width: 48rem;
    margin-top: 1.5rem;
    text-align: left;
}

/* Security Verification Badges */
.security-badges-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.main-security-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-security-badge img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.main-security-badge span {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
}

.trust-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-logo-item img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.trust-logo-item span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
}

@media (max-width: 768px) {
    .security-badges-container {
        align-items: center;
        width: 100%;
    }

    .main-security-badge span {
        font-size: 1.5rem;
    }

    .trust-logos {
        justify-content: center;
        gap: 1.25rem;
    }

    .security-text {
        text-align: center;
        padding: 0 1rem;
    }
}

/* Phone Image */
.hero-phone-img {
    max-width: 100%;
    height: auto;
    width: 26.65rem;
    /* Increased by 45% from 18.375rem */
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}

@media (max-width: 1023px) {
    .hero-phone-img {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@keyframes heroEntrance {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    30% {
        transform: translateY(0);
        opacity: 1;
    }

    40%,
    45%,
    50%,
    55%,
    60% {
        transform: translateX(-3px);
    }

    42.5%,
    47.5%,
    52.5%,
    57.5% {
        transform: translateX(3px);
    }

    70% {
        transform: translateX(0);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

/* Main Content */
.main {
    background-color: var(--white);
    flex-grow: 1;
    padding: 2rem 0.25rem 5rem;
}

.content-card {
    background-color: var(--white);
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: none;
    border: none;
    max-width: 56rem;
    margin: 0 auto;
}

@media(min-width: 640px) {
    .content-card {
        padding: 4rem;
    }
}

.article-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 2.5rem;
}

@media(min-width: 640px) {
    .article-title {
        font-size: 3rem;
    }
}

/* Typography */
.prose h2 {
    background-color: var(--gray-50);
    border-left: 8px solid var(--happymod-green);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    font-weight: 800;
    color: var(--gray-900);
    border-radius: 0 0.75rem 0.75rem 0;
    display: block;
    width: 100%;
    font-size: 1.875rem;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.25rem;
    margin-top: 2rem;
    text-align: left;
}

.prose p {
    font-family: 'Roboto', sans-serif, Arial;
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.prose ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

/* Features Grid - Redesigned to Vertical Layout */
.grid-features {
    display: block;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .grid-features {
        /* Kept strictly vertical/block based on user request */
        display: block;
    }
}

.feature-card {
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    margin-bottom: 2rem;
}

.feature-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
    margin-top: 1rem;
}

/* FAQ Section - Redesigned to Dark Theme */
.faq-section {
    position: relative;
    width: 100vw;
    margin: 4rem calc(50% - 50vw);
    padding: 5rem 1.5rem;
    background: var(--faq-dark-bg);
    color: var(--white);
    counter-reset: faq-counter;
}

.faq-section .faq-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--faq-accent);
    margin-bottom: 4rem;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    /* Overriding general .prose h2 styles */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.faq-item {
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 2.5rem;
    overflow: visible;
    border: none;
    transition: none;
    width: 100%;
    max-width: none;
    counter-increment: faq-counter;
}

.faq-item:hover {
    transform: none;
    box-shadow: none;
}

.faq-question {
    padding: 0.5rem 0;
    margin-bottom: 0.75rem;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    transition: none;
    width: 100%;
    text-align: left;
}

.faq-question::before {
    content: counter(faq-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background-color: #2a2a2a;
    color: var(--white);
    border-radius: 50%;
    font-size: 0.9375rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-item.active .faq-question::before {
    content: '−';
}

.faq-question::after {
    display: none;
    /* Removed the old right-side toggle */
}

.faq-answer {
    padding: 1.25rem 1.5rem;
    background-color: var(--faq-answer-bg);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

.faq-section .faq-question {
    /* Resetting the nested specificity overrides */
    list-style: none;
    display: flex;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-size: 1.25rem;
}



/* Footer */
.footer {
    background-color: var(--happymod-green);
    color: var(--gray-900);
    padding: 2rem 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}


.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.9375rem;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .footer-nav {
        justify-content: flex-end;
    }
}

.footer-nav a {
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-separator {
    opacity: 0.3;
    font-weight: 300;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-right: 0.5rem;
}

.mobile-menu-btn span {
    width: 2rem;
    height: 0.25rem;
    background: var(--gray-900);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}


.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
}

@media(min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: relative;
    /* Changed from absolute to push content down */
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}


.mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

.mobile-nav-links {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    border-radius: 0.75rem;
    transition: all 0.2s;
    text-decoration: none;
}


.back-to-top {
    position: fixed !important;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--happymod-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(87, 194, 28, 0.3);
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Backlink Styling */
.backlink-bold-blue {
    font-weight: 700;
    color: #2563eb !important;
}

.back-to-top:hover {
    background-color: #46a016;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(87, 194, 28, 0.4);
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 1.5rem !important;
        right: 1.5rem !important;
        width: 3rem !important;
        height: 3rem !important;
    }
}

/* Green Feature Box */
.green-feature-box {
    background-color: var(--happymod-green);
    border-radius: 3rem;
    padding: 4rem 2rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(87, 194, 28, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.green-box-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.green-box-desc {
    max-width: 800px;
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
}

.green-box-desc p {
    margin: 0;
}

.green-box-img-container {
    max-width: 120px;
    width: 100%;
}

.green-box-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

@media (max-width: 767px) {
    .green-feature-box {
        padding: 2.5rem 1rem;
        border-radius: 2rem;
        gap: 1.5rem;
    }

    .green-box-title {
        font-size: 1.75rem;
    }

    .green-box-desc {
        font-size: 1rem;
    }

    .green-box-img-container {
        max-width: 250px;
    }
}

/* Theme Toggle */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: var(--gray-50);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 1rem;
}

.theme-toggle-btn:hover {
    background-color: var(--gray-100);
}

.theme-toggle-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

#moon-icon {
    display: block;
}

#sun-icon {
    display: none;
}


.lang-toggle-mobile {
    display: none;
}


@media (max-width: 1024px) {
    .theme-toggle-btn {
        margin-left: 0.5rem;
        width: 2.25rem;
        height: 2.25rem;
    }

    .lang-btn {
        display: none !important;
    }

    .lang-toggle-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 9999px;
        background-color: var(--gray-50);
        color: var(--gray-700);
        border: 1px solid var(--gray-200);
        cursor: pointer;
    }
}


/* Social Sharing Buttons */
.social-share-container {
    padding: 2rem 1rem;
    background-color: var(--white);
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: center;
}

.social-share-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.share-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #000000;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.reddit {
    background-color: #ff4500;
}


@media (min-width: 1440px) {
    .social-share-container {
        position: fixed;
        top: 50%;
        left: 1.5rem;
        transform: translateY(-50%);
        padding: 0;
        background: transparent;
        border: none;
        z-index: 100;
    }

    .social-share-inner {
        flex-direction: column;
    }

    .share-btn {
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* Comparison Table Styles */
.comparison-table-container {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    /* Ensures text doesn't wrap too much on small screens */
    border-collapse: collapse;
    background-color: var(--white);
    font-family: 'Roboto', sans-serif;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background-color: var(--gray-50);
    color: var(--gray-800);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.comparison-table td {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.5;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background-color: var(--gray-50);
}

.comparison-table .feature-col {
    font-weight: 700;
    color: var(--gray-900);
    background-color: var(--gray-50);
    width: 30%;
}

.comparison-table .happymod-col {
    font-weight: 600;
    color: var(--happymod-green);
    background-color: rgba(87, 194, 28, 0.03);
}

.comparison-table .others-col {
    color: var(--gray-500);
}

.status-yes {
    color: var(--happymod-green) !important;
    font-weight: 700;
}

.status-no {
    color: var(--gray-500) !important;
}


@media (max-width: 767px) {
    .comparison-table {
        min-width: 100%;
        font-size: 0.8rem;
        /* Slightly smaller font */
        table-layout: auto;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.3rem;
        /* Tighter padding */
    }

    .comparison-table .feature-col {
        width: 35%;
        padding-left: 0.5rem;
    }

    .comparison-table th {
        font-size: 0.75rem;
    }
}

/* --- New Styled Features Section --- */
.features-container-v2 {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    border-left: 6px solid var(--happymod-green);
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 2.5rem 1.5rem;
    margin: 3rem auto;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 1100px;
}

.feature-item-v2 {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 1rem;
}

/* Vertical Divider on Desktop */
@media (min-width: 1024px) {
    .features-container-v2 {
        flex-wrap: nowrap;
    }

    .feature-item-v2:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -0.375rem;
        top: 20%;
        bottom: 20%;
        width: 1px;
        background-color: var(--gray-200);
    }
}

.feature-icon-v2 {
    width: 84px;
    height: 84px;
    border: 2px solid var(--happymod-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background-color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(87, 194, 28, 0.1);
}

.feature-item-v2:hover .feature-icon-v2 {
    transform: scale(1.15) rotate(5deg);
    border-width: 3px;
    box-shadow: 0 8px 20px rgba(87, 194, 28, 0.2);
}

.feature-label-v2 {
    font-weight: 800;
    color: var(--gray-800);
    font-size: 0.95rem;
    line-height: 1.3;
    font-family: 'Outfit', sans-serif;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .features-container-v2 {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 1.5rem 0.5rem;
        gap: 0.5rem;
        border-left-width: 8px;
    }

    .feature-item-v2 {
        width: 48%;
        flex: none;
        padding: 0.75rem 0.25rem;
    }

    .feature-icon-v2 {
        width: 72px;
        height: 72px;
        margin-bottom: 0.75rem;
    }
}

/* --- New Premium Features Styled Section --- */
.premium-features-new {
    margin: 4rem 0;
    padding: 2rem 0;
}

.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .premium-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.premium-feature-card {
    background-color: var(--card-bg);
    border-radius: 2rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px -10px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.premium-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px -15px var(--shadow-color);
    border-color: var(--happymod-green);
}

.premium-feature-card img {
    width: 220px;
    height: auto;
    border-radius: 1.25rem;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.premium-feature-card:hover img {
    transform: scale(1.05);
}

.premium-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.premium-feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.dark-theme .premium-feature-card {
    background-color: var(--gray-100);
    border-color: var(--gray-200);
}

/* Blog Load More Feature */
.hidden-post {
    display: none !important;
}

.load-more-container {
    text-align: center;
    margin: 3rem 0;
}

.load-more-btn {
    background-color: var(--happymod-green, #57c21c);
    color: var(--white, #ffffff);
    padding: 0.8rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(87, 194, 28, 0.2);
}

.load-more-btn:hover {
    background-color: #4bac14;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(87, 194, 28, 0.3);
}

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