body {
  /*font-family: 'Prompt', sans-serif;*/
  /*font-family: 'Prompt';*/
}

h1, h2, h3, h4, h5, h6 {
  /*font-family: 'Prompt', sans-serif;*/
  /*font-family: 'Prompt';*/
}

/* 
  Theme: Essay Writing Guides Landing Page
  Optimized & Responsive Version
*/


.nav-menu a {
    color: #0a2540 !important;
}


:root {
    /* Colors */
    --color-primary: #032223;
    --color-accent: #65E076;
    --color-accent-hover: #5fe975;
    --color-white: #ffffff;
    --color-black: #0F172A;
    --color-muted: #a0b0b0;
    --color-text-dark: #333333;
    --color-text-light: #64748B;
    --color-bg-light: #FFFBF7;
    --color-bg-emerald: #115E50;
    --color-bg-lavender: #FFF0F5;
    --color-border: #E2E8F0;
    
    /* Typography */
    /*--font-heading: 'Merriweather', serif;*/
    /*--font-body: 'Plus Jakarta Sans', sans-serif;*/
    --font-heading: 'Prompt', serif;
    --font-body: 'Prompt';
    
    /* Spacing */
    --nav-height: 80px;
    --section-padding: clamp(60px, 8vw, 120px) 20px;
    --container-max-width: 1400px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

/* Base Styles & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

h2 {
    font-family: var(--font-heading);
    color: var(--color-black);
}

/* Helper Classes */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

.highlight-green {
    color: var(--color-accent);
    font-style: italic;
    font-family: var(--font-body);
}

.badge-pill {
    display: inline-block;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-base);
}

.btn-login {
    background-color: transparent;
    border-color: #ddd;
    color: var(--color-text-dark);
}

.btn-login:hover {
    border-color: #999;
    background-color: rgba(0,0,0,0.05);
}

.btn-signup {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-signup:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-learn {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-learn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-get-started {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-get-started:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: var(--nav-height);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.header-logo {
    height: 52px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.link-col li {
    list-style: none;
}

.link-col li a {
    display: block;
}

/*.nav-link {*/
/*    color: var(--color-text-dark);*/
/*    font-weight: 500;*/
/*    font-size: 0.95rem;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 4px;*/
/*}*/

/*.nav-link:hover {*/
/*    color: var(--color-black);*/
/*}*/


/* Nav Link Underline Animation */
/*.nav-link::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -4px;*/
/*    left: 0;*/
/*    width: 0;*/
/*    height: 2px;*/
    background-color: var(--color-primary); /* Uses primary dark green */
/*    transition: width 0.3s ease;*/
/*}*/

/*.nav-link:hover::after,*/
/*.nav-link.active::after {*/
/*    width: 100%;*/
/*}*/

/*.nav-link.active {*/
/*    color: var(--color-black);*/
/*    font-weight: 600;*/
/*}*/

.nav-menu,
.nav-menu li {
    overflow: visible;
}

.nav-link {
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.95rem;

    display: inline-flex;          /* FIX 1 */
    align-items: center;
    gap: 4px;

    position: relative;            /* FIX 2 */
    padding-bottom: 6px;           /* SPACE for underline */
    text-decoration: none;
}

.nav-link:hover {
    color: var(--color-black);
}

/* Nav Link Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;                     /* FIX 3 (no negative) */
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-black);
    font-weight: 600;
}


.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

.mobile-only {
    display: none;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 20px clamp(180px, 25vw, 380px);
    text-align: center;
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 60px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}


.hero-subtitle {
    color: var(--color-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 903px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.txt-rotate {
    display: inline-block;
    min-width: 10ch;
    text-align: left;
}

/*.text-thin{*/
/*    font-weight: 600;*/
/*}*/

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.floating-icon img {
    /*width: 100%;*/
    /*height: 100%;*/
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.icon-1 { top: 15%; left: 10%; transform: rotate(-15deg); }
.icon-2 { top: 10%; right: 15%; animation-delay: 2s; transform: rotate(15deg); }
.icon-3 { bottom: 40%; left: 5%; animation-delay: 1s; transform: rotate(-10deg); }
.icon-4 { bottom: 45%; right: 8%; animation-delay: 3s; transform: rotate(10deg); }

/* Feature Preview */
.feature-preview {
    width: min(90%, 1000px);
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 300px;
    background-color: var(--color-white);
    border-radius: 24px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
    border: 1px solid rgba(0, 0, 0, 1);
    overflow: hidden; /* Ensure video respects border-radius */
}

.feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Trusted Section */
.trusted-section {
    background-color: var(--color-bg-light);
    padding: clamp(160px, 20vw, 320px) 20px 80px;
    text-align: center;
}

.trusted-text {
    font-weight: 600;
    margin-bottom: 48px;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.trusted-text strong {
    color: var(--color-black);
    font-weight: 600;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 6vw, 60px);
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    transition: var(--transition-base);
        /* filter: grayscale(1); */
}

.logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* How It Works Section */
/*.how-it-works {*/
/*    padding: 120px 0;*/
/*    background-color: var(--color-bg-light);*/
/*}*/

/*.hiw-container {*/
/*    max-width: var(--container-max-width);*/
/*    margin: 0 auto;*/
/*    padding: 0 40px;*/
/*}*/

/*.hiw-header-wrapper {*/
/*    margin-bottom: 64px;*/
/*}*/

/*.hiw-top-row {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 20px;*/
/*    margin-bottom: 32px;*/
/*}*/

/*.hiw-line {*/
/*    flex: 1;*/
/*    height: 2px;*/
/*    border-bottom: 2px dotted #CBD5E1;*/
/*}*/

/*.slider-controls {*/
/*    display: none;*/
/*}*/

/*.hiw-content-row {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    gap: 60px;*/
/*}*/

/*.hiw-content-row .left-col {*/
/*    flex: 1;*/
/*}*/

/*.hiw-content-row .left-col h2 {*/
/*    font-family: var(--font-heading);*/
/*    font-size: clamp(2.5rem, 4vw, 3.8rem);*/
/*    color: var(--color-black);*/
/*    line-height:1.1;*/
/*}*/

/*.hiw-content-row .right-col {*/
/*    flex: 1;*/
/*    max-width: 600px;*/
/*    color: var(--color-text-light);*/
/*    font-size: clamp(1rem, 2vw, 1.25rem);*/
/*}*/

/* Steps Grid */
/*.steps-grid {*/
/*    display: flex;*/
/*    gap: 32px;*/
/*    overflow-x: auto;*/
/*    padding: 20px 40px 60px;*/
/*    margin: 0 -40px;*/
/*    scrollbar-width: none;*/
/*    scroll-snap-type: x mandatory;*/
/*    cursor: grab;*/
/*    user-select: none;*/
/*    -webkit-user-select: none;*/
/*}*/

/*.steps-grid:active {*/
/*    cursor: grabbing;*/
/*}*/

/*.steps-grid::-webkit-scrollbar { display: none; }*/

/*.step-card {*/
/*    background: var(--color-white);*/
/*    min-width: 380px;*/
/*    padding: 24px;*/
/*    border-radius: 24px;*/
/*    scroll-snap-align: center;*/
/*    box-shadow: 0 10px 30px rgba(0,0,0,0.03);*/
/*    transition: var(--transition-base);*/
/*}*/

/*.step-card:hover {*/
/*    transform: translateY(-8px);*/
/*    box-shadow: 0 20px 40px rgba(0,0,0,0.08);*/
/*}*/


/*.slider-nav-controls {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 16px;*/
/*    margin-top: 32px;*/
/*}*/

/*.slider-arrow {*/
/*    width: 48px;*/
/*    height: 48px;*/
/*    border-radius: 12px;*/
/*    border: 1px solid var(--color-border);*/
/*    background-color: var(--color-white);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    cursor: pointer;*/
/*    font-size: 1.2rem;*/
/*    color: var(--color-text-dark);*/
/*    transition: var(--transition-fast);*/
/*    box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
/*}*/

/*.slider-arrow:hover {*/
/*    border-color: var(--color-black);*/
/*    color: var(--color-black);*/
/*    background-color: #f8fafc;*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 4px 6px rgba(0,0,0,0.08);*/
/*}*/

/*.slider-arrow:active {*/
/*    transform: translateY(0);*/
/*}*/

/*.card-visual {*/
/*    background-color: var(--color-bg-lavender);*/
/*    border-radius: 16px;*/
/*    height: 240px;*/
/*    margin-bottom: 24px;*/
/*    position: relative;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    padding: 24px;*/
/*}*/

/*.step-badge {*/
/*    display: inline-block;*/
/*    background-color: var(--color-accent);*/
/*    color: var(--color-primary);*/
/*    font-weight: 600;*/
/*    padding: 6px 14px;*/
/*    border-radius: 6px;*/
/*    font-size: 0.75rem;*/
/*    text-transform: uppercase;*/
/*    margin-bottom: 16px;*/
/*}*/

/*.card-content h3 {*/
/*    font-size: 1.5rem;*/
/*    font-weight: 600;*/
/*    color: var(--color-black);*/
/*    margin-bottom: 12px;*/
/*}*/

/*.card-content p {*/
/*    font-size: 1rem;*/
/*    color: var(--color-text-light);*/
/*}*/


/* ===============================
   HOW IT WORKS SECTION
================================ */

.how-it-works {
    padding: 120px 0;
    background-color: var(--color-bg-light);
}

/* Container */
.hiw-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.hiw-header-wrapper {
    margin-bottom: 64px;
}

.hiw-top-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.hiw-line {
    flex: 1;
    height: 2px;
    border-bottom: 2px dotted #CBD5E1;
}

/* Content Row */
.hiw-content-row {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.hiw-content-row .left-col {
    flex: 1;
}

.hiw-content-row .left-col h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    color: var(--color-black);
    line-height: 1.1;
}

.hiw-content-row .right-col {
    flex: 1;
    max-width: 600px;
    color: #000;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* ===============================
   STEPS SLIDER
================================ */

.steps-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 20px 40px 60px;
    margin: 0 -40px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-overflow-scrolling: touch;
}

.steps-grid::-webkit-scrollbar {
    display: none;
}

.steps-grid:active {
    cursor: grabbing;
}

/* Step Card */
.step-card {
    background: var(--color-white);
    min-width: 380px;
    padding: 24px;
    border-radius: 24px;
    scroll-snap-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-base);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Card Visual */
.card-visual {
    background-color: var(--color-bg-lavender);
    border-radius: 16px;
    height: 240px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Badge */
.step-badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Card Content */
.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 12px;
}

.card-content p {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Slider Arrows (Desktop Only) */
.slider-nav-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.slider-arrow:hover {
    border-color: var(--color-black);
    color: var(--color-black);
    background-color: #f8fafc;
    transform: translateY(-2px);
}

/* ===============================
   RESPONSIVE BREAKPOINTS
================================ */

/* Large Tablets / Small Laptops */
@media (max-width: 1200px) {
    .hiw-content-row {
        gap: 40px;
    }

    .steps-grid {
        gap: 24px;
    }

    .step-card {
        min-width: 340px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .how-it-works {
        padding: 80px 0;
    }

    .hiw-content-row {
        flex-direction: column;
    }

    .hiw-content-row .right-col {
        max-width: 100%;
    }

    .steps-grid {
        padding: 20px 24px 48px;
        margin: 0 -24px;
    }

    .step-card {
        min-width: 300px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hiw-container {
        padding: 0 20px;
    }

    .hiw-header-wrapper {
        margin-bottom: 40px;
    }

    .hiw-top-row {
        gap: 12px;
    }

    .hiw-line {
        display: none;
    }

    .hiw-content-row .left-col h2 {
        font-size: 2.2rem;
    }

    .steps-grid {
        padding: 16px 20px 40px;
        margin: 0 -20px;
        gap: 20px;
    }

    .step-card {
        min-width: 85%;
        padding: 20px;
        border-radius: 20px;
    }

    .card-visual {
        height: 200px;
    }

    .slider-nav-controls {
        display: none;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .how-it-works {
        padding: 64px 0;
    }

    .hiw-content-row .left-col h2 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }

    .card-content p {
        font-size: 0.95rem;
    }

    .step-card {
        min-width: 90%;
    }
}



/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background-color: #0A4D3C; /* Deeper emerald green from image */
    color: var(--color-white);
    text-align: center;
}

.comparison-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 80px;
    font-weight: 600;
    color: var(--color-white);
}

.comp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* Removing gap to use borders as dividers */
}

.comp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 30px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.comp-item:last-child {
    border-right: none;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #062C26; /* Dark background from image */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #2DBC7D; /* Neon green color from image */
}

.icon-box ion-icon {
    font-size: 2rem;
}

.comp-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-white);
    max-width: 200px;
}

.comp-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 260px;
}

/*/Mobile responsive/*/

@media (max-width: 768px) {
    .comparison-section {
        padding: 60px 0;
    }
    .comparison-section h2 {
        font-size: 1.5rem;
        margin-bottom: 32px;
        padding: 0 20px;
    }
    .comp-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 20px;
        background-color: transparent;
    }
    .comp-item {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        padding: 20px 16px;
        display: flex;
        flex-direction: column;
        align-items: center; /* centers everything horizontally */
        text-align: center;  /* centers text */
        gap: 14px;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }
    .comp-item:last-child {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }
    .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .comp-item h3 {
        font-size: 0.875rem;
        margin-bottom: 6px;
        max-width: 100%;
        text-align: center;
    }
    .comp-item p {
        font-size: 0.775rem;
        line-height: 1.6;
        max-width: 100%;
        color: rgba(255, 255, 255, 0.65);
        text-align: center;
    }
}
@media (max-width: 400px) {
    .comp-grid {
        grid-template-columns: 1fr;
    }
}

/************************************ Use Cases Section ***********************************/

/*.use-cases-section {*/
/*    padding: 120px 0;*/
/*    background-color: var(--color-bg-light);*/
/*    text-align: center;*/
/*}*/

/*.use-cases-header h2 {*/
/*    font-size: clamp(2rem, 4vw, 3rem);*/
/*    margin-bottom: 60px;*/
/*    font-weight: 600;*/
/*}*/

/*.tabs-container {*/
/*    max-width: 1000px;*/
/*    margin: 0 auto 60px;*/
/*    position: relative;*/
/*    border-bottom: 1px solid #e2e8f0;*/
/*}*/

/*.tabs-list {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: clamp(20px, 4vw, 40px);*/
/*    padding: 0 20px;*/
/*    overflow-x: auto;*/
/*    scrollbar-width: none;*/
/*    -webkit-overflow-scrolling: touch;*/
/*}*/

/*.tabs-list::-webkit-scrollbar {*/
/*    display: none;*/
/*}*/

/*.tab-btn {*/
/*    background: none;*/
/*    border: none;*/
/*    padding: 20px 10px;*/
/*    font-size: 0.95rem;*/
/*    font-weight: 600;*/
/*    color: var(--color-text-light);*/
/*    cursor: pointer;*/
/*    position: relative;*/
/*    transition: color 0.3s ease;*/
/*}*/

/*.tab-btn.active {*/
/*    color: var(--color-black);*/
/*}*/

/*.tab-btn.active::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -1px;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 4px;*/
/*    background-color: #2DBC7D; */
/*    border-radius: 2px 2px 0 0;*/
/*}*/

/*.tab-content {*/
/*    display: none;*/
/*    text-align: left;*/
/*    max-width: var(--container-max-width);*/
/*    margin: 0 auto;*/
/*}*/

/*.tab-content.active {*/
/*    display: block;*/
/*    animation: fadeIn 0.5s ease;*/
/*}*/

/*.use-case-layout {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: clamp(40px, 8vw, 100px);*/
/*    max-width: 1100px;*/
/*    margin: 0 auto;*/
/*}*/

/*@media (max-width: 968px) {*/
/*    .use-case-layout {*/
/*        flex-direction: column;*/
/*        text-align: center;*/
/*        gap: 40px;*/
/*    }*/
    
/*    .use-case-text {*/
/*        flex: none;*/
/*        width: 100%;*/
/*        text-align: center;*/
/*    }*/
    
/*    .use-case-text p {*/
/*        margin: 0 auto;*/
/*    }*/
    
/*    .visual-placeholder {*/
/*        height: auto;*/
/*        aspect-ratio: 4 / 3;*/
/*    }*/
/*}*/

/*.use-case-text {*/
/*    flex: 1;*/
/*    max-width: 500px;*/
/*    text-align: left;*/
/*}*/

/*.use-case-text h3 {*/
/*    font-size: clamp(1.8rem, 3vw, 2.4rem);*/
/*    margin-bottom: 20px;*/
/*    line-height: 1.2;*/
/*    color: var(--color-black);*/
/*}*/

/*.use-case-text p {*/
/*    font-size: 1.05rem;*/
/*    color: #4b5563;*/
/*    line-height: 1.7;*/
/*    max-width: 420px;*/
/*}*/

/*.use-case-visual {*/
/* min-height: 300px; */
/*}*/
                                
/* .visual-placeholder {*/
/*    width: 100%;*/
/*    height: 380px;*/
/*    border-radius: 12px;*/
/*    overflow: hidden;   */
/*    padding: 0;         */
/*    background: none;   */
/*}*/

/*.use-case-image {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;  */
/*    display: block;*/
/*}*/

.use-cases-section {
    padding: clamp(60px, 10vw, 120px) 0;
    background: #fffaf4;
    /*padding-bottom: 12px;*/
    padding-top: 50px;
}

.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: auto;
}

