/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --dark-bg: #0a0a0a;
    --card-bg: #161616;
    --text-color: #f0f0f0;
    --text-muted: #ccc;
    --border-color: #333;
    --accent-gradient: linear-gradient(135deg, #007bff, #00d2ff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.highlight {
    color: var(--primary-color);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent; /* Changed from rgba/blur */
    backdrop-filter: none;
    z-index: 1000;
    border-bottom: none; /* Removed border */
}

.logo-img {
    height: 40px;
}

.cta-btn {
    padding: 12px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: #0056b3;
}

.cta-btn.cta-shake {
    box-shadow: 0 14px 40px rgba(0, 123, 255, 0.18);
    animation: ctaAttention 6.5s ease-in-out infinite;
}

.cta-btn.cta-shake i {
    animation: ctaIconWiggle 6.5s ease-in-out infinite;
}

@keyframes ctaAttention {
    0%, 70%, 100% { box-shadow: 0 14px 40px rgba(0, 123, 255, 0.18); filter: brightness(1); }
    74% { box-shadow: 0 18px 55px rgba(0, 123, 255, 0.28); filter: brightness(1.05); }
    78% { box-shadow: 0 22px 70px rgba(0, 123, 255, 0.35); filter: brightness(1.08); }
    82% { box-shadow: 0 18px 55px rgba(0, 123, 255, 0.28); filter: brightness(1.05); }
}

@keyframes ctaIconWiggle {
    0%, 72%, 100% { transform: translateX(0); }
    74% { transform: translateX(3px); }
    76% { transform: translateX(-2px); }
    78% { transform: translateX(4px); }
    80% { transform: translateX(-1px); }
    82% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cta-btn.cta-shake,
    .cta-btn.cta-shake i {
        animation: none;
    }
}

.cta-btn.cta-btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
}

.cta-btn.cta-btn-secondary:hover {
    background: rgba(0, 123, 255, 0.15);
}

/* Floating Social */
.floating-social {
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1200;
}

.floating-social-link {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    animation: floatSocial 5.8s ease-in-out infinite;
}

.floating-social-link:nth-child(2) { animation-delay: 0.25s; }
.floating-social-link:nth-child(3) { animation-delay: 0.5s; }
.floating-social-link:nth-child(4) { animation-delay: 0.75s; }

.floating-social-link i {
    font-size: 18px;
    color: rgba(0, 123, 255, 0.95);
    filter: drop-shadow(0 0 12px rgba(0, 123, 255, 0.22));
}

.floating-social-link:hover {
    transform: translateX(6px) translateY(-2px);
    border-color: rgba(0, 123, 255, 0.55);
    background: rgba(0, 123, 255, 0.10);
    box-shadow: 0 22px 70px rgba(0, 123, 255, 0.18);
}

@keyframes floatSocial {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -6px, 0); }
}

@media (max-width: 900px) {
    .floating-social {
        display: flex;
        left: 10px;
        top: auto;
        bottom: calc(96px + env(safe-area-inset-bottom));
        transform: none;
        gap: 10px;
    }
    
    .floating-social-link {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        backdrop-filter: none;
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-social-link { animation: none; }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    top: auto;
    z-index: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 60px; /* Reduced header offset */
    padding-bottom: 40px; /* Add space for nav */
}

/* Morph Animation Background */
.morph-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #000; /* Ensure dark background */
}

.morph-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* --- Brand Colors & Animations --- */

.morph-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    /* Brand Gradient: Deep Blue to Cyan */
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.6) 0%, rgba(0, 210, 255, 0.4) 40%, rgba(0, 0, 0, 0) 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 10s ease-in-out infinite alternate;
    filter: blur(80px);
    opacity: 0.8;
    mix-blend-mode: screen;
}

/* Second blob for complexity */
.morph-blob::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.3) 0%, rgba(0, 123, 255, 0.2) 50%, rgba(0, 0, 0, 0) 70%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 12s ease-in-out infinite alternate-reverse;
    filter: blur(60px);
}

@keyframes morph {
    0% { 
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
    }
    25% {
        border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
        transform: translate(-45%, -55%) scale(1.1) rotate(5deg);
    }
    50% { 
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; 
        transform: translate(-40%, -60%) scale(1.2) rotate(10deg); 
    }
    75% {
        border-radius: 70% 30% 40% 60% / 40% 50% 50% 60%;
        transform: translate(-55%, -45%) scale(0.9) rotate(-5deg);
    }
    100% { 
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; 
        transform: translate(-50%, -50%) scale(1.05) rotate(5deg); 
    }
}

/* Mouse Follower Light */
.mouse-light {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: transform 0.08s ease-out;
    mix-blend-mode: screen;
}

.explore-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: transparent; /* Changed from rgba(0,0,0,0.5) */
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5); /* Made border more visible */
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: none;
    z-index: 30;
    position: relative;
}

.explore-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    max-width: 800px;
    z-index: 2;
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.slide-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.infographic-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.line {
    width: 100px;
    height: 2px;
    background: var(--border-color);
    position: relative;
}

.line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--primary-color);
    animation: flow 2s infinite linear;
}

@keyframes flow {
    0% { left: 0; width: 0; }
    50% { width: 100%; }
    100% { left: 100%; width: 0; }
}

.slider-nav {
    position: absolute;
    bottom: 30px; /* Moved down to prevent overlap */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 20; /* Ensure above other elements */
}

.nav-item {
    cursor: pointer;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.nav-item.active {
    opacity: 1;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-item.active .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--primary-color);
    animation: progress 30s linear forwards; /* Matches slide interval */
}

@keyframes progress {
    from { width: 0; }
    to { width: 100%; }
}

/* Marquee Section */
.marquee-section {
    position: relative;
    background: var(--card-bg);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.22), rgba(0, 0, 0, 0) 55%),
                radial-gradient(circle at 80% 50%, rgba(0, 86, 179, 0.18), rgba(0, 0, 0, 0) 55%);
    opacity: 0.75;
    pointer-events: none;
}

.marquee-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,123,255,0.22), rgba(0,0,0,0));
    width: 40%;
    transform: translateX(-120%);
    animation: marqueeGlow 6.5s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.9;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0 30px;
    opacity: 0.7;
    text-shadow: 0 0 18px rgba(0, 123, 255, 0.12);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marqueeGlow {
    0% { transform: translateX(-120%); opacity: 0.0; }
    15% { opacity: 0.85; }
    50% { opacity: 0.65; }
    85% { opacity: 0.85; }
    100% { transform: translateX(280%); opacity: 0.0; }
}

/* General Section Styles (Curtain Effect) */
.section {
    position: relative;
    top: auto;
    min-height: auto;
    display: block;
    background-color: var(--dark-bg);
    z-index: 1;
    padding: 100px 0;
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 123, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 86, 179, 0.14) 1px, transparent 1px),
        radial-gradient(circle at 1px 1px, rgba(0, 123, 255, 0.18) 1px, transparent 1px);
    background-size: 48px 48px, 48px 48px, 24px 24px;
    background-repeat: repeat;
    opacity: 0.22;
    animation: techGridMove 14s linear infinite;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.12));
}

.section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 25%, rgba(0, 123, 255, 0.16), rgba(0,0,0,0) 55%),
                radial-gradient(circle at 80% 70%, rgba(0, 86, 179, 0.12), rgba(0,0,0,0) 55%);
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}

.section > .container {
    position: relative;
    z-index: 2;
}

@keyframes techGridMove {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: -240px -160px, -240px -160px, -120px -80px; }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.benefit-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-muted);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block; /* For anchor tags */
}

.service-card-media {
    position: relative;
    height: 160px;
    margin: -40px -40px 25px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.service-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.service-content h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
}

.service-content h3 i {
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-muted);
    margin-top: 15px;
}

/* Case Studies Slider (Simplified as Grid for now) */
.case-studies-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Stats Counters */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    margin-top: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.client-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.9rem;
    color: #888;
}

/* Contact Form */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Subscription Box */
.subscription-box {
    position: relative;
    background: radial-gradient(circle at 30% 20%, rgba(0, 123, 255, 0.22), rgba(0, 0, 0, 0) 55%),
                radial-gradient(circle at 80% 60%, rgba(0, 86, 179, 0.20), rgba(0, 0, 0, 0) 55%),
                linear-gradient(135deg, rgba(18, 18, 18, 0.92), rgba(10, 10, 10, 0.92));
    padding: 64px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 28px 80px rgba(0,0,0,0.55);
    overflow: hidden;
}

.subscription-box::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0,123,255,0.75), rgba(0,86,179,0.45), rgba(255,255,255,0.08));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.45;
}

.subscription-box h2 {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

.subscription-box p {
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.92), rgba(10, 10, 10, 0.92));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.1fr);
    gap: 28px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.55);
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0,123,255,0.75), rgba(0,86,179,0.45), rgba(255,255,255,0.08));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.45;
}

.cta-banner-visual {
    position: relative;
    border-radius: 14px;
    min-height: 180px;
    background: radial-gradient(circle at 20% 25%, rgba(0, 123, 255, 0.35), rgba(0, 0, 0, 0) 60%),
                radial-gradient(circle at 75% 70%, rgba(0, 86, 179, 0.25), rgba(0, 0, 0, 0) 60%),
                linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0));
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.cta-grid {
    position: absolute;
    inset: -40px;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    transform: rotate(8deg);
    opacity: 0.14;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.55;
    animation: ctaFloat 10s ease-in-out infinite;
}

