/* =======================================================
   CSS: SMM INSTAGRAM
   Variables & Global Setup
======================================================== */
:root {
    --color-primary: #820AE5;
    --color-primary-light: #e6ccff;
    --color-primary-dark: #2b0e4a;
    --color-text-digibos: #1E0633;
    --color-dark: #333333;
    --color-yellow: #FFD700;
}

/* ANTI-OVERFLOW GLOBAL */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

.smm-ig-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-digibos {
    color: var(--color-text-digibos);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-title i,
.section-title .fab,
.section-title .fas {
    margin-right: 8px;
    color: var(--color-primary);
    display: inline-block !important;
}

/* Icons global override */
.smm-ig-hero-list li i,
.smm-ig-strategi-list li i,
.smm-ig-benefit-card i,
.smm-ig-usp-card i,
.smm-ig-product i,
.smm-ig-faq i,
.smm-ig-progress i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-style: normal !important;
}

.smm-ig-hero-list li i,
.smm-ig-strategi-list li i {
    color: #28a745 !important;
    font-size: 1.1rem !important;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 40px;
}

/* ==============================================
   GLOBAL MEDIA QUERIES (TABLET & MOBILE UTILITIES)
============================================== */

@media (min-width: 769px) and (max-width: 1024px) {
    .smm-ig-container {
        padding: 0 50px !important;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.2rem;
    }
    .section-title i,
    .section-title .fab,
    .section-title .fas {
        font-size: 1.3rem;
    }
}


/* ==============================================
   1. HERO SECTION
============================================== */
.smm-ig-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding-top: 80px;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
}

.smm-ig-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.smm-ig-grid-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 60s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.smm-ig-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(130, 10, 229, 0.55) 0%, rgba(130, 10, 229, 0.2) 50%, rgba(130, 10, 229, 0.05) 100%);
    z-index: 2;
    pointer-events: none;
}

.smm-ig-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.smm-ig-hero-right {
    display: flex;
    justify-content: flex-start;
}

.smm-ig-hero-img-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.smm-ig-hero-img-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--color-primary);
    border-radius: 22px;
    z-index: 2;
    pointer-events: none;
    animation: outlinePulse 3s ease-in-out infinite;
}

@keyframes outlinePulse {
    0%, 100% { border-color: var(--color-primary); }
    50% { border-color: var(--color-yellow); }
}

.smm-ig-img-outline-dot {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    z-index: 3;
    animation: dotTravel 6s linear infinite;
    box-shadow: 0 0 10px var(--color-primary);
}

@keyframes dotTravel {
    0% { top: -6px; left: -6px; }
    25% { top: -6px; left: calc(100% - 6px); }
    50% { top: calc(100% - 6px); left: calc(100% - 6px); }
    75% { top: calc(100% - 6px); left: -6px; }
    100% { top: -6px; left: -6px; }
}

.smm-ig-hero-img-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.smm-ig-hero-left h1 {
    color: var(--color-text-digibos);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1.1;
    border-right: 3px solid var(--color-primary);
    white-space: normal;
}

.smm-ig-hero-left h2 {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
}

.highlight-stabilo {
    display: inline-block;
    color: var(--color-primary);
    background-image: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary) 100%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: 0 100%;
    padding: 2px 10px;
    border-radius: 6px;
    transition: background-size 1.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s ease 0.7s;
    will-change: background-size, color, transform;
}

.highlight-stabilo.active {
    background-size: 100% 100%;
    color: var(--color-primary-light) !important;
}

.smm-ig-hero-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
}

.smm-ig-hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.smm-ig-hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    animation: listFadeIn 0.6s ease forwards;
}

.smm-ig-hero-list li:nth-child(1) { animation-delay: 2.2s; }
.smm-ig-hero-list li:nth-child(2) { animation-delay: 2.6s; }

.smm-ig-hero-list li i {
    color: #28a745;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

@keyframes listFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.smm-ig-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--color-primary);
    color: #fff;
    font-size: 1rem;
}

.smm-ig-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(130, 10, 229, 0.4);
    background: #6a00c4;
    color: var(--color-yellow);
}