/* Header */
.use-cases-header h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 60px;
    font-weight: 600;
}

/* Tabs */
.tabs-container {
    max-width: 1000px;
    margin: 0 auto 60px;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: visible; /* ✅ NO SCROLL ON DESKTOP */
}

.tabs-list {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
}

.tab-btn {
    background: none;
    border: none;
    padding: 18px 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    position: relative;
    white-space: nowrap;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 4px;
    background: #2DBC7D;
    border-radius: 2px 2px 0 0;
}

/* Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fade 0.4s ease;
}

@keyframes fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Layout */
.use-case-layout {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
}

.use-case-text {
    flex: 1;
    max-width: 520px;
}

.use-case-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 20px;
    color:#000;
}

.use-case-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Image */
.use-case-visual {
    flex: 1;
}

.visual-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
}

.use-case-image {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
}

/* ✅ MOBILE ONLY: enable scrolling */
@media (max-width: 768px) {
    .tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tabs-list {
        justify-content: flex-start;
    }

    .use-case-layout {
        flex-direction: column;
        text-align: center;
    }

    .use-case-text {
        max-width: 100%;
    }
}

/*************************************************
/* Mock Table Styling */
.mock-table {
    background: white;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.mock-row {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 24px;
    align-items: center;
}

.mock-row.head {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.mock-cell {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.mock-row.head .mock-cell {
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.mock-cell.green {
    color: #2DBC7D;
    background: #f0fdf4;
    padding: 4px 12px;
    border-radius: 99px;
    display: inline-block;
    flex: 0 0 auto;
}

/* Mock Editor Styling */
.mock-editor {
    background: white;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-line {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
}

.mock-line.highlighted {
    background: #FFF2E6;
    border: 1px dashed #fbd38d;
}

/* Mock Report Styling */
.mock-report {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.report-header { font-weight: 600; margin-bottom: 10px; }
.report-score { font-size: 2rem; font-weight: 600; color: #2DBC7D; }
.report-source { color: #64748b; font-size: 0.85rem; }

/* Mock Voice Grid */
.mock-voice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.voice-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    text-align: center;
}

.voice-item.active {
    border-color: #2DBC7D;
    background: #f0fdf4;
    color: #166534;
}

/* Creative Mock */
.creative-mock {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mock-shape {
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mock-shape.circles {
    width: 100px;
    height: 100px;
}

.mock-shape.line {
    width: 150px;
    height: 20px;
    border-radius: 10px;
    margin-left: -30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background-color: var(--color-bg-light);
}

.faq-main-content {
    display: flex;
    gap: 80px;
    margin-top: 48px;
}

.faq-left {
    flex: 0 0 400px;
}

.faq-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-black);
    line-height: 1.1;
}

.faq-right {
    flex: 1;
}



.faq-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-black);
    line-height: 1.1;
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid #000;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    cursor: pointer;
    text-align: left;
}

.faq-question:hover { background-color: #fafafa; }

.faq-answer {
    max-height: 0;
    padding: 0 32px;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 8px; /* Added some top padding */
    padding-bottom: 32px;
    opacity: 1;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/************************************ Footer ************************************/
/*.main-footer {*/
/*    background-color: #062C26;*/
/*    padding: 100px 0 0;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.footer-top {*/
/*    display: grid;*/
/*    grid-template-columns: clamp(150px, 20vw, 200px) 1fr;*/
/*    gap: clamp(40px, 8vw, 100px);*/
/*    margin-bottom: 80px;*/
/*}*/

/*.footer-logo {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 12px;*/
/*    color: #FF5A78;*/
/*    font-weight: 600;*/
/*    font-size: 1.1rem;*/
/*    line-height: 1.2;*/
/*}*/

/*.footer-logo ion-icon { font-size: 2.2rem; }*/

/*.footer-links-group {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    flex-wrap: wrap;*/
/*    gap: 40px;*/
/*}*/

/*.link-col {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 16px;*/
/*    min-width: 140px;*/
/*}*/

/*.link-col h4 {*/
/*    color: var(--color-white);*/
/*    font-size: 1rem;*/
/*    font-weight: 600;*/
/*    margin-bottom: 8px;*/
/*}*/

/*.link-col a {*/
/*    color: #94A3B8;*/
/*    font-size: 0.95rem;*/
/*    font-weight: 500;*/
/*}*/

/*.link-col a:hover, .link-col a.active-link {*/
/*    color: var(--color-white);*/
/*}*/

/*.big-footer-text {*/
/*    font-size: clamp(3rem, 15vw, 12rem);*/
/*    font-weight: 600;*/
/*    text-align: center;*/
/*    white-space: nowrap;*/
/*    color: rgba(255,255,255,0.03);*/
/*    margin-bottom: -1vw;*/
/*    line-height: 0.8;*/
/*    pointer-events: none;*/
/*    user-select: none;*/
/*}*/

/*.footer-bottom {*/
/*    border-top: 1px solid rgba(255,255,255,0.1);*/
/*    padding: 32px 40px;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    max-width: var(--container-max-width);*/
/*    margin: 0 auto;*/
/*}*/

/*.copyright { color: #64748B; font-size: 0.85rem; }*/

/*.socials { display: flex; gap: 24px; }*/
/*.socials a { color: #94A3B8; font-size: 1.4rem; }*/
/*.socials a:hover { color: var(--color-white); }*/


.main-footer {
    background-color: #062C26;
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: clamp(150px, 20vw, 200px) 1fr;
    gap: clamp(40px, 8vw, 100px);
    margin-bottom: 80px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FF5A78;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
}

.footer-logo ion-icon { font-size: 2.2rem; }

.footer-links-group {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 140px;
}

.link-col h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.link-col a {
    color: #94A3B8;
    font-size: 0.95rem;
    font-weight: 500;
}

.link-col a:hover,
.link-col a.active-link {
    color: var(--color-white);
}

.big-footer-text {
    /*font-size: clamp(3rem, 15vw, 12rem);*/
    font-size: 166px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.03);
    margin-bottom: -1vw;
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.copyright {
    color: #64748B;
    font-size: 0.85rem;
}

.socials {
    display: flex;
    gap: 24px;
}

.socials a {
    color: #94A3B8;
    font-size: 1.4rem;
}

.socials a:hover {
    color: var(--color-white);
}

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
    .main-footer {
        padding: 80px 0 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .footer-logo img {
        max-width: 160px;
    }

    .footer-links-group {
        gap: 32px;
    }

    .link-col {
        min-width: 120px;
    }
}

/* ── Large Mobile (≤ 768px) ── */
@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 0;
    }

    .footer-top {
        margin-bottom: 48px;
    }

    .footer-links-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .link-col {
        min-width: unset;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 24px 20px;
        text-align: center;
    }

    .big-footer-text {
        margin-bottom: -2vw;
    }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
    .main-footer {
        padding: 48px 0 0;
    }

    .footer-top {
        margin-bottom: 40px;
    }

    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    .link-col h4 {
        font-size: 0.9rem;
    }

    .link-col a {
        font-size: 0.88rem;
    }

    .footer-bottom {
        padding: 20px 16px;
        gap: 16px;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .socials {
        gap: 20px;
    }

    .socials a {
        font-size: 1.3rem;
    }
}


/********************************** Custom Scrollbar for steps grid */
@media (hover: hover) {
    .steps-grid:hover { scrollbar-width: auto; }
}

/* Responsiveness */
@media (max-width: 1200px) {
    .header-container, .container, .hiw-container, .faq-container, .footer-container { padding: 0 24px; }
    .footer-top { gap: 60px; }
}

@media (max-width: 1024px) {
    .hiw-content-row, .faq-main-content { flex-direction: column; gap: 32px; }
    .faq-left, .faq-right { flex: none; width: 100%; }
    .footer-top { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 768px) {
    .header-container { padding: 0 20px; }
    
    .mobile-nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-only {
        display: block;
        width: 100%;
        padding: 0 40px;
    }

    .mobile-only .btn {
        width: 100%;
    }

    .auth-buttons { display: none; }
    
    .hero-section { padding-bottom: clamp(140px, 20vw, 240px); }
    .feature-preview { transform: translate(-50%, 50%); }
    .floating-icon { display: none; }
    
    .trusted-section { padding-top: clamp(120px, 15vw, 200px); }
    
    .steps-grid { padding-left: 20px; padding-right: 20px; }
    .step-card { min-width: 300px; }
    
    .faq-question { padding: 20px 24px; font-size: 1rem; }
    .faq-answer { padding: 0 24px; }
    .faq-item.active .faq-answer { padding-bottom: 24px; }

    .footer-top { text-align: center; margin-bottom: 40px; }
    .footer-links-group { justify-content: center; gap: 30px; }
    .link-col { min-width: 120px; align-items: center; text-align: center; }
    .footer-bottom { flex-direction: column-reverse; gap: 24px; text-align: center; }
    
    .comp-grid { grid-template-columns: 1fr; border-top: none; }
    .comp-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .comp-item:last-child { border-bottom: none; }
}

@media (max-width: 1024px) {
    .comp-grid { grid-template-columns: 1fr 1fr; border-top: none; }
    .comp-item:nth-child(2n) { border-right: none; }
    .comp-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .comp-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 480px) {
    .container, .header-container { padding: 0 16px; }
    
    .hero-section { padding-top: 40px; }
    .hero-title { font-size: 2rem; }
    .feature-preview { min-height: 180px; }
    
    .logos-grid { gap: 24px; }
    
    .hiw-content-row .left-col h2 { font-size: 1.8rem; }
    
    .step-card { min-width: 280px; padding: 20px; }
    .card-visual { height: 200px; }
    
    .comp-grid { gap: 24px; }
    .comp-item h3 { font-size: 1.25rem; }
    
    .tabs-list { gap: 20px; }
    .tab-btn { padding: 15px 5px; font-size: 0.85rem; }
    
    .big-footer-text { font-size: 15vw; }
    .footer-links-group { gap: 20px; }
    .link-col { min-width: 100px; }
}




/*************************Footer nav links - animated underline  **********************/

.footer-links-group .link-col a {
  position: relative;
  text-decoration: none;
  display: inline-block;
}

/* Hover underline - slides in from left */
.footer-links-group .link-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-links-group .link-col a:hover::after {
  width: 100%;
}

/* Active/current page link - always underlined, then animates out and back on hover */
.footer-links-group .link-col li.current-menu-item > a::after,
.footer-links-group .link-col li.current_page_item > a::after {
  width: 100%;
}

.footer-links-group .link-col li.current-menu-item > a:hover::after,
.footer-links-group .link-col li.current_page_item > a:hover::after {
  width: 0;
  transition: width 0.3s ease;
  transform-origin: right;
}

.footer-links-group .link-col li.current-menu-item > a:not(:hover)::after,
.footer-links-group .link-col li.current_page_item > a:not(:hover)::after {
  width: 100%;
  transition: width 0.3s ease;
}


/* Visual Mockups Interior Logic */
.editor-mockup {
    background: white;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid #f1f5f9;
}

.editor-header {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    color: #94a3b8;
    font-size: 0.8rem;
}

.editor-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #8B5CF6;
    background: #F5F3FF;
    padding: 4px 10px;
    border-radius: 4px;
}

.placeholder-text {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.opt-row {
    display: flex;
    gap: 10px;
}

.opt-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.opt-btn.purple-solid {
    background-color: #5B52A3;
    color: white;
}

.opt-btn.purple-outline {
    background-color: white;
    border: 1px solid #7C3AED;
    color: #7C3AED;
}

.scan-content {
    width:100%;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.skel-line {
    height:10px;
    background:#E2E8F0;
    border-radius:99px;
}

/*.scan-btn-float {*/
/*    position:absolute;*/
/*    right:20px;*/
/*    bottom:40px;*/
/*    background:#FBBF24;*/
/*    padding:10px 20px;*/
/*    border-radius:8px;*/
/*    font-weight:700;*/
/*    display:flex;*/
/*    align-items:center;*/
/*    gap:8px;*/
/*    color:#000;*/
/*}*/

/*.cursor-pointer {*/
/*    position: absolute;*/
/*    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));*/
/*}*/

/*   .floating-icon img {*/
/*    width: 31px;*/
/*    height: 41px;*/
/*}*/

/*home logo slider*/

     .logo-slider {
    overflow: hidden;
    width: 100%;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 28s linear infinite;
    gap: 60px; /* Use gap instead of margin-right for consistent spacing */
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 60px; /* Consistent spacing between logos */
}

.logo-group img {
    height: 22px;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3)); /* Moves by one-third */
    }
}




/* =========================================
   Blog Page Styles
   ========================================= */

.blog-hero {
    background-color: #032223; /* Dark green matching header/footer or darker */
    color: var(--color-white);
    text-align: center;
    padding: clamp(60px, 10vw, 100px) 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 20px;
}

.blog-hero p {
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 900px;
}

.filter-btn {
    background-color: #65E076; /* Bright green */
    color: #032223;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: #5fe975;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 224, 118, 0.3);
}

.featured-posts {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.featured-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-black);
    white-space: nowrap;
}

.header-line {
    flex: 1;
    height: 1px;
    border-bottom: 2px dotted #ccc;
    margin-top: 5px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

.post-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-base);
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    color: #115E50;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.post-title {
    font-family: var(--font-body); /* Or heading if preferred, image looks sans-serif bold */
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-view-all {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.btn-view-all {
    background-color: #115E50; /* Dark Green */
    color: var(--color-white);
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.btn-view-all:hover {
    background-color: #0d4a3f;
    transform: translateY(-2px);
}



/* =========================================
   404 Page Styles
   ========================================= */
   
.error-container {
    padding-top: 10px;   /* space below navbar */
    padding-bottom: 120px; /* space above footer */
}


.error-page-body {
    background-color: #032223; /* Dark green/black background */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: var(--color-white);
}

.error-container {
    text-align: center;
    z-index: 10;
}

.error-oops {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards 0.2s;
}

.error-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.error-number {
    font-family: var(--font-body);
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 600;
    line-height: 1;
    color: var(--color-white);
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.error-illustration {
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 3;
}

/* CSS-only Robot Placeholder Animation */
.illustration-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.robot-head {
    width: 120px;
    height: 100px;
    background: #4A90E2;
    border-radius: 20px 20px 50px 50px;
    position: absolute;
    bottom: 20px;
    left: 40px;
    box-shadow: inset 0 -10px 0 rgba(0,0,0,0.2);
    z-index: 2;
    border: 4px solid #333;
}

.robot-head::before { /* Antenna */
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 20px;
    background: #666;
}

.robot-head::after { /* Antenna Ball */
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #ff5252;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff5252;
    animation: pulse 1s infinite;
}

.robot-eyes {
    display: flex;
    justify-content: space-around;
    padding: 25px 20px 0;
}

.robot-eyes span {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    animation: blink 3s infinite;
}

.robot-mouth {
    width: 40px;
    height: 10px;
    background: #333;
    border-radius: 5px;
    margin: 15px auto 0;
}

.explosion-core {
    position: absolute;
    top: -40px;
    left: 10px;
    width: 180px;
    height: 120px;
    background: radial-gradient(circle, #ff9f43 20%, #ff5252 60%, transparent 80%);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.8;
    z-index: 1;
    animation: explode 2s infinite;
}

.error-message {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.btn-home {
    display: inline-block;
    background-color: #65E076;
    color: #032223;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(101, 224, 118, 0.4);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.btn-home:hover {
    background-color: #5fe975;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 224, 118, 0.6);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.2; }
}

@keyframes explode {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.9; }
    100% { transform: scale(0.8); opacity: 0.6; }
}


/* =========================================
   Category Page Styles
   ========================================= */

.category-hero {
    background-color: #032223;
    color: var(--color-white);
    padding: clamp(40px, 8vw, 80px) 20px;
    text-align: left;
}

.category-hero .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 24px;
}

.breadcrumb a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.breadcrumb ion-icon {
    font-size: 0.8rem;
}

.category-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 12px;
}

.category-hero p {
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 600px;
}



/* =========================================
   Extension Page Styles
   ========================================= */

.extension-hero {
    background-color: #032223; /* Dark green background */
    color: var(--color-white);
    min-height: 85vh; /* Occupy most of the screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.extension-hero .hero-content {
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.extension-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

.extension-hero h1 em {
    font-style: italic;
    color: #65E076; /* Green accent color */
}

.extension-hero p {
    color: var(--color-muted);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn-explore {
    display: inline-block;
    background-color: #65E076;
    color: #032223;
    padding: 16px 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background-color: #5fe975;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(101, 224, 118, 0.4);
}

/* Floating Icons Animation */
.floating-icon {
    position: absolute;
    color: #fff; /* Fallback */
    opacity: 0.8;
    animation: floatIcon 6s ease-in-out infinite;
    z-index: 1;
}

.floating-icon ion-icon {
    font-size: 32px;
    /* Simulate Chrome logo colors roughly if needed, or keep simpler */
}

/* Custom coloring for Chrome icons to match the image vaguely (multi-color) 
   Since we can't easily style internal parts of ion-icon, 
   we'll use a gradient text clip or just standard colors.
   Let's just use the image's vibe: some are yellowish, some greenish/blueish 
*/

.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    color: #F4B400; /* Chrome Yellowish */
}

.icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1.5s;
    color: #0F9D58; /* Chrome Greenish */
}

.icon-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
    color: #4285F4; /* Chrome Blueish */
}

.icon-4 {
    bottom: 30%;
    right: 8%;
    animation-delay: 4.5s;
    color: #DB4437; /* Chrome Reddish */
}

@keyframes floatIcon {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* =========================================
   Extension Features Section
   ========================================= */

.extension-features {
    background-color: #FFFBF5; /* Cream background */
    padding: clamp(60px, 10vw, 100px) 20px;
    color: var(--color-black);
}

.features-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.features-text {
    flex: 1;
    min-width: 300px;
    position: sticky;
    top: 100px;
}

.badge-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    background-color: var(--color-white);
}

.badge-line {
    flex: 1;
    height: 1px;
    border-top: 1px dotted #ccc;
    /* Optional: Limit width */
    max-width: 100%; 
}

/* Remove old pseudo-element styles */
.features-text::after {
    display: none;
}



/* =========================================
   Extensions List Section
   ========================================= */

.extensions-list-section {
    background-color: #0E4B42; /* Deep Teal Green from image */
    color: var(--color-white);
    padding: clamp(60px, 8vw, 100px) 20px;
}

.extension-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.extension-rows {
    display: flex;
    flex-direction: column;
}

.extension-row {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 40px;
}

.extension-row:first-child {
    padding-top: 0;
}

.extension-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ext-name {
    flex: 1;
    min-width: 250px;
}

.ext-name h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.ext-details {
    flex: 1.5;
    max-width: 600px;
}

.ext-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.95;
}

.ext-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.btn-download-ext {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-white);
    color: #032223;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-download-ext:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .extension-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .ext-name {
        min-width: auto;
    }
}


/* =========================================
   Extensions List Section
   ========================================= */

.extensions-list-section {
    background-color: #0E4B42; /* Deep Teal Green from image */
    color: var(--color-white);
    padding: clamp(60px, 8vw, 100px) 20px;
}

.extension-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.extension-rows {
    display: flex;
    flex-direction: column;
}

.extension-row {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 40px;
}

.extension-row:first-child {
    padding-top: 0;
}

.extension-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ext-name {
    flex: 1;
    min-width: 250px;
}

.ext-name h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    color: #ffff;
}

