@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-color: #ffffff;
    --accent-color: #25D366;
    /* WhatsApp Green */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Abstract Background Shapes */
.shape {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #25D366;
    opacity: 0.2;
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #128C7E;
    opacity: 0.2;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 90%;
    padding: 2rem;
    z-index: 1;
}

/* Left Content Section */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 50px;
    color: #25D366;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #a5d6a7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #25D366;
    color: #0f2027;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: #20b858;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Right Demo Section - Phone Mockup */
.demo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 350px;
    height: 700px;
    background: rgba(255, 255, 255, 0.05);
    /* Dark glass phone body */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

/* Notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #0f2027;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Slightly darker screen bg */
    border-radius: 30px;
    overflow-y: hidden;
    /* Hide scrollbars for container */
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header inside Phone */
.chat-header {
    padding: 30px 20px 15px;
    background: rgba(37, 211, 102, 0.9);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    z-index: 5;
}

.avatar {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.chat-info h3 {
    font-size: 1rem;
    font-weight: 600;
}

.chat-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* BotUI Container Overrides to fit phone */
.botui-app-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 10px;
}

.botui-container {
    background-color: transparent !important;
    /* Make transparent to show phone bg */
}

.botui-messages-container {
    padding: 10px 0 !important;
}

/* Custom Scrollbar for phone */
.botui-app-container::-webkit-scrollbar {
    width: 4px;
}

.botui-app-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .phone-mockup {
        height: 600px;
    }
}