/* HERO: TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .smm-ig-hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .smm-ig-hero-left h1 {
        font-size: 2rem;
    }
    .smm-ig-hero-left h2 {
        font-size: 1.1rem;
    }
    .smm-ig-hero-desc {
        font-size: 0.9rem;
        max-width: 100%;
    }
    .smm-ig-hero-img-card {
        max-width: 400px;
    }
}

/* HERO: MOBILE */
@media (max-width: 768px) {
    .smm-ig-hero {
        padding-top: 120px;
        padding-bottom: 80px;
        min-height: auto;
        align-items: flex-start;
    }
    .smm-ig-hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .smm-ig-hero-left {
        order: 1;
    }
    .smm-ig-hero-right {
        order: 2;
        justify-content: center;
    }
    .smm-ig-hero-left h1 {
        font-size: 1.8rem;
        border-right: none;
    }
    .smm-ig-hero-left h2 {
        font-size: 1.1rem;
    }
    .smm-ig-hero-desc {
        max-width: 100%;
    }
    .smm-ig-hero-img-card {
        max-width: 100%;
    }
}


/* ==============================================
   2. TESTIMONI SECTION (Logo Marquee)
============================================== */
.smm-ig-testimoni {
    padding: 60px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.smm-ig-testimoni .smm-ig-container {
    box-shadow: 0 -20px 40px -10px rgba(0,0,0,0.08), 0 20px 40px -10px rgba(0,0,0,0.08);
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 12px;
}

.smm-ig-logo-marquee {
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
    position: relative;
}

.smm-ig-logo-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: logoScroll 25s linear infinite;
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.smm-ig-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.smm-ig-logo-item:hover {
    border-color: var(--color-primary);
    border-radius: 12px;
}

.smm-ig-logo-item img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* TESTIMONI: TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .smm-ig-logo-track {
        gap: 40px;
    }
    .smm-ig-logo-item img {
        height: 40px;
    }
}

/* TESTIMONI: MOBILE */
@media (max-width: 768px) {
    .smm-ig-testimoni {
        padding: 40px 0;
    }
    .smm-ig-logo-track {
        gap: 30px;
    }
    .smm-ig-logo-item img {
        height: 32px;
    }
    .smm-ig-logo-item {
        padding: 8px 12px;
    }
}


/* ==============================================
   3. STRATEGI SECTION
============================================== */
.smm-ig-strategi {
    padding: 80px 0;
    background: #ffffff;
}

.smm-ig-strategi-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.smm-ig-strategi-left h2 {
    margin-bottom: 20px;
}

.smm-ig-strategi-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.smm-ig-strategi-sub {
    font-size: 1rem;
    color: var(--color-text-digibos);
    margin-bottom: 15px;
}

.smm-ig-strategi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smm-ig-strategi-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.smm-ig-strategi-list li i {
    color: #28a745;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.smm-ig-strategi-right {
    display: flex;
    justify-content: center;
}

.smm-ig-strategi-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    display: block;
}

/* STRATEGI: TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .smm-ig-strategi-layout {
        gap: 30px;
    }
    .smm-ig-strategi-img {
        max-width: 400px;
    }
}

/* STRATEGI: MOBILE */
@media (max-width: 768px) {
    .smm-ig-strategi {
        padding: 60px 0;
    }
    .smm-ig-strategi-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .smm-ig-strategi-img {
        max-width: 100%;
    }
}


/* ==============================================
   4. USP SECTION
============================================== */
.smm-ig-usp {
    padding: 80px 0;
    background: #ffffff;
}

.smm-ig-usp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.smm-ig-usp-left h2 {
    margin-bottom: 20px;
}

