/* --- GOOGLE FONTS --- */
/* font-family: 'Lexend', sans-serif; */
/* font-family: 'Outfit', sans-serif; */

/* --- CSS VARIABLES --- */
:root {
    /* Light Theme */
    --light-bg: hsl(210, 40%, 98%);
    --light-section-bg: #FFFFFF;
    --light-heading: hsl(222, 47%, 11%);
    --light-text: hsl(222, 20%, 40%);
    --light-border: hsl(210, 30%, 88%);
    --light-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);

    /* Dark Theme */
    --dark-bg: hsl(222, 47%, 11%);
    --dark-section-bg: hsl(222, 47%, 13%);
    --dark-heading: #FFFFFF;
    --dark-text: hsl(215, 25%, 85%);
    --dark-border: hsl(222, 47%, 25%);
    --dark-shadow: 0 4px 6px -1px rgb(255 255 255 / 0.04), 0 2px 4px -2px rgb(255 255 255 / 0.04);
    
    /* --- ACCENT GRADIENT OPTIONS --- */
    /* Vibrant Tech (Purple -> Pink) - ACTIVE */
    --accent-gradient: linear-gradient(90deg, #8B5CF6, #EC4899);
    --accent-color-start: #8B5CF6;
    --accent-color-end: #EC4899;
}

/* --- THEME STYLES --- */
body.light-theme {
    --bg-color: var(--light-bg);
    --section-bg-color: var(--light-section-bg);
    --heading-color: var(--light-heading);
    --text-color: var(--light-text);
    --border-color: var(--light-border);
    --shadow: var(--light-shadow);
}
body.dark-theme {
    --bg-color: var(--dark-bg);
    --section-bg-color: var(--dark-section-bg);
    --heading-color: var(--dark-heading);
    --text-color: var(--dark-text);
    --border-color: var(--dark-border);
    --shadow: var(--dark-shadow);
}

/* --- GENERAL & UTILITY --- */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Lexend', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
}
section {
    padding: 80px 0;
}
.section-title { font-size: 2.8rem; margin-bottom: 0.75rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-color); opacity: 0.9; max-width: 600px; margin: 0 auto;}

/* --- NAVIGATION BAR --- */
.navbar {
    background-color: color-mix(in srgb, var(--bg-color) 80%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}
.navbar-brand img { height: 32px; transition: opacity 0.3s ease; }
/* Logo switcher logic */
.dark-theme .logo-dark, .light-theme .logo-light { display: none; }
.dark-theme .logo-light, .light-theme .logo-dark { display: block; }

/* Theme Switcher */
.theme-switcher { position: relative; display: inline-block; width: 50px; height: 28px; }
.theme-switcher input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--dark-border); transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background: var(--accent-gradient); }
input:checked + .slider:before { transform: translateX(22px); }

/* --- BUTTONS --- */
.btn { border-radius: 8px; font-weight: 500; padding: 12px 28px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-primary { background: var(--accent-gradient); border: none; color: white; }
.btn-primary:hover { color: white; transform: translateY(-2px); box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--accent-color-start) 40%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--accent-color-start) 40%, transparent); }
.btn-outline-primary { border-color: var(--accent-color-start); color: var(--accent-color-start); }
.btn-outline-primary:hover { background: var(--accent-gradient); border-color: var(--accent-color-start); color: white; }

/* --- HERO SECTION --- */
.hero-section { min-height: 100vh; display: flex; align-items-center; padding-top: 120px; padding-bottom: 80px; }
.hero-title { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-color); opacity: 0.9; max-width: 500px; }
/* Chat Mockup */
.chat-mockup { background-color: var(--section-bg-color); border-radius: 12px; border: 1px solid var(--border-color); box-shadow: var(--shadow); padding: 12px; }
.chat-header { display: flex; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.chat-header .dot { height: 12px; width: 12px; border-radius: 50%; background-color: var(--border-color); margin-right: 8px; }
.chat-body { padding: 20px 0 10px 0; height: 250px; overflow: hidden; display: flex; flex-direction: column; }
.message { padding: 10px 15px; border-radius: 18px; margin-bottom: 10px; max-width: 80%; line-height: 1.4; }
.message.received { background-color: var(--border-color); color: var(--heading-color); border-bottom-left-radius: 4px; align-self: flex-start; }
.message.sent { background: var(--accent-gradient); color: white; border-bottom-right-radius: 4px; align-self: flex-end; }
.typing-indicator { display: flex; padding: 10px 5px; }
.typing-indicator span { height: 8px; width: 8px; margin: 0 2px; background-color: rgba(255, 255, 255, 0.7); border-radius: 50%; animation: typing 1s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* --- PROBLEM / SOLUTION SECTION --- */
.problem-solution-section { background-color: var(--section-bg-color); }
.problem-card, .solution-card { padding: 30px; border-radius: 12px; height: 100%; border: 1px solid var(--border-color); }
.problem-title, .solution-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.problem-card ul, .solution-card ul { list-style: none; padding-left: 0; }
.problem-card li, .solution-card li { margin-bottom: 1rem; position: relative; padding-left: 25px; }
.problem-card li::before, .solution-card li::before { position: absolute; left: 0; top: 2px; font-family: 'bootstrap-icons'; font-size: 1.1rem; }
.problem-card li::before { content: "\F624"; color: #dc3545; }
.solution-card li::before { content: "\F26A"; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* --- HOW IT WORKS SECTION --- */
.how-it-works-section .step-card { background-color: var(--section-bg-color); }
.step-card { border: 1px solid var(--border-color); padding: 30px; border-radius: 12px; height: 100%; }
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; }
.step-card h3 { font-size: 1.5rem; }

/* --- PRICING SECTION --- */
.pricing-section { background-color: var(--section-bg-color); }
.pricing-card { border: 1px solid var(--border-color); border-radius: 12px; height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden;}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan-name { font-size: 1.5rem; }
.plan-price { font-size: 3rem; font-weight: 700; color: var(--heading-color); }
.per-month { font-size: 1rem; color: var(--text-color); font-weight: 400; }
.plan-description { margin: 1rem 0 2rem 0; min-height: 80px; }
.feature-list li { margin-bottom: 0.75rem; }
.feature-list .bi { color: var(--accent-color-start); margin-right: 10px; }
.pricing-card.recommended { border-width: 2px; border-image: var(--accent-gradient) 1; }
.pricing-card .badge { position: absolute; top: 15px; right: -45px; background: var(--accent-gradient); color: white; transform: rotate(45deg); padding: 5px 40px; font-size: 0.8rem; font-weight: 700; }

/* --- CTA SECTION --- */
.cta-section { background-color: var(--section-bg-color); padding: 60px 0; }
.cta-title { font-size: 2.5rem; }
.cta-subtitle { color: var(--text-color); max-width: 600px; margin: 1rem auto; }

/* --- NEW: CONTACT SECTION --- */
.contact-section { background-color: var(--bg-color); }
.contact-card {
    background-color: var(--section-bg-color);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    height: 100%;
}
.contact-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
.contact-card address {
    font-style: normal;
    line-height: 1.8;
}
.contact-card ul a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 1.1rem;
}
.contact-card ul a:hover {
    color: var(--accent-color-start);
}
.contact-card .icon-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}


/* --- FOOTER --- */
.footer-section { padding: 40px 0; border-top: 1px solid var(--border-color); color: var(--text-color); opacity: 0.7; }

/* --- MEDIA QUERIES --- */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.8rem; }
    .hero-section { text-align: center; }
    .hero-subtitle { margin: 1.5rem auto; }
}
@media (max-width: 767.98px) {
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.2rem; }
}