/* AnyLetters - Custom Styles
   Default Teal Theme based on Acelle Mail Dashboard
   ========================================== */

/* CSS Variables - Default Teal Theme */
:root {
    /* Primary Colors */
    --primary-color: #00838F;
    --primary-color-hover: #006d77;
    --primary-color-dark: #001927;
    --link-color: #00838F;
    --link-color-hover: #006d77;
    
    /* Secondary Colors */
    --info-color: #26A69A;
    --info-color-hover: #1e8e84;
    --progress-bar: #00838F;
    --light-color-bg: #e0f2f1;
    --pagination-active: #b2dfdb;
    
    /* Neutral Colors */
    --body-text: #241c15;
    --background: #ffffff;
    --border-color: #bdbbb9;
    --muted-text: #595959; /* Improved from #666666 for better contrast (5.74:1) */
    --light-bg: #f8f9fa;
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, rgba(0, 25, 39, 0.95) 0%, rgba(0, 131, 143, 0.9) 100%);
    --cta-gradient: linear-gradient(135deg, #00838F 0%, #006d77 100%);
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    color: var(--body-text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-color-hover);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
}

.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    width: auto;
    overflow: visible;
    white-space: normal;
    top: 0;
    left: 0;
}

/* Navigation */
.navbar {
    background-color: transparent !important;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 25, 39, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    /* Fix logo display on mobile */
    .navbar-brand {
        flex-shrink: 0;
        max-width: 70%;
        padding-right: 0.5rem;
    }
    
    .navbar-brand img {
        height: 28px;
        min-width: 200px;
        max-width: 100%;
    }
    
    /* Ensure navbar container doesn't clip content */
    .navbar .container {
        overflow: visible;
    }
    
    /* Adjust toggler button spacing */
    .navbar-toggler {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    /* Add spacing for mobile menu items */
    .navbar-collapse .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .navbar-collapse .nav-item {
        margin-bottom: 0.5rem;
    }
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 131, 143, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: var(--hero-gradient);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badges .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .text-highlight {
    color: var(--info-color);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
}

.hero-image {
    position: relative;
    z-index: 1;
}

/* Trust & Compliance Badges in Hero */
.compliance-badges {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

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

.compliance-badge {
    text-align: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.compliance-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.badge-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.5rem;
    color: var(--info-color);
}

.badge-icon svg {
    width: 100%;
    height: 100%;
}

.compliance-badge h6 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.15rem;
}

.compliance-badge span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: rotate(2deg) scale(0.95);
    transform-origin: center;
}

/* Enhanced Dashboard Mockup */
.dashboard-mockup.enhanced {
    min-height: 550px;
}

.mockup-header {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecef;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dee2e6;
}

.mockup-content {
    padding: 1.5rem;
    background: #f8f9fa;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--body-text);
}

.stat-value.text-primary {
    color: var(--primary-color) !important;
}

.stat-value.text-success {
    color: #10b981 !important;
}

/* Campaign Cards */
.campaign-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.campaign-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.campaign-card.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.notification-badge.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.card-header .material-icons-outlined {
    font-size: 18px;
    color: var(--primary-color);
}

.card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--body-text);
}

.card-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.mini-stat {
    flex: 1;
}

.mini-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.mini-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--body-text);
}

.progress-bar-container {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--info-color) 100%);
    border-radius: 3px;
    width: var(--progress);
    animation: fillProgress 1.5s ease forwards;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
    to {
        width: var(--progress);
    }
}

/* Activity Feed */
.activity-feed {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-item:first-child {
    padding-top: 0;
}

.activity-item.fade-in {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon .material-icons-outlined {
    font-size: 18px;
}

.activity-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.activity-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--body-text);
}

.activity-time {
    font-size: 0.7rem;
    color: #6c757d;
}

.mockup-chart {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
}