.smm-ig-usp-sub {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

.smm-ig-usp-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (min-width: 769px) {
    .smm-ig-usp-right {
        order: -1;
    }
}

.smm-ig-usp-card {
    position: relative;
    padding: 25px;
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.3s ease;
}

.smm-ig-usp-card:nth-child(1) {
    background: linear-gradient(135deg, #983ee2, #820AE5);
}

.smm-ig-usp-card:nth-child(2) {
    background: linear-gradient(135deg, #e24b9e, #e5007e);
}

.smm-ig-usp-card:nth-child(3) {
    background: linear-gradient(135deg, rgb(221, 23, 132), #ea5a9a);
}

.smm-ig-usp-card:nth-child(4) {
    background: linear-gradient(135deg, #ac3191, #a94793);
}

.smm-ig-usp-card.bounce-in {
    animation: bounceIn 0.6s ease forwards;
}

.smm-ig-usp-card:nth-child(1).bounce-in { animation-delay: 0.1s; }
.smm-ig-usp-card:nth-child(2).bounce-in { animation-delay: 0.2s; }
.smm-ig-usp-card:nth-child(3).bounce-in { animation-delay: 0.3s; }
.smm-ig-usp-card:nth-child(4).bounce-in { animation-delay: 0.4s; }

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.smm-ig-usp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(130, 10, 229, 0.2);
}

.smm-ig-usp-card h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.smm-ig-usp-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.smm-ig-usp-num {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-yellow);
    opacity: 0.8;
    line-height: 1;
    pointer-events: none;
}

/* USP: TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .smm-ig-usp-layout {
        gap: 30px;
    }
    .smm-ig-usp-card {
        padding: 20px;
    }
    .smm-ig-usp-card h3 {
        font-size: 0.95rem;
    }
    .smm-ig-usp-card p {
        font-size: 0.8rem;
    }
}

/* USP: MOBILE */
@media (max-width: 768px) {
    .smm-ig-usp {
        padding: 60px 0;
    }
    .smm-ig-usp-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .smm-ig-usp-right {
        grid-template-columns: 1fr;
    }
}


/* ==============================================
   5. BENEFIT SECTION
============================================== */
.smm-ig-benefit {
    padding: 80px 0;
    background: #ffffff;
}

.smm-ig-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.smm-ig-benefit-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: left;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.smm-ig-benefit-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(130, 10, 229, 0.12);
}

.smm-ig-benefit-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.smm-ig-benefit-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.smm-ig-benefit-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.smm-ig-benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-digibos);
    margin: 0;
}

.smm-ig-benefit-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* BENEFIT: TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .smm-ig-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .smm-ig-benefit-card {
        padding: 25px 20px;
    }
    .smm-ig-benefit-card h3 {
        font-size: 1rem;
    }
}

/* BENEFIT: MOBILE */
@media (max-width: 768px) {
    .smm-ig-benefit {
        padding: 60px 0;
    }
    .smm-ig-benefit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .smm-ig-benefit-card {
        padding: 25px 20px;
    }
}


/* ==============================================
   6. PROGRESS SECTION
============================================== */
.smm-ig-progress {
    padding: 80px 0;
    background: #fafafa;
}

.smm-ig-progress-icon {
    font-size: 2rem !important;
    color: var(--color-primary) !important;
    transition: all 0.4s ease;
    display: inline-block !important;
}

.section-title:hover .smm-ig-progress-icon {
    transform: scale(1.2) rotate(10deg);
    color: #e4405f;
}

.smm-ig-progress-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

.smm-ig-progress-step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.smm-ig-progress-step.animate {
    animation: progressStepIn 0.8s ease forwards;
}

.smm-ig-progress-step:nth-child(1).animate { animation-delay: 0.1s; }
.smm-ig-progress-step:nth-child(2).animate { animation-delay: 0.3s; }
.smm-ig-progress-step:nth-child(3).animate { animation-delay: 0.5s; }

@keyframes progressStepIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.smm-ig-progress-step.animate .smm-ig-progress-badge {
    animation: badgePop 0.6s ease forwards;
}

.smm-ig-progress-step:nth-child(1).animate .smm-ig-progress-badge { animation-delay: 0.2s; }
.smm-ig-progress-step:nth-child(2).animate .smm-ig-progress-badge { animation-delay: 0.4s; }
.smm-ig-progress-step:nth-child(3).animate .smm-ig-progress-badge { animation-delay: 0.6s; }

