/* 
   Social Media Hunter - Premium SaaS Styles 
   Theme: Deep Violet/Purple Dark Mode 
*/

:root {
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-hover: #4f46e5;
    /* Indigo 600 */
    --secondary: #a855f7;
    /* Purple 500 */
    --accent: #ec4899;
    /* Pink 500 */

    --bg-dark: #0f0b1e;
    /* Very dark violet */
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(17, 25, 40, 0.75);

    --text-main: #ffffff;
    --text-muted: #9ca3af;

    --border-light: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
}

/* Global Layout & Direction */
html[dir="rtl"] {
    --font-body: 'Tajawal', sans-serif;
    /* High-quality Arabic font */
    --font-heading: 'Tajawal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Global Overflow Fix */
html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    position: relative;
    text-align: start;
    /* Supports RTL naturally */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
    width: 100%;
    display: block;
}

.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 25%, #a78bfa 50%, #f472b6 75%, #a78bfa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    animation: gradient-shine 3s linear infinite;
}

@keyframes gradient-shine {
    to {
        background-position: 200% center;
    }
}

.success-gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn.sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn.full-width {
    width: 100%;
    justify-content: center;
}

/* Background Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary);
}

.bg-glow-2 {
    top: 40%;
    right: -100px;
    background: var(--accent);
}

/* Pill Header Design */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    z-index: 1000;
    padding: 0 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    /* Use logical gap if supported or standard gap */
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #1a1a1a;
    font-size: 1.4rem;
    padding-inline-start: 20px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #4b5563;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-inline-end: 10px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: #374151;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.btn-pill-dark {
    background: #000;
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* RTL Header Adjustments */
html[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-right {
    flex-direction: row-reverse;
}

/* Hero Section - Redesigned Top Structure */
.hero-section-wrapper {
    display: block;
    text-align: center;
    /* Centers the inline-block badge */
    position: relative;
    z-index: 2;
    padding-top: 140px;
    /* Increased to clear fixed navbar */
}

.hero-main-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 30px;
    /* Space from top badge */
}

/* Remove wrapper style if present or unused, but key is badge style */
.hero-badge-wrapper {
    width: 100%;
    text-align: center;
    order: -1;
    margin-bottom: 30px;
    /* Space between badge and content */
}

.hero-full-badge {
    display: inline-block;
    width: auto;
    max-width: 90%;
    margin: 0 auto 30px;
    /* Centered with bottom margin */
    padding: 12px 30px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;

    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);

    position: relative;
    z-index: 10;
}

.hero {
    padding-top: 180px;
    /* Safe padding for Navbar */
    padding-bottom: 80px;
    min-height: auto;
    /* Remove vh constraint to prevent centering issues */
    display: block;
    /* Use block layout to respect padding strictly */
    position: relative;
    overflow: hidden;
}

.hero-content-left {
    width: 48%;
    /* Adjust for gap */
    text-align: left;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
}

.hero-content-right {
    width: 48%;
    /* Adjust for gap */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

/* Adjust video wrapper */
.video-wrapper {
    width: 100%;
    max-width: 600px;
    /* aspect-ratio: 16 / 9;  Removed to fit image height exactly */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* background: #000; Removed to avoid black bars */
    position: relative;
    line-height: 0;
    /* Ensures no bottom gap for inline images */
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    display: block;
}

/* Fix for Video Thumbnail Spacing */
#videoThumb {
    display: block !important;
    line-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

#videoThumb img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    object-fit: contain;
    /* Ensure it doesn't stretch weirdly */
}

/* Hero Text Adjustments for Left Alignment */
.hero h1 {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    padding-bottom: 10px;
    /* Ensure descenders/gradients aren't cut */
    font-size: 2.4rem;
    /* Safe size for 2 lines */
    max-width: 100%;
    line-height: 1.2;
    word-spacing: normal;
}