.chart-bar {
    flex: 1;
    background: var(--light-color-bg);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.chart-bar.active {
    background: var(--primary-color);
}

/* Animated Chart Bars */
.chart-bar.animated-bar {
    height: 0;
    animation: growBar 1s ease forwards;
    animation-delay: calc(var(--bar-index, 0) * 0.1s);
}

@keyframes growBar {
    to {
        height: var(--bar-height);
    }
}

.chart-bar:nth-child(1) { --bar-index: 0; }
.chart-bar:nth-child(2) { --bar-index: 1; }
.chart-bar:nth-child(3) { --bar-index: 2; }
.chart-bar:nth-child(4) { --bar-index: 3; }
.chart-bar:nth-child(5) { --bar-index: 4; }
.chart-bar:nth-child(6) { --bar-index: 5; }

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon .material-icons-outlined {
    font-size: 36px;
    color: var(--primary-color);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--background);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--body-text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon .material-icons-outlined {
    font-size: 28px;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--body-text);
}

.feature-description {
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.feature-list li {
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li i {
    font-size: 0.75rem;
}

/* Feature Explorer Section */
.feature-explorer-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.feature-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.feature-tab:hover {
    border-color: var(--primary-color);
}

.feature-tab.active {
    border-left: 4px solid var(--primary-color);
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tab-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tab-icon .material-icons-outlined {
    font-size: 24px;
    color: var(--primary-color);
}

.tab-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--body-text);
}

.tab-content p {
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

.feature-detail-panel {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 500px;
}

.feature-detail {
    display: none;
    animation: fadeIn 0.4s ease;
}

.feature-detail.active {
    display: block;
}

.feature-detail h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--body-text);
}

.feature-detail p {
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--body-text);
    font-weight: 500;
}

.detail-feature i {
    color: #10b981;
}

.feature-screenshot {
    margin-top: 1.5rem;
}

.feature-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Segmentation Section */
.segmentation-section {
    padding: 100px 0;
    background-color: var(--background);
}

.segmentation-section .row {
    min-height: 550px;
    align-items: stretch;
}

.segmentation-tabs .nav-pills {
    gap: 0.5rem;
}

.segmentation-tabs .nav-link {
    background: #f1f5f9;
    color: var(--body-text);
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.segmentation-tabs .nav-link:hover {
    background: var(--light-color-bg);
}

.segmentation-tabs .nav-link.active {
    background: var(--primary-color);
    color: #fff;
}

.segment-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.segment-feature .material-icons-outlined {
    font-size: 24px;
    flex-shrink: 0;
}

.segment-feature h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* API Section */
.api-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.api-section .row {
    min-height: 550px;
    align-items: stretch;
}

.api-tabs .nav-pills {
    gap: 0.5rem;
}

.api-tabs .nav-link {
    background: #fff;
    color: var(--body-text);
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.api-tabs .nav-link:hover {
    border-color: var(--primary-color);
}

.api-tabs .nav-link.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.api-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.api-feature .material-icons-outlined {
    font-size: 24px;
    flex-shrink: 0;
}

.api-feature h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Ecosystem Section */
.ecosystem-section {
    padding: 100px 0;
    background-color: var(--background);
}

.ecosystem-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.ecosystem-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ecosystem-icon .material-icons-outlined {
    font-size: 32px;
}

.ecosystem-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--body-text);
}

.ecosystem-description {
    color: var(--muted-text);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Code Preview */
.code-preview {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    min-height: 450px;
}

.code-header {
    background: #334155;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #475569;
}

.code-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.code-content {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.code-content code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Forms & Popups Mockup in API Section */
.forms-mockup-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-preview-box {
    background: #334155;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #475569;
}

.form-preview-header {
    background: #475569;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-badge {
    background: var(--info-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.form-preview-body {
    padding: 1.5rem;
}

.form-title-mock {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 1.25rem;
    text-align: center;
}

.form-field-mock {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.form-field-mock:hover {
    border-color: var(--info-color);
}

.form-field-mock .material-icons-outlined {
    font-size: 20px;
    color: #94a3b8;
}

.field-text {
    color: #94a3b8;
    font-size: 0.9rem;
}

.form-button-mock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--info-color) 0%, var(--primary-color) 100%);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button-mock:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38, 166, 154, 0.3);
}

.form-button-mock .material-icons-outlined {
    font-size: 18px;
}

.display-options-mock {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #334155;
    border: 1px solid #475569;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #94a3b8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.option-item:hover {
    border-color: var(--info-color);
    color: #e2e8f0;
}

.option-item.active-option {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--primary-color) 100%);
    color: #fff;
    border-color: var(--info-color);
}

