:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #3b82f6; /* Ocean Blue */
    --link-hover-color: #22d3ee; /* Cyan */
    --accent-color: #10b981; /* Emerald */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    position: relative;
}

/* Global Link Hover */
a:not(.btn):not(.product-card):not(.logo):hover {
    color: var(--link-hover-color);
}

/* Animated Gradient Underline for non-button links */
a:not(.btn):not(.product-card):not(.logo):hover::after {
    width: 100%;
}

a:not(.btn):not(.product-card):not(.logo)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, #60a5fa, #34d399);
    transition: width 0.3s ease;
}

/* Glassmorphism Utilities */
.glass-nav, .glass-card, .glass-section, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Electric Button Animation */
.btn-electric {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.btn-electric .btn-arrows {
    display: flex;
    font-size: 0.8em;
    opacity: 0.8;
}

.btn-electric .btn-arrows i {
    animation: arrowPulse 1.5s infinite;
}

.btn-electric .btn-arrows i:nth-child(2) {
    animation-delay: 0.2s;
}

.btn-electric .btn-arrows i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowPulse {
    0% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(2px); }
    100% { opacity: 0.4; transform: translateX(0); }
}

.btn-electric::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.5s;
    z-index: -1;
}

.btn-electric:hover::before {
    animation: electricSlide 0.8s infinite linear;
}

@keyframes electricSlide {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-electric:hover {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6), 0 0 30px rgba(52, 211, 153, 0.4);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-color: transparent; /* specific override if border exists */
}

.btn-text {
    white-space: nowrap;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.4); /* Lighter semi-transparent background for better glass effect */
    backdrop-filter: blur(16px); /* Increased blur to maintain readability */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 200px;
    height: 50px;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-mask-image: url('images/enappd-logo-with-text-white.png');
    mask-image: url('images/enappd-logo-with-text-white.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: left center;
    mask-position: left center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

/* Hero */
.hero-section {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content-left h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(96, 165, 250, 0.3); /* Soft glow behind text */
}

.hero-content-left p {
    font-size: 1.3rem;
    color: var(--text-color); /* Brighter than muted */
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2.5rem; /* Center margin on mobile if needed, but flex handles it */
    margin-bottom: 2.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

/* Trusted By */
.trusted-by-section {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
    text-align: center;
}

.trusted-by-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 1.5rem;
    opacity: 0.7;
}

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

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* Fits 4 cards on 1200px container */
    gap: 2rem;
}