/* Override whitespace for mobile */
@media (max-width: 992px) {
    .hero h1 {
        white-space: normal;
        font-size: 2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content-left,
    .hero-content-right {
        width: 100%;
        text-align: center;
    }

    .hero-full-badge {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

.hero p {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.hero-btns {
    justify-content: center;
    /* Center button */
    display: flex;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.gradient-text {
    display: inline-block;
    /* Helps with background-clip rendering issues */
    line-height: 1.2;
    padding-bottom: 5px;
    /* Prevent clipping of bottom edge */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        padding-top: 150px;
        /* Adjusted for mobile */
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 40px;
        padding-top: 0;
    }

    .hero-content-left,
    .hero-content-right {
        width: 100%;
    }

    .hero-content-left {
        text-align: center;
    }

    .hero h1,
    .hero p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }
}

/* Specific button styles for Hero */
.btn-hero-primary {
    background: #6366f1;
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Stats Row Refinement */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

[dir="rtl"] .stat-info {
    text-align: right;
}

.stat-info strong {
    font-size: 1.5rem;
    color: var(--white);
    display: block;
}

.stat-info span {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* RTL Hero Adjustments */
html[dir="rtl"] .hero h1 {
    line-height: 1.3;
}

.hero-visual-wrap {
    width: 100%;
    margin-top: 30px;
    /* Changed from -50px to prevent overlap */
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-visual {
    width: 100%;
    max-width: 1000px;
}

/* Dashboard Mockup (CSS only implementation) */
.dashboard-card {
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover .dashboard-card {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.dash-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.circle-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.circle-icon.green {
    color: #10b981;
    background: currentColor;
}

.status-badge {
    font-size: 0.8rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.d-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    position: relative;
}

.d-stat .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
    white-space: nowrap;
}

.d-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
}

.icon-box {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.4;
    font-size: 1.2rem;
}

.dash-list .list-head {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 10px;
}

.dash-list .list-item {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    align-items: center;
}

.c-green {
    color: #10b981;
}

.c-blue {
    color: #3b82f6;
}

.c-gray {
    color: #6b7280;
}

/* Features Section */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 60px;
}

/* Features Overview (Top 6) */
.features-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.f-overview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.f-overview-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.f-icon-minimal {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.f-overview-card:hover .f-icon-minimal {
    background: var(--primary);
    color: white;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.f-detail-card:hover .f-detail-icon.blue-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.3);
}

.f-overview-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: white;
}

.f-overview-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Features Section - Premium SaaS Redesign */
.features-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.f-detail-card.white-shadow-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mt-80 {
    margin-top: 80px !important;
}

.mb-80 {
    margin-bottom: 80px !important;
}

.animated-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Platforms Showcase */
.platforms-showcase {
    text-align: center;
    padding-bottom: 20px;
}

.showcase-title {
    margin-bottom: 15px;
}

.showcase-desc {
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.platform-icons-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.platform-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.p-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.platform-item:hover .p-icon-box {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.p-icon-box.fb {
    background: #e7f3ff;
    color: #1877f2;
}

.p-icon-box.ig {
    background: #fff0f0;
    color: #e4405f;
}

.p-icon-box.in {
    background: #eef4ff;
    color: #0a66c2;
}

.p-icon-box.yt {
    background: #fff0f0;
    color: #ff0000;
}

.p-icon-box.tw {
    background: #e8f5fd;
    color: #1da1f2;
}

.p-icon-box.more {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
}

.p-icon-box.more span {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
}



/* --- RESTORED PRICING PLAN STYLES (Black Saas Theme) --- */

.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card-saas {
    background: rgba(255, 255, 255, 0.03);
    /* Dark Glass */
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 0 0 30px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card-saas:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Offer Tag */
.p-offer-tag {
    background: linear-gradient(90deg, #4b5563, #374151);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 24px 24px 0 0;
    width: fit-content;
    margin: 20px auto 10px;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.p-card-header {
    padding: 20px 30px 10px;
}

.p-icon {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    display: none;
}

.pricing-card-saas .p-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    /* White text */
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.p-price-box {
    margin: 20px 0;
}

.p-old-price {
    display: block;
    font-size: 1.1rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.p-current-price {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    /* White price */
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.p-validity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #cbd5e1;
    /* Lighter grey */
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin: 0 30px 20px;
    background: rgba(255, 255, 255, 0.03);
}

.p-best-for {
    margin-bottom: 25px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.p-best-for span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.p-features-list {
    text-align: left;
    padding: 0 40px;
    margin-bottom: 30px;
}

.p-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #e2e8f0;
    /* Light text */
    font-size: 0.95rem;
    font-weight: 500;
}

.p-features-list li ion-icon {
    color: #818cf8;
    /* Lighter Indigo */
    font-size: 1.2rem;
    min-width: 24px;
}

.p-card-footer {
    padding: 0 30px 30px;
    margin-top: auto;
}

/* Button Styles per card */
.btn-saas-silver,
.btn-saas-gold,
.btn-saas-platinum {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-transform: uppercase;
}

/* Silver Button - Outline */
.btn-saas-silver {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-saas-silver:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Gold Button - Primary Gradient */
.btn-saas-gold {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    border: none;
}

.btn-saas-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
}

/* Platinum Button - Outline or Premium */
.btn-saas-platinum {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-saas-platinum:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    color: #e9d5ff;
}

/* Most Popular Ribbon/Badge */
.pricing-card-saas.popular-highlight {
    border: 1px solid #8b5cf6;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.05), rgba(255, 255, 255, 0.02));
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
}

.p-popular-badge {
    position: absolute;
    top: 25px;
    right: -30px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 35px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}


/* Responsive adjustments included in global media queries but good to enforce here */
@media (max-width: 992px) {
    .premium-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .premium-pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-saas.popular-highlight {
        transform: scale(1);
    }
}


.f-detail-card.white-shadow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

}

.f-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Color Variations */
.c-blue .f-detail-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.c-blue:hover {
    border-color: #3b82f6;
}

.c-green .f-detail-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.c-green:hover {
    border-color: #22c55e;
}

.c-purple .f-detail-icon {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.c-purple:hover {
    border-color: #a855f7;
}

.c-orange .f-detail-icon {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.c-orange:hover {
    border-color: #f97316;
}

.c-indigo .f-detail-icon {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.c-indigo:hover {
    border-color: #6366f1;
}

.c-teal .f-detail-icon {
    background: rgba(20, 184, 166, 0.1);
    color: #14baab;
}

.c-teal:hover {
    border-color: #14baab;
}

.c-pink .f-detail-icon {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.c-pink:hover {
    border-color: #ec4899;
}

.c-amber .f-detail-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.c-amber:hover {
    border-color: #f59e0b;
}

.c-red .f-detail-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.c-red:hover {
    border-color: #ef4444;
}

.f-detail-card:hover .f-detail-icon {
    transform: scale(1.1) rotate(5deg);
}

.f-detail-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.f-detail-content p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

.badge-saas-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

/* Premium Animated Headline */
.animated-headline {
    display: block;
    width: fit-content;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #3b82f6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.title-animation-icon {
    -webkit-text-fill-color: var(--primary);
    color: var(--primary);
    font-size: 2.2rem;
    vertical-align: middle;
    margin-right: 10px;
    animation: bounce-soft 3s ease-in-out infinite;
}

@keyframes bounce-soft {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Responsive Grid Overrides */
@media (max-width: 1024px) {
    .features-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-detail-grid {
        grid-template-columns: 1fr;
    }

    .animated-headline {
        font-size: 2rem;
    }
}

/* Data Coverage Redesign */
.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.coverage-content h2 {
    font-size: 2.8rem;
    margin: 20px 0;
    line-height: 1.2;
}

.coverage-items {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.c-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.c-icon {
    width: 45px;
    height: 45px;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.c-text {
    display: flex;
    flex-direction: column;
}

.c-text strong {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 4px;
}

.c-text span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.c-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
}

.coverage-visual-box {
    position: relative;
}

.scraper-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scraper-img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.scraper-image-container:hover .scraper-img {
    transform: scale(1.05);
}

.glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.field-label {
    margin-right: 5px;
    font-weight: 700;
}

/* How It Works Section */
.how-section {
    background: #020617;
    overflow: hidden;
}

.how-steps {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.how-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.how-step.reverse {
    /* No forced direction for RTL support */
}

.how-step.reverse .how-content {
    order: 1;
}

.how-step.reverse .how-visual {
    order: 0;
}

.how-content {
    position: relative;
}

.step-number {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(99, 102, 241, 0.08);
    /* Indigo-ish very light */
    position: absolute;
    top: -60px;
    left: -40px;
    z-index: 0;
    opacity: 0;
    transform: translateX(-50px) scale(0.5);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.how-step.in-view .step-number {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    color: rgba(99, 102, 241, 0.15);
}

.how-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.how-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 450px;
}

.how-step .how-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Premium Browser Mockup Container */
.browser-mockup {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: perspective(1000px) rotateY(0deg) scale(0.9);
    opacity: 0;
}

.how-step.in-view .browser-mockup {
    transform: perspective(1000px) rotateY(0deg) scale(1);
    opacity: 1;
    transition-delay: 0.2s;
}

.browser-mockup:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(99, 102, 241, 0.3) inset;
    border-color: rgba(99, 102, 241, 0.3);
}

/* Browser Header with Dots */
.browser-header {
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background-color: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.dot.yellow {
    background-color: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.dot.green {
    background-color: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

/* Image Container within Mockup */
.v-img {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.v-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.browser-mockup:hover .v-img img {
    transform: scale(1.03);
}

/* Ambient Glow behind the mockup */
.how-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(60px);
}

.how-step:nth-child(even) .how-visual::before {
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.how-visual:hover::before {
    opacity: 0.3;
}

.how-step.reverse .how-visual {
    justify-content: center;
}

/* Resized Variant */
.v-contain {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.v-vertical-anim {
    /* animation: float-vertical 4s ease-in-out infinite alternate; */
}

/*
.v-img {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    animation: float-saas 6s ease-in-out infinite;
    overflow: hidden;
}
*/


.how-cta-box {
    margin-top: 100px;
}

/* RTL Adjustments for How Steps */
[dir="rtl"] .how-step {
    direction: rtl;
}

[dir="rtl"] .how-step.reverse .how-content {
    order: 1;
}

[dir="rtl"] .how-step.reverse .how-visual {
    order: 0;
}

[dir="rtl"] .step-number {
    left: auto;
    right: -20px;
}

[dir="rtl"] .v-top {
    left: auto;
    right: 0;
}

[dir="rtl"] .v-bottom {
    right: auto;
    left: 0;
}

@media (max-width: 991px) {

    .how-step,
    .how-step.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .how-step.reverse .how-content,
    .how-step.reverse .how-visual {
        order: unset;
    }

    .how-content p {
        margin: 0 auto;
    }

    .visual-stack {
        height: 300px;
        max-width: 500px;
        margin: 0 auto;
    }

    .step-number {
        left: 50%;
        transform: translateX(-50%);
        top: -60px;
    }
}


/* Use Cases Section Styles */
.use-cases-section {
    background: linear-gradient(to bottom, var(--bg-dark), #0f172a);
    overflow: hidden;
}

.use-case-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.uc-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.uc-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.uc-tab.active {
    background: white;
    color: #0f172a;
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.badge-new {
    background: #10b981;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.uc-content {
    display: none;
    animation: fadeContent 0.5s ease;
}

.uc-content.active {
    display: block;
}

@keyframes fadeContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uc-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.uc-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 15px 0 20px;
    font-family: var(--font-heading);
}

.uc-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 400px;
}

.uc-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.uc-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 8px;
    width: fit-content;
}

.uc-list li ion-icon {
    color: #10b981;
    font-size: 1.2rem;
}

/* Abstract Visual Cards */
.abstract-card-visual {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    color: #1e293b;
    margin: 0 auto;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.abstract-card-visual:hover {
    transform: rotateY(0) rotateX(0);
}

.ac-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.ac-logo {
    width: 32px;
    height: 32px;
    background: #4285f4;
    /* Google Blue */
    color: white;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

.ac-search-bar {
    height: 12px;
    background: #f1f5f9;
    flex-grow: 1;
    border-radius: 10px;
}

.ac-body {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}

.ac-title-line {
    height: 20px;
    width: 60%;
    background: #e2e8f0;
    margin-bottom: 15px;
    border-radius: 4px;
}

.ac-lines span {
    display: block;
    height: 8px;
    background: #cbd5e1;
    margin-bottom: 8px;
    border-radius: 4px;
}

.ac-lines span:nth-child(1) {
    width: 100%;
    height: 4px;
    background: #93c5fd;
}

.ac-lines span:nth-child(2) {
    width: 80%;
    height: 4px;
    background: #86efac;
}

.ac-lines span:nth-child(3) {
    width: 90%;
    height: 4px;
    background: #cbd5e1;
}

.ac-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ac-list-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
}

.ac-list-box h5 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.ac-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 6px;
}

/* Color Themes for Visuals */
.blue-theme .ac-lines span:nth-child(2) {
    background: #93c5fd;
}

.green-theme .ac-lines span:nth-child(2) {
    background: #86efac;
}

.purple-theme .ac-lines span:nth-child(2) {
    background: #d8b4fe;
}

.dot {
    flex-shrink: 0;
}

.dot.blue {
    background-color: #3b82f6;
}

@media (max-width: 900px) {
    .uc-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .uc-list li {
        margin: 0 auto;
    }

    .uc-headline {
        font-size: 2.2rem;
    }

    .uc-desc {
        margin: 0 auto 30px;
    }

    .abstract-card-visual {
        transform: none;
    }
}

/* Pricing Update Styles - Refined */

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    color: #1f2937;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

/* Offer Badge */
.offer-badge {
    background: #98a2b3;
    /* Slate grey */
    color: white;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-badge.gold-badge {
    background: #f59e0b;
}

.offer-badge.platinum-badge {
    background: #8b5cf6;
}

/* Pricing Header */
.p-header {
    padding: 30px 20px 10px;
    text-align: center;
    border: none;
}

.p-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #344054;
}

.gold .p-title {
    color: #b45309;
}

.platinum .p-title {
    color: #6d28d9;
}

.p-header ion-icon {
    font-size: 1.4rem;
}

.p-old-price {
    text-decoration: line-through;
    color: #98a2b3;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: -5px;
}

.p-price {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #101828;
    line-height: 1.1;
    margin-bottom: 20px;
}

.plan-btn-wrapper {
    margin-bottom: 20px;
}

.plan-validity {
    background: #eef2ff;
    color: #6366f1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e0e7ff;
    width: 100%;
    justify-content: center;
}

.plan-validity ion-icon {
    font-size: 1.1rem;
}

/* Coverage V2 Grid (Feature Cards) */
.coverage-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.c-v2-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.c-v2-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.c-v2-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
}

.c-v2-content h3 {
    font-size: 1.15rem;
    color: #111827;
    margin-bottom: 4px;
    font-weight: 700;
}

.c-v2-content p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Icon Box Colors */
.c-v2-icon.c-blue {
    background: #3b82f6;
}

.c-v2-icon.c-green {
    background: #10b981;
}

.c-v2-icon.c-purple {
    background: #8b5cf6;
}

.c-v2-icon.c-orange {
    background: #f97316;
}

.c-v2-icon.c-indigo {
    background: #6366f1;
}

.c-v2-icon.c-teal {
    background: #14b8a6;
}

.c-v2-icon.c-pink {
    background: #ec4899;
}

.c-v2-icon.c-amber {
    background: #f59e0b;
}

.c-v2-icon.c-red {
    background: #ef4444;
}

@media (max-width: 1024px) {
    .coverage-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .coverage-v2-grid {
        grid-template-columns: 1fr;
    }

    .c-v2-card {
        padding: 20px;
    }
}

/* Best For Badge */
.best-for-badge {
    text-align: center;
    padding: 15px;
    margin: 0 25px 20px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.best-for-badge span {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.best-for-badge strong {
    display: block;
    font-size: 1rem;
    color: #1e293b;
    font-weight: 700;
}

/* Features List */
.p-features {
    padding: 0 35px;
    margin: 0 0 30px;
}

.p-features li {
    background: none;
    color: #475467;
    font-weight: 500;
    margin-bottom: 18px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-features li ion-icon {
    color: #667085;
    font-size: 1.4rem;
    min-width: 24px;
}

.gold .p-features li ion-icon {
    color: #d97706;
}

.platinum .p-features li ion-icon {
    color: #7c3aed;
}

/* Buttons */
.btn-silver {
    background: #98a2b3;
    color: white;
    margin: 0 25px 40px;
    width: calc(100% - 50px);
    border-radius: 8px;
    justify-content: center;
    padding: 14px;
    font-weight: 700;
}

.btn-silver:hover {
    background: #667085;
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    margin: 0 25px 40px;
    width: calc(100% - 50px);
    border-radius: 8px;
    justify-content: center;
    padding: 14px;
    font-weight: 700;
}

.btn-platinum {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    margin: 0 25px 40px;
    width: calc(100% - 50px);
    border-radius: 8px;
    justify-content: center;
    padding: 14px;
    font-weight: 700;
}

.multi-icon {
    display: flex;
    gap: 4px;
}

/* Responsive adjustments for Pricing */
@media (max-width: 1100px) {

    .pricing-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 40px;
    }
}

/* --- Premium SaaS Footer Redesign --- */
.footer {
    background: linear-gradient(to bottom, #0f172a, #020617);
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

/* Footer Glow Effect */
.footer-glow {
    position: absolute;
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: block;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    border-color: var(--primary);
}

.social-btn ion-icon {
    font-size: 1.2rem;
}

.f-col h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.f-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.f-links a {
    color: #94a3b8;
    /* Slate 400 */
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.f-links a:hover {
    color: var(--primary);
    /* Indigo 500 */
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: #64748b;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: #cbd5e1;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- FIXES: Language Dropdown & Responsive --- */

.lang-dropdown-wrapper {
    position: relative;
    z-index: 1001;
}

.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9 !important;
    /* Force light background */
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155 !important;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.lang-toggle-btn:hover {
    background: #e2e8f0 !important;
}

.lang-dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: #ffffff !important;
    /* Ensure white background */
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 8px;
    width: 160px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 2000;
}

.lang-dropdown-menu.active {
    display: flex !important;
    animation: fadeInSlide 0.2s ease-out forwards;
}

.lang-dropdown-menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #475569 !important;
    font-weight: 500;
    transition: background 0.2s;
}

.lang-dropdown-menu li:hover {
    background: #f1f5f9 !important;
    color: var(--primary) !important;
}

.lang-dropdown-menu li img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pricing Card Fix */
.pricing-card {
    background: #ffffff !important;
    /* Force white background */
    color: #1f2937 !important;
    /* Force dark text */
}

/* Responsive Footer & Fixes */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card {
        margin-bottom: 30px;
    }

    .uc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .uc-grid .uc-list li {
        margin: 0 auto;
    }

    .uc-headline {
        font-size: 2.5rem;
    }

    .uc-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .navbar {
        width: 100%;
        max-width: 100%;
        top: 0;
        border-radius: 0;
        padding: 0 15px;
        background: rgba(255, 255, 255, 0.98);
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 100%;
    }

    .uc-headline {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
    }

    .features-overview-grid {
        grid-template-columns: 1fr;
    }

    .features-detail-grid {
        grid-template-columns: 1fr;
    }

    .how-step,
    .how-step.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- FIXES: Language Dropdown & Responsive --- */
/* ... (existing language styles) ... */

/* Pricing Components - Missing Styles */

/* Special Offer Tag */
.p-offer-tag {
    background: rgba(30, 41, 59, 0.8);
    /* Slate 800 with opacity */
    color: #60a5fa;
    /* Blue 400 */
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
    margin: 20px 0 10px 25px;
    /* Spacing from top-left */
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Most Popular Ribbon */
.p-popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 30px;
    transform: rotate(45deg);
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Divider for Best For Section */
.pricing-card-saas .p-best-for {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin: 0 25px 20px;
}

/* 1. Pricing Cards - Premium Dark Style */
/* 1. Pricing Cards - Premium Dark Style */
.pricing-card-saas {
    background: #0b0f19 !important;
    /* Darker background */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card-saas:hover {
    transform: translateY(-10px);
}

.pricing-card-saas .p-card-header {
    padding: 30px 25px 15px;
    text-align: center;
}

.pricing-card-saas .p-features-list {
    padding: 0 25px;
    margin: 20px 0 30px;
}

.pricing-card-saas .p-card-footer {
    padding: 0 25px 30px;
    margin-top: auto;
}

.pricing-card-saas .p-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff !important;
}

.pricing-card-saas .p-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.pricing-card-saas .p-old-price {
    text-decoration: line-through;
    color: #64748b !important;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.pricing-card-saas .p-current-price {
    font-size: 4.5rem;
    /* Large font size */
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1;
}

.pricing-card-saas .p-validity {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-saas .p-best-for {
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;
}

.pricing-card-saas .p-best-for span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.pricing-card-saas .p-best-for strong {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

.pricing-card-saas .p-features-list li {
    color: #e2e8f0 !important;
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    /* Center icon with text line */
    gap: 15px;
    /* Consistent gap */
    line-height: 1.4;
}

.pricing-card-saas .p-features-list li ion-icon {
    color: #3b82f6 !important;
    font-size: 1.4rem;
    min-width: 24px;
    /* Fixed width prevents text wobble */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific Button Colors */
.btn-saas-silver {
    background: #334155;
    /* Slate 700 */
    color: white;
    width: 100%;
    margin-bottom: 0;
    border-radius: 12px;
    padding: 18px;
    font-weight: 700;
    justify-content: center;
}

.btn-saas-silver:hover {
    background: #475569;
}

.btn-saas-gold {
    background: #0f172a;
    border: 1px solid #1e293b;
    color: white;
    width: 100%;
    margin-bottom: 0;
    border-radius: 12px;
    padding: 18px;
    font-weight: 700;
    justify-content: center;
}

.btn-saas-gold:hover {
    background: #1e293b;
    color: white;
}

.btn-saas-platinum {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    width: 100%;
    margin-bottom: 0;
    border-radius: 12px;
    padding: 18px;
    font-weight: 700;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-saas-platinum:hover {
    filter: brightness(1.1);
}

/* 2. Feature/Use Case Cards - Dark Style */
.c-v2-card {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.c-v2-content h3 {
    color: #ffffff !important;
}

.c-v2-content p {
    color: #94a3b8 !important;
}

/* 3. Audience Cards - Dark Style & Grid */
.audience-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.a-card {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.a-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08) !important;
}

.a-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.a-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff !important;
}

.a-card-content p {
    font-size: 0.95rem;
    color: #94a3b8 !important;
    line-height: 1.6;
}

/* Card Color Variants */
.a-blue .a-card-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.a-blue:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.a-pink .a-card-icon {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.a-pink:hover {
    border-color: #ec4899 !important;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15);
}

.a-green .a-card-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.a-green:hover {
    border-color: #10b981 !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.a-purple .a-card-icon {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.a-purple:hover {
    border-color: #a855f7 !important;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

.a-orange .a-card-icon {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.a-orange:hover {
    border-color: #f97316 !important;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}

.a-teal .a-card-icon {
    background: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
}

.a-teal:hover {
    border-color: #14b8a6 !important;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .audience-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .audience-cards-grid {
        grid-template-columns: 1fr;
    }

    .a-card {
        padding: 25px;
    }
}

/* 4. Language Dropdown - Keep Light/Readable or Dark depending on preference. 
   User likely wants it readable. Let's make it clean white or light grey. */
.lang-dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}

.lang-dropdown-menu li {
    color: #334155 !important;
}

/* --- CRITICAL LAYOUT RESTORATION FIXES --- */

/* 1. Pricing Cards - Force White Background */
.pricing-card-saas {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card-saas .p-title,
.pricing-card-saas .p-current-price,
.pricing-card-saas .p-features-list li {
    color: #1f2937 !important;
}

.pricing-card-saas .p-old-price {
    color: #9ca3af !important;
}

.pricing-card-saas .p-validity {
    color: #4b5563 !important;
    border-color: #e5e7eb !important;
}

/* 2. Feature/Use Case Cards */
.c-v2-card {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb !important;
}

.c-v2-content h3 {
    color: #111827 !important;
}

.c-v2-content p {
    color: #4b5563 !important;
}

/* 3. Audience Cards */
.a-card {
    background: #ffffff !important;
    color: #1f2937 !important;
}

.a-card h3 {
    color: #1f2937 !important;
}

.a-card p {
    color: #4b5563 !important;
}

/* 4. Language Dropdown Fix (Ensure it remains fixed) */
.lang-dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.lang-dropdown-menu li {
    color: #334155 !important;
}

/* --- LEAD SCANNER UI STYLES --- */
.scan-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-top: 20px;
}

.scan-card.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scan-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    /* Ensure visibility on dark bg */
    display: flex;
    align-items: center;
    gap: 10px;
}

.scan-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.scan-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.progress span {
    display: block;
    height: 100%;
    width: 50%;
    background: var(--primary);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    animation: scan-progress 2s infinite linear;
}

@keyframes scan-progress {
    0% {
        left: -30%;
        width: 30%;
    }

    50% {
        left: 30%;
        width: 60%;
    }

    100% {
        left: 100%;
        width: 10%;
    }
}

.count {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.count b {
    color: #fff;
    font-weight: 700;
}

.table-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.scan-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.scan-card th {
    text-align: left;
    padding: 12px 15px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.scan-card td {
    padding: 10px 15px;
    color: #e5e7eb;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.scan-card tr:last-child td {
    border-bottom: none;
}

/* --- FIXED PRICING STYLES (MOVED TO END) --- */

.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}



.pricing-card-saas {
    background: #0f1016 !important;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transform: scale(1);
}


/* Default Interactive State: Text Always White */
.pricing-card-saas .p-title,
.pricing-card-saas .p-current-price,
.pricing-card-saas .p-validity,
.pricing-card-saas .p-best-for span,
.pricing-card-saas .p-best-for strong,
.pricing-card-saas .p-best-for,
.pricing-card-saas h3,
.pricing-card-saas p,
.pricing-card-saas span,
.pricing-card-saas strong {
    color: #ffffff !important;
    /* Always White */
    transition: color 0.3s ease;
}

.pricing-card-saas .p-icon ion-icon {
    /* Grey Default Icon */
    color: #4b5563 !important;
    transition: all 0.3s ease;
}

/* Removed empty reset rule */

.p-features-list li,
.p-features-list li span {
    color: #ffffff !important;
    /* Always White */
    transition: color 0.3s ease;
}

/* HOVER / ACTIVE STATE (Target Look) */
.pricing-card-saas:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: #3b82f6 !important;
    /* Blue Border */
}

.pricing-card-saas:hover .p-title,
.pricing-card-saas:hover .p-current-price,
.pricing-card-saas:hover .p-validity {
    color: #ffffff !important;
    /* Keep White */
}

.pricing-card-saas:hover .p-features-list li {
    color: #ffffff !important;
    /* Keep White */
}

.pricing-card-saas:hover .p-icon ion-icon {
    color: #3b82f6 !important;
    /* Blue Icon on Hover */
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}


/* --- HOW TO USE SECTION RE-DESIGN (MODAL/POPUP) --- */

.how-trigger-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 900px;
    /* Slightly wider */
    margin: 40px auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.how-trigger-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.how-trigger-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.trigger-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trigger-icon {
    font-size: 3rem;
    color: #6366f1;
    display: flex;
    animation: pulse-glow 2s infinite;
}

.trigger-text h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.trigger-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .how-trigger-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .trigger-content {
        flex-direction: column;
    }
}

/* --- MODAL STYLES --- */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.custom-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #0f1016;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.custom-modal.active .modal-content-wrapper {
    transform: scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

/* CAROUSEL STYLES */
.modal-body {
    padding: 0;
}

.ht-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
}

.ht-slides-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.ht-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.ht-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    z-index: 2;
}

.slide-content {
    flex: 1;
    max-width: 40%;
    text-align: left;
}

.slide-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: -1;
}

.slide-content h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.slide-visual {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Button Enhancement */
.pulse-btn {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border: none;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    position: relative;
    z-index: 2;
    padding: 12px 30px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.pulse-btn:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
    transform: scale(1.05);
}

/* Image Resizing inside Modal */
.slide-visual img {
    max-width: 100%;
    max-height: 550px;
    /* Increased from 400px ("Thodi aur badi") */
    width: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.ht-slide.active .slide-visual img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Controls */
.ht-controls {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.ht-nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ht-nav-btn:hover {
    background: #6366f1;
    border-color: #6366f1;
}

.ht-dots {
    display: flex;
    gap: 10px;
}

.ht-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.ht-dot.active {
    background: #6366f1;
    transform: scale(1.2);
}

.modal-cta {
    position: absolute;
    bottom: 20px;
    right: 40px;
    z-index: 10;
}

/* Responsive Modal */
@media (max-width: 992px) {
    .ht-carousel {
        height: auto;
        min-height: 600px;
    }

    .ht-slide {
        flex-direction: column-reverse;
        padding: 30px;
        text-align: center;
        justify-content: center;
    }

    .slide-content,
    .slide-visual {
        max-width: 100%;
    }

    .slide-content {
        margin-top: 30px;
        text-align: center;
    }

    .slide-visual img {
        max-height: 250px;
        transform: none !important;
    }

    .slide-number {
        display: none;
    }

    .modal-cta {
        position: relative;
        bottom: auto;
        right: auto;
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
    }

    .full-width-mobile {
        width: 80%;
    }
}

.pricing-card-saas:active {
    transform: scale(0.98) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: #2563eb !important;
}


/* Offer Tag */
.p-offer-tag {
    background: rgba(45, 50, 70, 0.8);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto 30px;
    /* Spacing below tag */
    display: flex;
    align-items: center;
    gap: 6px;
}

.p-offer-tag::before {
    content: '🚀';
    font-size: 0.8rem;
}

.p-card-header {
    padding: 0;
    margin-bottom: 20px;
}

/* Icons - VISIBLE NOW */
.p-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    /* Use line-icon style if possible, or fallback to ion-icon color */
}

.p-icon ion-icon {
    color: #3b82f6 !important;
    /* Keep icon blue as per previous design unless user wants white icons too. User said "Text White". */
    --ionicon-stroke-width: 32px;
}

.pricing-card-saas .p-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.p-price-box {
    margin: 15px 0 25px;
}

.p-old-price {
    display: block;
    font-size: 1rem;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.p-current-price {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Validity Pill - Dark Style */
.p-validity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 8px;
    width: fit-content;
    border: none;
}


.p-best-for {
    margin-bottom: 25px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.p-best-for span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.p-features-list {
    text-align: left;
    padding: 0 40px;
    margin-bottom: 30px;
}

.p-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
}

.p-features-list li ion-icon {
    color: #818cf8;
    font-size: 1.2rem;
    min-width: 24px;
}

.p-card-footer {
    padding: 0 30px 30px;
    margin-top: auto;
}

/* Button Styles per card */
.btn-saas-silver,
.btn-saas-gold,
.btn-saas-platinum {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-transform: uppercase;
}

/* Silver Button - Outline */
.btn-saas-silver {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-saas-silver:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Gold Button - Primary Gradient */
.btn-saas-gold {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    border: none;
}

.btn-saas-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
}

/* Platinum Button - Outline or Premium */
.btn-saas-platinum {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-saas-platinum:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    color: #e9d5ff;
}

/* Most Popular Ribbon/Badge */
.pricing-card-saas.popular-highlight {
    border: 1px solid #8b5cf6;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.05), rgba(255, 255, 255, 0.02)) !important;
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
}

.p-popular-badge {
    position: absolute;
    top: 25px;
    right: -30px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 35px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* --- SCAN CARD STYLES --- */
.scan-card {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    /* Increased padding */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    /* Increased width */
    min-height: 500px;
    /* Added height (length) */
    margin: 0 auto;
    position: relative;
    z-index: 20;
    overflow: hidden;
    display: flex;
    /* Flex layout to stretch table wrapper */
    flex-direction: column;
}

.scan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.scan-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    width: 0%;
    transition: width 0.3s ease;
    animation: loadProgress 3s ease-in-out forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 65%;
    }
}

.count {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.count b {
    color: #fff;
}

.table-wrapper {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    /* Stretch to fill card height */
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th {
    text-align: left;
    padding: 12px 20px;
    color: #94a3b8;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

td {
    padding: 12px 20px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

tr:last-child td {
    border-bottom: none;
}

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 768px) {

    /* 1. Global Container Adjustments */
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    .section-padding {
        padding: 60px 0;
        /* Reduced padding */
    }

    /* 2. Navbar Adjustments */
    .navbar {
        width: 95%;
        height: auto;
        padding: 10px 15px;
        flex-direction: column;
        gap: 15px;
        top: 10px;
    }

    .navbar-content {
        flex-direction: column;
        height: auto;
        gap: 15px;
        width: 100%;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    .nav-links li {
        margin: 5px 0;
    }

    /* Simple mobile menu support if needed, or just keep critical actions */
    .nav-right {
        width: 100%;
        justify-content: space-between;
        padding: 0;
    }

    /* 3. Hero Section Stacking */
    .hero-section-wrapper {
        padding-top: 180px;
        /* Extra space for taller mobile navbar */
    }

    .hero-main-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .hero-content-left,
    .hero-content-right {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Smaller Font for Mobile */
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero p {
        font-size: 1rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* 4. Fix Badge Box on Mobile */
    .hero-full-badge {
        width: 100%;
        max-width: 100%;
        font-size: 0.75rem;
        padding: 10px 15px;
        border-radius: 10px;
        /* Less rounded on small screens to fit text */
        line-height: 1.4;
    }

    /* 5. Scan Card Fluidity (CRITICAL FIX) */
    .scan-card {
        max-width: 100% !important;
        /* Override the 1000px fixed width */
        width: 100% !important;
        min-height: auto !important;
        /* Settle for content height */
        padding: 20px;
        margin-top: 20px;
    }

    .table-wrapper {
        overflow-x: auto;
        /* Allow table to scroll horizontally */
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 500px;
        /* Ensure table doesn't squash too much */
    }

    /* 6. Stats Grid Stacking */
    .stats-grid {
        grid-template-columns: 1fr;
        /* Stack stats vertically */
        gap: 15px;
    }

    /* 7. Pricing Grid Fix */
    .pricing-grid,
    .premium-pricing-grid {
        display: flex;
        flex-direction: column;
        /* Stack cards vertically */
        gap: 30px;
        width: 100%;
    }

    /* Fix Logo Text Color on White Header - Revert */
    .logo-text,
    .logo-icon {
        color: #1e293b !important;
        /* Dark text for white background */
    }

    .nav-links a {
        color: #1e293b;
        /* Dark links for white background */
    }

    /* 1. Global Container Adjustments - Fix Text Hiding */
    body {
        padding-top: 280px;
        /* Massive padding to clear the stacked, fixed header */
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        /* Ensure nothing inside spills out */
    }

    /* 4. Fix Badge Box on Mobile - Prevent Overflow & Hiding */
    .hero-full-badge {
        width: 100%;
        max-width: 90vw;
        font-size: 0.75rem;
        padding: 10px 15px;
        border-radius: 10px;
        margin: 220px auto 20px auto !important;
        /* Huge top margin to clear header */
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }

    /* 8. Header/Navbar Overflow Fix */
    .navbar {
        width: 100% !important;
        /* Switch to % to avoid scrollbar width issues */
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15px 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        position: fixed !important;
        transform: none !important;
        background: #fff !important;
        /* White Background Requested */
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        box-sizing: border-box !important;
        z-index: 9999 !important;
        display: flex;
        justify-content: center;
    }

    .navbar-content {
        width: 100%;
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-right {
        flex-wrap: wrap;
        /* Allow buttons to wrap if needed */
        justify-content: center;
        gap: 10px;
    }

    .btn {
        font-size: 0.9rem;
        /* Slightly smaller text on mobile */
        padding: 8px 16px;
    }
}