.ext-details {
    flex: 1.5;
    max-width: 600px;
}

.ext-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.95;
}

.ext-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.btn-download-ext {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-white);
    color: #032223;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-download-ext:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .extension-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .ext-name {
        min-width: auto;
    }
}

.features-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Larger heading */
    font-weight: 600;
    line-height: 1.1;
    color: #032223;
}

.features-grid {
    flex: 2;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: #032223; /* Dark green icon bg */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #65E076; /* Light green icon color */
    font-size: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #032223;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* =========================================
   AI Detector Steps Section
   ========================================= */

.ai-detector-steps {
    background-color: #FFFBF5; /* Cream background */
    padding: clamp(60px, 8vw, 100px) 20px;
    text-align: center;
}

.ai-detector-steps h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #032223;
    margin-bottom: 60px;
}

.detector-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) { 
    .detector-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px; 
    }
}

@media (max-width: 600px) {
    .detector-steps-grid {
        grid-template-columns: 1fr;
    }
}

.detector-step-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    /* Ensure no min-width from previous conflicts */
    min-width: 0; 
}

.step-visual {
    background-color: #fff;
    padding: 20px;
    padding-bottom: 0;
}

.fake-editor {
    background-color: #FEF6F6; /* Light pinkish */
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 200px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.editor-header {
    background-color: #F8F0FF; /* Light purple */
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.import-btn {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #8A6EAE;
    font-weight: 600;
    background: rgba(255,255,255,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    gap: 4px;
}

.editor-tools {
    display: flex;
    gap: 10px;
    color: #8A6EAE;
    font-size: 0.9rem;
    align-items: center;
}

.tool-btn {
    font-family: serif;
    font-weight: bold;
    cursor: pointer;
}

.font-b { font-weight: 900; }
.font-i { font-style: italic; }
.font-u { text-decoration: underline; }

.editor-body {
    padding: 16px;
    font-size: 0.8rem;
    color: #999;
    line-height: 1.6;
    position: relative;
    height: 100%;
}

.cursor-arrow {
    position: absolute;
    top: 50%;
    left: 30%;
    font-size: 24px;
    color: #000;
    transform: rotate(-45deg); /* Simple imitation of cursor arrow orientation */
}

/* Override Ionicon for cursor to look more like mouse pointer */
.cursor-arrow ion-icon {
    transform: rotate(45deg); /* Correct the icon rotation if needed */
}

.step-content {
    padding: 30px;
    flex: 1;
    background: white;
}

.step-badge {
    display: inline-block;
    background-color: #65E076;
    color: #032223;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #032223;
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 900px) {
    .detector-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .detector-steps-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================
   About Us Page Styles
   ========================================= */

.about-hero {
    background-color: #032223; /* Deep Green */
    padding: clamp(80px, 12vw, 160px) 0;
    color: var(--color-white);
}

.about-content-wrapper {
    max-width: 800px;
}

.about-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-hero p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #94A3B8; /* Slate gray/blue for text similar to image */
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 650px;
    font-weight: 400;
}

.social-follow-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #94A3B8;
}

.about-social-icons {
    display: flex;
    gap: 12px;
}

.social-box {
    width: 40px;
    height: 40px;
    border: 1px solid #115E50; /* Darker green border */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2DBC7D; /* Bright green icon color */
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-box:hover {
    background-color: #115E50;
    color: var(--color-white);
    border-color: #115E50;
    transform: translateY(-2px);
}

.about-info-section {
    padding: clamp(60px, 10vw, 100px) 0;
    background-color: #FFFBF7; /* Light cream/beige background from image */
    color: var(--color-text-dark);
}

.small-container {
    max-width: 900px; /* Narrower container for readability */
}

.info-block {
    margin-bottom: 60px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h2 {
    font-family: var(--font-body); /* Looks like sans-serif in image */
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-black);
    margin-bottom: 24px;
}

.info-block p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* About Us Page - Title Section */
.about-title-section {
    background-color: var(--color-bg-light);
    padding: 80px 20px 0px;
    text-align: center;
}

.underlined-title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 600;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    z-index: 1;
}

.underlined-title::after {
    content: '';
    position: absolute;
    bottom: 12%; /* Positions it slightly behind the baseline */
    left: 0;
    width: 100%;
    height: 12px; /* Thick underline */
    background-color: var(--color-accent);
    z-index: -1;
    border-radius: 2px;
}



/* =========================================
   Blog Page Styles
   ========================================= */

.blog-hero {
    background-color: #032223; /* Dark green matching header/footer or darker */
    color: var(--color-white);
    text-align: center;
    padding: clamp(60px, 10vw, 100px) 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 20px;
}

.blog-hero p {
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 900px;
}

.filter-btn {
    background-color: #65E076; /* Bright green */
    color: #032223;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: #5fe975;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 224, 118, 0.3);
}

.featured-posts {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.featured-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-black);
    white-space: nowrap;
}

.header-line {
    flex: 1;
    height: 1px;
    border-bottom: 2px dotted #ccc;
    margin-top: 5px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

.post-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-base);
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    color: #115E50;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.post-title {
    font-family: var(--font-body); /* Or heading if preferred, image looks sans-serif bold */
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-view-all {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.btn-view-all {
    background-color: #115E50; /* Dark Green */
    color: var(--color-white);
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.btn-view-all:hover {
    background-color: #0d4a3f;
    transform: translateY(-2px);
}

/* =========================================
   404 Page Styles
   ========================================= */

.error-page-body {
    background-color: #032223; /* Dark green/black background */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: var(--color-white);
}

.error-container {
    text-align: center;
    z-index: 10;
}

.error-oops {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards 0.2s;
}

.error-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.error-number {
    font-family: var(--font-body);
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 600;
    line-height: 1;
    color: var(--color-white);
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.error-illustration {
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 3;
}

/* CSS-only Robot Placeholder Animation */
.illustration-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.robot-head {
    width: 120px;
    height: 100px;
    background: #4A90E2;
    border-radius: 20px 20px 50px 50px;
    position: absolute;
    bottom: 20px;
    left: 40px;
    box-shadow: inset 0 -10px 0 rgba(0,0,0,0.2);
    z-index: 2;
    border: 4px solid #333;
}

.robot-head::before { /* Antenna */
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 20px;
    background: #666;
}

.robot-head::after { /* Antenna Ball */
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #ff5252;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff5252;
    animation: pulse 1s infinite;
}

.robot-eyes {
    display: flex;
    justify-content: space-around;
    padding: 25px 20px 0;
}

.robot-eyes span {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    animation: blink 3s infinite;
}

.robot-mouth {
    width: 40px;
    height: 10px;
    background: #333;
    border-radius: 5px;
    margin: 15px auto 0;
}

.explosion-core {
    position: absolute;
    top: -40px;
    left: 10px;
    width: 180px;
    height: 120px;
    background: radial-gradient(circle, #ff9f43 20%, #ff5252 60%, transparent 80%);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.8;
    z-index: 1;
    animation: explode 2s infinite;
}

.error-message {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.btn-home {
    display: inline-block;
    background-color: #65E076;
    color: #032223;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(101, 224, 118, 0.4);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.btn-home:hover {
    background-color: #5fe975;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 224, 118, 0.6);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.2; }
}

@keyframes explode {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.9; }
    100% { transform: scale(0.8); opacity: 0.6; }
}


/* =========================================
   Category Page Styles
   ========================================= */

.category-hero {
    background-color: #032223;
    color: var(--color-white);
    padding: clamp(40px, 8vw, 80px) 20px;
    text-align: left;
}

.category-hero .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 24px;
}

.breadcrumb a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.breadcrumb ion-icon {
    font-size: 0.8rem;
}

.category-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 12px;
}

.category-hero p {
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 600px;
}


/* =========================================
   Extension Page Styles
   ========================================= */

.extension-hero {
    background-color: #032223; /* Dark green background */
    color: var(--color-white);
    min-height: 85vh; /* Occupy most of the screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.extension-hero .hero-content {
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.extension-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

.extension-hero h1 em {
    font-style: italic;
    color: #65E076; /* Green accent color */
}

.extension-hero p {
    color: var(--color-muted);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn-explore {
    display: inline-block;
    background-color: #65E076;
    color: #032223;
    padding: 16px 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background-color: #5fe975;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(101, 224, 118, 0.4);
}

/* Floating Icons Animation */
.floating-icon {
    position: absolute;
    color: #fff; /* Fallback */
    opacity: 0.8;
    animation: floatIcon 6s ease-in-out infinite;
    z-index: 1;
}

.floating-icon ion-icon {
    font-size: 32px;
    /* Simulate Chrome logo colors roughly if needed, or keep simpler */
}

/* Custom coloring for Chrome icons to match the image vaguely (multi-color) 
   Since we can't easily style internal parts of ion-icon, 
   we'll use a gradient text clip or just standard colors.
   Let's just use the image's vibe: some are yellowish, some greenish/blueish 
*/

.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    color: #F4B400; /* Chrome Yellowish */
}

.icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1.5s;
    color: #0F9D58; /* Chrome Greenish */
}

.icon-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
    color: #4285F4; /* Chrome Blueish */
}

.icon-4 {
    bottom: 30%;
    right: 8%;
    animation-delay: 4.5s;
    color: #DB4437; /* Chrome Reddish */
}

@keyframes floatIcon {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* =========================================
   Extension Features Section
   ========================================= */

.extension-features {
    background-color: #FFFBF5; /* Cream background */
    padding: clamp(60px, 10vw, 100px) 20px;
    color: var(--color-black);
}

.features-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.features-text {
    flex: 1;
    min-width: 300px;
    position: sticky;
    top: 100px;
}

.badge-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    background-color: var(--color-white);
}

.badge-line {
    flex: 1;
    height: 1px;
    border-top: 1px dotted #ccc;
    /* Optional: Limit width */
    max-width: 100%; 
}

/* Remove old pseudo-element styles */
.features-text::after {
    display: none;
}


/* =========================================
   Pricing Page Styles
   ========================================= */

.pricing-hero {
    background-color: #032223;
    color: var(--color-white);
    text-align: center;
    padding: clamp(60px, 8vw, 100px) 20px 140px; /* Extra bottom padding for overlap */
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%); /* Curved bottom effect optional, or just straight */
}