.option-item .material-icons-outlined {
    font-size: 16px;
}

@media (max-width: 767px) {
    .forms-mockup-content {
        padding: 1rem;
    }
    
    .form-preview-body {
        padding: 1rem;
    }
    
    .form-title-mock {
        font-size: 1rem;
    }
    
    .form-field-mock {
        padding: 0.75rem 0.85rem;
    }
    
    .form-button-mock {
        padding: 0.75rem 1.25rem;
    }
    
    .display-options-mock {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .option-item {
        justify-content: center;
    }
}

/* List Cleaning Section */
.list-cleaning-section {
    padding: 100px 0;
    background-color: var(--background);
}

.cleaning-features .cleaning-item {
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cleaning-features .cleaning-item:hover {
    background-color: var(--light-bg);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle .material-icons-outlined {
    font-size: 24px;
}

/* Trust & Security Section */
.trust-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.trust-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.trust-icon .material-icons-outlined {
    font-size: 32px;
    color: var(--primary-color);
}

.trust-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.trust-card p {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--hero-gradient);
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--background);
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body-text);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.author-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--muted-text);
}

.testimonial-metric {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    text-align: right;
    padding-bottom: 1rem;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--muted-text);
    text-transform: uppercase;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

/* Pricing Cards */
.pricing-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Più Popolare';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-text);
}

.pricing-card.featured .pricing-name {
    color: var(--primary-color);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted-text);
}

.pricing-description {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--body-text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.pricing-features li .material-icons-outlined {
    font-size: 18px;
    color: var(--primary-color);
    margin-right: 0.75rem;
}

/* Comparison Table */
.comparison-table {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table table {
    margin-bottom: 0;
}

.comparison-table th {
    background: var(--light-bg);
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.comparison-table th.highlight {
    background: var(--light-color-bg);
}

.comparison-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #f1f5f9;
}

.comparison-table td.highlight {
    background: rgba(0, 131, 143, 0.05);
}

.comparison-table tbody tr:hover {
    background: var(--light-bg);
}

/* Lead Magnet Section */
.lead-magnet-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e0f2f1 100%);
}

.lead-magnet-benefits {
    list-style: none;
    padding: 0;
}

.lead-magnet-benefits li {
    padding: 0.5rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lead-magnet-form {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.lead-magnet-form h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.lead-magnet-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.lead-magnet-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 131, 143, 0.1);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted-text);
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--background);
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--body-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--muted-text);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    color: var(--muted-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--cta-gradient);
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-light {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
}

