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

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 60px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.05rem;
}

nav a:hover {
    color: #667eea;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-right a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.05rem;
}

.header-right a:hover {
    color: #667eea;
}

/* Hamburger: hidden on desktop, shown on mobile via media query */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    color: #333;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

.signin-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s;
}

.signin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    padding-top: 120px;
}

section:first-of-type {
    padding-top: 120px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    padding: 50px 60px;
    min-height: auto;
}

.hero-left h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-style: italic;
    opacity: 0.95;
}

.hero-left p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.6;
}

.what-we-help {
    background: rgba(255, 255, 255, 0.1);
    padding: 18px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.what-we-help h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.what-we-help ul {
    list-style: none;
    font-size: 0.95rem;
}

.what-we-help li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.what-we-help li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.hero-right {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #333;
}

.ai-tool {
    text-align: center;
}

.price-tag {
    font-size: 2.5rem;
    color: #667eea;
    font-weight: bold;
    margin: 12px 0;
}

.price-tag .currency {
    font-size: 1.8rem;
}

.ai-tool h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.ai-tool p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

.ai-features {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: left;
}

.ai-features h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #333;
}

.ai-features ul {
    list-style: none;
    margin-bottom: 10px;
}

.ai-features li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    font-size: 0.85rem;
}

.ai-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s;
    font-weight: 600;
    margin-top: 10px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.cta-button.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

/* How It Works Section */
.how-it-works {
    background: white;
    flex-direction: column;
}

.how-it-works h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #667eea;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

.demo-container {
    max-width: 1200px;
    width: 100%;
}

.demo-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.demo-step {
    text-align: center;
    padding: 15px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.demo-step h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
}

.demo-step p {
    color: #666;
    line-height: 1.5;
    font-size: 0.85rem;
}

.demo-visual {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.demo-visual::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.demo-screen {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    position: relative;
    min-height: 300px;
    border: 2px solid transparent;
    background-clip: padding-box;
    max-width: 100%;
    overflow: hidden;
}

/* See It In Action: 10K+, 99.2%, Instant Results stay inside box (no overflow) */
.see-it-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 100%;
    overflow: hidden;
}
.demo-screen > div {
    max-width: 100%;
    overflow: hidden;
}

.upload-area {
    border: 2px dashed #667eea;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.upload-area:hover::before {
    width: 500px;
    height: 500px;
}

.upload-area:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-color: #764ba2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.upload-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

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

.upload-area h3 {
    position: relative;
    z-index: 1;
}

.processing-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 10px;
    margin: 20px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e9ecef;
    border-top: 5px solid #667eea;
    border-right: 5px solid #764ba2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

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

.insight-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.insight-card:hover::before {
    left: 100%;
}

.insight-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.insight-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.insight-value {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.insight-card p {
    position: relative;
    z-index: 1;
}

/* Results Section */
.results {
    background: #f8f9fa;
    flex-direction: column;
}

.results h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
}

.result-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.result-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #667eea;
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    flex-direction: column;
}

.pricing h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
}

.pricing-card {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: scale(1.05);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.0);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: bold;
    margin: 20px 0;
}

.pricing-card .price .currency {
    font-size: 1.8rem;
}

.pricing-card ul {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.pricing-card li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
}

.pricing-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.pricing-card.featured li:before {
    color: #4ade80;
}

/* Other Products Section */
.products {
    background: white;
    flex-direction: column;
}

.products h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
}

.products-intro {
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
}

.product-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 25px;
    border-radius: 16px;
    color: white;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.9rem;
}