@keyframes badgePop {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    60% { transform: scale(1.2) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.smm-ig-progress-step.animate .smm-ig-progress-line {
    animation: lineGrow 0.8s ease forwards;
}

.smm-ig-progress-step:nth-child(1).animate .smm-ig-progress-line { animation-delay: 0.3s; }
.smm-ig-progress-step:nth-child(2).animate .smm-ig-progress-line { animation-delay: 0.5s; }

@keyframes lineGrow {
    0% { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

.smm-ig-progress-line {
    position: absolute;
    top: 30px;
    left: calc(50% + 35px);
    right: calc(-50% + 35px);
    height: 3px;
    background: #E2E8F0;
    z-index: 1;
    transform-origin: left;
}

.smm-ig-progress-step:last-child .smm-ig-progress-line {
    display: none;
}

.smm-ig-progress-badge {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-yellow);
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(130, 10, 229, 0.3);
}

.smm-ig-progress-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-digibos);
    margin: 0 0 10px 0;
}

.smm-ig-progress-content p {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* PROGRESS: TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .smm-ig-progress-steps {
        gap: 25px;
    }
    .smm-ig-progress-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .smm-ig-progress-content h3 {
        font-size: 1rem;
    }
}

/* PROGRESS: MOBILE */
@media (max-width: 768px) {
    .smm-ig-progress {
        padding: 60px 0;
    }
    .smm-ig-progress-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .smm-ig-progress-step {
        max-width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
    .smm-ig-progress-badge {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .smm-ig-progress-line {
        display: none;
    }
    .smm-ig-progress-content {
        flex: 1;
    }
    .smm-ig-progress-content h3 {
        font-size: 1rem;
    }
    .smm-ig-progress-content p {
        font-size: 0.85rem;
    }
}


/* ==============================================
   7. PRODUCT SECTION (Pricing Cards)
============================================== */

.smm-ig-product {
    padding: 80px 0;
    background: #ffffff;
}

/* ==============================================
   9. HEADER NAVIGATION COLOR ADJUSTMENT
============================================== */
.main-header.hero-section-in-view .header-nav .nav-list a,
.main-header.hero-section-in-view .header-action .btn-running-border {
    color: var(--color-dark); /* Dark color for nav links when hero is white */
}

.main-header.hero-section-in-view .header-logo img {
    filter: brightness(0.2); /* Adjust logo color if needed for contrast */
}

/* Ensure dropdown menus maintain correct color */
.main-header.hero-section-in-view .header-nav .dropdown-menu a {
    color: initial; /* Reset to default dropdown color */
}

.main-header.hero-section-in-view .mobile-menu-toggle span {
    background-color: var(--color-dark); /* Darken hamburger icon */
}

.main-header.hero-section-in-view .header-action .btn-running-border {
    border-color: var(--color-dark);
}

.main-header.hero-section-in-view .header-action .btn-running-border:hover {
    background: var(--color-dark);
    color: #fff;
}


.smm-ig-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
    align-items: start;
}

.smm-ig-pricing-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.smm-ig-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.smm-ig-pricing-card.smm-ig-recommended {
    border: 2px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(130, 10, 229, 0.12);
    animation: recommendedPulse 2.5s infinite ease-in-out;
}

@keyframes recommendedPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(130, 10, 229, 0.12); }
    50% { box-shadow: 0 10px 40px rgba(130, 10, 229, 0.25); }
}

.smm-ig-pricing-card.smm-ig-recommended:hover {
    transform: translateY(-5px);
}

.smm-ig-rec-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 6px 18px;
    border-radius: 0 0 8px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    z-index: 5;
    text-transform: uppercase;
}

.smm-ig-pricing-header {
    padding: 30px 25px 15px;
    text-align: center;
}

.smm-ig-pricing-header h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0 0 10px;
    display: inline-block;
    position: relative;
}

.smm-ig-pricing-header h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-yellow);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.smm-ig-pricing-card.animated-header .smm-ig-pricing-header h3::after {
    transform: scaleX(1);
}

.smm-ig-pricing-header p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

.smm-ig-pricing-summary {
    margin: 0 20px;
    padding: 18px;
    background: #f8f9fc;
    border-radius: 10px;
    text-align: center;
}

.smm-ig-recommended .smm-ig-pricing-summary {
    background: var(--color-primary-light);
}

.smm-ig-summary-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-text-digibos);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.smm-ig-summary-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.smm-ig-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.smm-ig-summary-list li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.82rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 6px;
}