.cta-section .btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand img {
    height: 30px;
    min-width:200px;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Mobile CTA Button */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Modal Styles */
.modal-content {
    border-radius: 16px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
}

/* Bootstrap Color Overrides */
.bg-success-subtle {
    background-color: #d1fae5 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary-subtle {
    background-color: var(--light-color-bg) !important;
}

.bg-info-subtle {
    background-color: #cffafe !important;
}

.text-info {
    color: #06b6d4 !important;
}

.bg-warning-subtle {
    background-color: #fef3c7 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.bg-danger-subtle {
    background-color: #fee2e2 !important;
}

.text-danger {
    color: #ef4444 !important;
}

/* Badge styles */
.badge {
    font-weight: 500;
    font-size: 0.8rem;
}

/* Accessibility: Override Bootstrap .text-muted for better contrast */
.text-muted {
    color: var(--muted-text) !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .dashboard-mockup {
        transform: scale(0.95);
        transform-origin: center;
        margin-top: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-detail-panel {
        min-height: auto;
        margin-top: 2rem;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .badges-container {
        gap: 1rem;
    }
    
    .compliance-badge {
        min-width: 100px;
    }
    
    .mobile-cta {
        display: block;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .how-it-works-section,
    .features-section,
    .feature-explorer-section,
    .segmentation-section,
    .api-section,
    .ecosystem-section,
    .list-cleaning-section,
    .trust-section,
    .testimonials-section,
    .pricing-section,
    .lead-magnet-section,
    .faq-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .ecosystem-card {
        padding: 24px;
        margin-bottom: 1.5rem;
    }
    
    .stat-item .stat-number {
        font-size: 2.5rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .code-preview {
        margin-top: 2rem;
    }
    
    .comparison-table {
        padding: 1rem;
    }
    
    .lead-magnet-form {
        margin-top: 2rem;
    }
    
    /* Mobile Horizontal Scroll for Compliance Badges */
    .compliance-badges {
        overflow: hidden;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .badges-container {
        gap: 0.75rem;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        padding-bottom: 0.5rem;
    }
    
    .badges-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }
    
    .compliance-badge {
        padding: 0.6rem 0.75rem;
        min-width: 90px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    
    .badge-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0.4rem;
    }
    
    .compliance-badge h6 {
        font-size: 0.7rem;
    }
    
    .compliance-badge span {
        font-size: 0.6rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* AOS Custom Animations */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

/* Utility Classes */
.text-primary-color {
    color: var(--primary-color) !important;
}

.bg-primary-color {
    background-color: var(--primary-color) !important;
}

.bg-light-color {
    background-color: var(--light-color-bg) !important;
}

/* Additional Mockup Styles */

/* Automation Workflow Mockup */
.mockup-automation,
.mockup-lists,
.mockup-analytics,
.mockup-builder,
.mockup-segmentation,
.mockup-cleaning {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow-x: auto;
}

.workflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border: 2px solid #e9ecef;
    min-width: 80px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--body-text);
}

.workflow-node.start {
    background: var(--light-color-bg);
    border-color: var(--primary-color);
}

.workflow-node.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.workflow-node .material-icons-outlined {
    font-size: 20px;
}

.workflow-arrow {
    width: 20px;
    height: 2px;
    background: #dee2e6;
    position: relative;
}

.workflow-arrow::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid #dee2e6;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Lists & Table Mockup */
.mockup-table {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.8fr;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
}

.table-row.header {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--body-text);
}

.table-row:last-child {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

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

/* Email Builder Mockup */
.builder-toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-bottom: 1px solid #e9ecef;
}

.toolbar-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toolbar-item:hover {
    border-color: var(--primary-color);
    background: var(--light-color-bg);
}

.toolbar-item .material-icons-outlined {
    font-size: 18px;
    color: var(--muted-text);
}

.builder-canvas {
    padding: 1rem;
    background: #f8f9fa;
}

.canvas-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted-text);
}

.canvas-block:last-child {
    margin-bottom: 0;
}

.canvas-block.header,
.canvas-block.footer {
    background: var(--light-color-bg);
    border-color: var(--primary-color);
    border-style: solid;
}

.canvas-block .material-icons-outlined {
    font-size: 18px;
    color: #cbd5e1;
}

/* Segmentation Mockup */
.segment-builder {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 1rem;
    margin-bottom: 1rem;
}

.segment-rule {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.segment-rule:last-child {
    margin-bottom: 0;
}

.rule-label {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 40px;
}

.rule-field,
.rule-value {
    padding: 0.25rem 0.75rem;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.rule-operator {
    color: var(--muted-text);
    font-size: 0.8rem;
}

.segment-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color-bg);
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.segment-result .material-icons-outlined {
    font-size: 32px;
    color: var(--primary-color);
}

.result-count {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-text);
}

/* List Cleaning/Verification Mockup */
.verification-progress {
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--info-color) 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--muted-text);
    font-weight: 500;
}

