/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    color: #ffffff;
}

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

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-secondary {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.btn-secondary:hover {
    color: #ffffff;
}

.btn-primary {
    background: #00ff88;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #00e67a;
    transform: translateY(-1px);
}

/* Main content */
.main {
    padding-top: 80px;
}

.hero {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    word-spacing: normal;
}

.first-line {
    white-space: nowrap;
}

.second-line {
    white-space: nowrap;
}

.highlight-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #00ff88;
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    margin: 0 0.25rem;
    position: relative;
    white-space: nowrap;
}

.highlight-box.effortless {
    background: #00ff88;
}

.highlight-icon {
    font-size: 0.8em;
}

.highlight-text {
    font-weight: inherit;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 600px;
}

.cta-button {
    background: #00ff88;
    color: #000000;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background: #00e67a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.hero-image-fullwidth {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
    background: #0a0a0a;
    z-index: 1;
}

.fullwidth-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.5s ease;
}

.hero-image-fullwidth::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 40%, rgba(10, 10, 10, 0.1) 70%, rgba(10, 10, 10, 0.5) 100%);
}

/* Responsive design */
@media (max-width: 768px) {
    .main {
        padding-top: 64px;
    }

    .header {
        background: rgba(8, 8, 10, 0.96);
    }

    .nav {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-icon-img {
        width: 28px;
        height: 28px;
    }
    
    .nav-links {
        display: none;
    }

    .nav-actions {
        gap: 0.5rem;
        margin-left: auto;
    }

    .btn-secondary {
        display: none;
    }
    
    .hero {
        min-height: calc(100svh - 64px);
        padding: 0;
        align-items: flex-start;
    }
    
    .hero-content {
        text-align: left;
        padding: clamp(2.25rem, 10svh, 4.5rem) 1.25rem 2rem;
        max-width: 560px;
    }
    
    .hero-title {
        font-size: clamp(2.65rem, 12vw, 4.8rem);
        line-height: 1.04;
        margin-bottom: 1.25rem;
        max-width: 100%;
        overflow-wrap: normal;
    }

    .first-line,
    .second-line {
        display: block;
        white-space: normal;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
        max-width: 32rem;
    }
    
    .highlight-box {
        display: inline-flex;
        max-width: 100%;
        margin: 0.15rem 0.1rem;
        padding: 0.14em 0.32em 0.18em;
        border-radius: 8px;
        white-space: normal;
        vertical-align: baseline;
    }

    .highlight-text {
        line-height: 1;
    }

    .hero-image-fullwidth::after {
        background:
            linear-gradient(to bottom, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.72) 48%, rgba(8, 8, 10, 0.88) 100%),
            linear-gradient(to right, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.62) 62%, rgba(8, 8, 10, 0.35) 100%);
    }

    .fullwidth-image {
        object-position: 62% center;
    }
}

@media (max-width: 480px) {
    .main {
        padding-top: 56px;
    }

    .nav {
        padding: 0.65rem 0.875rem;
    }
    
    .btn-primary {
        font-size: 0.75rem;
        padding: 0.55rem 0.85rem;
        border-radius: 6px;
    }

    .hero {
        min-height: calc(100svh - 56px);
    }

    .hero-content {
        padding: clamp(1.75rem, 8svh, 3rem) 1rem 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.35rem, 13.5vw, 3.85rem);
        letter-spacing: 0;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 22rem;
    }
    
    .cta-button {
        width: min(100%, 300px);
        font-size: 0.8rem;
        padding: 0.875rem 1.25rem;
    }
}

/* Background animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Business Configuration Section */
.business-config-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.business-config-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.business-config-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.business-config-header {
    text-align: center;
    margin-bottom: 4rem;
}

