:root {
    --primary-text: #1D1D1F;
    --secondary-text: #86868B;
    --bg-color: #FBFBFD;
    --white: #FFFFFF;
    --accent-pink: #FF2D55;
    --accent-blue: #007AFF;
    --accent-purple: #5856D6;
    --accent-orange: #FF9500;
    --accent-green: #34C759;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(180deg, #FBFBFD 0%, #F0F2FF 100%);
    color: var(--primary-text);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--secondary-text);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
}

.dot {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-text);
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.btn-nav {
    background: var(--primary-text);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    font-size: 0.9rem !important;
}

.btn-nav:hover {
    background: #333;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Click to top */
}

/* ... (keep other styles) ... */

/* Logo Animation */
.logo {
    transition: all 0.3s ease;
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--primary-text);
    /* Default color */

    /* Always running to stay in sync */
    background-image: linear-gradient(to right, var(--accent-pink), var(--accent-purple), var(--accent-blue), var(--accent-green), var(--accent-orange), var(--accent-pink), var(--accent-purple), var(--accent-blue), var(--accent-green), var(--accent-orange));
    animation: logoCycle 12s infinite ease-in-out, gradientMove 3s linear infinite;
}

/* When NOT in hero, force solid color (hides the synced animation) */
.logo:not(.hero-active) {
    -webkit-text-fill-color: var(--primary-text) !important;
    background: none;
    /* Optional: remove background to be safe */
}

.logo.hero-active {
    /* Just a marker class now, animation is on base .logo */
}

@keyframes logoCycle {
    0% {
        -webkit-text-fill-color: var(--primary-text);
    }

    8% {
        -webkit-text-fill-color: transparent;
    }

    /* Reveal gradient */
    50% {
        -webkit-text-fill-color: transparent;
    }

    /* Stay visible */
    58% {
        -webkit-text-fill-color: var(--primary-text);
    }

    /* Hide gradient */
    100% {
        -webkit-text-fill-color: var(--primary-text);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.logo:hover {
    transform: scale(1.05);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    /* Wider container for hero */
    margin: 0 auto;
    padding: 0 1rem;
    /* Reduced padding */
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent-blue);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-text p {
    font-size: 1.35rem;
    max-width: 90%;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 86, 214, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.btn i {
    margin-right: 0.5rem;
}

.hero-image-wrapper {
    position: relative;
    width: 120%;
    /* Make image larger to fill space */
    margin-left: -10%;
    /* Center the larger image */
}

.hero-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.02);
}

.hero-blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.15) 0%, rgba(88, 86, 214, 0.15) 50%, rgba(0, 122, 255, 0.05) 100%);
    filter: blur(60px);
    z-index: 1;
    border-radius: 50%;
    animation: blob-bounce 10s infinite alternate;
}

@keyframes blob-bounce {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-20px, 20px) scale(1.1);
    }
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 3;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Services Bento Grid */
.services {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.item-large {
    grid-column: span 2;
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
    /* Warm Pink Gradient */
}

.item-wide {
    grid-column: span 2;
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    /* Fresh Green/Blue Gradient */
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bento-content p {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.bento-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-sm);
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.bento-item:hover .bento-bg {
    transform: scale(1.05);
}

/* Specific Bento Colors/Styles */
.painting .bento-content {
    color: var(--white);
}

.painting .bento-content p {
    color: rgba(255, 255, 255, 0.9);
}

.painting .bento-icon {
    color: var(--accent-pink);
    background: var(--white);
}

.painting::after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.renovation {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    /* Purple/Pink */
}

.renovation .bento-icon {
    color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.9);
}

.drywall {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    /* Orange/Peach */
}

.drywall .bento-icon {
    color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.9);
}

.interior .bento-content {
    color: var(--primary-text);
}

.interior .bento-icon {
    color: var(--accent-green);
    background: rgba(255, 255, 255, 0.9);
}

.interior::after {
    display: none;
}