.pricing-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.pricing-hero p {
    color: var(--color-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Toggle Switch */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.toggle-label {
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.toggle-label.active {
    color: var(--color-white);
}

.save-badge {
    background-color: #65E076;
    color: #032223;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.2);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #65E076;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* Pricing Cards */
.pricing-cards-section {
    padding-bottom: 100px;
    margin-top: -80px; /* Overlap hero */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /*max-width: 1200px;*/
    max-width: 1320px;
    margin: 0 auto;
    align-items: center; /* Align vertically */
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

/* Popular Card Highlight */
.pricing-card.popular {
    /*transform: scale(1.05);*/
    border: 2px solid #65E076;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #65E076;
    color: #032223;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(101, 224, 118, 0.4);
}

.card-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.card-header h3 {
    font-size: 1.5rem;
    color: #032223;
    margin-bottom: 16px;
}

.card-header .price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: #032223;
}

.card-header .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 4px;
}

.card-header .amount {
    font-size: 3.5rem;
    font-weight: 600;
}

.card-header .period {
    color: #666;
    font-size: 1rem;
    margin-left: 4px;
}

.plan-desc {
    color: #666;
    margin-top: 16px;
    font-size: 0.95rem;
}

.card-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.card-body li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #444;
    font-size: 0.95rem;
}

.card-body li ion-icon {
    color: #65E076;
    font-size: 1.2rem;
    min-width: 20px;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #032223;
    color: #032223;
    background: transparent;
}

.btn-outline:hover {
    background: #032223;
    color: #fff;
}

.btn-filled {
    background: #65E076;
    color: #032223;
    border: 2px solid #65E076;
}

.btn-filled:hover {
    background: #5fe975;
    box-shadow: 0 4px 15px rgba(101, 224, 118, 0.4);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.popular {
        transform: none;
        grid-column: span 2;
    }
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 650px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        grid-column: auto;
    }
}


/* =========================================
   Extensions List Section
   ========================================= */

.extensions-list-section {
    background-color: #0E4B42; /* Deep Teal Green from image */
    color: var(--color-white);
    padding: clamp(60px, 8vw, 100px) 20px;
}

.extension-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.extension-rows {
    display: flex;
    flex-direction: column;
}

.extension-row {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 40px;
}

.extension-row:first-child {
    padding-top: 0;
}

.extension-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ext-name {
    flex: 1;
    min-width: 250px;
}

.ext-name h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.ext-details {
    flex: 1.5;
    max-width: 600px;
}

.ext-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.95;
}