.verification-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.verify-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.verify-stat .material-icons-outlined {
    font-size: 28px;
}

.verify-stat.valid .material-icons-outlined {
    color: #10b981;
}

.verify-stat.invalid .material-icons-outlined {
    color: #ef4444;
}

.verify-stat.risky .material-icons-outlined {
    color: #f59e0b;
}

.verify-count {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--body-text);
}

.verify-label {
    display: block;
    font-size: 0.75rem;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.verification-details {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .material-icons-outlined {
    font-size: 20px;
    color: #cbd5e1;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-email {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--body-text);
}

.detail-status {
    font-size: 0.75rem;
    font-weight: 500;
}

.detail-status.valid {
    color: #10b981;
}

.detail-status.invalid {
    color: #ef4444;
}

.detail-status.risky {
    color: #f59e0b;
}

/* Avatar Mockup for Testimonials */
.author-avatar-mockup {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Responsive adjustments for mockups */
@media (max-width: 767px) {
    .workflow-diagram {
        flex-direction: column;
    }
    
    .workflow-arrow {
        width: 2px;
        height: 20px;
        transform: rotate(90deg);
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .verification-stats {
        grid-template-columns: 1fr;
    }
    
    .segment-rule {
        flex-wrap: wrap;
    }
}
  
/* Enhanced Dashboard Responsive Styles */  
@media (max-width: 991px) {  
    .dashboard-mockup.enhanced {  
        min-height: 450px;  
    }  
    .mockup-stats {  
        grid-template-columns: 1fr 1fr;  
    }  
    .campaign-cards {  
        grid-template-columns: 1fr;  
    }  
}  
  
@media (max-width: 767px) {  
    .dashboard-mockup.enhanced {  
        min-height: 400px;  
    }  
    .mockup-stats {  
        grid-template-columns: 1fr;  
    }  
    .campaign-card {  
        padding: 0.75rem;  
    }  
    .activity-feed {  
        padding: 0.75rem;  
    }  
    .mockup-chart {  
        height: 80px;  
    }  
}

/* Forms & Popups Section */
.forms-popups-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.forms-features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.forms-feature-item {
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.forms-feature-item:hover {
    background-color: rgba(0, 131, 143, 0.03);
    transform: translateX(5px);
}

.forms-feature-item:focus-within {
    background-color: rgba(0, 131, 143, 0.05);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.forms-icon {
    flex-shrink: 0;
}

.forms-feature-item h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--body-text);
    margin-bottom: 0.5rem;
}

.forms-feature-item p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Forms & Popups Mockup Styles */
.mockup-forms {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.mockup-forms .mockup-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecef;
}

.mockup-forms .mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-forms .mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
}

.mockup-forms .mockup-content {
    padding: 40px;
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Website Background */
.website-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    padding: 20px;
    opacity: 0.6;
    filter: blur(1px);
}

.website-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.website-logo {
    width: 100px;
    height: 30px;
    background: linear-gradient(135deg, #00D084 0%, #26A69A 100%);
    border-radius: 6px;
}

.website-nav {
    display: flex;
    gap: 15px;
}

.website-nav span {
    width: 60px;
    height: 8px;
    background: #d0d0d0;
    border-radius: 4px;
}

.website-content {
    padding: 20px 0;
}

.content-line {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    margin-bottom: 12px;
}

.content-line.short {
    width: 60%;
}

/* Popup Form */
.popup-form {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    animation: popupEntrance 0.6s ease-out;
}

@keyframes popupEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.popup-close {
    font-size: 28px;
    color: #999999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #333333;
}

.popup-body {
    padding: 24px;
}

.form-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-field:hover {
    border-color: #00D084;
    background: rgba(0, 208, 132, 0.02);
}

.form-field .material-icons-outlined {
    color: #666666;
    font-size: 20px;
}

.field-placeholder {
    flex: 1;
    color: #999999;
    font-size: 14px;
}

.form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #00D084 0%, #26A69A 100%);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 208, 132, 0.3);
}

.form-button .material-icons-outlined {
    font-size: 20px;
}

/* Display Options */
.display-options {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.option-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 12px;
    color: #666666;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.option-badge:hover {
    border-color: #00D084;
    color: #00D084;
}

.option-badge.active {
    background: linear-gradient(135deg, #00D084 0%, #26A69A 100%);
    color: #ffffff;
    border-color: #00D084;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 208, 132, 0.5);
    }
}

.option-badge .material-icons-outlined {
    font-size: 16px;
}

/* Responsive Styles for Forms & Popups Mockup */
@media (max-width: 991px) {
    .mockup-forms .mockup-content {
        padding: 30px;
        min-height: 400px;
    }
    
    .popup-form {
        max-width: 350px;
    }
    
    .display-options {
        bottom: 15px;
        gap: 8px;
    }
    
    .option-badge {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .mockup-forms .mockup-content {
        padding: 20px;
        min-height: 350px;
    }
    
    .popup-form {
        max-width: 280px;
    }
    
    .popup-header {
        padding: 16px 20px;
    }
    
    .popup-title {
        font-size: 16px;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .form-field {
        padding: 12px 14px;
    }
    
    .form-button {
        padding: 12px 20px;
    }
    
    .display-options {
        flex-direction: column;
        bottom: 10px;
        gap: 6px;
    }
    
    .option-badge {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .website-nav span {
        width: 40px;
    }
}

/* Responsive Styles for Forms & Popups Section */
@media (max-width: 991px) {
    .forms-popups-section {
        padding: 80px 0;
    }
    
    .forms-illustration {
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .forms-illustration img {
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .forms-popups-section {
        padding: 60px 0;
    }
    
    .forms-feature-item {
        padding: 0.75rem;
    }
    
    .forms-feature-item h5 {
        font-size: 1rem;
    }
    
    .forms-feature-item p {
        font-size: 0.85rem;
    }
    
    .forms-illustration {
        padding: 0.5rem;
    }
    
    .forms-illustration img {
        max-width: 100%;
    }
    
    .icon-circle {
        width: 45px;
        height: 45px;
    }
    
    .icon-circle .material-icons-outlined {
        font-size: 22px;
    }
}

/* ========================================
   PRICING TABS & CREDITS SECTION
   ======================================== */

/* Pricing Section Container */
.pricing-section {
    position: relative;
    overflow-x: hidden;
}

/* Pricing Tabs Navigation */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 0.75rem 2rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--body-text);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-tab:hover {
    border-color: var(--primary-color);
    background: var(--light-color-bg);
}

.pricing-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 131, 143, 0.3);
}

/* Tab Content Containers */
.pricing-tab-content {
    display: block;
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, height 0s 0.3s;
}

.pricing-tab-content.active {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    animation: fadeIn 0.4s ease;
}

/* Credits Section Styles */
.credits-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.credits-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--light-color-bg);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.credits-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--body-text);
}

.credits-subtitle {
    font-size: 1.05rem;
    color: var(--muted-text);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Credits Info Box */
.credits-info-box {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--light-color-bg);
    border-radius: 12px;
}

.credits-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--body-text);
    font-weight: 500;
}