.smm-ig-summary-list li:last-child {
    margin-bottom: 0;
}

.smm-ig-summary-list .smm-ig-check {
    color: #28a745;
    font-weight: 900;
    flex-shrink: 0;
}

.smm-ig-pricing-price {
    padding: 20px 25px;
    text-align: center;
}

.smm-ig-price-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.smm-ig-price-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text-digibos);
    transition: color 0.3s ease;
}

.smm-ig-recommended .smm-ig-price-value {
    color: var(--color-primary);
}

.smm-ig-recommended .smm-ig-price-value:hover {
    color: #6a00c4;
}

.smm-ig-price-period {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
}

.smm-ig-pricing-cta {
    padding: 0 25px 20px;
    text-align: center;
}

.smm-ig-cta-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.smm-ig-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(130, 10, 229, 0.3);
    background: #6a00c4;
    color: var(--color-yellow);
}

.smm-ig-cta-secondary {
    display: block;
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.smm-ig-cta-secondary:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

.smm-ig-pricing-accordion {
    margin: 0 25px 25px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.smm-ig-accordion-toggle {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-digibos);
    background: #f8f9fc;
    transition: background 0.3s;
    user-select: none;
}

.smm-ig-accordion-toggle:hover {
    background: #f0f4fb;
}

.smm-ig-accordion-arrow {
    width: 20px;
    height: 20px;
    fill: var(--color-text-digibos);
    transition: transform 0.3s ease;
}

.smm-ig-pricing-accordion.active .smm-ig-accordion-arrow {
    transform: rotate(180deg);
}

.smm-ig-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #ffffff;
}

.smm-ig-pricing-accordion.active .smm-ig-accordion-body {
    max-height: 500px;
}

.smm-ig-accordion-list {
    list-style: none;
    padding: 15px 16px;
    margin: 0;
    border-top: 1px solid #e2e8f0;
}

.smm-ig-accordion-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.4;
}

.smm-ig-accordion-list li:last-child {
    margin-bottom: 0;
}

.smm-ig-accordion-list li .smm-ig-check {
    color: #28a745;
    font-weight: 900;
    flex-shrink: 0;
}

.smm-ig-accordion-list li .smm-ig-cross {
    color: #dc3545;
    font-weight: 900;
    flex-shrink: 0;
}

.smm-ig-loading {
    padding: 40px;
    font-size: 1rem;
    color: #888;
    grid-column: 1 / -1;
}

/* PRODUCT: TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .smm-ig-product-grid {
        gap: 20px;
    }
    .smm-ig-pricing-header {
        padding: 25px 20px 12px;
    }
    .smm-ig-pricing-header h3 {
        font-size: 1.2rem;
    }
    .smm-ig-price-value {
        font-size: 1.7rem;
    }
    .smm-ig-pricing-summary {
        margin: 0 15px;
        padding: 14px;
    }
    .smm-ig-pricing-accordion {
        margin: 0 20px 20px;
    }
}

/* PRODUCT: MOBILE */
@media (max-width: 768px) {
    .smm-ig-product {
        padding: 60px 0;
    }
    .smm-ig-product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .smm-ig-pricing-card.smm-ig-recommended {
        order: -1;
    }
    .smm-ig-pricing-header {
        padding-top: 35px;
    }
}


/* ==============================================
   8. FAQ SECTION
============================================== */
.smm-ig-faq {
    padding: 80px 0;
    background: #fafafa;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.faq-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-q {
    padding: 18px 20px;
    font-weight: 700;
    color: var(--color-primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-q:hover {
    background: #f0f4fb;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: 0.3s;
}

.faq-card.active .faq-icon {
    transform: rotate(45deg);
    color: #e5007e;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: #555;
}

.faq-card.active .faq-a {
    max-height: 300px;
    padding-bottom: 18px;
}

/* FAQ: TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .faq-q {
        padding: 15px;
        font-size: 0.95rem;
    }
    .faq-a {
        font-size: 0.9rem;
    }
}

/* FAQ: MOBILE */
@media (max-width: 768px) {
    .smm-ig-faq {
        padding: 60px 0;
    }
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 20px;
    }
}