.ext-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.btn-download-ext {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-white);
    color: #032223;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-download-ext:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .extension-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .ext-name {
        min-width: auto;
    }
}


/* =========================================
   Extensions List Section
   ========================================= */

.extensions-list-section {
    background-color: #0E4B42; /* Deep Teal Green from image */
    color: var(--color-white);
    padding: clamp(60px, 8vw, 100px) 20px;
}

.extension-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.extension-rows {
    display: flex;
    flex-direction: column;
}

.extension-row {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 40px;
}

.extension-row:first-child {
    padding-top: 0;
}

.extension-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ext-name {
    flex: 1;
    min-width: 250px;
}

.ext-name h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.ext-details {
    flex: 1.5;
    max-width: 600px;
}

.ext-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.95;
}

.ext-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.btn-download-ext {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-white);
    color: #032223;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-download-ext:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .extension-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .ext-name {
        min-width: auto;
    }
}

.features-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Larger heading */
    font-weight: 600;
    line-height: 1.1;
    color: #032223;
}

.features-grid {
    flex: 2;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: #032223; /* Dark green icon bg */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #65E076; /* Light green icon color */
    font-size: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #032223;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* =========================================
   AI Detector Steps Section
   ========================================= */

.ai-detector-steps {
    background-color: #FFFBF5; /* Cream background */
    padding: clamp(60px, 8vw, 100px) 20px;
    text-align: center;
}

.ai-detector-steps h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #032223;
    margin-bottom: 60px;
}

.detector-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) { 
    .detector-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px; 
    }
}

@media (max-width: 600px) {
    .detector-steps-grid {
        grid-template-columns: 1fr;
    }
}

.detector-step-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    /* Ensure no min-width from previous conflicts */
    min-width: 0; 
}

.step-visual {
    background-color: #fff;
    padding: 20px;
    padding-bottom: 0;
}

