/* Base Layout Configurations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --bg-warm-light: #fffdf9;
    --banner-gold: #fcebc4;
    --text-dark: #111111;
    --text-soft: #666666;
    --btn-orange: #ff9933;
    --btn-orange-hover: #e68523;
    --border-gray: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--bg-warm-light);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Top Sticky Alert Bar */
.top-banner {
    background-color: var(--banner-gold);
    color: var(--text-dark);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Main Navigation Options */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 6%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a,
.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
}

.nav-item .arrow {
    font-size: 10px;
    display: inline-block;
    transform: rotate(180deg);
    margin-left: 2px;
}

.btn-signup {
    background: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn-signup:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Centralized Typographic Workspace */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 6% 80px 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.main-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.subtitle {
    font-size: 16px;
    color: var(--text-soft);
    line-height: 1.5;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out 0.1s backwards;
}

/* CTA Actions UI */
.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.contact-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-soft);
}

.submit-btn {
    background-color: var(--btn-orange);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.submit-btn:hover {
    background-color: var(--btn-orange-hover);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Animated Graphics Mockup Component Layer */
.hero-graphic-display {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 480px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Radial Glow Background Backdrop */
.glow-bg {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(circle, rgba(253, 230, 138, 0.4) 0%, rgba(255, 253, 249, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Procedural Minimal Vector Avatar Base */
.center-profile-card {
    position: relative;
    z-index: 2;
    width: 260px;
    height: 380px;
    background-color: #f7dfa6;
    /* Warm ochre tone shirt matching image theme */
    border-radius: 130px 130px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(220, 180, 100, 0.2);
}

.avatar-head {
    width: 100px;
    height: 120px;
    background-color: #fcd34d;
    /* Soft curly auburn stylized silhouette block */
    border-radius: 50%;
    margin-top: 40px;
    position: relative;
}

.avatar-head::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 40px;
    height: 30px;
    background-color: #fcd34d;
}

/* Chat Interactivity Elements */
.chat-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.msg {
    position: absolute;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 260px;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
}

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

/* Chat Message Positional Assignments & Entry Timings */
.user-msg-1 {
    top: 5%;
    right: 5%;
    border-bottom-right-radius: 4px;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s backwards;
}

.avatar-user-1 {
    background-color: #fed7aa;
}

.bot-reply-1 {
    top: 20%;
    left: 5%;
    border-bottom-left-radius: 4px;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s backwards;
}

.bot-reply-2 {
    top: 35%;
    left: 5%;
    border-bottom-left-radius: 4px;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.5s backwards;
}

.user-msg-2 {
    top: 50%;
    right: 5%;
    border-bottom-right-radius: 4px;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 3.5s backwards;
}

.avatar-user-2 {
    background-color: #fbcfe8;
}

.bot-reply-3 {
    top: 65%;
    left: 5%;
    border-bottom-left-radius: 4px;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 4.5s backwards;
}

.user-msg-3 {
    top: 80%;
    right: 5%;
    border-bottom-right-radius: 4px;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 5.5s backwards;
}

.avatar-user-3 {
    background-color: #bbf7d0;
}

.avatar-bot {
    background-color: #78350f;
    color: #ffffff;
}

/* Structural Animation Blueprints */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Structural Overrides */
@media (max-width: 992px) {
    .main-title {
        font-size: 42px;
    }

    .hero-graphic-display {
        height: 420px;
    }

    .center-profile-card {
        width: 220px;
        height: 320px;
    }

    .msg {
        max-width: 220px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    header nav {
        display: none;
        /* Simplifies interface workspace context on medium devices */
    }

    .hero-graphic-display {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .center-profile-card {
        order: 3;
        margin-top: 24px;
        height: 260px;
    }

    .chat-wrapper {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0 10px;
    }

    .msg {
        position: static;
        width: 100%;
        max-width: 400px;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 32px;
    }

    .cta-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* Responsive Footer Styles */
.site-footer {
    width: 100%;
    padding: 40px 6% 20px;
    text-align: center;
    border-top: 1px solid var(--border-gray);
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-soft);
    font-size: 14px;
}

.footer-content a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-content a:hover {
    color: var(--btn-orange);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}