.product-card {
    border-radius: 16px;
    /* overflow: visible needed for popup, but breaks border-radius clipping. 
       Fix: Apply border-radius to children or use a wrapper? 
       Easier fix: Make the popup position relative to a child or just let it use visible overflow 
       and manage corners on the image/footer.
    */
    overflow: visible; 
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative; /* Anchor for absolute popup */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Electric Glow on Hover for Product Cards */
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px; /* Border width */
    background: linear-gradient(45deg, transparent, #60a5fa, #34d399, transparent);
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #1e293b; /* Placeholder color before image load */
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0; /* Manual corner fixing since parent overflow is visible */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Hover effect handled by JS */

.product-info {
    padding: 1.2rem; /* Reduced from 1.5rem */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-header {
    margin-bottom: 0.8rem; /* Reduced from 1rem */
}

.product-name {
    font-size: 1.05rem; /* Reduced from 1.2rem */
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.product-name:hover {
    color: var(--link-hover-color);
}

/* Hover Surprise Popup */
.hover-surprise {
    position: absolute;
    top: -60px; /* Position above the card */
    right: 10px;
    background: white;
    color: #0f172a;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    z-index: 100;
    
    /* Hidden state */
    opacity: 0;
    transform: translateY(20px) scale(0.8) rotate(-5deg);
    pointer-events: none;
    
    /* Transition with delay for the "Out" animation (hiding) */
    transition: all 0.3s ease;
}

.hover-surprise::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
}

.surprise-emoji {
    font-size: 1.5rem;
    animation: bounce 1s infinite;
}

.surprise-text {
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Specific transition for Hover state with DELAY */
.product-card:hover .hover-surprise {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    pointer-events: auto;
    
    /* 3 Second Delay before appearing */
    transition-delay: 3s;
}

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

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.sold-count {
    font-size: 0.8rem; /* Reduced from 0.9rem */
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.price {
    font-size: 1.1rem; /* Reduced from 1.2rem */
    font-weight: 700;
    color: var(--text-color);
}

/* Category Tags */
.tag {
    position: absolute;
    top: 0.8rem; /* Slightly tighter */
    left: 0.8rem;
    padding: 0.3rem 0.6rem; /* Reduced padding */
    border-radius: 16px;
    font-size: 0.7rem; /* Reduced from 0.75rem */
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tag-ionic-angular { background: rgba(221, 0, 49, 0.9); } /* Red */
.tag-ionic-vue { background: rgba(65, 184, 131, 0.9); } /* Green */
.tag-ionic-react { background: rgba(97, 218, 251, 0.8); color: #000; } /* Blue (React Blue) */
.tag-react-native { background: rgba(97, 218, 251, 0.8); color: #000; } /* Blue */
.tag-flutter { background: rgba(2, 125, 253, 0.9); }

/* How It Works */
.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 2rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    background: linear-gradient(to bottom, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.step-card:hover img.step-illustration {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.4));
}

.step-illustration {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Blogs */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    border-radius: 12px;
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.center-btn {
    text-align: center;
    margin-top: 2rem;
}

/* Support */
.support-container {
    display: flex;
    justify-content: center;
}

.support-content {
    max-width: 800px;
    text-align: center;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    text-align: left;
}

.support-item {
    display: flex;
    gap: 1.5rem; /* Increased gap for better visual separation */
    align-items: flex-start;
}

.support-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.2rem;
    transition: transform 0.3s ease;
}

.support-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    border-radius: 12px;
    padding: 2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* Footer */
.glass-footer {
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    /* Container for grid */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 0.8fr; /* About, Blogs, Connect */
    gap: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

.about-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.links-col li {
    margin-bottom: 0.8rem;
}

.links-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.links-col a:hover {
    color: var(--link-hover-color);
    padding-left: 5px; /* Subtle movement effect */
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: var(--link-hover-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* simple hide for POC */
    }

    .logo-image {
        width: 140px; /* Reduce logo size on mobile to prevent overlap */
    }

    .glass-nav .btn {
        padding: 8px 12px;
        font-size: clamp(0.8rem, 3vw, 1rem); /* Fluid text size */
    }

    
    .steps-grid {
        flex-direction: column;
    }
    
    .step-icon {
        transform: rotate(90deg);
    }
    
    .support-features {
        flex-direction: column;
        align-items: center;
        /* Start Responsive Grid Fix */
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        /* End Responsive Grid Fix */
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Stack footer columns */
        gap: 2rem;
    }
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
}

.toast {
    background: rgba(30, 41, 59, 0.95); /* Lighter slate than body */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Brighter border */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1), 0 10px 25px rgba(0,0,0,0.5); /* Added glow */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDownFade 0.5s forwards, slideUpFade 0.5s forwards 5s;
}

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

@keyframes slideUpFade {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.toast-content {
    font-size: 0.9rem;
}

.toast-content strong {
    color: #60a5fa; /* Lighter blue for better contrast against dark toast bg */
}

/* FAQ Section */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-card {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
}

.faq-question {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-answer ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: -60px auto 4rem; /* Overlap hero */
    position: relative;
    z-index: 10;
    padding: 0 20px;
    flex-wrap: wrap;
}

.stats-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6); /* Slightly darker */
    position: relative;
    overflow: hidden;
}

/* Stats Shimmer */
.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-20deg);
    animation: shimmer 5s infinite linear;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -150%; }
    10% { left: 150%; } /* Fast pass */
    100% { left: 150%; } /* Wait */
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Guarantee Banner Styles inlined in HTML for simplicity, mostly reuse glass-card */

/* Floating Support */
.floating-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    padding: 12px 24px;
    border-radius: 50px;
    color: white; /* Ensure white text */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* Make it pop */
    background: var(--primary-color); 
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6), 0 4px 20px rgba(0,0,0,0.4);
}

.floating-support:hover {
    transform: translateY(-5px);
    background: #2563eb; /* Darker blue on hover */
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 6px 25px rgba(0,0,0,0.5);
}

.floating-support i {
    font-size: 1.2rem;
}

/* Trust Stripe */
.trust-stripe {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: 4rem;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.trust-item span {
    font-weight: 600;
    line-height: 1.2;
}

.trust-item small {
    color: var(--text-muted);
    font-weight: 400;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 2.5rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0.6;
}

.payment-logos i:hover {
    color: var(--text-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .stats-container {
        margin-top: 0;
    }
    
    .trust-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: left;
    }
}

/* Support Chat Box */
.support-chat-box {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 300px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 9998;
    padding: 1.5rem;
    display: none; /* Hidden by default */
    transform-origin: bottom right;
    animation: scaleIn 0.3s ease;
}

.support-chat-box.active {
    display: block;
}

/* Support Greeting Bubble */
.support-bubble {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: white;
    color: #0f172a;
    padding: 12px 20px;
    border-radius: 12px 12px 0 12px; /* Speech bubble shape */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 9997;
    opacity: 0;
    animation: fadeInUp 0.5s forwards 2s, gentleBounce 10s infinite 5s;
    pointer-events: none; /* Let clicks pass through if needed, but usually we want it clickable? let's make it actionable via the button */
}

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

@keyframes gentleBounce {
    0%, 90%, 100% { transform: translateY(0); }
    93% { transform: translateY(-5px); }
    95% { transform: translateY(0); }
    97% { transform: translateY(-3px); }
}

/* Friendly Toast Variant */
.toast-friendly {
    border-left: 4px solid var(--accent-color);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.chat-option {
    display: block;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.chat-option:last-child {
    margin-bottom: 0;
}

.chat-option:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.chat-option strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.chat-option span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Split Layout */
.hero-container-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-align: left; /* Override center */
    padding-top: 2rem;
}

.hero-content-left {
    flex: 1;
    max-width: 600px;
}

.hero-image-right {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.hero-img-3d {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
    animation: floatHero 6s ease-in-out infinite;
    mix-blend-mode: lighten; /* 'lighten' often blends cleaner than 'screen' on dark bg */
    -webkit-mask-image: radial-gradient(circle closest-side, black 40%, transparent 95%);
    mask-image: radial-gradient(circle closest-side, black 40%, transparent 95%);
    opacity: 0.9; /* Slight transparency to help blend */
}

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

/* How It Works Images */
.step-illustration {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
}

.step-card:hover .step-illustration {
    transform: scale(1.1);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .hero-container-grid {
        flex-direction: column-reverse; /* Image top on mobile? or Bottom? Let's do Image Top */
        text-align: center;
        gap: 2rem;
    }
    
    .hero-container-grid {
        flex-direction: column; 
    }
    
    .hero-content-left {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-image-right {
        margin-top: 2rem;
    }

    .support-container {
        flex-direction: column;
    }
    
    .support-image-right {
        margin-top: 3rem;
        order: -1; /* Image first? or last? Last is fine. */
    }
}

/* Updated How It Works Layout */
.step-card {
    padding: 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* force equal height in flex row */
    justify-content: flex-start;
}

.step-illustration {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 0;
    filter: none;
    opacity: 0.9;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0; /* prevent image shrinking */
}

.step-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    flex: 1; /* expand to fill space */
    display: flex;
    flex-direction: column;
}

.step-number {
    font-size: 3.5rem; /* Slightly smaller to fit better */
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5); /* Much brighter/visible */
    margin-bottom: 1rem;
    line-height: 1;
    position: static; /* In flow, no overlap */
    transform: none;
    opacity: 1;
    display: block;
}

.step-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobile Optimization Adjustments */
@media (max-width: 768px) {
    /* Disable Toasts and Support Bubble on Mobile */
    .toast-container, 
    .support-bubble {
        display: none !important;
    }
    
    .support-text {
        display: none;
    }

    /* Small Circular Support Button for Mobile */
    .floating-support {
        bottom: 20px;
        right: 20px;
        padding: 0 !important; /* Override padding */
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        justify-content: center;
        gap: 0 !important; /* Remove gap between icon and hidden text */
        
        /* Darker separate look to avoid merging with other blue buttons */
        background: rgba(15, 23, 42, 0.95) !important; 
        border: 2px solid rgba(255, 255, 255, 0.3) !important; 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    }
    
    /* Ensure icon is properly sized and centered */
    .floating-support i {
        font-size: 1.4rem !important;
        margin: 0;
        color: var(--primary-color);
        /* Ensure icon is vertically centered */
        line-height: 1;
        display: block;
    }
    
    /* Remove hover lift effect on mobile */
    .floating-support:hover {
        transform: none !important;
        background: rgba(15, 23, 42, 0.95) !important;
    }
}