.fake-editor {
    background-color: #FEF6F6; /* Light pinkish */
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 200px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.editor-header {
    background-color: #F8F0FF; /* Light purple */
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.import-btn {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #8A6EAE;
    font-weight: 600;
    background: rgba(255,255,255,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    gap: 4px;
}

.editor-tools {
    display: flex;
    gap: 10px;
    color: #8A6EAE;
    font-size: 0.9rem;
    align-items: center;
}

.tool-btn {
    font-family: serif;
    font-weight: bold;
    cursor: pointer;
}

.font-b { font-weight: 900; }
.font-i { font-style: italic; }
.font-u { text-decoration: underline; }

.editor-body {
    padding: 16px;
    font-size: 0.8rem;
    color: #999;
    line-height: 1.6;
    position: relative;
    height: 100%;
}

.cursor-arrow {
    position: absolute;
    top: 50%;
    left: 30%;
    font-size: 24px;
    color: #000;
    transform: rotate(-45deg); /* Simple imitation of cursor arrow orientation */
}

/* Override Ionicon for cursor to look more like mouse pointer */
.cursor-arrow ion-icon {
    transform: rotate(45deg); /* Correct the icon rotation if needed */
}

.step-content {
    padding: 30px;
    flex: 1;
    background: white;
}

.step-badge {
    display: inline-block;
    background-color: #65E076;
    color: #032223;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #032223;
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 900px) {
    .detector-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .detector-steps-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   Pricing Page Styles
   ========================================= */

.pricing-hero {
    padding: 80px 20px 120px;
    background-color: var(--color-primary);
    text-align: center;
    color: var(--color-white);
}

.pricing-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-white);
}

/* Toggle Switch */
.billing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.billing-toggle {
    background: #fff;
    padding: 6px;
    border-radius: 10px; /* Pill shape container */
    display: inline-flex;
    gap: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Subtle shadow */
}

.billing-toggle input {
    display: none;
}

.toggle-label {
    display: flex;
    gap: 5px;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.toggle-option {
    padding: 12px 24px;
    border-radius: 10px; /* Pill shape options */
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--color-text-dark);
    position: relative;
    z-index: 2;
}

.toggle-option.active-opt {
    background-color: var(--color-accent); /* Green background */
    color: #032223; /* Dark green/black text for contrast */
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.toggle-slider {
    display: none; /* Using class based active state instead */
}


/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1250px; /* Slightly wider */
    margin: 0 auto;
    padding: 0 10px;
}

.pricing-card {
    background-color: #ffffff; 
    border-radius: 24px;
    padding: 40px 30px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    color: var(--color-black);
    transition: transform 0.3s ease;
    border: 1px solid transparent; /* default border */
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0F172A;
}

.card-desc {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 48px;
    font-weight: 500;
}

.card-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
    color: #064E3B;
}

.card-price .currency {
    font-size: 2rem;
    font-weight: 600;
    margin-right: 4px;
    color: #064E3B;
}

.card-price .amount {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    color: #064E3B;
}

.card-price .period {
    color: #64748B;
    margin-left: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.divider-dashed {
    height: 1px;
    border-bottom: 1px dashed #E2E8F0;
    margin: 30px 0;
    width: 100%;
}

.feature-head {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0F172A;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 12px;
    font-weight: 500;
}

.card-features li ion-icon {
    color: #16A34A; /* Richer green for checkmark */
    font-size: 1rem;
    min-width: 20px;
    background: #DCFCE7;
    border-radius: 4px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    margin-top: auto;
    border: 1px solid #0F172A;
    color: #0F172A;
    background: transparent;
    width: 100%;
    padding: 16px; 
    text-align: center;
    transition: all 0.2s;
    border-radius: 8px; 
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: #0F172A;
    color: #fff;
    transform: translateY(-2px);
}

.btn-primary-filled {
    margin-top: auto;
    background-color: #115E50;
    color: #ffffff;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid #115E50;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary-filled:hover {
    background-color: #064E3B;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Popular Card Styles */
.pricing-card.popular {
    background-color: #F0FDF4; 
    border: 0; /* Remove border, use bg color */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%); /* Center the badge */
    background-color: #4ADE80;
    color: #064E3B;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: inline-block;
    white-space: nowrap;
}


/* =========================================
   Comparison Table Section
   ========================================= */

.comparison-table-section {
    padding: 80px 20px 120px;
    background-color: var(--color-bg-light);
}

.comparison-table-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--color-black);
}


.pricing-disclaimer {
    background-color: #032223; /* Dark green/black background from image */
    padding: 24px 20px;
    text-align: center;
    margin-top: 40px;
    border-radius: 0 0 12px 12px;
}

.pricing-disclaimer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

/* =========================================
   Comparison Table Section
   ========================================= */

.comparison-table-section {
    padding: 80px 20px 120px;
    background-color: var(--color-bg-light);
}

.comparison-table-section .section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #0F172A;
}

.table-wrapper {
    overflow-x: auto;
    border: 2px solid #000000; /* Thicker black border */
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 1%;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.features-table th, 
.features-table td {
    padding: 16px 15px;
    text-align: center;
    border: 1px solid #777777; /* Visible grey borders */
    color: #000000;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Header Row */
.header-row th {
    background-color: #F0F9F1; /* Very light mint green */
    vertical-align: top;
    padding: 30px 15px 40px;
}

/* First Column Header */
.header-row th:first-child {
    text-align: left;
    width: 250px;
    padding-left: 20px;
}

.table-header-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100px;
}

.table-header-content span {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.table-toggle {
    display: flex;
    background: #ffffff;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    padding: 2px;
    width: fit-content;
}

.t-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    color: #000;
}

.t-btn.active {
    background-color: #115E50;
    color: #ffffff;
}

/* Plan Headers */
.plan-head {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: #000;
    font-weight: 600;
}

.btn-table {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.7rem;
    width: 100%;
    max-width: 160px;
    text-transform: uppercase;
}

.btn-table.dark {
    background-color: #12141D;
    color: #ffffff;
}

.btn-table.green {
    background-color: #115E50;
    color: #ffffff;
}

/* Section Header Rows */
.section-head-row td {
    background-color: #ffffff;
    text-align: left;
    font-weight: 600;
    padding: 24px 20px 16px;
    font-size: 0.95rem;
}

/* Feature Name Column */
.features-table td.feature-name {
    text-align: left;
    font-weight: 600;
    padding-left: 20px;
}

/* Icons */
.features-table ion-icon {
    font-size: 1.25rem;
    color: #000;
    stroke-width: 32;
}

/* Row hover effect */
.features-table tbody tr:hover td {
    background-color: #F8FAFC;
}

/* Specific Border Adjustments to match image grid exactly */
.features-table thead th {
    border-bottom: 2px solid #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-row th:first-child {
        width: 180px;
    }
}

/* =========================================
   Features Highlight Section
   ========================================= */

.features-highlight {
    background-color: #09594F; /* Solid dark green */
    padding: 100px 20px;
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    max-width: 1300px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 20px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Vertical separator line */
.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 25px;
    background-color: #04362F; /* Darker green square icon background */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon ion-icon {
    font-size: 2.2rem;
    color: #4ADE80; /* Bright green icons */
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.25;
}