.cta-orb.orb-1 {
    width: 160px;
    height: 160px;
    left: 10%;
    top: 18%;
    background: radial-gradient(circle at 30% 30%, rgba(0,123,255,0.7), rgba(0,123,255,0) 62%);
}

.cta-orb.orb-2 {
    width: 220px;
    height: 220px;
    right: 8%;
    bottom: 10%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 86, 179, 0.55), rgba(0, 86, 179, 0) 62%);
    animation-duration: 12s;
}

.cta-orb.orb-3 {
    width: 120px;
    height: 120px;
    left: 52%;
    top: 8%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.24), rgba(255,255,255,0) 62%);
    opacity: 0.35;
    animation-duration: 14s;
}

.cta-call-icon {
    position: absolute;
    left: 16%;
    top: 50%;
    transform: translateY(-50%);
    width: 76px;
    height: 76px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.18);
    border: 1px solid rgba(0, 123, 255, 0.25);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
    z-index: 2;
}

.cta-call-icon i {
    font-size: 28px;
    color: rgba(255,255,255,0.92);
}

.cta-ring {
    position: absolute;
    left: 16%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px solid rgba(0, 123, 255, 0.32);
    opacity: 0.0;
    animation: ctaRing 2.6s ease-out infinite;
}

.cta-ring.r2 { animation-delay: 0.7s; }
.cta-ring.r3 { animation-delay: 1.4s; }

.cta-signal {
    position: absolute;
    right: 14%;
    bottom: 14%;
    display: flex;
    gap: 6px;
    align-items: flex-end;
    z-index: 2;
    opacity: 0.9;
}

.cta-signal span {
    width: 6px;
    height: 16px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(0,123,255,1), rgba(0,86,179,1));
    animation: ctaBars 1.4s ease-in-out infinite;
}

.cta-signal span:nth-child(2) { height: 24px; animation-delay: 0.15s; }
.cta-signal span:nth-child(3) { height: 34px; animation-delay: 0.3s; }
.cta-signal span:nth-child(4) { height: 20px; animation-delay: 0.45s; }

.cta-journey {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.95;
}

.cta-journey-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 2;
    stroke-dasharray: 7 10;
    opacity: 0.65;
}

.cta-journey-line {
    fill: none;
    stroke: rgba(0, 123, 255, 0.85);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.28));
    stroke-dasharray: 520;
    stroke-dashoffset: 520;
    animation: ctaPathDraw 2.8s ease-in-out infinite;
}

.cta-journey-node {
    fill: rgba(0, 123, 255, 0.92);
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.35));
    animation: ctaNodePulse 1.8s ease-in-out infinite;
}

.cta-journey-node.n2 { animation-delay: 0.4s; }
.cta-journey-node.n3 { animation-delay: 0.8s; }

.cta-journey-arrow {
    fill: rgba(0, 123, 255, 0.92);
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.28));
    opacity: 0;
    animation: ctaArrowPop 2.8s ease-in-out infinite;
}

@keyframes ctaRing {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0; }
    15% { opacity: 0.55; }
    100% { transform: translate(-50%, -50%) scale(1.65); opacity: 0; }
}

@keyframes ctaBars {
    0%, 100% { transform: scaleY(0.75); opacity: 0.75; }
    50% { transform: scaleY(1.15); opacity: 1; }
}

@keyframes ctaPathDraw {
    0% { stroke-dashoffset: 520; opacity: 0.0; }
    20% { opacity: 1; }
    55% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -520; opacity: 0.0; }
}

@keyframes ctaNodePulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.35); opacity: 1; }
}

@keyframes ctaArrowPop {
    0%, 58% { opacity: 0; transform: translate3d(-6px, 6px, 0); }
    70% { opacity: 1; transform: translate3d(0, 0, 0); }
    100% { opacity: 0; transform: translate3d(10px, -10px, 0); }
}

.cta-banner-content {
    padding: 22px 22px 22px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
}

.cta-eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.9rem;
}

.cta-banner-content h2 {
    margin: 0;
    font-size: 2.4rem;
    letter-spacing: -0.02em;
}

.cta-banner-content p {
    margin: 0;
    color: var(--text-muted);
    max-width: 640px;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(16px, -14px, 0) scale(1.04); }
}

@media (max-width: 900px) {
    .cta-banner {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 18px;
    }
    .cta-banner-content {
        padding: 8px 12px 18px;
        align-items: center;
        text-align: center;
    }
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.subscribe-form input {
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.28);
    color: #fff;
    width: 360px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.subscribe-form input:focus {
    border-color: rgba(0,123,255,0.7);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.18);
    background: rgba(0,0,0,0.18);
}

.subscribe-form button {
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(0,123,255,0.35);
    background: linear-gradient(135deg, rgba(0,123,255,1), rgba(0,86,179,1));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.subscribe-form button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

@media (max-width: 520px) {
    .subscription-box { padding: 46px 22px; }
    .subscribe-form input { width: 100%; }
}

/* Footer */
.main-footer {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.logo-img-footer {
    height: 35px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #888;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 8px 26px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #888;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 8px 26px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.icon-btn:hover {
    background: rgba(255,255,255,0.08);
}

.badge-status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,123,255,0.35);
    background: rgba(0,123,255,0.18);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: .2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Page Specific Styles (About, Quotify, etc.) */
.page-hero {
    padding: 180px 0 100px;
    background: var(--dark-bg);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    top: auto;
    z-index: 0;
}

.page-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.service-hero {
    position: relative;
    overflow: hidden;
}

.service-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,123,255,0.75), rgba(0,86,179,0.55), rgba(0,0,0,0));
    background-size: 220% 100%;
    animation: serviceHeroBorder 6.5s ease-in-out infinite;
    opacity: 0.85;
    z-index: 2;
    pointer-events: none;
}

.service-hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -120px;
    height: 240px;
    background: radial-gradient(circle at 50% 0%, rgba(0,123,255,0.18), rgba(0,0,0,0) 65%);
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.service-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 22%, rgba(12, 16, 26, 0.78) 0%, rgba(12, 16, 26, 0.55) 36%, rgba(12, 16, 26, 0) 75%);
}

.service-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0) 60%);
    filter: blur(6px);
    opacity: 0.35;
    animation: orbFloat 10s ease-in-out infinite;
}

.service-orb.orb-1 {
    top: -6%;
    left: -3%;
    background: radial-gradient(circle at 30% 30%, rgba(0,123,255,0.35), rgba(0,123,255,0) 60%);
}

.service-orb.orb-2 {
    bottom: -12%;
    right: -6%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 86, 179, 0.42), rgba(0, 86, 179, 0) 60%);
    animation-duration: 12s;
}

.service-float-card {
    position: absolute;
    width: 180px;
    height: 120px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    opacity: 0.35;
    transform: translate3d(0,0,0);
    animation: cardFloat 8s ease-in-out infinite;
}

.service-float-card i {
    font-size: 26px;
    color: var(--primary-color);
}

.service-float-card.card-1 {
    top: 12%;
    right: 6%;
    animation-duration: 9s;
}

.service-float-card.card-2 {
    bottom: 10%;
    left: 6%;
    width: 200px;
    height: 130px;
    animation-duration: 11s;
}

.service-spark {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.25;
    animation: sparkDrift 6s ease-in-out infinite;
}

@media (max-width: 768px) {
    .morph-blob,
    .morph-blob::after {
        animation: none;
        mix-blend-mode: normal;
        filter: blur(48px);
    }
    
    .morph-wrapper {
        transition: none;
        will-change: auto;
        transform: none;
    }
    
    .mouse-light {
        display: none;
    }
    
    .marquee-section::after {
        display: none;
    }
    
    .marquee-content {
        animation-duration: 28s;
    }

    .service-hero::after {
        animation: none;
    }

    .service-orb {
        animation: none;
        filter: none;
        opacity: 0.22;
        transform: translate3d(0,0,0);
    }

    .service-float-card {
        animation: none;
        backdrop-filter: none;
        opacity: 0.25;
    }
    
    .slider-nav {
        backdrop-filter: none;
    }
}

.service-spark.s1 { top: 30%; left: 25%; animation-duration: 7s; }
.service-spark.s2 { top: 55%; left: 70%; animation-duration: 8.5s; }
.service-spark.s3 { bottom: 22%; right: 32%; animation-duration: 9.5s; }

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    50% { transform: translateY(-18px) translateX(10px) scale(1.04); }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(1.2deg); }
}

@keyframes sparkDrift {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.35; }
    50% { transform: translateY(-22px) translateX(14px); opacity: 0.65; }
}

@keyframes serviceHeroBorder {
    0% { background-position: 0% 0; opacity: 0.65; }
    50% { background-position: 100% 0; opacity: 1; }
    100% { background-position: 0% 0; opacity: 0.65; }
}