/* Reviews */
.reviews {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F0F2FF 0%, #FFFFFF 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #FFD700;
    /* Gold */
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-info .name {
    font-weight: 600;
    font-size: 1rem;
}

.reviewer-info .role {
    font-size: 0.85rem;
    color: var(--secondary-text);
}

/* Marquee */
.marquee-section {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    color: var(--white);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 1rem;
}

.separator {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Portfolio */
.portfolio {
    padding: 6rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Why Us */
.why-us {
    padding: 6rem 0;
    background: #F5F5F7;
    /* Light grey background for contrast */
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 149, 0, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 122, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.why-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-box .label {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-weight: 600;
    text-transform: uppercase;
}

/* Contact */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F2FF 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-details {
    margin-top: 3rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.detail-item i {
    width: 40px;
    height: 40px;
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--white);
}

.btn-block {
    width: 100%;
}

/* Footer */
footer {
    background: var(--primary-text);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-pink);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
/* Responsive Design */

/* Tablet & Smaller Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 4rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
        width: 100%;
        margin-left: 0;
    }

    .hero-img {
        width: 100%;
        max-width: 500px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        display: flex;
        flex-direction: column;
    }

    /* Reorder items to separate color cards */
    .painting {
        order: 1;
    }

    .renovation {
        order: 2;
    }

    .interior {
        order: 3;
    }

    .drywall {
        order: 4;
    }

    .item-large,
    .item-wide {
        grid-column: span 1;
    }

    .bento-item {
        min-height: 250px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-visual {
        order: -1;
        /* Show stats first on mobile/tablet */
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .reviews-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}



/* Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-image-wrapper {
        display: none;
        /* Hide hero image on mobile */
    }

    .hero-content {
        min-height: 60vh;
        /* Ensure vertical centering space */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .bento-item {
        min-height: 200px;
    }

    .contact-wrapper {
        padding: 2rem 1.5rem;
    }

    .stat-box .number {
        font-size: 2rem;
    }

    .chatbot-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-toggle {
        width: 56px;
        height: 56px;
    }

    .floating-card {
        display: none;
        /* Hide floating cards on very small screens to avoid clutter */
    }
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 1.5rem;
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-pink);
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

.chat-window {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 380px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    padding: 20px;
    background: rgba(240, 242, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-text);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #34C759;
    border-radius: 50%;
    box-shadow: 0 0 10px #34C759;
}

.chat-close {
    background: transparent;
    border: none;
    color: var(--secondary-text);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.2s;
}

.chat-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-text);
}

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

.message {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
}

.message.bot {
    background: #f0f2f5;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: var(--primary-text);
}

.message.user {
    background: var(--accent-blue);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.message.typing {
    background: #f0f2f5;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    display: flex;
    gap: 4px;
    padding: 16px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #8e8e93;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

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

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.chat-input-area {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
    background: white;
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e1e1e1;
    background: #f9f9f9;
    color: var(--primary-text);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: white;
}

.chat-input-area button {
    background: var(--accent-blue);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.chat-input-area button:hover {
    background: #0062cc;
    transform: scale(1.05);
}

.cb-tip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: var(--primary-text);
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cb-tip.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .chat-window {
        width: 90vw;
        right: -10px;
        bottom: 80px;
    }
}

/* Scroll Progress & Paint Roller */
.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* Slightly thinner for navbar */
    z-index: 2001;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    /* Updated via JS */
    background: linear-gradient(90deg,
            var(--accent-pink),
            var(--accent-purple),
            var(--accent-blue),
            var(--accent-green),
            var(--accent-orange),
            var(--accent-pink),
            var(--accent-purple),
            var(--accent-blue),
            var(--accent-green),
            var(--accent-orange));
    background-size: 200% 100%;
    animation: gradientMove 5s linear infinite;
    border-radius: 0 4px 4px 0;
    position: relative;
}

.paint-roller-icon {
    position: absolute;
    top: 50%;
    left: 0;
    /* Updated via JS */
    transform: translateY(-50%) rotate(-90deg);
    /* Align left edge to bar end */
    font-size: 1.6rem;
    /* Bigger size */
    color: var(--accent-pink);
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
    transition: color 0.3s ease;
    z-index: 2002;
    margin-left: -5px;
    /* Slight offset to prevent overlap */
}

/* Section Divider Strip (Keep existing) */
.section-divider-strip {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    margin: 1rem auto 0;
    border-radius: 2px;
}



/* Hero Stripes Animation */
.hero-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
    /* Behind content but in hero */
    pointer-events: none;
    opacity: 0.15;
    /* Subtle opacity */
}

.hero-content {
    position: relative;
    z-index: 1;
    /* Ensure content is above stripes */
}

.stripe {
    flex: 1;
    height: 100%;
    transform: translateY(-100%);
    animation: dropStripe 12s infinite ease-in-out;
}

.stripe:nth-child(1) {
    background: var(--accent-pink);
    animation-delay: 0s;
}

.stripe:nth-child(2) {
    background: var(--accent-purple);
    animation-delay: 0.1s;
}

.stripe:nth-child(3) {
    background: var(--accent-blue);
    animation-delay: 0.2s;
}

.stripe:nth-child(4) {
    background: var(--accent-green);
    animation-delay: 0.3s;
}

.stripe:nth-child(5) {
    background: var(--accent-orange);
    animation-delay: 0.4s;
}

@keyframes dropStripe {
    0% {
        transform: translateY(-100%);
    }

    8% {
        transform: translateY(0);
    }

    /* Drop in */
    50% {
        transform: translateY(0);
    }

    /* Hold */
    58% {
        transform: translateY(100%);
    }

    /* Drop out */
    58.01% {
        transform: translateY(-100%);
    }

    /* Reset */
    100% {
        transform: translateY(-100%);
    }

    /* Wait */
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}