.feature-desc {
    font-size: 0.825rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-item:not(:nth-child(2n))::after {
        display: block;
    }
    .feature-item:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .features-highlight {
        padding: 60px 20px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item:not(:last-child)::after {
        display: none;
    }
    .feature-item {
        padding: 40px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .feature-item:last-child {
        border-bottom: none;
    }
}


/* =========================================
 PRODUCT PAGE Design CSS
   ========================================= */

  /* Specific styles for product page */
        .product-hero {
            padding-top: 60px;
            text-align: center;
            max-width: 1000px;
            margin: 0 auto;
            padding-bottom: 100px;
        }

        .product-hero h1 {
            font-size: 40px;
            font-weight: 600;
            margin-bottom: 24px;
            color: var(--color-white);
        }

        .product-hero p {
            font-size: 1.1rem;
            color: var(--color-muted);
            max-width: 800px;
            margin: 0 auto 60px;
            line-height: 1.6;
        }

        .detector-box {
            background-color: #FFFBF7;
            /* Cream/White color */
            border-radius: 12px;
            width: 100%;
            min-height: 500px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
            padding: 20px;
            position: relative;
        }
        .output-container { 
        color:#000;
            
        }
            .footer-actions {
            display: flex;
            gap: 10px;
        }
        
        .btn-reset {
            background: transparent;
            border: 1px solid #e0e0e0;
            color: #666;
            padding: 10px 12px;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .btn-reset ion-icon {
            font-size: 18px;
        }
        
        .btn-reset:hover {
            background: #f5f5f5;
            color: #000;
        }
                
                /*//////////////////*/
                @media (max-width: 992px) {
                    .tool-body {
                        flex-direction: column;
                    }
                
                    .tool-header {
                        flex-direction: column;
                        align-items: flex-start;
                    }
                
                    .stat-item {
                        text-align: left;
                    }
                }
                
                @media (max-width: 576px) {
                    .detector-box {
                        padding: 16px;
                        border-radius: 10px;
                    }
                
                    #ai-input,
                    .output-container {
                        min-height: 180px;
                    }
                
                    .tool-tab {
                        font-size: 13px;
                        padding: 6px 12px;
                    }
                
                    .btn-analyze {
                        width: 100%;
                    }
                
                    .input-footer {
                        display: flex;
                        flex-direction: column;
                        gap: 10px;
                        align-items: stretch;
                    }
                }
                /*//////////////////*/
        .detector-textarea {
            width: 100%;
            height: 460px;
            background: transparent;
            border: none;
            resize: none;
            font-family: var(--font-body);
            font-size: 1.1rem;
            color: var(--color-text-dark);
            outline: none;
            line-height: 1.6;
        }

        .detector-textarea::placeholder {
            color: #9CA3AF;
        }

        /* Info Section Styles */
        .info-section {
            background-color: var(--color-bg-light);
            padding: 100px 0;
            color: var(--color-text-dark);
        }

        .info-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .info-header h2 {
            font-size: 2.5rem;
            font-weight: 600;
            color: var(--color-black);
            margin-bottom: 32px;
        }

        .info-header p {
            font-size: 1rem;
            line-height: 1.7;
            color: #4b5563;
            /* Gray-600 */
            margin-bottom: 24px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .info-split {
            display: flex;
            align-items: flex-start;
            gap: 60px;
            margin-top: 80px;
        }

        .info-text-col {
            flex: 1;
        }

        .info-text-col h2 {
            font-size: 2rem;
            font-weight: 600;
            color: var(--color-black);
            margin-bottom: 24px;
            line-height: 1.2;
        }

        .info-text-col p {
            font-size: 1rem;
            line-height: 1.7;
            color: #4b5563;
            margin-bottom: 24px;
        }

        .info-visual-col {
            flex: 1;
        }

        .peach-box {
            background-color: #FFF2E6;
            /* Peach color from image */
            width: 100%;
            height: 400px;
            /* Approximate height */
            border-radius: 12px;
        }

        @media (max-width: 768px) {
            .info-split {
                flex-direction: column;
            }

            .peach-box {
                height: 300px;
            }
        }

        /* Extension Section Styles */
        .extension-section {
            background-color: #115E50;
            /* Dark Green */
            padding: 120px 0;
            color: var(--color-white);
        }

        .ext-header-row {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 60px;
            opacity: 0.8;
        }

        .ext-badge {
            border: 1px solid rgba(255, 255, 255, 0.2);
            background-color: rgba(255, 255, 255, 0.05);
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 0.9rem;
            text-transform: capitalize;
            font-weight: 500;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.9);
        }

        .ext-line {
            flex: 1;
            height: 1px;
            background: transparent;
            border-top: 2px dotted rgba(255, 255, 255, 0.2);
            border-bottom: none;
            margin-top: 2px;
            opacity: 0.5;
        }

        .ext-content-row {
            display: flex;
            justify-content: space-between;
            gap: 60px;
            align-items: flex-start;
        }

        .ext-left {
            flex: 1;
        }

        .ext-left h2 {
            font-size: clamp(2.5rem, 4vw, 3.5rem);
            font-weight: 600;
            line-height: 1.1;
            color: var(--color-white);
        }

        .ext-right {
            flex: 1;
            max-width: 600px;
        }

        .ext-right h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--color-white);
        }

        .ext-right p {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 32px;
            color: rgba(255, 255, 255, 0.9);
        }

        .btn-download-ext {
            background-color: var(--color-white);
            color: var(--color-primary);
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            transition: transform 0.2s ease;
        }

        .btn-download-ext:hover {
            transform: translateY(-2px);
            background-color: #f3f4f6;
        }

        @media (max-width: 768px) {
            .ext-content-row {
                flex-direction: column;
                gap: 40px;
            }
        }

        /* How To Use Section Styles */
        .how-to-use-section {
            background-color: #FFFBF7;
            /* Cream/White similar to top section */
            padding: 100px 0;
            text-align: center;
        }

        .htu-header h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 600;
            color: var(--color-black);
            margin-bottom: 60px;
        }

        .htu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 32px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .htu-card {
            background: white;
            border-radius: 24px;
            padding: 24px;
            border: 1px solid rgba(0, 0, 0, 0.05);
            /* Very subtle border */
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
            text-align: left;
            transition: transform 0.3s ease;
        }

        .htu-card:hover {
            transform: translateY(-8px);
        }

        .card-mockup {
            background-color: #FFF0F5;
            /* Lavender/Light Pinkish bg inside mockup */
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 24px;
            height: 220px;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .mockup-header {
            background: rgba(255, 255, 255, 0.6);
            padding: 8px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .mock-btn {
            font-size: 0.75rem;
            color: #7e22ce;
            /* Purple tone */
            display: flex;
            align-items: center;
            gap: 4px;
            font-weight: 600;
        }

        .mock-tools {
            display: flex;
            gap: 8px;
            color: #8b5cf6;
            /* Light purple tools */
            font-size: 0.9rem;
        }

        .mockup-body {
            padding: 16px;
            font-size: 0.8rem;
            color: #64748b;
            line-height: 1.6;
        }

        .cursor-arrow {
            position: absolute;
            top: 50%;
            left: 20%;
        }

        .step-label {
            display: inline-block;
            background-color: #65E076;
            /* Green badge */
            color: #032223;
            /* Dark text on badge */
            font-weight: 600;
            font-size: 0.75rem;
            padding: 6px 14px;
            border-radius: 6px;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .card-info h3 {
            font-size: 1.35rem;
            font-weight: 600;
            color: var(--color-black);
            margin-bottom: 12px;
        }

        .card-info p {
            font-size: 0.95rem;
            color: #4b5563;
            line-height: 1.6;
        }

        /* FAQ Section Styles */
        .faq-section {
            background-color: #FFFBF7;
            /* Cream color */
            padding: 120px 0;
            color: var(--color-text-dark);
        }

        .faq-layout {
            display: flex;
            align-items: flex-start;
            gap: 60px;
        }

        .faq-left {
            flex: 1;
            max-width: 400px;
            position: sticky;
            /* Optional: keeps it in view */
            top: 20px;
        }

        .faq-header-row {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 32px;
        }

        .faq-badge {
            border: 1px solid rgba(0, 0, 0, 0.1);
            background-color: transparent;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            text-transform: uppercase;
            font-weight: 600;
            color: #4b5563;
        }

        .faq-line {
            flex: 1;
            height: 1px;
            background: transparent;
            border-top: 1px dotted rgba(0, 0, 0, 0.15);
            /* Dotted line extending right */
        }

        .faq-left h2 {
            font-size: 2.5rem;
            font-weight: 600;
            color: var(--color-black);
            line-height: 1.2;
        }

        .faq-right {
            flex: 2;
        }

        .accordion-item {
            background: white;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            margin-bottom: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .accordion-header {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            background: transparent;
            border: none;
            cursor: pointer;
            text-align: left;
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 1rem;
            color: #334155;
            transition: background 0.2s;
        }

        .accordion-item.expanded .accordion-header {
            padding-bottom: 10px;
            /* Adjust spacing when opened */
        }

        .accordion-header:hover {
            background-color: #fcfcfc;
        }

        .accordion-header ion-icon {
            font-size: 1.25rem;
            color: #64748b;
        }

        .icon-opened {
            display: none;
        }

        .icon-closed {
            display: block;
        }

        .accordion-item.expanded .icon-opened {
            display: block;
        }

        .accordion-item.expanded .icon-closed {
            display: none;
        }

        .accordion-content {
            height: 0;
            overflow: hidden;
            transition: height 0.3s ease;
        }

        .accordion-item.expanded .accordion-content {
            height: auto;
        }

        .accordion-body {
            padding: 0 24px 24px 24px;
            font-size: 0.95rem;
            line-height: 1.6;
            color: #4b5563;
        }

        @media (max-width: 768px) {
            .faq-layout {
                flex-direction: column;
                gap: 40px;
            }

            .faq-left {
                position: static;
                max-width: 100%;
            }
        }


/* =========================================
   Contact Us Page Styles
   ========================================= */
   
   
   
/* Contact Us Page Styles */
.contact-page-wrapper {
    background-color: var(--color-white);
    padding-bottom: 80px;
}

.contact-header-section {
    padding: 80px 20px 40px;
    text-align: center;
}

.contact-subtitle {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.6;
    font-weight: 500;
}

.contact-form-section .container {
    max-width: 1200px;
}

.contact-layout-box {
    background-color: #FFF2E6; /* Peach background from image */
    border-radius: 12px;
    padding: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-form-col {
    flex: 1;
}

.contact-visual-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-main-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-white);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-bg-emerald);
    box-shadow: 0 0 0 3px rgba(17, 94, 80, 0.1);
}

.btn-send-message {
    background-color: #115E50; /* Emerald green from button */
    color: var(--color-white);
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-base);
    align-self: flex-start;
    min-width: 200px;
}

.btn-send-message:hover {
    background-color: #0d4a3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-illustration {
    max-width: 100%;
    height: auto;
}

/*newly added for spacing bewteen input boxes*/

    /* Fix CF7 spacing between inputs */
.contact-main-form .form-group p {
    margin: 0;
}

/* Actual gap between fields */
.contact-main-form .form-group {
    margin-bottom: 18px;
}

/* Safety: ensure inputs donâ€™t stick together */
.contact-main-form input,
.contact-main-form textarea {
    display: block;
}

.wpcf7-response-output{
    color:#000;
}

@media (max-width: 968px) {
    .contact-layout-box {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }
    
    .contact-visual-col {
        order: -1;
    }
    
    .btn-send-message {
        width: 100%;
    }
}

/* =========================================
   Single Post Page â€” Fixed & Responsive CSS
   ========================================= */

.single-post-hero {
    display: flex;
    min-height: 560px;
    max-height: 700px;
    background-color: #FFF0E6;
    overflow: hidden;
}

.post-hero-left {
    flex: 0 0 52%;
    padding: clamp(36px, 6vw, 80px) clamp(32px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-hero-right {
    flex: 0 0 48%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: #E6F3FF;
}

.post-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--color-black);
}

/* Post Title */
.post-title-large {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
    color: var(--color-black);
    line-height: 1.15;
    margin-bottom: 24px;
    margin-top: 0;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.post-meta .category {
    color: #0D9488;
}

/* Author Hero */
.author-bio-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.author-avatar {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

/* WordPress get_avatar() outputs inline width/height â€” must override */
.author-avatar img,
.author-avatar img[width],
.author-avatar img[height] {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    min-width: unset !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.author-info-text {
    display: flex;
    flex-direction: column;
}

.author-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.author-name {
    font-weight: 600;
    color: var(--color-black);
    text-transform: uppercase;
    /*font-size: 0.95rem;*/
    font-size: 24px;
}

.author-name a {
    color: inherit;
    text-decoration: none;
}


@media (max-width: 1024px) {
    .single-post-hero {
        flex-direction: column;
        max-height: none;
    }

    .post-hero-right {
        order: 1;
        flex: 0 0 auto;
        min-height: 300px;
        max-height: 420px;
    }

    .post-hero-left {
        order: 2;
        flex: 0 0 auto;
        padding: 40px 28px;
    }
}

@media (max-width: 600px) {
    .post-hero-left {
        padding: 28px 20px;
    }

    .post-title-large {
        font-size: 1.75rem;
    }

    .post-meta {
        font-size: 0.82rem;
        gap: 8px;
    }

    .post-hero-right {
        min-height: 200px;
        max-height: 260px;
    }
}


.post-content-section {
    padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px);
    background-color: #fffbf5;
}

.post-container-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: clamp(32px, 4vw, 60px);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .post-container-grid {
        grid-template-columns: 1fr;
        max-width: 780px;
    }
}


.post-sidebar {
    position: sticky;
    top: calc(var(--nav-height, 80px) + 24px);
}

.toc-widget {
    background-color: var(--color-white, #fff);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

/* TOC scrollbar */
.toc-widget::-webkit-scrollbar { width: 4px; }
.toc-widget::-webkit-scrollbar-track { background: rgba(0,0,0,0.04); border-radius: 4px; }
.toc-widget::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 4px; }
.toc-widget::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }

.toc-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--color-black, #111);
    letter-spacing: -0.3px;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 3px solid #E2E8F0;
    margin-left: 2px;
}

.toc-list li {
    margin-bottom: 0;
}

/* Sub-items (H3) */
.toc-list li.toc-sub-item {
    margin-left: 16px;
}

.toc-list a {
    display: block;
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 9px 0 9px 20px;
    font-weight: 500;
    position: relative;
    margin-left: -3px;
    border-left: 3px solid transparent;
    text-decoration: none;
    transition: color 0.2s ease, border-left-color 0.2s ease;
}

.toc-list li.toc-sub-item a {
    font-size: 0.83rem;
    padding-left: 16px;
}

.toc-list a:hover {
    color: var(--color-black, #111);
}

.toc-list a.active {
    color: #115E50;
    font-weight: 600;
    border-left-color: #115E50;
}

/* Hide sidebar on tablet/mobile */
@media (max-width: 1100px) {
    .post-sidebar {
        display: none;
    }
}


.post-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
    min-width: 0; /* prevent grid blowout */
}

.post-body h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-top: 56px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-black, #111);
}

.post-body h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-black, #111);
}

.post-body p {
    margin-bottom: 24px;
}