.credits-info-item .material-icons-outlined {
    font-size: 20px;
    color: var(--primary-color);
}

/* Pricing Details Box */
.pricing-details-box {
    margin: 2.5rem 0;
    padding: 0;
}

.pricing-details-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--light-color-bg);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-details-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 131, 143, 0.15);
}

.pricing-details-content > .material-icons-outlined {
    font-size: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.pricing-details-text {
    flex: 1;
    text-align: left;
}

.pricing-details-text strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 0.25rem;
}

.pricing-details-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted-text);
}

.pricing-details-content .btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.pricing-details-content .btn .material-icons-outlined {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.pricing-details-content:hover .btn .material-icons-outlined {
    transform: translateX(4px);
}

/* Credits Cards Grid */
.credits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.credit-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.credit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.credit-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.credit-card.featured::before {
    content: attr(data-badge);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.credit-card.best-value::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.credit-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 0.25rem;
}

.credit-label {
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.credit-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.credit-discount {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.credit-card .btn {
    width: 100%;
}

/* Sending Credits Carousel */
.credits-carousel-container {
    position: relative;
    overflow: visible;
    padding: 0 3rem;
}

.credits-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

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

.credits-carousel .credit-card {
    min-width: 300px;
    flex-shrink: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hide carousel arrows on desktop for monthly plans and verification credits */
@media (min-width: 992px) {
    .monthly-plans-carousel-container .carousel-arrow,
    .verification-credits-carousel-container .carousel-arrow {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.carousel-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 131, 143, 0.3);
}

.carousel-arrow:hover .material-icons-outlined {
    color: #fff;
}

.carousel-arrow.prev {
    left: 1rem;
}

.carousel-arrow.next {
    right: 1rem;
}

.carousel-arrow .material-icons-outlined {
    font-size: 24px;
    color: var(--primary-color);
    transition: color 0.3s ease;
    pointer-events: none;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Styles for Credits */
@media (max-width: 991px) {
    /* Show carousel arrows for monthly plans and verification credits on tablet/mobile */
    .monthly-plans-carousel .carousel-arrow,
    .verification-credits-carousel .carousel-arrow {
        display: flex;
    }
    
    /* Transform Monthly Plans grid into carousel on tablet */
    .monthly-plans-carousel .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1.5rem !important;
        padding: 1rem !important;
        margin: 0 !important;
        scroll-snap-type: x mandatory;
        justify-content: flex-start !important;
    }
    
    .monthly-plans-carousel .row::-webkit-scrollbar {
        display: none;
    }
    
    .monthly-plans-carousel .row > [class*="col-"] {
        flex: 0 0 320px !important;
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        padding: 0 !important;
        margin: 0 !important;
        scroll-snap-align: start;
    }
    
    .monthly-plans-carousel .row > [class*="col-"]:first-child {
        margin-left: 0 !important;
    }
    
    .monthly-plans-carousel .row > [class*="col-"]:last-child {
        margin-right: 1rem !important;
        padding-right: 0 !important;
    }
    
    /* Force inner pricing cards to fit container */
    .monthly-plans-carousel .pricing-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Remove scale on featured cards in carousel */
    .monthly-plans-carousel .pricing-card.featured {
        transform: none !important;
    }
    
    /* Transform Verification Credits grid into carousel on tablet */
    .verification-credits-carousel .credits-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1.5rem !important;
        padding: 1rem !important;
        margin: 0 !important;
        scroll-snap-type: x mandatory;
        justify-content: flex-start !important;
    }
    
    .verification-credits-carousel .credits-grid::-webkit-scrollbar {
        display: none;
    }
    
    .verification-credits-carousel .credits-grid .credit-card {
        flex: 0 0 320px !important;
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 !important;
        padding: 2rem !important;
        box-sizing: border-box !important;
        scroll-snap-align: start;
    }
    
    .verification-credits-carousel .credits-grid .credit-card:first-child {
        margin-left: 0 !important;
    }
    
    .verification-credits-carousel .credits-grid .credit-card:last-child {
        margin-right: 1rem !important;
    }
    
    /* Remove scale on featured cards in carousel */
    .verification-credits-carousel .credit-card.featured {
        transform: none !important;
    }
    
    .pricing-tabs {
        gap: 0.75rem;
    }
    
    .pricing-tab {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .credits-carousel-container {
        padding: 0 2.5rem;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow .material-icons-outlined {
        font-size: 22px;
    }
    
    /* Pricing Details Box Responsive */
    .pricing-details-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .pricing-details-content > .material-icons-outlined {
        font-size: 32px;
    }
    
    .pricing-details-text {
        text-align: center;
    }
    
    .pricing-details-content .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    /* Universal solution: Force all cards to fit within container with visible padding */
    .monthly-plans-carousel .row > [class*="col-"],
    .verification-credits-carousel .credits-grid .credit-card,
    .credits-carousel .credit-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    /* Force inner cards to respect container width */
    .monthly-plans-carousel .pricing-card,
    .verification-credits-carousel .credit-card,
    .credits-carousel .credit-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.5rem !important;
    }
    
    /* Remove scale transform on mobile for featured cards */
    .pricing-card.featured,
    .credit-card.featured {
        transform: none !important;
    }
    
    /* Ensure hover effects don't cause overflow */
    .pricing-card:hover,
    .credit-card:hover {
        transform: translateY(-5px) !important;
    }
    
    /* Adjust carousel container padding on mobile */
    .monthly-plans-carousel,
    .verification-credits-carousel {
        padding: 0 1rem;
    }
    
    /* Add padding to row for visible spacing around cards */
    .monthly-plans-carousel .row {
        padding: 1rem 1.5rem !important;
    }
    
    .verification-credits-carousel .credits-grid {
        padding: 1rem 1.5rem !important;
    }
    
    .pricing-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-tab {
        width: 100%;
        text-align: center;
    }
    
    .credits-title {
        font-size: 1.75rem;
    }
    
    .credits-subtitle {
        font-size: 0.95rem;
    }
    
    .credits-info-box {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .credits-info-item {
        justify-content: center;
    }
    
    .credit-card {
        padding: 1.5rem;
        margin-bottom: 0;
    }
    
    .credit-card.featured {
        transform: none;
    }
    
    .credits-carousel-container {
        padding: 0 1rem;
    }
    
    .credits-carousel {
        gap: 1rem;
    }
    
    .credits-carousel .credit-card {
        min-width: 260px;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
    
    .carousel-arrow .material-icons-outlined {
        font-size: 20px;
    }
}

/* Touch-friendly carousel on mobile */
@media (max-width: 767px) {
    /* Enable touch-friendly scroll for all carousels */
    .credits-carousel,
    #pricing-plans .row,
    .credits-grid {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .credits-carousel .credit-card,
    #pricing-plans .row > [class*="col-"],
    .credits-grid .credit-card {
        scroll-snap-align: center;
    }
}

/* Extra small mobile devices (320px - 375px) */
@media (max-width: 375px) {
    /* Reduce card size for very small screens */
    .monthly-plans-carousel .row > [class*="col-"],
    .verification-credits-carousel .credits-grid .credit-card,
    .credits-carousel .credit-card {
        flex: 0 0 250px !important;
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
    }
    
    /* Reduce padding further */
    .monthly-plans-carousel .pricing-card,
    .verification-credits-carousel .credit-card,
    .credits-carousel .credit-card {
        padding: 1.25rem !important;
    }
    
    /* Reduce row/grid padding */
    .monthly-plans-carousel .row {
        padding: 0.5rem 0.75rem !important;
    }
    
    .verification-credits-carousel .credits-grid {
        padding: 0.5rem 0.75rem !important;
    }
    
    /* Reduce container padding */
    .monthly-plans-carousel,
    .verification-credits-carousel {
        padding: 0 0.5rem;
    }
    
    .credits-carousel-container {
        padding: 0 0.5rem;
    }
    
    /* Reduce button size */
    .carousel-arrow {
        width: 32px !important;
        height: 32px !important;
    }
    
    .carousel-arrow .material-icons-outlined {
        font-size: 18px !important;
    }
}