/* Marketing Process */
.marketing-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.process-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    margin: 0 auto 18px;
    background: rgba(0, 123, 255, 0.14);
    border: 1px solid rgba(0, 123, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon-box i {
    font-size: 28px;
    color: var(--primary-color);
}

.process-line { display: none; }

@media (max-width: 1100px) {
    .marketing-process { grid-template-columns: repeat(3, minmax(220px, 1fr)); }
}
@media (max-width: 900px) {
    .marketing-process { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 560px) {
    .marketing-process { grid-template-columns: 1fr; }
}

/* Quotify Flow Chart */
.quotify-flow-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.flow-step {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    width: 220px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.flow-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--border-color);
}

/* Performance Dashboard */
.performance-dashboard {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.metric-card {
    text-align: center;
    width: 200px;
}

.circle-chart {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    animation: progress 2s ease-out forwards;
}

.circular-chart.blue .circle { stroke: #007bff; }
.circular-chart.green .circle { stroke: #28a745; }
.circular-chart.orange .circle { stroke: #fd7e14; }

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

/* Funnel Chart */
.funnel-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    max-width: 600px;
    margin: 60px auto 0;
}

.funnel-step {
    width: 100%;
    height: 60px;
    background: var(--card-bg);
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.step-1 { width: 100%; }
.step-2 { width: 85%; }
.step-3 { width: 70%; }
.step-4 { width: 55%; }

.funnel-step span {
    z-index: 2;
    font-weight: 600;
    color: #fff;
}

.funnel-step .bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(0, 123, 255, 0.2);
    animation: slideRight 1.5s ease forwards;
}

@keyframes slideRight {
    to { width: 100%; }
}

/* Chatbot Widget - New Design */
.chatbot-container {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2000;
}

.chatbot-toggle {
    width: 50px;
    height: 50px; /* Rectangular vertical */
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px 0 0 10px; /* Rounded on left */
    font-size: 24px;
    cursor: pointer;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    width: 60px;
    background: #0056b3;
}

.chatbot-sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden off-screen */
    width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.chatbot-sidebar.open {
    right: 0;
}

.chat-header {
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 { margin: 0; font-size: 1.2rem; }
.close-chat { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

.chat-tabs {
    display: flex;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

.chat-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
}

.chat-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-bottom: none;
}

.chat-content {
    flex: 1;
    overflow: hidden;
    padding: 0;
    background: #f9f9f9;
}

.tab-content { display: none; height: 100%; }
.tab-content.active { 
    display: block; 
    animation: fadeIn 0.3s; 
    overflow-y: auto;
    padding: 20px;
}

/* Specific styles for Chat Tab */
#tab-chat.active {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden; /* Prevent double scroll */
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.msg-bot {
    align-self: flex-start;
    background: #e9e9eb;
    color: #333 !important;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    max-width: 80%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.msg-user {
    align-self: flex-end;
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    max-width: 80%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.msg-typing {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.7);
    display: inline-block;
    animation: typingDot 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
    0%, 100% { transform: translateY(0); opacity: 0.55; }
    50% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-input-area {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input-area input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: border-color 0.3s;
    color: #333;
    background: #fff;
}

.chatbot-input-area input:focus {
    border-color: var(--primary-color);
}

.chatbot-input-area button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.chatbot-input-area button:hover {
    background: #0056b3;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #333;
}

.faq-a {
    padding: 0 15px 15px;
    display: none;
    color: #666;
    font-size: 0.9rem;
}

.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { color: var(--primary-color); }

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.dark-section .faq-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.dark-section .faq-q {
    color: #fff;
}

.dark-section .faq-a {
    color: var(--text-muted);
}

.sample-video {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.sample-video iframe {
    border-radius: 10px;
    display: block;
}

.sample-video p { font-size: 0.9rem; color: #555; text-align: center; margin-top: 10px; }

/* Animations */
.fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
}

.fade-in-left {
    opacity: 1;
    transform: none;
    transition: none;
}

.fade-in-right {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-header {
        padding: 12px 14px;
        padding-top: calc(12px + env(safe-area-inset-top));
        gap: 12px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .main-header .cta-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        gap: 8px;
        white-space: nowrap;
        line-height: 1;
        max-width: 62vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .slide-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .slide {
        align-items: flex-start;
        padding-top: calc(10px + env(safe-area-inset-top));
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }
    
    .slide-desc {
        font-size: 1.02rem;
        margin-bottom: 12px;
        padding: 0 6px;
    }
    
    .slide[data-index="2"] .slide-desc {
        margin-bottom: 6px;
    }
    
    .slide-content {
        width: 100%;
        padding-top: 64px;
        padding-bottom: 44px;
    }
    
    .explore-btn {
        margin-top: 18px;
        margin-bottom: 22px;
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    
    .slide[data-index="1"] .device-scaler {
        transform: scale(0.54);
    }
    
    .slide[data-index="1"] .mobile-app-frame {
        transform: translate(-50%, -40%) scale(0.44) !important;
    }
    
    .slide[data-index="1"] .explore-btn {
        margin-top: 18px;
        margin-bottom: 22px;
        position: relative;
        z-index: 400;
    }
    
    .slider-nav {
        top: calc(64px + env(safe-area-inset-top));
        bottom: auto;
        gap: 12px;
        width: calc(100% - 24px);
        justify-content: center;
        flex-wrap: wrap;
        padding: 10px 12px;
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.28);
        border: 1px solid rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(10px);
    }
    
    .nav-item {
        flex: 1 1 0;
        min-width: 0;
        max-width: 33.333%;
    }
    
    .nav-label {
        font-size: 0.7rem;
        letter-spacing: 0.4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .slider-nav .nav-label {
        text-transform: none;
    }
    
    .slider-nav .nav-item[data-target="2"] .nav-label {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.05;
        font-size: 0.66rem;
        letter-spacing: 0.2px;
    }
    
    .hero-slider {
        padding-top: calc(44px + env(safe-area-inset-top));
        padding-bottom: calc(90px + env(safe-area-inset-bottom));
    }
    
    .animation-scene {
        height: 220px;
        margin: 6px auto 56px;
    }
    
    .slide[data-index="0"] .animation-scene {
        margin-top: 0;
    }
    
    .slide[data-index="1"] .animation-scene {
        height: 220px;
        margin: 4px auto 24px;
    }
    
    .slide[data-index="2"] .animation-scene {
        height: 240px;
        margin: 0 auto 10px;
    }
    
    .slide[data-index="2"] .device-scaler {
        transform: scale(0.56) !important;
    }
    
    .slide[data-index="2"] .automation-scene {
        align-items: flex-start;
    }
    
    .slide[data-index="2"] .auto-laptop-frame {
        margin: 0 auto 0;
    }
    
    .slide[data-index="2"] .explore-btn {
        margin-top: 14px;
    }
    
    .slide[data-index="0"] .quotify-scene .phone-wrapper {
        transform: translate(-50%, -44%) scale(0.74);
    }
    
    
    .hero-slider .device-scaler {
        align-items: flex-start;
    }
    
    .slide[data-index="0"] .quotify-scene .phone-wrapper {
        transform: translate(-50%, -45%) scale(0.80);
    }
    
    .slide[data-index="2"] .explore-btn {
        margin-top: 14px;
        margin-bottom: 22px;
    }


    .section {
        min-height: auto;
        position: relative;
        top: auto;
        padding: 60px 0;
    }
    
    .chatbot-sidebar {
        width: 100%;
        max-width: 320px;
        right: -100%;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 420px) {
    .main-header {
        padding: 10px 12px;
        padding-top: calc(10px + env(safe-area-inset-top));
        gap: 10px;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .main-header .cta-btn {
        font-size: 0.74rem;
        padding: 9px 12px;
        gap: 6px;
        max-width: 64vw;
    }
    
    .main-header .cta-btn i {
        display: none;
    }
    
    .slide-title {
        font-size: 2.05rem;
        margin-bottom: 10px;
    }
    
    .slide-desc {
        font-size: 1rem;
        margin-bottom: 10px;
        padding: 0 4px;
    }
    
    .slide[data-index="2"] .slide-desc {
        margin-bottom: 6px;
    }
    
    .explore-btn {
        font-size: 0.9rem;
        padding: 9px 16px;
        margin-bottom: 20px;
    }
    
    .slide[data-index="1"] .device-scaler {
        transform: scale(0.48);
    }
    
    .slide[data-index="1"] .mobile-app-frame {
        transform: translate(-50%, -40%) scale(0.38) !important;
    }
    
    .slide[data-index="1"] .explore-btn {
        margin-bottom: 20px;
    }
    
    .slide[data-index="1"] .explore-btn {
        margin-top: 18px;
    }
    
    .slide[data-index="2"] .explore-btn {
        margin-top: 14px;
    }
    
    .nav-label {
        font-size: 0.66rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }
    
    .slider-nav .nav-label {
        text-transform: none;
    }
    
    .slider-nav .nav-item[data-target="2"] .nav-label {
        white-space: normal;
        line-height: 1.05;
        letter-spacing: 0.15px;
    }
    
    .slider-nav {
        gap: 10px;
        width: calc(100% - 18px);
    }
    
    .nav-item {
        max-width: 33.333%;
    }
    
    .hero-slider {
        padding-top: calc(70px + env(safe-area-inset-top));
        padding-bottom: calc(200px + env(safe-area-inset-bottom));
    }
    
    .animation-scene {
        height: 200px;
        margin: 4px auto 64px;
    }
    
    .slide[data-index="0"] .animation-scene {
        margin-top: 0;
    }
    
    .slide[data-index="1"] .animation-scene {
        height: 200px;
        margin: 2px auto 24px;
    }
    
    .slide[data-index="2"] .animation-scene {
        height: 215px;
        margin: 0 auto 10px;
    }
    
    .slide[data-index="2"] .device-scaler {
        transform: scale(0.52) !important;
    }
    
    .slide[data-index="2"] .automation-scene {
        align-items: flex-start;
    }
    
    .slide[data-index="2"] .auto-laptop-frame {
        margin: 0 auto 0;
    }
    
    .quotify-scene .phone-wrapper {
        transform: translate(-50%, -50%) scale(0.74);
    }
    
    .hero-slider .device-scaler {
        align-items: flex-start;
    }
}

/* =========================================
   Advanced Hero Animations
   ========================================= */

.animation-scene {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 350px;
    margin: 40px auto 0;
}

/* --- Quotify Scene --- */
.quotify-scene .phone-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 360px;
    transition: all 1s ease;
    z-index: 10;
}

.slide.active .quotify-scene .phone-wrapper {
    animation: phoneShrink 1s 24s forwards;
}

@keyframes phoneShrink {
    to {
        transform: translate(-50%, -50%) scale(0.6) translateX(-140px);
    }
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 35px;
    border: 8px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    z-index: 20;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 30;
}

.phone-speaker {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    z-index: 31;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
    padding-top: 25px; /* Space for notch */
}

.screen-phase {
    position: absolute;
    top: 25px; /* Below notch */
    left: 0;
    width: 100%;
    height: calc(100% - 25px);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s;
    background: #fff;
}

/* Phase 0: Google Search */
.search-phase {
    background: #fff;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.slide.active .search-phase {
    opacity: 1;
    animation: fadeOutPhase 0.5s 4s forwards;
}

.google-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.search-bar-input {
    width: 100%;
    height: 35px;
    border: 1px solid #dfe1e5;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.search-bar-input i { color: #9aa0a6; margin-right: 10px; }
.search-text-type {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    font-family: Arial, sans-serif;
    color: #333;
}
.slide.active .search-text-type {
    animation: typeWidth 1.5s steps(20) 0.5s forwards;
}
.slide.active .search-text-type::before {
    content: 'optimyzed.com/quote';
}

.search-results-list {
    width: 100%;
    opacity: 0;
}
.slide.active .search-results-list {
    animation: fadeIn 0.5s 2s forwards;
}
.search-result-item {
    margin-bottom: 15px;
}
.result-link-small { color: #202124; font-size: 9px; margin-bottom: 2px; }
.result-title-small { color: #1a0dab; font-size: 12px; font-weight: 600; text-decoration: underline; }

.cursor-pointer {
    position: absolute;
    top: 150px;
    left: 100px;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="black" d="M0 55.2V426c0 12.2 9.9 22 22 22c6.3 0 12.4-2.7 16.6-7.5L121.2 346l58.1 116.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9L179.8 320H298c12.2 0 22-9.9 22-22c0-6.3-2.7-12.4-7.5-16.6L16.6 38.5C11.5 34.2 4.6 32 0 32c-12.2 0-22 9.9-22 22z"/></svg>') no-repeat center/contain;
    opacity: 0;
    z-index: 10;
}
.slide.active .cursor-pointer {
    animation: clickSearch 2s 2s forwards;
}
@keyframes clickSearch {
    0% { opacity: 1; top: 200px; left: 150px; }
    50% { top: 110px; left: 80px; transform: scale(1); } /* Move to result */
    60% { transform: scale(0.8); } /* Click */
    100% { opacity: 1; top: 110px; left: 80px; transform: scale(1); }
}


/* Phase 1: Browser (Quotify App) */
.browser-phase {
    background: #f8f9fa;
    z-index: 2;
}
.slide.active .browser-phase {
    animation: fadeInOutPhase 5s 4s forwards; /* 4s to 9s */
}

.app-header {
    height: 40px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-radius: 8px;
}
.app-logo {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}
.app-menu { color: #333; font-size: 14px; }

.browser-body { padding: 0 5px; position: relative; }
.hero-text-skeleton { height: 10px; width: 80%; background: #e0e0e0; margin-bottom: 10px; border-radius: 4px; }
.get-quote-btn-app {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 10px;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.slide.active .get-quote-btn-app {
    animation: clickBtn 0.3s 7.2s forwards;
}
.cursor-browser {
    position: absolute;
    top: 100px;
    left: 100px;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="black" d="M0 55.2V426c0 12.2 9.9 22 22 22c6.3 0 12.4-2.7 16.6-7.5L121.2 346l58.1 116.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9L179.8 320H298c12.2 0 22-9.9 22-22c0-6.3-2.7-12.4-7.5-16.6L16.6 38.5C11.5 34.2 4.6 32 0 32c-12.2 0-22 9.9-22 22z"/></svg>') no-repeat center/contain;
    opacity: 0;
    z-index: 10;
}
.slide.active .cursor-browser {
    animation: clickBrowser 2s 6s forwards;
}
@keyframes clickBrowser {
    0% { opacity: 1; top: 150px; left: 150px; }
    50% { top: 60px; left: 60px; transform: scale(1); } /* Move to btn */
    60% { transform: scale(0.8); } /* Click */
    100% { opacity: 1; top: 60px; left: 60px; transform: scale(1); }
}

/* Phase 2: Scope Phase */
.scope-phase {
    background: #fff;
    z-index: 3;
    padding: 20px;
}
.slide.active .scope-phase {
    animation: fadeInOutPhase 5s 9s forwards; /* 9s to 14s */
}
.scope-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.scope-opt {
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: background 0.3s;
}
.cursor-scope {
    position: absolute;
    top: 200px;
    left: 150px;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="black" d="M0 55.2V426c0 12.2 9.9 22 22 22c6.3 0 12.4-2.7 16.6-7.5L121.2 346l58.1 116.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9L179.8 320H298c12.2 0 22-9.9 22-22c0-6.3-2.7-12.4-7.5-16.6L16.6 38.5C11.5 34.2 4.6 32 0 32c-12.2 0-22 9.9-22 22z"/></svg>') no-repeat center/contain;
    opacity: 0;
    z-index: 10;
}
.slide.active .cursor-scope {
    animation: clickScope 2s 11s forwards;
}
@keyframes clickScope {
    0% { opacity: 1; top: 200px; left: 150px; }
    50% { top: 80px; left: 80px; transform: scale(1); } /* Move to option */
    60% { transform: scale(0.8); } /* Click */
    100% { opacity: 1; top: 80px; left: 80px; transform: scale(1); }
}
.slide.active .scope-opt:first-child {
    animation: highlightScope 0.5s 12s forwards;
}
@keyframes highlightScope {
    to { background: var(--primary-color); color: #fff; }
}

/* Phase 3: Form */
.form-phase { z-index: 4; background: #fff; }
.slide.active .form-phase { animation: fadeInOutPhase 5s 14s forwards; } /* 14s to 19s */

.form-header { font-weight: bold; margin-bottom: 15px; color: #333; font-size: 16px; }
.input-group label { font-size: 10px; color: #777; display: block; margin-bottom: 4px; }
.phone-input {
    width: 100%;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    background: #f9f9f9;
}
.phone-text {
    font-size: 14px;
    color: #333;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
}
.slide.active .phone-text {
    animation: typeWidth 1.5s steps(10) 15s forwards;
}
.slide.active .phone-text::before {
    content: '555-0192';
}

.next-btn {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 15px;
    transform: scale(0.9);
    opacity: 0;
    cursor: pointer;
}
.slide.active .next-btn { animation: popIn 0.5s 16.5s forwards, clickBtn 0.3s 17.5s forwards; }

/* Phase 4: OTP */
.otp-phase { z-index: 5; background: #fff; }
.slide.active .otp-phase { animation: fadeInOutPhase 5s 19s forwards; } /* 19s to 24s */

.otp-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
}
.otp-dots span {
    width: 30px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    opacity: 0;
}
.slide.active .otp-dots span:nth-child(1) { animation: popInOtp 0.3s 20s forwards; }
.slide.active .otp-dots span:nth-child(2) { animation: popInOtp 0.3s 20.3s forwards; }
.slide.active .otp-dots span:nth-child(3) { animation: popInOtp 0.3s 20.6s forwards; }
.slide.active .otp-dots span:nth-child(4) { animation: popInOtp 0.3s 20.9s forwards; }

.verify-click {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 15px;
    transform: scale(0.9);
    opacity: 0;
    cursor: pointer;
}
.slide.active .otp-phase .verify-click { animation: popIn 0.5s 21.5s forwards, clickBtn 0.3s 22.5s forwards; }

/* Phase 5: Quote */
.quote-phase { z-index: 6; background: #fff; align-items: center; justify-content: center; text-align: center; }
.slide.active .quote-phase { animation: fadeInPhase 0.5s 24s forwards; }

.success-icon { font-size: 50px; color: #28a745; margin-bottom: 20px; transform: scale(0); }
.slide.active .quote-phase .success-icon { animation: popIn 0.5s 24.5s forwards; }
.quote-amount { font-size: 32px; font-weight: bold; color: #333; margin-bottom: 5px; }
.quote-desc { font-size: 14px; color: #666; margin-bottom: 20px; }
.book-btn { background: #333; color: #fff; padding: 10px 25px; border-radius: 20px; font-size: 12px; }

/* Info Bubble */
.info-bubble {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(20px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.2);
    width: 240px;
    color: #222;
    opacity: 0;
    pointer-events: none;
    z-index: 30;
    text-align: left;
}
.info-bubble p strong { font-size: 14px; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.5px; }
.info-bubble::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 12px 12px 12px 0;
    border-style: solid;
    border-color: transparent rgba(255,255,255,0.98) transparent transparent;
}
.slide.active .info-bubble { animation: fadeBubble 1s 27s forwards; }
@keyframes fadeBubble { to { opacity: 1; transform: translateY(-50%) translateX(0); } }

/* --- Website Management Scene --- */
.web-mgmt-scene .search-phase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
}
.slide.active .web-mgmt-scene .search-phase { animation: fadeOutPhase 0.5s 11s forwards; }

/* Typing and Color Animations */
@keyframes colorEffect {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes clipReveal {
    0% { clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); opacity: 0; }
    100% { clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); opacity: 1; }
}

.slide.active .slide-title {
    background: linear-gradient(270deg, #fff, var(--primary-color), #00d2ff, #fff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: clipReveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards, colorEffect 5s ease infinite;
    display: inline-block;
}

.slide.active .slide-desc {
    background: linear-gradient(270deg, #ccc, #fff, #ccc);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: clipReveal 1.5s 0.3s cubic-bezier(0.77, 0, 0.175, 1) forwards, colorEffect 5s ease infinite;
    display: inline-block;
}

/* Google Bar Alignment Fix */
.google-bar {
    width: 90%;
    max-width: 584px;
    height: 44px;
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 30px;
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
    transition: box-shadow 0.2s;
    justify-content: flex-start !important; /* Force left alignment */
}
.search-typing {
    text-align: left;
    margin-left: 0;
}
.google-bar:hover {
    box-shadow: 0 1px 6px rgba(32,33,36,0.28), 0 2px 4px rgba(32,33,36,0.18); /* Google hover effect */
}
.google-bar i { color: #9aa0a6; margin-right: 15px; font-size: 16px; }
.search-typing { width: 0; overflow: hidden; white-space: nowrap; display: inline-block; color: #333; }
.slide.active .search-typing { animation: typeWidth 2s steps(15) 1s forwards; }
.search-typing::before { content: 'Best Web Design'; }

.search-results { width: 80%; opacity: 0; }
.slide.active .search-results { animation: fadeIn 0.5s 5s forwards; }
.result-skeleton { height: 10px; background: #eee; margin-bottom: 10px; width: 100%; border-radius: 2px; }
.result-card.highlight { border-left: 4px solid var(--primary-color); background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 10px; border-radius: 5px; margin: 10px 0; }
.result-title { color: #1a0dab; font-weight: bold; font-size: 14px; margin-bottom: 2px; }
.result-link { color: #006621; font-size: 10px; }

.cursor-hand {
    position: absolute;
    top: 100px;
    left: 100px;
    font-size: 24px;
    color: #333;
    opacity: 0;
}
.slide.active .cursor-hand { animation: moveClick 3s 7s forwards; }

.site-preview-phase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide.active .site-preview-phase { animation: fadeInPhase 1s 11s forwards; }

/* Removed old device-morph to prevent conflict with new implementation */

.site-screen { width: 100%; height: 100%; background: #fff; position: relative; display: flex; flex-direction: column; }
.site-nav {
    height: 50px;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.site-logo-text { font-weight: bold; color: var(--primary-color); font-size: 14px; }
.site-menu-items { display: flex; gap: 5px; }
.site-menu-items span { width: 20px; height: 2px; background: #333; display: block; }

.site-hero-section {
    flex: 1;
    background: #f4f4f4;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.site-hero-content { width: 50%; }
.hero-line { height: 8px; background: #ddd; margin-bottom: 8px; width: 100%; border-radius: 4px; }
.hero-line.short { width: 60%; }
.site-cta-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    margin-top: 10px;
    width: auto;
    min-width: 120px;
    text-align: center;
    opacity: 1;
}
.slide.active .site-cta-btn {
    animation: fadeSiteBtn 30s forwards;
}

@keyframes fadeSiteBtn {
    0%, 35% { opacity: 1; transform: scale(1); visibility: visible; }
    40% { opacity: 0; transform: scale(0.9); visibility: hidden; }
    100% { opacity: 0; transform: scale(0.9); visibility: hidden; }
}
.site-hero-img {
    width: 40%;
    height: 60px;
    background: #e0e0e0;
    border-radius: 4px;
}
.site-chatbot-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Dynamic Labels - Updated to be Pop-up Style */
.mgmt-label, .auto-label {
    position: absolute;
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 800;
    opacity: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 200;
    transform: scale(0.8);
    pointer-events: none;
    white-space: nowrap;
}

/* Specific Positions for Website Mgmt */
.seo-label { top: 20%; left: 5%; background: #4285F4; color: #fff; }
.design-label { top: 15%; right: 5%; background: #9C27B0; color: #fff; }
.mobile-label { bottom: 20%; right: 5%; background: #FF5722; color: #fff; }
.ecom-label { bottom: 15%; left: 5%; background: #FFC107; color: #000; }

/* Google Logo Styling */
.google-logo {
    font-family: sans-serif;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: -2px;
}
.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }

/* Specific Positions for Automation */
.lead-label { top: -20px; left: -20px; background: #4ecdc4; color: #fff; transform: rotate(-5deg); z-index: 50; }
.social-label { top: -20px; right: -20px; background: linear-gradient(45deg, #ff00cc, #333399); color: #fff; transform: rotate(5deg); z-index: 50; }
.email-label { bottom: -20px; right: -20px; background: #ffc107; color: #000; transform: rotate(-3deg); z-index: 50; }

.slide.active .seo-label { animation: popLabel 4s 1s forwards; }
.slide.active .design-label { animation: popLabel 3s 11s forwards; }
.slide.active .mobile-label { animation: popLabel 4s 15.5s forwards; }
.slide.active .ecom-label { animation: popLabel 9s 21s forwards; }

.slide.active .lead-label { animation: popLabelLead 10s 0s forwards; }
.slide.active .social-label { animation: popLabelSocial 10s 10s forwards; }
.slide.active .email-label { animation: popLabelEmail 10s 20s forwards; }

@keyframes popLabelLead {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    10% { opacity: 1; transform: scale(1.1) rotate(-5deg); }
    85% { opacity: 1; transform: scale(1) rotate(-5deg); }
    95% { opacity: 0; transform: scale(0.8) rotate(0deg); }
    100% { opacity: 0; transform: scale(0.8) rotate(0deg); }
}
@keyframes popLabelSocial {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    10% { opacity: 1; transform: scale(1.1) rotate(5deg); }
    85% { opacity: 1; transform: scale(1) rotate(5deg); }
    95% { opacity: 0; transform: scale(0.8) rotate(0deg); }
    100% { opacity: 0; transform: scale(0.8) rotate(0deg); }
}
@keyframes popLabelEmail {
    0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    10% { opacity: 1; transform: scale(1.1) rotate(-3deg); }
    85% { opacity: 1; transform: scale(1) rotate(-3deg); }
    95% { opacity: 0; transform: scale(0.8) rotate(0deg); }
    100% { opacity: 0; transform: scale(0.8) rotate(0deg); }
}

@keyframes popLabel {
    0% { opacity: 0; transform: scale(0.5) translateY(20px); }
    10% { opacity: 1; transform: scale(1.1) translateY(0); }
    20% { transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8) translateY(-20px); }
}

.ecom-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    transform: translateY(100%);
}
.slide.active .ecom-overlay { animation: slideUpFade 0.5s 21s forwards; }

.product-card { text-align: center; }
.prod-img { width: 60px; height: 60px; background: #ddd; margin: 0 auto 10px; border-radius: 5px; }
.prod-title { font-size: 14px; font-weight: bold; margin-bottom: 10px; }
.add-cart-btn {
    background: #28a745; color: #fff; padding: 8px 20px;
    border-radius: 20px; font-size: 12px; display: inline-flex; align-items: center; gap: 5px;
}

/* --- Automation Scene --- */
.automation-scene {
    position: relative;
    width: 100%;
    /* height: 100%; removed to inherit 350px from .animation-scene */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Fixed cutout issue */
    z-index: 20;
}

.auto-phase {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

/* Phase 1: Lead Gen (0-10s) */
.lead-gen-phase { z-index: 1; }
.slide.active .lead-gen-phase { animation: fadeInOutPhase 10s 0s forwards; }

.lead-gen-search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: #fff;
    border-radius: 40px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 10;
    transition: all 0.5s;
}

.lead-gen-search-container.active {
    top: 20%;
    transform: translate(-50%, -50%) scale(0.8);
}

.search-input-area {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 15px;
    color: #666;
    font-size: 14px;
    cursor: text;
    overflow: hidden;
    height: 40px;
}

.search-input-area i {
    margin-right: 10px;
    color: #999;
}

.typing-cursor-lead {
    animation: blink 1s infinite;
    color: #333;
    font-weight: 300;
}

.lead-gen-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.3s;
}

.lead-gen-btn:hover {
    transform: scale(1.05);
}

.slide.active .lead-gen-search-container { animation: popInCenter 0.5s 0.5s forwards; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
@keyframes popInCenter {
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Map Scanning Animation */
.map-scan-container {
    width: 280px;
    height: 160px;
    background: #e9ecef;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    background-image: 
        radial-gradient(#d1d1d1 1px, transparent 1px),
        radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.radar-scan {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 123, 255, 0.1) 60deg, rgba(0, 123, 255, 0.4) 90deg, transparent 91deg);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: radarSpin 1.5s infinite linear;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

@keyframes radarSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.found-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ff5252;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transform: scale(0);
    animation: popPin 0.4s forwards;
}

@keyframes popPin {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.found-pin.p1 { top: 30%; left: 40%; animation-delay: 0.5s; }
.found-pin.p2 { top: 60%; left: 70%; animation-delay: 1.2s; }
.found-pin.p3 { top: 45%; left: 20%; animation-delay: 2.0s; }

/* Keep search animation visible but move it */
.web-search-anim {
    display: none; /* Controlled by JS */
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-top: 10px; /* Space from top button */
}

.leads-list {
    width: 90%;
    height: 60%; /* Fixed height for list area */
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    opacity: 0;
    overflow-y: auto; /* Enable scrolling if needed */
    display: none; /* Controlled by JS */
    flex-direction: column;
    gap: 8px;
    /* Hide scrollbar for clean look */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.leads-list::-webkit-scrollbar {
    display: none;
}

.lead-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    border-bottom: 1px solid #eee;
    color: #333;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s;
}
.lead-item.visible {
    opacity: 1;
    transform: translateX(0);
}
.lead-avatar { width: 30px; height: 30px; background: #ddd; border-radius: 50%; margin-right: 12px; flex-shrink: 0; }
.lead-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.lead-name { font-weight: bold; font-size: 13px; margin-bottom: 2px; }
.lead-role { font-size: 11px; color: #666; }
.lead-action { 
    width: 24px; height: 24px; 
    background: #e8f0fe; color: var(--primary-color);
    border-radius: 50%; 
    display: flex; justify-content: center; align-items: center;
    font-size: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.lead-action:hover { background: var(--primary-color); color: #fff; }

@keyframes pulseBtn { from { transform: scale(1); } to { transform: scale(1.05); } }
/* Removed clickBtn animation to keep button visible */


/* Phase 2: Social Media (10-20s) */
.social-phase { z-index: 2; }
.slide.active .social-phase { animation: fadeInOutPhase 10s 10s forwards; }

.social-selector { display: flex; gap: 20px; margin-bottom: 20px; }
.social-selector i {
    font-size: 24px;
    color: #fff;
    opacity: 0.5;
    transition: all 0.3s;
}
.slide.active .social-selector i.active { opacity: 1; color: #1877f2; transform: scale(1.2); }

.generate-btn {
    background: linear-gradient(45deg, #ff00cc, #333399);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0;
}
.slide.active .generate-btn { animation: popIn 0.5s 12s forwards, clickBtn 0.3s 13s forwards; }

.social-content-preview {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
}
.slide.active .social-content-preview { animation: fadeIn 0.5s 14s forwards; }

.schedule-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    opacity: 0;
}
.slide.active .schedule-actions { animation: fadeIn 0.5s 13s forwards; }

.post-now-btn {
    background: #1877f2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}
.post-now-btn.clicked { transform: scale(0.9); }

.schedule-btn {
    background: #e4e6eb;
    color: #050505;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-icon, .clock-icon { font-size: 30px; color: #fff; }
.post-preview {
    width: 100px; height: 80px; background: #fff; border-radius: 5px; padding: 5px;
}
.post-img { width: 100%; height: 50px; background: #ddd; margin-bottom: 5px; }
.post-lines { height: 4px; background: #eee; margin-bottom: 2px; width: 80%; }

.social-screen {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    width: 340px; /* Increased width to prevent cutting */
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    color: #333;
    overflow: visible; /* Ensure content isn't clipped */
}
.slide.active .social-screen { animation: popIn 0.5s 17s forwards; }

.fb-post .fb-header { display: flex; align-items: center; margin-bottom: 10px; }
.fb-avatar { width: 30px; height: 30px; background: var(--primary-color); border-radius: 50%; margin-right: 10px; }
.fb-name { font-weight: bold; font-size: 12px; }
.fb-img { width: 100%; height: 100px; background: #f0f0f0; margin-bottom: 10px; border-radius: 5px; }
.fb-actions { display: flex; gap: 20px; font-size: 10px; color: #666; font-weight: bold; }

/* Phase 3: Email (20-30s) */
.email-phase { z-index: 3; }
.slide.active .email-phase { animation: fadeInPhase 1s 20s forwards; }

.campaign-header { font-size: 24px; color: #fff; margin-bottom: 20px; font-weight: bold; }
.campaign-leads { display: flex; gap: 10px; margin-bottom: 30px; }
.c-lead { width: 40px; height: 40px; background: rgba(255,255,255,0.8); border-radius: 50%; }

.automate-btn-group {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.send-campaign-btn {
    background: #ffc107;
    color: #000;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}
.send-campaign-btn:hover { transform: scale(1.05); }
/* Automation Cursor */
.automation-cursor {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 9999;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    top: 110%;
    left: 110%;
    transition: top 1s ease-in-out, left 1s ease-in-out, transform 0.1s;
    pointer-events: none;
}
.automation-cursor i {
    font-size: 24px;
    transform: rotate(-15deg);
    text-shadow: 0 0 2px #000;
}
.automation-cursor.click {
    transform: scale(0.8);
}

.slide.active .send-campaign-btn.clicked { animation: clickBtn 0.3s forwards; }

.email-fly-animation {
    position: absolute;
    font-size: 40px;
    color: #fff;
    opacity: 0;
}
.email-fly-animation.active { animation: flyMail 3s forwards; }

@keyframes flyMail {
    0% { opacity: 0; transform: scale(0.5) translate(0, 0); }
    20% { opacity: 1; transform: scale(1) translate(0, 0); }
    100% { opacity: 0; transform: scale(0.2) translate(200px, -200px); }
}

@keyframes slideUpList {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes clickBtn {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes fadeInOutPhase {
    0% { opacity: 0; z-index: 1; }
    5% { opacity: 1; z-index: 100; }
    90% { opacity: 1; z-index: 100; }
    100% { opacity: 0; z-index: 1; }
}

@keyframes scanSearch {
    0% { opacity: 0; transform: scale(0.9); }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeInPhase { 
    0% { opacity: 0; z-index: 1; }
    100% { opacity: 1; z-index: 100; } 
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes popInOtp {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; border-color: #007bff; background: #eef6ff; }
}
@keyframes typeWidth { to { width: 100%; } }
@keyframes fadeOutPhase { to { opacity: 0; } }
@keyframes slideUpFade { to { opacity: 1; transform: translateY(0); } }

/* --- Laptop Frame --- */
.laptop-frame {
    width: 600px;
    height: 350px;
    position: relative;
    margin: 40px auto 0;
    z-index: 10;
}

.laptop-screen {
    width: 540px;
    height: 320px;
    background: #1a1a1a;
    border-radius: 20px 20px 0 0;
    padding: 15px 15px 0 15px; /* Bezel */
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.laptop-camera {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    border: 1px solid #555;
    z-index: 20;
}

.laptop-camera::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background: #0f0;
    border-radius: 50%;
    opacity: 0;
}
.slide.active .laptop-camera::after { animation: blinkCam 2s infinite; }
@keyframes blinkCam { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* Fix for Website Design Label Overlap - DEPRECATED */
/* .design-label { ... } */
/* .slide.active .design-label { ... } */


/* Ensure Add to Cart Button is Visible */
.add-cart-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Laptop Frame Animation - Hide for Mobile Phase */
.slide.active .laptop-frame { animation: fadeLaptop 30s forwards; }

@keyframes fadeLaptop {
    0%, 45% { opacity: 1; transform: scale(1); pointer-events: all; }
    48% { opacity: 0; transform: scale(0.9); pointer-events: none; }
    67% { opacity: 0; transform: scale(0.9); pointer-events: none; }
    70% { opacity: 1; transform: scale(1); pointer-events: all; }
    100% { opacity: 1; transform: scale(1); pointer-events: all; }
}

/* Map Scan Animation */
.map-scan-container {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 20px rgba(0,123,255,0.2);
}
.radar-scan {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0,123,255,0.4) 100%);
    position: absolute; top: 0; left: 0;
    animation: radarSpin 2s linear infinite;
    border-right: 2px solid #007bff;
}
.found-pin {
    width: 10px; height: 10px; background: #ff4757;
    border-radius: 50%; position: absolute;
    box-shadow: 0 0 10px #ff4757;
    opacity: 0;
}
.found-pin.p1 { top: 30%; left: 40%; animation: popPin 0.5s 0.5s forwards; }
.found-pin.p2 { top: 60%; left: 70%; animation: popPin 0.5s 1.2s forwards; }
.found-pin.p3 { top: 50%; left: 20%; animation: popPin 0.5s 1.8s forwards; }

@keyframes radarSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes popPin { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Mobile App Frame Styles */
.mobile-app-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 580px; /* Increased height for full screen effect */
    background: #111;
    border-radius: 40px;
    border: 5px solid #333;
    z-index: 15;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    opacity: 0; /* Hidden by default */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.slide.active .mobile-app-frame { animation: fadeMobile 30s forwards; }

@keyframes fadeMobile {
    0%, 48% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); pointer-events: none; }
    51% { opacity: 1; transform: translate(-50%, -55%) scale(0.52); pointer-events: all; }
    65% { opacity: 1; transform: translate(-50%, -55%) scale(0.52); pointer-events: all; }
    68% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); pointer-events: none; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); pointer-events: none; }
}

.mobile-notch {
    width: 120px;
    height: 25px;
    background: #111;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 15px 15px;
    z-index: 20;
}
.mobile-screen-content {
    flex: 1;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
}

/* Play Store Theme Styles */
.play-store-theme {
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
    color: #202124;
}

.play-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    color: #5f6368;
    font-size: 18px;
}

.app-hero {
    display: flex;
    padding: 20px;
    gap: 20px;
    align-items: flex-start;
}

.app-icon-large {
    width: 72px;
    height: 72px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.app-icon-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
}

.app-meta {
    flex: 1;
}

.app-name-store {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.2;
    color: #202124;
}

.dev-name {
    font-size: 14px;
    color: #00875a; /* Google Play Developer Green */
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.app-rating-row {
    font-size: 12px;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-stats-row {
    display: flex;
    justify-content: space-around;
    padding: 10px 20px;
    border-bottom: 1px solid #dadce0;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #5f6368;
}

.stat-item strong {
    font-size: 14px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 3px;
}

.install-section {
    padding: 0 20px;
    margin-bottom: 20px;
}

.install-btn-store {
    width: 100%;
    background: #01875f; /* Play Store Green */
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.install-btn-store:hover {
    background: #016e4d;
}

.app-screenshots {
    padding: 0 20px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.screenshot-scroll {
    display: flex;
    gap: 10px;
}

.screen-shot {
    width: 100px;
    height: 180px;
    background: #f1f3f4;
    border-radius: 8px;
    flex-shrink: 0;
}

.app-desc-short {
    padding: 0 20px;
    font-size: 13px;
    color: #5f6368;
    line-height: 1.5;
}
.app-stat-card strong { font-size: 18px; color: #333; }

.app-chart-mock {
    flex: 1;
    margin: 0 20px 20px;
    background: linear-gradient(180deg, rgba(78, 205, 196, 0.1) 0%, rgba(255,255,255,0) 100%);
    border-radius: 10px;
    border: 1px dashed #ddd;
    position: relative;
}
.app-chart-mock::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 25" preserveAspectRatio="none"><path d="M0,25 L0,15 C10,10 20,20 30,15 C40,10 50,5 60,10 C70,15 80,20 90,10 C95,5 100,15 100,25 Z" fill="%234ecdc4" opacity="0.5"/></svg>');
    background-size: cover;
}

.app-nav-bar {
    height: 60px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.nav-icon { color: #ccc; font-size: 20px; }
.nav-icon.active { color: var(--primary-color); }

.laptop-display {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    transition: all 0.5s;
}
.slide.active .laptop-display { animation: displayAdjust 20s forwards; }

@keyframes displayAdjust {
    0%, 55% { border-radius: 5px 5px 0 0; }
    60%, 75% { border-radius: 0; background: transparent; } /* Allow morph to show freely */
    80%, 100% { border-radius: 5px 5px 0 0; background: #fff; }
}

/* Device Morph Logic Update - Removed mobile morph to use separate frame */
.device-morph {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: all 1s;
}
/* .slide.active .device-morph { animation: morphCycle 25s forwards; } */

@keyframes morphCycle {
    /* Deprecated - kept empty or simple to avoid errors if referenced */
    0% { width: 100%; }
    100% { width: 100%; }
}

/* Laptop Base Restored */
.laptop-base {
    width: 600px;
    height: 20px;
    background: #222;
    border-radius: 0 0 20px 20px;
    position: relative;
    margin: 0 auto;
    border-top: 1px solid #444;
    transition: all 0.5s;
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 0 0 5px 5px;
}

/* --- Laptop Frame for Automation --- */
.auto-laptop-frame {
    width: 600px;
    height: 350px;
    position: relative;
    margin: 60px auto 0; /* Increased margin to preventing cutout */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible; /* Ensure labels aren't cut out */
}

.auto-laptop-screen {
    width: 540px;
    height: 320px;
    background: #1a1a1a;
    border-radius: 20px 20px 0 0;
    padding: 15px 15px 0 15px; /* Bezel */
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auto-laptop-camera {
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    margin-bottom: 8px;
    position: relative;
    border: 1px solid #555;
}
.auto-laptop-camera::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 2px; height: 2px; background: #0f0; border-radius: 50%;
    animation: blinkCam 3s infinite;
}

.auto-laptop-display {
    width: 100%;
    flex: 1;
    background: #fff;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    position: relative;
}

.auto-laptop-base {
    width: 600px;
    height: 20px;
    background: #222;
    border-radius: 0 0 20px 20px;
    position: relative;
    border-top: 1px solid #444;
}
.auto-laptop-base::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 8px; background: #1a1a1a; border-radius: 0 0 5px 5px;
}

/* Labels positioned around laptop - Using definitions from top of file for animation correctness */
/* Duplicates removed to fix fade-out timing */


/* --- Automation Phases (Inside Laptop) --- */
.auto-phase {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
    padding: 20px;
    box-sizing: border-box;
}

/* Phase 1: Lead Gen */
.lead-gen-phase { z-index: 1; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); }
.slide.active .lead-gen-phase { animation: fadeInOutPhase 10s 0s forwards; }



.web-search-anim {
    width: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    opacity: 0;
}
.slide.active .web-search-anim { animation: scanSearch 3s 2s forwards; }

.search-bar-mock {
    width: 90%; height: 35px; background: #fff; border-radius: 20px;
    display: flex; align-items: center; padding: 0 15px; gap: 10px;
    color: #888; font-size: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.scan-radar {
    width: 60px; height: 60px; border: 2px solid var(--primary-color); border-radius: 50%;
    position: relative;
}
.scan-radar::after {
    content: ''; position: absolute; top: 0; left: 0; width: 50%; height: 50%;
    background: var(--primary-color); opacity: 0.3; border-radius: 100% 0 0 0;
    animation: spin 1s infinite linear; transform-origin: 100% 100%;
}

.leads-list {
    width: 100%;
    margin-top: 15px;
    display: flex; 
    flex-direction: row; 
    justify-content: center;
    gap: 15px;
    opacity: 0;
}
.slide.active .leads-list { animation: slideUpList 0.5s 5s forwards; }

.lead-item {
    background: #fff; padding: 12px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); transform: translateY(20px); opacity: 0;
    flex: 1; max-width: 140px;
}
.lead-item.new-lead { animation: slideInLead 0.5s forwards; }
.slide.active .lead-item.new-lead:nth-child(1) { animation-delay: 5.2s; }
.slide.active .lead-item.new-lead:nth-child(2) { animation-delay: 5.4s; }
.slide.active .lead-item.new-lead:nth-child(3) { animation-delay: 5.6s; }

@keyframes slideInLead { to { transform: translateY(0); opacity: 1; } }
.lead-avatar { width: 40px; height: 40px; border-radius: 50%; margin-bottom: 8px; margin-right: 0; }
.lead-info { width: 100%; margin-bottom: 5px; }
.lead-name { font-weight: bold; font-size: 11px; color: #333; }
.lead-role { font-size: 9px; color: #666; }

/* Phase 2: Social Media */
.social-phase { z-index: 2; background: #fff; }
.slide.active .social-phase { animation: fadeInOutPhase 10s 10s forwards; }

.social-dashboard-header {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px; font-weight: bold; color: #333;
}

.create-post-anim {
    width: 100%; background: #f8f9fa; border-radius: 10px; padding: 10px;
    margin-bottom: 10px; opacity: 0; display: flex; gap: 10px; align-items: center;
}
.slide.active .create-post-anim { animation: fadeIn 0.5s 11s forwards; }

.post-input-area { flex: 1; display: flex; gap: 5px; font-size: 12px; color: #555; align-items: center; }
.typing-cursor { width: 2px; height: 14px; background: #333; animation: blinkCam 1s infinite; }
.typing-text { overflow: hidden; white-space: nowrap; width: 0; display: inline-block; }
.slide.active .typing-text { animation: typeWidth 2s steps(40) 11.5s forwards; }

.media-upload-preview {
    width: 40px; height: 40px; background: #eee; border-radius: 5px;
    display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 16px;
}

.schedule-actions { display: flex; gap: 10px; margin-bottom: 20px; opacity: 0; }
.slide.active .schedule-actions { animation: fadeIn 0.5s 13.5s forwards; }
.schedule-btn, .post-now-btn {
    padding: 8px 15px; border-radius: 15px; font-size: 11px; cursor: pointer; color: #fff;
    display: flex; gap: 5px; align-items: center;
}
.schedule-btn { background: #6c757d; }
.post-now-btn { background: #007bff; }
.slide.active .post-now-btn { animation: pulseBtn 1s infinite, clickBtn 0.3s 14.5s forwards; }

/* Colorful Post Design */
.social-screen {
    width: 100%; perspective: 1000px;
}
.colorful-post {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
    border-radius: 15px; padding: 15px; box-shadow: 0 10px 25px rgba(255, 154, 158, 0.5);
    transform: rotateX(20deg) scale(0.8); opacity: 0; transition: all 0.5s;
    position: relative; overflow: hidden;
}
.slide.active .colorful-post { animation: popInPost 0.8s 15s forwards; }

@keyframes popInPost {
    0% { transform: rotateX(20deg) scale(0.5); opacity: 0; }
    60% { transform: rotateX(0deg) scale(1.05); opacity: 1; }
    100% { transform: rotateX(0deg) scale(1); opacity: 1; }
}

.post-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center;
    z-index: 10; animation: fadeOutOverlay 1s 16.5s forwards;
}
.post-success-badge {
    background: #28a745; color: #fff; padding: 5px 10px; border-radius: 20px; font-weight: bold; font-size: 12px;
}
@keyframes fadeOutOverlay { to { opacity: 0; visibility: hidden; } }

.post-header { display: flex; align-items: center; margin-bottom: 10px; }
.p-avatar { width: 30px; height: 30px; background: #fff; border-radius: 50%; margin-right: 8px; }
.p-info .p-name { font-size: 12px; font-weight: bold; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.p-info .p-time { font-size: 9px; color: rgba(255,255,255,0.8); }

.post-content-visual {
    height: 80px; background: rgba(255,255,255,0.3); border-radius: 10px; margin-bottom: 10px;
    position: relative; display: flex; align-items: center; justify-content: center;
}
.visual-shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.4); }
.visual-shape.s1 { width: 40px; height: 40px; top: 10px; left: 10px; }
.visual-shape.s2 { width: 20px; height: 20px; bottom: 15px; right: 20px; }
.post-content-visual h2 { font-size: 14px; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

.post-footer { display: flex; justify-content: space-between; color: #fff; font-size: 10px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,0.3); }

/* Phase 3: Email Marketing */
.email-phase { z-index: 3; background: #2c3e50; color: #fff; }
.slide.active .email-phase { animation: fadeInPhase 1s 20s forwards; }

.email-app-ui { width: 100%; height: 100%; display: flex; }
.email-sidebar {
    width: 40px; background: rgba(0,0,0,0.2); height: 100%;
    display: flex; flex-direction: column; align-items: center; padding-top: 20px; gap: 10px;
}
.e-dot { width: 8px; height: 8px; background: rgba(255,255,255,0.3); border-radius: 50%; }

.email-main { flex: 1; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.campaign-stats-row { display: flex; gap: 15px; width: 100%; justify-content: center; margin-bottom: 30px; opacity: 0; }
.campaign-stats-row.show { animation: slideUpList 0.5s forwards; }

.stat-card {
    background: rgba(255,255,255,0.1); padding: 10px; border-radius: 8px; text-align: center;
    width: 80px; backdrop-filter: blur(5px);
}
.stat-label { display: block; font-size: 9px; color: #aaa; margin-bottom: 5px; }
.stat-val { font-size: 18px; font-weight: bold; color: #2ecc71; }

.send-campaign-btn {
    background: #e74c3c; color: #fff; padding: 12px 25px; border-radius: 30px;
    font-weight: bold; cursor: pointer; display: flex; gap: 10px; align-items: center;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.4);
}
.send-campaign-btn.clicked { animation: clickBtn 0.3s forwards; }

.email-sending-vis { position: relative; width: 100%; height: 60px; margin-top: 20px; }
.paper-plane-group { position: absolute; top: 0; left: 50%; transform: translateX(-50%); opacity: 0; }
.slide.active .paper-plane-group { animation: flyPlanes 2s 21.5s forwards; }

.paper-plane-group i { position: absolute; color: #fff; font-size: 20px; }
.p1 { top: 0; left: 0; }
.p2 { top: 10px; left: -20px; font-size: 15px; opacity: 0.8; }
.p3 { top: 10px; left: 20px; font-size: 15px; opacity: 0.8; }

@keyframes flyPlanes {
    0% { opacity: 0; transform: translateX(-50%) scale(0.5); }
    20% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-200px) scale(0.2); }
}

.success-msg {
    color: #2ecc71; font-weight: bold; font-size: 14px; opacity: 0; text-align: center;
    margin-top: 40px;
}

.slide.active .success-msg { animation: fadeIn 0.5s 23.5s forwards; }

/* --- Responsive Scaler (Restored) --- */
.device-scaler {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center center;
    transition: transform 0.5s;
}

:root {
    --mobile-scale: 1;
}

@media (max-width: 768px) {
    .device-scaler {
        transform: scale(0.65); /* Scale down laptops on mobile/tablet */
    }
    
    :root {
        --mobile-scale: 0.9;
    }
    
    /* Adjust slide text size */
    .slide-title { font-size: 2.5rem; }
    .slide-desc { font-size: 1rem; }
    
    /* Adjust hero slider padding */
    .hero-slider {
        padding-top: calc(76px + env(safe-area-inset-top));
        padding-bottom: calc(190px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .device-scaler {
        transform: scale(0.5); /* Further scale for small mobile */
    }
    
    :root {
        --mobile-scale: 0.85;
    }
    
    .mobile-app-frame {
        width: 300px; /* Force width */
        height: 540px;
        transform: translate(-50%, -50%) scale(0.78);
    }
}


/* =========================================
   New Automation & Ecommerce Styles
   ========================================= */

/* --- Lead Generation Phase --- */
.lead-gen-btn-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.3s;
    width: 100%;
    display: flex;
    justify-content: center;
}

.lead-gen-btn {
    background: #4285f4;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.lead-gen-btn:hover {
    transform: scale(1.05);
}

.web-search-anim {
    display: none; /* Hidden initially */
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 20px;
}

.search-bar-mock {
    width: 80%;
    height: 40px;
    border: 1px solid #dfe1e5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-bar-mock i {
    color: #9aa0a6;
    margin-right: 10px;
}

.typing-text-lead {
    font-size: 0.9rem;
    color: #333;
    border-right: 2px solid #333;
    padding-right: 2px;
}

.search-progress-bar {
    width: 0%;
    height: 3px;
    background: #4285f4;
    border-radius: 2px;
    transition: width 1.5s ease-in-out;
}

.leads-list {
    display: none; /* Hidden initially */
    width: 100%;
    padding: 10px 20px;
    display: flex; /* Changed from just none to flex when active */
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.lead-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s;
}

.lead-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.lead-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.lead-info {
    flex: 1;
}

.lead-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.lead-role {
    font-size: 0.7rem;
    color: #666;
}

.lead-action {
    color: #4285f4;
    cursor: pointer;
}

/* --- Email Marketing Phase --- */
.launch-campaign-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.3s;
    width: 100%;
    display: flex;
    justify-content: center;
}

.launch-btn {
    background: #34a853;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.launch-btn:hover {
    transform: scale(1.05);
}

.email-sequence-flow {
    display: none; /* Hidden initially */
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flow-chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.seq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    width: 70px;
    text-align: center;
    transition: all 0.3s;
    opacity: 0.5;
}

.seq-item.active {
    opacity: 1;
    border-color: #34a853;
    box-shadow: 0 0 10px rgba(52, 168, 83, 0.2);
    transform: scale(1.1);
}

.seq-icon {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 5px;
}

.seq-item.active .seq-icon {
    color: #34a853;
}

.seq-title {
    font-size: 0.6rem;
    color: #333;
}

.flow-arrow {
    color: #ccc;
    font-size: 0.8rem;
}

.automate-btn-group {
    margin-top: 10px;
}

.send-campaign-btn {
    background: #34a853;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.email-dashboard-view {
    display: none; /* Hidden initially */
    width: 100%;
    padding: 20px;
    text-align: center;
}

.campaign-stats-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.stat-card {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    width: 45%;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 5px;
}

.stat-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: #34a853;
}

.success-msg {
    color: #34a853;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Ecommerce Overlay (Website Management) --- */
.ecom-overlay {
    position: absolute;
    top: 60px; /* Below header */
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: #fff;
    padding: 10px;
    display: block; /* Always visible in this phase? Or toggled? User asked 'make it look like ecommerce' */
    /* Assuming it's part of the static layout for that slide now, or handled by existing visibility logic? */
    /* The HTML structure suggests it's just there. */
    z-index: 5;
    overflow-y: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
}

.prod-img {
    width: 100%;
    height: 60px;
    background: #a8e6cf;
    border-radius: 4px;
    margin-bottom: 8px;
    background-size: cover;
    background-position: center;
}

.prod-title {
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.add-cart-btn {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.add-cart-btn:hover {
    background: #ff5252;
}

.cart-notification {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    z-index: 100;
}

.cart-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