.post-body a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #CBD5E1;
    text-underline-offset: 4px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.post-body a:hover {
    color: var(--color-black, #111);
    text-decoration-color: var(--color-black, #111);
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-body ul,
.post-body ol {
    padding-left: 1.5rem;
    margin-bottom: 24px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body blockquote {
    border-left: 4px solid #115E50;
    margin: 32px 0;
    padding: 16px 24px;
    background: #f0fdf4;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #334155;
}


.post-tags-section {
    margin-top: 56px;
    margin-bottom: 40px;
}

.post-tags-section h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--color-black, #111);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    color: var(--color-text-dark, #1e293b);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.tag-item:hover {
    background-color: #fff;
    color: #fff;
    border-color: #115E50;
    text-decoration: none;
}


.post-share-section {
    margin-bottom: 56px;
}

.post-share-section h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--color-black, #111);
}

.share-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-text-dark, #1e293b);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.share-icon:hover {
    background-color: #115E50;
    color: #fff;
    border-color: #115E50;
}


.post-author-box {
    background-color: #FFF0E6;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 12px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.author-box-avatar {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
}

/* Override WordPress inline width/height on get_avatar() output */
.author-box-avatar img,
.author-box-avatar img[width],
.author-box-avatar img[height] {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    object-fit: cover;
    display: block;
}

.author-box-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--color-black, #111);
}

.author-box-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 20px;
}

.btn-view-posts {
    display: inline-block;
    padding: 10px 22px;
    border: 1.5px solid var(--color-black, #111);
    border-radius: 6px;
    color: var(--color-black, #111);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-view-posts:hover {
    /*background-color: var(--color-black, #111);*/
    color: #fff;
    background-color: #fbfbfb;
}

@media (max-width: 600px) {
    .post-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .btn-view-posts {
        display: block;
        text-align: center;
    }
}


.related-posts-section {
    padding: clamp(48px, 8vw, 80px) 20px;
    background-color: var(--color-bg-light, #fffbf5);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.related-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.related-header h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--color-black, #111);
    white-space: nowrap;
    margin: 0;
}

.related-header .header-line {
    flex: 1;
    height: 0;
    border-top: 2px dotted #E2E8F0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.related-card > a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-card:hover {
    transform: translateY(-4px);
}

.related-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ddd;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: #115E50;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.related-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--color-black, #111);
    margin: 0;
}

@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 24px;
    }

    .related-header .header-line {
        width: 100%;
    }
}


/**************************
SignUp Page Styles

***************************/

/* Authentication Page Styles */
.auth-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: var(--color-white);
}

.auth-left {
    flex: 1;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-illustration {
    max-width: 80%;
    position: relative;
    z-index: 1;
}

.auth-illustration img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #FFFBF7; /* Light cream background */
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
}

.auth-logo {
    margin-bottom: 30px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.auth-heading {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--color-black);
    margin-bottom: 40px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper ion-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 1.2rem;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
    outline: none;
    font-family: var(--font-body);
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(3, 34, 35, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 16px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    padding: 0;
}

.password-toggle ion-icon {
    position: static;
}

.password-toggle:hover {
    color: var(--color-text-dark);
}

.btn-primary-auth {
    background-color: #0F5E53; /* Darker green from screenshot */
    color: var(--color-white);
    padding: 14px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    margin-top: 10px;
    font-family: var(--font-body);
}

.btn-primary-auth:hover {
    background-color: #0a453d;
    transform: translateY(-1px);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e2e8f0;
}

.auth-divider span {
    padding: 0 16px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    font-weight: 500;
}

.btn-social:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.btn-social ion-icon {
    font-size: 1.4rem;
    color: var(--color-black);
}

.auth-footer-text {
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.auth-link {
    color: var(--color-black);
    font-weight: 600;
    text-decoration: underline;
}

.auth-link:hover {
    color: var(--color-primary);
}

.auth-legal {
    margin-top: 60px;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.5;
}

.auth-legal a {
    color: var(--color-text-light);
    text-decoration: underline;
}

.auth-legal a:hover {
    color: var(--color-text-dark);
}

/* Responsive Auth */
@media (max-width: 968px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        display: none; /* Hide illustration on mobile as is common pattern, or could reduce height */
    }

    .auth-right {
        padding: 40px 20px;
        min-height: 100vh;
    }
}


/**************************
  Author Page Styles
  Prefix: author-pg__
***************************/

.author-pg__hero {
    background-color: var(--color-primary, #0d2b1f);
    padding: clamp(100px, 12vw, 150px) 20px 60px;
    color: var(--color-white, #ffffff);
    width: 100%;
    box-sizing: border-box;
}

.author-pg__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.author-pg__profile {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 60px);
}

.author-pg__avatar-wrapper {
    flex-shrink: 0;
    width: clamp(120px, 18vw, 200px);
    height: clamp(120px, 18vw, 200px);
    border-radius: 16px;
    overflow: hidden;
    background-color: #6a4c93;
    position: relative;
}

.author-pg__avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.author-pg__details {
    flex: 1;
    min-width: 0;
}

.author-pg__name {
    font-family: var(--font-heading, 'Georgia', serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    margin: 0 0 6px 0;
    color: var(--color-white, #ffffff);
    line-height: 1.1;
}

.author-pg__role {
    display: inline-block;
    color: var(--color-accent, #4ade80);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.author-pg__bio p {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0;
    max-width: 700px;
}

.author-pg__posts-section {
    background-color: var(--color-bg-light, #f8f7f4);
    padding: 60px 20px 80px;
    box-sizing: border-box;
}

.author-pg__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.author-pg__card {
    background: var(--color-white, #ffffff);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-pg__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.author-pg__card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.author-pg__card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #e2e8f0;
}

.author-pg__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.author-pg__card:hover .author-pg__card-image img {
    transform: scale(1.04);
}

.author-pg__no-thumb {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
}

.author-pg__card-content {
    padding: 14px 16px 18px;
}

.author-pg__card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #16a34a;
    margin-bottom: 8px;
}

.author-pg__card-title {
    font-family: var(--font-heading, 'Georgia', serif);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 600;
    line-height: 1.4;
    color: #1a202c;
    margin: 0;
}

.author-pg__no-posts {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    padding: 40px 0;
}

.author-pg__view-more {
    text-align: center;
    margin-top: 48px;
}

.author-pg__view-more a {
    display: inline-block;
    background-color: var(--color-primary, #0d2b1f);
    color: var(--color-white, #ffffff);
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.author-pg__view-more a:hover {
    background-color: #16a34a;
}



/* Tablet landscape */
@media (max-width: 1024px) {
    .author-pg__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .author-pg__hero {
        padding-top: 100px;
        padding-bottom: 48px;
    }

    .author-pg__profile {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 24px;
    }

    .author-pg__avatar-wrapper {
        width: 140px;
        height: 140px;
    }

    .author-pg__bio p {
        margin: 0 auto;
    }

    .author-pg__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .author-pg__container {
        padding: 0 16px;
    }

    .author-pg__name {
        font-size: 1.7rem;
    }

    .author-pg__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .author-pg__card-content {
        padding: 10px 12px 14px;
    }

    .author-pg__card-title {
        font-size: 0.8rem;
    }
}

/* Very small mobile */
@media (max-width: 360px) {
    .author-pg__grid {
        grid-template-columns: 1fr;
    }
}

          
/*=================== User Menu & Dropdown =======================*/
.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-avatar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.user-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 260px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1001;
    display: none;
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

.user-dropdown.active {
    display: block;
}

.dropdown-header {
    padding: 20px;
}

.user-info {
    margin-bottom: 16px;
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.user-email {
    display: block;
    font-size: 0.85rem;
    color: #64748B;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-toggle-wrapper {
    display: flex;
}

.theme-toggle {
    background-color: #F1F5F9;
    padding: 4px;
    border-radius: 8px;
    display: inline-flex;
    gap: 4px;
}

.theme-btn {
    background: none;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-btn:hover {
    background-color: rgba(255,255,255,0.5);
}

.theme-btn.active {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dropdown-divider {
    height: 1px;
    background-color: #E2E8F0;
    margin: 0;
}

.dropdown-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.dropdown-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-list li a:hover {
    background-color: #F8FAFC;
}

.dropdown-list li a ion-icon {
    font-size: 1.2rem;
    color: #475569;
}

.dropdown-list li a.text-red {
    color: #EF4444;
}

.dropdown-list li a.text-red ion-icon {
    color: #EF4444;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/*===================  Dashboard Styles =======================*/

.dashboard-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg-light);
    min-height: 80vh; /* Ensure it takes up good space */
}

.dashboard-title {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 60px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .settings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

.setting-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.setting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    /*font-size: 22px;*/
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.card-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #64748B; /* Muted text color */
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-action {
    display: flex;
    justify-content: flex-end; /* Align button to the right as per image */
    margin-top: auto;
}

.btn-outline {
    background: transparent;
    border: 2px solid #CBD5E1; /* Light grey border */
    border-radius: 8px;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-primary); /* Dark text */
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Specific tweaks for "Delete Account" if we want red hover (optional, but good UX) */
.setting-card:last-child .btn-outline:hover {
    border-color: #dc2626;
    color: #dc2626;
    background-color: #fef2f2;
}

/*******************************************************
Blog page search button Styles 

*******************************************************/

.blog-search-wrapper {
    position: relative;
    max-width: 620px;
    margin: 28px auto 24px;
}

.blog-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search-bar:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 4px 32px rgba(79,70,229,0.18);
}

.blog-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 10px;
    font-size: 16px;
    color: #1e1e2e;
    background: transparent;
}

.blog-search-input::placeholder {
    color: #9ca3af;
}

.blog-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #5fe975;
    color: #000;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.blog-search-btn:hover {
    background: #4338ca;
}

/* Results Dropdown */
.blog-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    max-height: 420px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    text-decoration: none;
    color: #1e1e2e;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f5f3ff;
}

.search-result-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e5e7eb;
}

.search-result-thumb-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 22px;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-category {
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.search-result-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-date {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.search-no-results,
.search-loading,
.search-error {
    padding: 24px 18px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.search-view-all-link {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4f46e5;
    background: #f5f3ff;
    text-decoration: none;
    transition: background 0.15s;
}

.search-view-all-link:hover {
    background: #ede9fe;
}



/* =========================================
  Search.php page styles
   ========================================= */

.search-results-hero .search-term {
    color: #5fe975;
}

.search-results-section .post-excerpt {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
    line-height: 1.5;
}

.search-pagination {
    margin-top: 40px;
    text-align: center;
}

.search-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s;
}

.search-pagination .page-numbers.current,
.search-pagination .page-numbers:hover {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.no-results p {
    font-size: 16px;
    margin-bottom: 20px;
}