.business-config-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.business-config-title .highlight-text {
    background: linear-gradient(135deg, #00ff88 0%, #00e67a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.business-config-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
}

.business-config-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.config-form-section {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.config-section {
    margin-bottom: 3rem;
}

.config-section:last-child {
    margin-bottom: 2rem;
}

.config-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.config-icon {
    font-size: 1.5rem;
}

.config-section-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.business-examples {
    margin-bottom: 1.5rem;
}

.business-examples h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.example-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.example-btn {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.example-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

.example-btn.selected {
    background: rgba(0, 255, 136, 0.3);
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-group textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.input-group textarea::placeholder {
    color: #888888;
}

.input-hint {
    display: block;
    color: #888888;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.personality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.personality-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.personality-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

.personality-card.selected {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

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

.personality-icon {
    font-size: 1.5rem;
}

.personality-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.personality-card p {
    color: #cccccc;
    line-height: 1.5;
    font-size: 0.9rem;
}

.custom-personality {
    margin-top: 1.5rem;
}

/* Reset Settings Section */
.reset-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.reset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    max-width: fit-content;
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.reset-icon {
    font-size: 1.1rem;
}

.reset-hint {
    display: block;
    color: #888888;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Live Demo Controls */
.demo-controls {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-btn {
    background: linear-gradient(135deg, #00ff88, #00d4aa);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.4);
}

.demo-hint {
    display: block;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Compact Sections */
.compact-section {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    width: 80%;
    margin: 0 auto 1.5rem auto;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #00ff88, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: #cccccc;
    font-size: 0.9rem;
}

.compact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.compact-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.compact-feature:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateX(5px);
}

.compact-feature .feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(0, 255, 136, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compact-feature strong {
    color: #00ff88;
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.compact-feature p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .business-config-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .compact-section {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .business-config-section {
        padding: 60px 1rem;
    }
    
    .config-form-section {
        padding: 1.5rem;
    }
    
    .compact-section {
        width: 95%;
        padding: 1.2rem;
    }
    
    .personality-grid {
        grid-template-columns: 1fr;
    }
    
    .example-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .compact-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .compact-feature .feature-icon {
        align-self: center;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: #00ff88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.4);
}

.chat-icon {
    font-size: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.chat-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
}

.chat-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.chat-interface {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chat-interface.active {
    display: flex;
}

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

.chat-header {
    padding: 16px 20px;
    background: rgba(0, 255, 136, 0.1);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.chat-avatar {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-title h3 {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
}

.chat-status {
    color: #00ff88;
    font-size: 12px;
}

.chat-close {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 2px;
}

.message {
    display: flex;
    gap: 12px;
    max-width: 85%;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: transparent;
}

.bot-message .message-avatar.avatar-image-mode,
.chat-avatar.avatar-image-mode,
.chat-icon.avatar-image-mode,
.preview-avatar.avatar-image-mode {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.user-message .message-avatar {
    background: #1a1a2e;
    color: #ffffff;
}

.message-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 16px;
    color: #ffffff;
    line-height: 1.4;
}

.bot-message .message-content {
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background: #00ff88;
    color: #000000;
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin: 0;
}

.chat-input-container {
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.chat-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 24px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.chat-input:focus {
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.chat-input::placeholder {
    color: #888888;
}

.chat-send {
    width: 40px;
    height: 40px;
    background: #00ff88;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.chat-send svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.chat-send:hover {
    background: #00e67a;
    transform: scale(1.05);
}

.chat-send:disabled {
    background: #666666;
    cursor: not-allowed;
    transform: none;
}

.typing-indicator .message-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    color: #cccccc;
}

.typing-label {
    white-space: nowrap;
}

.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 1em;
    padding-top: 0.15em;
}

.typing-dot {
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    animation: typing 1.4s infinite;
    flex: 0 0 auto;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}

/* Mobile responsiveness for chatbot */
@media (max-width: 480px) {
    .chatbot-container,
    .chatbot-container.position-bottom-right,
    .chatbot-container.position-bottom-left,
    .chatbot-container.position-top-right,
    .chatbot-container.position-top-left {
        position: fixed;
        right: 14px;
        bottom: 14px;
        left: auto;
        top: auto;
        z-index: 10000;
    }

    .chat-interface {
        position: fixed;
        width: calc(100vw - 24px);
        height: min(74svh, 560px);
        max-height: calc(100svh - 92px);
        right: 12px;
        left: 12px;
        bottom: 84px;
        top: auto;
        border-radius: 14px;
    }

    .chat-header {
        padding: 12px 14px;
    }

    .chat-avatar {
        width: 36px;
        height: 36px;
    }

    .chat-messages {
        padding: 14px;
        gap: 12px;
    }

    .message {
        max-width: 96%;
        gap: 10px;
    }

    .message-content {
        padding: 10px 12px;
        font-size: 0.92rem;
    }

    .chat-input-container {
        padding: 12px;
    }

    .chat-input-wrapper {
        gap: 8px;
    }

    .chat-input {
        min-width: 0;
        padding: 11px 13px;
        font-size: 16px;
    }

    .chat-send {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }
}

/* Chatbot Customization Panel Styles */
.customization-panel {
    position: fixed;
    top: 50%;
    left: -500px;
    transform: translateY(-50%);
    width: 450px;
    height: 80vh;
    max-height: 700px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 10001;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.customization-panel.active {
    left: 30px;
}

.customization-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 136, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    cursor: move;
    user-select: none;
    position: relative;
}

.customization-header::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 
        12px 0 0 #ffdd00,
        24px 0 0 #ff6b6b;
}

.customization-header h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    margin-left: 50px;
    flex: 1;
}

.window-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.window-control {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #cccccc;
}

.window-control:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.window-control.minimize:hover {
    background: rgba(255, 221, 0, 0.2);
    color: #ffdd00;
}

.window-control.close:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.customization-content {
    padding: 20px;
    height: calc(100% - 60px);
    overflow-y: auto;
}

.customization-panel.minimized {
    height: 60px;
    overflow: hidden;
}

.customization-panel.minimized .customization-content {
    display: none;
}

/* Drag indicator */
.customization-header::after {
    content: '⋮⋮';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    letter-spacing: -2px;
    pointer-events: none;
}

/* Window shadow when dragging */
.customization-panel.dragging {
    transition: none;
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.02);
    z-index: 10002;
}

/* Responsive customization panel */
@media (max-width: 768px) {
    .customization-panel {
        width: calc(100vw - 40px);
        left: -100vw;
        top: 50px;
        transform: none;
        height: calc(100vh - 100px);
        border-radius: 12px 12px 0 0;
    }
    
    .customization-panel.active {
        left: 20px;
    }
    
    .customization-header::after {
        display: none;
    }
}

/* Dynamic chatbot positioning classes */
.chatbot-container.position-bottom-right {
    bottom: 20px;
    right: 20px;
    top: auto;
    left: auto;
}

.chatbot-container.position-bottom-left {
    bottom: 20px;
    left: 20px;
    top: auto;
    right: auto;
}

.chatbot-container.position-top-right {
    top: 80px;
    right: 20px;
    bottom: auto;
    left: auto;
}

.chatbot-container.position-top-left {
    top: 80px;
    left: 20px;
    bottom: auto;
    right: auto;
}

/* Chat interface position adjustments for different positions */
.chatbot-container.position-bottom-left .chat-interface,
.chatbot-container.position-top-left .chat-interface {
    right: auto;
    left: 0;
}

.chatbot-container.position-top-right .chat-interface,
.chatbot-container.position-top-left .chat-interface {
    bottom: auto;
    top: 80px;
}

/* Custom scrollbar for customization panel */
.customization-panel::-webkit-scrollbar {
    width: 6px;
}

.customization-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.customization-panel::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 3px;
}

.customization-panel::-webkit-scrollbar-thumb:hover {
    background: #00e67a;
}

/* Customization Showcase Section */
.customization-showcase {
    padding: 100px 2rem;
    background: rgba(10, 10, 10, 0.3);
    position: relative;
    overflow: hidden;
}

.customization-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-text {
    animation: fadeInLeft 1s ease-out;
}

.showcase-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #ffffff;
}

.showcase-title .highlight-text {
    background: linear-gradient(135deg, #00ff88 0%, #00e67a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.showcase-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.customize-cta-button {
    background: linear-gradient(135deg, #00ff88 0%, #00e67a 100%);
    color: #000000;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

.customize-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00e67a 0%, #00d96e 100%);
}

.cta-icon {
    font-size: 1.2rem;
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

.showcase-preview {
    position: relative;
}

.preview-phone {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 8px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.preview-phone::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.preview-chatbot {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.preview-chat-button {
    width: 50px;
    height: 50px;
    background: #00ff88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
    animation: previewPulse 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.preview-chat-button:hover {
    transform: scale(1.1);
}

.preview-chat-interface {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 200px;
    height: 280px;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(10px);
    animation: previewChatAppear 3s ease-in-out 1s infinite;
}

.preview-header {
    padding: 12px;
    background: rgba(0, 255, 136, 0.1);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px 12px 0 0;
}

.preview-avatar {
    width: 24px;
    height: 24px;
    background: #00ff88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.preview-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.preview-messages {
    padding: 12px;
}

.preview-message {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
}

@keyframes previewPulse {
    0%, 70%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
    }
    35% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 255, 136, 0.6);
    }
}

@keyframes previewChatAppear {
    0%, 90%, 100% {
        opacity: 0;
        transform: translateY(10px);
    }
    10%, 80% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design for Showcase */
@media (max-width: 768px) {
    .customization-showcase {
        padding: 60px 1rem;
    }
    
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .showcase-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .color-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .color-row:last-child .color-group:last-child {
        grid-column: 1 / -1;
    }
    
    .preview-phone {
        width: 240px;
        height: 480px;
        padding: 15px;
    }
    
    .preview-chat-interface {
        width: 160px;
        height: 240px;
    }
}

.customization-header::after {
    display: none;
}

.customization-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.customization-section:last-child {
    border-bottom: none;
}

.customization-section h4 {
    color: #00ff88;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.color-options,
.logo-options,
.typography-options,
.size-position-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.color-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.color-group,
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-group label,
.input-group label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.color-group input[type="color"] {
    width: 60px;
    height: 40px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.color-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 6px;
}

.color-group input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 6px;
}

.input-group input[type="file"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
}

.input-group input[type="file"]::-webkit-file-upload-button {
    background: #00ff88;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-right: 10px;
}

.input-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
}

.input-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

.input-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
    touch-action: none;
    user-select: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00ff88;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    touch-action: none;
    user-select: none;
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00ff88;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    touch-action: none;
    user-select: none;
}

.input-group span {
    color: #00ff88;
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.preview-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.preview-actions .btn-primary {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: #00ff88;
    color: #000000;
}

.preview-actions .btn-primary:hover {
    background: #00e67a;
    transform: translateY(-1px);
}

.preview-actions .btn-secondary {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.07);
    color: #cccccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* Avatar Mode Toggle Pills */
.avatar-mode-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mode-pill {
    flex: 1;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.mode-pill:hover {
    background: rgba(0, 255, 136, 0.12);
    border-color: rgba(0, 255, 136, 0.5);
    color: #ffffff;
}

.mode-pill.active {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    color: #00ff88;
    font-weight: 600;
}

/* Avatar mode panel show/hide */
.avatar-mode-panel {
    display: block;
}

.avatar-mode-panel.hidden {
    display: none;
}

/* Avatar image preview row */
.avatar-preview-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
}

.avatar-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    background: transparent;
    border: 1px solid rgba(0, 255, 136, 0.3);
    flex-shrink: 0;
}

.avatar-preview-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    flex: 1;
}

.btn-clear-avatar {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 80, 80, 0.3);
    color: #ff8080;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-clear-avatar:hover {
    background: rgba(255, 80, 80, 0.3);
    border-color: rgba(255, 80, 80, 0.6);
    color: #ffaaaa;
}

/* Fix: message-avatar with uploaded image — no background circle */
.message-avatar img {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Avatar Customization Styles */
.avatar-subsection {
    background: rgba(22, 33, 62, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}


.avatar-subsection h5 {
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-style: italic;
    margin-top: 4px;
}

.avatar-preview {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
}

.avatar-preview h5 {
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 25px;
}

.avatar-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.preview-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.preview-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: linear-gradient(135deg, #00ff88, #00e67a);
    border: 2px solid rgba(0, 255, 136, 0.4);
    transition: all 0.3s ease;
}

.preview-avatar.user-preview {
    background: linear-gradient(135deg, #16213e, #1a1a2e);
    border: 2px solid rgba(0, 255, 136, 0.6);
}

.preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.button-size-preview {
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    padding-top: 20px;
    text-align: center;
}

.button-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff88, #00e67a);
    border: 2px solid rgba(0, 255, 136, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.button-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.preview-icon {
    font-size: 24px;
    z-index: 2;
    transition: font-size 0.3s ease;
}

.preview-icon img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    border-radius: 50%;
}

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

/* Responsive adjustments for avatar preview */
@media (max-width: 768px) {
    .preview-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .avatar-subsection {
        padding: 15px;
    }
    
    .avatar-preview {
        padding: 15px;
    }
    
    .preview-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .button-preview {
        width: 50px;
        height: 50px;
    }
    
    .preview-icon {
        font-size: 20px;
    }
}

/* Pricing & Purchase Section */
.pricing-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

.pricing-title .highlight-text {
    background: linear-gradient(135deg, #00ff88 0%, #00e67a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-description {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.pricing-box {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #00ff88;
}

.price-period {
    font-size: 1.2rem;
    color: #cccccc;
}

.trial-badge {
    background: linear-gradient(135deg, #00ff88, #00e67a);
    color: #000000;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.plan-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

/* Coupon Section */
.coupon-section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
}

.coupon-input-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.coupon-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.coupon-input:focus {
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.apply-coupon-btn {
    background: #00ff88;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-coupon-btn:hover {
    background: #00e67a;
    transform: translateY(-1px);
}

.coupon-message {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.coupon-message.success {
    color: #00ff88;
}

.coupon-message.error {
    color: #ff6b6b;
}

/* Payment Section */
.payment-section {
    margin-bottom: 30px;
}

.payment-section h4 {
    color: #00ff88;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.payment-form {
    margin-bottom: 25px;
}

.payment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.payment-input:focus {
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.payment-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.price-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #ffffff;
    font-size: 14px;
}

.discount-row {
    color: #00ff88;
}

.trial-row {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
    padding: 10px 0;
}

.free-text {
    color: #00ff88;
    font-weight: 600;
}

.total-row {
    font-weight: 700;
    font-size: 16px;
    color: #00ff88;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 10px;
}

.purchase-btn {
    width: 100%;
    background: linear-gradient(135deg, #00ff88, #00e67a);
    color: #000000;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.purchase-btn:disabled {
    background: #666666;
    cursor: not-allowed;
    transform: none;
}

.purchase-icon {
    font-size: 18px;
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: #cccccc;
    font-size: 12px;
}

.security-icon {
    color: #00ff88;
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    margin-top: 20px;
}

.download-section h4 {
    color: #00ff88;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.download-section p {
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.download-btn {
    background: linear-gradient(135deg, #00ff88, #00e67a);
    color: #000000;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.download-icon {
    font-size: 18px;
}

.download-info {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
}

.download-info p {
    color: #00ff88;
    font-weight: 600;
    margin-bottom: 15px;
}

.download-info ul {
    color: #ffffff;
    padding-left: 20px;
}

.download-info li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Payment Method Tabs */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.payment-method-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    justify-content: center;
}

.payment-method-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 136, 0.5);
}

.payment-method-btn.active {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    color: #00ff88;
}

.payment-icon {
    font-size: 1.1rem;
}

/* Stripe Elements Styling */
.stripe-element {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    transition: border-color 0.3s ease;
    margin-top: 8px;
}

.stripe-element:focus-within {
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.card-errors {
    color: #fa755a;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* PayPal Container */
.paypal-container {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.paypal-container p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* Digital Payment Container */
.digital-pay-container {
    text-align: center;
    padding: 2rem;
}

.payment-request-button {
    margin: 0 auto;
}

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

/* Responsive Design for Pricing */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 1rem;
    }
    
    .pricing-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-box {
        padding: 25px;
    }
    
    .payment-row {
        grid-template-columns: 1fr;
    }
    
    .coupon-input-wrapper {
        flex-direction: column;
    }
    
    .apply-coupon-btn {
        width: 100%;
    }
}



/* Demo Info */
.demo-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-note {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 170, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.demo-note .demo-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.demo-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

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

/* Mascot Image Styling for Logo, Icons, and Avatars */
.logo-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    border: 0;
    vertical-align: middle;
}

.highlight-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
    border: 0;
    margin-right: 0.5rem;
    vertical-align: middle;
    display: inline-block;
}

.feature-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
    border: 0;
}

.preview-btn-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
}

.preview-avatar img,
.message-avatar img,
.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
}

/* Note: .zuzubot-avatar-img and .zuzubot-img-icon are styled inside the widget's injected CSS */

/* ===== Bot ID Copy Box ===== */
.bot-id-box {
    margin-top: 14px;
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 12px;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-id-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #00ff88;
    letter-spacing: 0.3px;
}

.bot-id-label small {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.bot-id-icon {
    font-size: 14px;
}

.bot-id-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bot-id-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 12px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.5px;
    outline: none;
    cursor: text;
    min-width: 0;
    transition: border-color 0.2s ease;
}

.bot-id-input:focus {
    border-color: #00ff88;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.15);
}

.bot-id-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0;
}

.bot-id-copy-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.35);
    border-radius: 8px;
    color: #00ff88;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.bot-id-copy-btn:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: #00ff88;
    transform: scale(1.05);
}

.bot-id-copy-btn.copied {
    background: rgba(0, 255, 136, 0.4);
    border-color: #00ff88;
    color: #ffffff;
}