/* Stats Section - full width, header left to right */
.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.stats .stats-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.stats h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 100%;
    width: 100%;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(to right, #4ade80, #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    padding: 80px 100px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-logo-section img {
    width: 200px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p, .footer-section a {
    color: #ccc;
    line-height: 2;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-section a:hover {
    color: #667eea;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 0 0 40px 0;
}

.footer-bottom {
    text-align: center;
    padding-bottom: 40px;
    color: #888;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    margin: 0 auto 40px;
    max-width: 1200px;
    border-left: 4px solid #ffc107;
}

.footer-disclaimer h4 {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-disclaimer p {
    color: #aaa;
    line-height: 1.8;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 1024px) {
    header {
        padding: 15px 30px;
    }

    nav ul {
        gap: 15px;
        font-size: 0.95rem;
    }

    .header-content {
        gap: 20px;
    }

    .signin-btn {
        padding: 8px 20px;
        font-size: 0.95rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }

    .demo-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid,             .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    footer {
        padding: 60px 40px 0;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    /* Mobile: left-side drawer (like apps), hamburger always clickable */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 52px;
        min-height: 52px;
        cursor: pointer;
        position: relative;
        z-index: 1002;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
        font-size: 1.4rem;
        color: #333;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    nav#mainNav {
        display: block !important;
        position: fixed !important;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(280px, 85vw);
        max-width: 280px;
        background: #fff;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
    }
    nav#mainNav.active {
        transform: translateX(0) !important;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
        cursor: pointer;
    }
    .nav-overlay.active {
        display: block !important;
    }

    nav ul {
        gap: 0;
        font-size: 1rem;
        flex-direction: column;
        padding: 60px 0 20px;
    }

    nav ul li {
        display: block !important;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 14px 20px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .header-content {
        gap: 10px;
        flex-wrap: wrap;
    }

    .signin-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-left h1 {
        font-size: 2.5rem;
    }

    .demo-steps {
        grid-template-columns: 1fr;
    }

    .insight-cards {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 40px 20px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    max-width: 60px;
    max-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s;
    position: relative;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.chatbot-button .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #f5576c;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

/* Zoom / Meet links below chat button */
.chatbot-zoom-meet {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    align-items: flex-end;
}
.chat-zoom-meet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    min-width: 70px;
}
.chat-zoom-meet-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}
.chat-zoom-meet-btn:first-of-type {
    background: #2d8cff;
    border-color: #2d8cff;
}
.chat-zoom-meet-btn:last-of-type {
    background: #1a73e8;
    border-color: #1a73e8;
}

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

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 420px;
    min-width: 420px;
    max-width: 420px;
    height: 650px;
    min-height: 650px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

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

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 80px;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chatbot-header-text h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatbot-status {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 0;
    overflow-x: hidden;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.message {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-out;
}

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

.message.bot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: #e9ecef;
    color: #333;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    min-height: 70px;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.chatbot-input:focus {
    border-color: #667eea;
}

.chatbot-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.chatbot-send:active {
    transform: scale(0.95);
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    padding: 8px 14px;
    background: white;
    border: 1px solid #667eea;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    color: #667eea;
}

.quick-reply:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Video consultation buttons (below chat in tool results) */
.video-consultation-links .video-consult-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.video-consultation-links .video-consult-btn {
    transition: opacity 0.2s, transform 0.2s;
}

/* Chatbot mobile styles moved to @media (max-width: 767px) section below */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 9999;
    transition: all 0.3s;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.back-to-top.show {
    display: flex;
}

/* Reusable Page Hero Component */
.page-hero {
    width: 100%;
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.page-hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.page-hero p,
.page-hero h2 {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.page-hero h2 {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Page Content Container (for content below hero) */
.page-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

/* Alternative hero background colors */
.page-hero.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.page-hero.secondary {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.page-hero.accent {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.page-hero.dark {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 15px 60px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .page-hero p,
    .page-hero h2 {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .page-content {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 10px 50px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .page-hero p,
    .page-hero h2 {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

/* ============================================
   MOBILE-FIRST RESPONSIVE STYLES
   ============================================ */

/* Base styles are mobile-first (below 768px) */
/* Desktop styles are added via min-width media queries */

/* Fix horizontal overflow - avoid * max-width (breaks images/inputs on Hostinger) */
html {
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    min-width: 0;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* Prevent fixed-width elements from causing overflow on real devices */
img, video, iframe, object, embed {
    max-width: 100%;
    height: auto;
}

/* Mobile Navigation - Hamburger Menu */
@media (max-width: 767px) {
    /* Header adjustments */
    header {
        padding: 15px 15px !important;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    /* Hide desktop nav, show mobile menu button */
    nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin-top: 10px;
    }
    
    nav ul li {
        display: block !important;
        width: 100%;
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        width: 100%;
        font-size: 1rem;
        padding: 8px 0;
    }
    
    /* Mobile menu toggle button - large tap target, always on top */
    .mobile-menu-toggle {
        display: flex !important;
        min-width: 52px;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        z-index: 1002;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Hero section mobile */
    .hero {
        grid-template-columns: 1fr !important;
        padding: 120px 15px 40px !important;
        gap: 30px;
    }
    
    .hero-left {
        width: 100%;
        padding: 0;
    }
    
    .hero-left h1 {
        font-size: 2rem !important;
        line-height: 1.3;
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .hero-tagline {
        font-size: 1.1rem !important;
    }
    
    .hero-left p {
        font-size: 1rem !important;
        line-height: 1.6;
    }
    
    .hero-right {
        width: 100%;
        padding: 0;
    }
    
    .ai-tool {
        padding: 25px 20px !important;
    }
    
    /* Sections mobile */
    section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .how-it-works,
    .products,
    .pricing,
    .stats {
        padding: 60px 15px !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
    }
    
    /* Grid layouts - stack on mobile */
    .demo-steps,
    .products-grid,
    .pricing-grid,
    .stats-grid,
    .results-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
    }
    .stats h2 {
        width: 100% !important;
    }
    .stats .stats-inner {
        width: 100% !important;
    }
    /* Demo section: 3 cards (10K+, 99.2%, Instant Results) stay inside box on mobile */
    .see-it-stats-grid,
    .demo-screen [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .demo-container {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Cards mobile */
    .product-card,
    .pricing-card,
    .stat-card,
    .demo-step {
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 20px !important;
    }
    
    /* Buttons mobile - touch-friendly */
    .cta-button,
    .signin-btn,
    button {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 24px !important;
        font-size: 1rem !important;
        touch-action: manipulation;
    }
    
    /* Text sizes mobile */
    body {
        font-size: 16px;
    }
    
    p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Contact page mobile */
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .contact-content {
        padding: 40px 15px !important;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px 20px !important;
    }
    
    .contact-hero {
        padding: 120px 15px 60px !important;
    }
    
    .contact-hero h1 {
        font-size: 2rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .contact-hero p {
        font-size: 1.1rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    /* General heading overflow protection for all pages */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Specific protection for common hero/header sections */
    .app-hero h1,
    .hero-banner h1,
    .about-hero h1,
    .page-header h1,
    .tools-header h1 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 15px;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .app-hero p,
    .hero-banner p,
    .about-hero p,
    .page-header p,
    .tools-header p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 15px;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    /* Tools page mobile */
    .tools-page {
        padding: 100px 15px 40px !important;
    }
    
    .tools-grid {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
    }
    
    .tool-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* Forms mobile */
    input,
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px 15px !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Chatbot mobile */
    .chatbot-button {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
        max-width: 55px;
        max-height: 55px;
        bottom: 15px;
        right: 15px;
        font-size: 1.6rem;
        padding: 0;
        line-height: 1;
    }
    
    .chatbot-window {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        transform: none !important;
        position: fixed !important;
        z-index: 10000 !important;
    }
    
    .chatbot-header {
        padding: 25px !important;
        font-size: 1.1rem !important;
    }
    
    .chatbot-header-text h3 {
        font-size: 1.3rem !important;
    }
    
    .chatbot-status {
        font-size: 1rem !important;
    }
    
    .chatbot-messages {
        padding: 25px !important;
        font-size: 1.1rem !important;
    }
    
    .message {
        font-size: 1.1rem !important;
        padding: 15px 20px !important;
        max-width: 85% !important;
    }
    
    .chatbot-input {
        font-size: 1.1rem !important;
        padding: 15px 20px !important;
        min-height: 50px !important;
    }
    
    .chatbot-send {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        font-size: 1.3rem !important;
    }
    
    .quick-reply {
        font-size: 1rem !important;
        padding: 12px 18px !important;
    }
    
    /* Upload section mobile */
    .upload-section {
        padding: 40px 15px !important;
    }
    
    .upload-area {
        padding: 40px 15px !important;
    }
    
    /* Demo visual mobile */
    .demo-visual {
        width: 100%;
        margin-top: 30px;
    }
    
    /* Pricing toggle mobile */
    .pricing-toggle {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* Info items mobile */
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 20px !important;
    }
    
    /* Social icons mobile */
    .social-icons {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Back to top mobile */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        left: 15px;
    }
    
    /* Hide non-essential sections on mobile */
    .how-it-works .demo-steps,
    .how-it-works .steps,
    .step {
        display: none !important;
    }
    
    /* Keep essential content visible */
    .how-it-works h2,
    .how-it-works .section-subtitle,
    .how-it-works .demo-visual {
        display: block !important;
    }
    
    /* Remove fixed widths */
    [style*="width:"] {
        max-width: 100% !important;
    }
    
    /* Ensure containers don't overflow */
    .container,
    .content,
    .wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    /* Hostinger / real mobile: prevent horizontal scroll from fixed widths */
    .upload-section,
    .upload-container,
    #reportArea,
    #chatInterface,
    .report-summary,
    .report-details {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .report-summary {
        grid-template-columns: 1fr !important;
    }
    .video-consultation-links {
        max-width: 100%;
    }
    .video-consultation-links .video-consult-btn {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
    }
    /* Community / Dusk Academy: full width on mobile */
    .page-header,
    .page-header > div,
    .join-hero-section,
    .join-hero-container,
    .hero-banner,
    .hero-banner .about-hero-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-header > div {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Zoom/Meet below chat - visible on mobile */
    .chatbot-zoom-meet {
        margin-top: 8px;
        gap: 6px;
    }
    .chat-zoom-meet-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        min-width: 72px;
    }
}

/* Tablet styles (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    header {
        padding: 18px 30px;
    }
    
    nav ul {
        gap: 20px;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 120px 30px 50px;
    }
    
    .products-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Desktop (769px and above): hide hamburger, show full nav - no 3-line button on window view */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    nav#mainNav {
        display: flex !important;
        position: static !important;
        transform: none !important;
        width: auto !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        box-shadow: none !important;
        background: transparent !important;
        overflow: visible !important;
    }
    nav#mainNav ul {
        flex-direction: row !important;
        padding: 0 !important;
    }
    nav#mainNav li {
        border-bottom: none !important;
        width: auto !important;
    }
    nav#mainNav a {
        display: inline !important;
        padding: 8px 12px !important;
    }
    .nav-overlay {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    nav {
        display: flex !important;
    }
    nav ul {
        flex-direction: row;
    }
}

/* Global: prevent overflow on all viewports and venture pages */
section, .page-content, .app-hero, .app-features, .feature-section, .about-hero-container,
.demo-container, .demo-screen, .products-grid, .stats-inner, .footer-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Venture pages: keep layout contained on mobile (no things going anywhere) */
@media (max-width: 768px) {
    .app-hero {
        padding: 100px 20px 60px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .app-hero h1 { font-size: 2rem !important; max-width: 100%; }
    .app-hero p { font-size: 1.1rem !important; max-width: 100%; padding: 0 10px; box-sizing: border-box; }
    .about-hero-container { padding: 0 20px !important; max-width: 100% !important; box-sizing: border-box !important; }
    .app-features { padding: 40px 20px !important; max-width: 100% !important; box-sizing: border-box !important; }
    .feature-section { max-width: 100% !important; padding: 0 20px !important; box-sizing: border-box !important; }
    .feature-section h2 { font-size: 1.75rem !important; max-width: 100%; }
    .feature-section p { max-width: 100%; box-sizing: border-box; }
    .features-grid { grid-template-columns: 1fr !important; max-width: 100% !important; padding: 0 !important; gap: 20px !important; }
    .feature-card { max-width: 100% !important; box-sizing: border-box !important; }
    .download-buttons { flex-direction: column; align-items: center; padding: 0 20px; max-width: 100%; box-sizing: border-box; }
    .links-section, .links-grid { max-width: 100% !important; padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box !important; }
    .link-card { max-width: 100% !important; box-sizing: border-box !important; }
}
h1, h2, h3, h4, h5, h6, p, li, .product-card p, .feature-card p, .stat-label {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}
img, video, iframe, object, embed {
    max-width: 100%;
    height: auto;
}

/* Extra small devices (below 360px) */
@media (max-width: 359px) {
    .hero-left h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .cta-button {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
    }
    
    header {
        padding: 12px 10px !important;
    }
    
    .logo {
        font-size: 1.3rem;
    }
}