/**
 * CosyChats Premium Homepage Redesign Stylesheet
 * High-end dark/light split aesthetics, glassmorphic mockups, and glowing radial gradients.
 */

/* ==========================================================================
   Design System Variables & Keyframes
   ========================================================================== */
:root {
    /* Main Theme Palettes - Realigned with Cosy Appointments Brand System */
    --cosy-primary: #6d2e67;
    --cosy-primary-rgb: 109, 46, 103;
    --cosy-accent: #a44390;
    --cosy-accent-dark: #8c327b;
    --cosy-accent-light: #f1e4ef;
    --cosy-dark-space: #190518;
    --cosy-dark-card: rgba(38, 11, 36, 0.7);
    --cosy-bg-warm: #fdf5fc;
    --cosy-bg-card: #ffffff;
    --cosy-text-dark: #221221;
    --cosy-text-muted: #6b5569;
    --cosy-border: #ebd5e9;
    --cosy-border-light: rgba(164, 67, 144, 0.18);
    --cosy-shadow: 0 16px 36px rgba(109, 46, 103, 0.05);
    --cosy-shadow-hover: 0 24px 50px rgba(109, 46, 103, 0.12);

    /* Fonts */
    --cosy-font-heading: 'Outfit', sans-serif;
    --cosy-font-body: 'Plus Jakarta Sans', sans-serif;
}



@keyframes cosy-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(212, 163, 115, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0);
    }
}

/* ==========================================================================
   Base Structure
   ========================================================================== */
body {
    overflow-x: clip !important;
}

.cosy-home-container {
    background-color: var(--cosy-bg-warm);
    font-family: var(--cosy-font-body);
    color: var(--cosy-text-dark);
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
    position: relative;
}

.cosy-home-container * {
    box-sizing: border-box;
}

/* ==========================================================================
   Loop Strip / Marquee Ticker
   ========================================================================== */
.cosy-ticker-strip {
    background: linear-gradient(135deg, var(--cosy-dark-space) 0%, var(--cosy-primary) 50%, var(--cosy-dark-space) 100%);
    color: #ffffff;
    overflow: hidden;
    padding: 0;
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}

/* Fade edge masks */
.cosy-ticker-strip::before,
.cosy-ticker-strip::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.cosy-ticker-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--cosy-dark-space) 0%, rgba(25, 5, 24, 0) 100%);
}

.cosy-ticker-strip::after {
    right: 0;
    background: linear-gradient(270deg, var(--cosy-dark-space) 0%, rgba(25, 5, 24, 0) 100%);
}

.cosy-ticker-label {
    flex-shrink: 0;
    padding: 0 20px 0 28px;
    font-family: var(--cosy-font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
    background: var(--cosy-dark-space);
}

.cosy-ticker-track {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex: 1;
    height: 100%;
}

.cosy-ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
    animation: cosy-marquee-scroll 40s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.cosy-ticker-inner:hover {
    animation-play-state: paused;
}

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

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

.cosy-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 26px;
    font-family: var(--cosy-font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 44px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.cosy-ticker-item:hover {
    color: #ffffff;
    background-color: rgba(164, 67, 144, 0.18);
}

.cosy-ticker-item .ticker-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--cosy-accent);
    flex-shrink: 0;
    opacity: 0.7;
}

/* ==========================================================================
   Reusable Utilities
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    color: var(--cosy-accent-dark);
    font-family: var(--cosy-font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    background-color: var(--cosy-accent-light);
    padding: 6px 16px;
    border-radius: 30px;
}

.section-title {
    font-family: var(--cosy-font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--cosy-primary);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--cosy-text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.cosy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--cosy-font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.cosy-btn-primary {
    background: linear-gradient(135deg, var(--cosy-accent) 0%, var(--cosy-primary) 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(164, 67, 144, 0.25);
}

.cosy-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(164, 67, 144, 0.4);
}

.cosy-btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.cosy-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cosy-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.cosy-btn-light {
    background-color: #ffffff;
    color: var(--cosy-primary) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.cosy-btn-light:hover {
    background-color: #fbf9f6;
    color: var(--cosy-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.cosy-btn-light:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Hero Section (Dark Theme with Glows)
   ========================================================================== */
.cosy-hero {
    background-color: var(--cosy-dark-space);
    color: #ffffff;
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

/* Glowing Backdrops */
.cosy-hero-glow-1 {
    position: absolute;
    top: -10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(164, 67, 144, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.cosy-hero-glow-2 {
    position: absolute;
    bottom: -10%;
    left: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(109, 46, 103, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.cosy-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.cosy-hero-left {
    flex: 1.2;
}

.cosy-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.cosy-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--cosy-accent);
    display: inline-block;
    animation: cosy-pulse 2s infinite;
}

.cosy-badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cosy-accent);
}

.cosy-hero-title {
    font-family: var(--cosy-font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cosy-accent-light) 0%, var(--cosy-accent) 55%, var(--cosy-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cosy-hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 580px;
}

.cosy-hero-actions {
    display: flex;
    gap: 18px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cosy-hero-trust {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cosy-trust-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    color: var(--cosy-accent);
}

.cosy-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* App Interface Mockups */
.cosy-app-preview {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 400px;
}

.preview-card {
    background: var(--cosy-dark-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    position: absolute;
    width: 78%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(212, 163, 115, 0.4);
    background: rgba(45, 26, 68, 0.8);
    z-index: 10 !important;
}

.preview-card.card-1 {
    top: 0;
    left: 0;
    z-index: 2;
}

.preview-card.card-2 {
    bottom: 0;
    right: 0;
    z-index: 1;
}

/* Mockup Components */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-meta img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cosy-accent);
}

.user-meta h4 {
    margin: 0;
    font-family: var(--cosy-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.user-role {
    font-size: 0.75rem;
    color: var(--cosy-accent);
    display: block;
}

.status-indicator {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-indicator.online {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.status-indicator.busy {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.card-bio {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
    font-style: italic;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.card-tag {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.card-footer .rating {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.card-footer .price-badge {
    font-family: var(--cosy-font-heading);
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

/* ==========================================================================
   Search & Quick Topics Section
   ========================================================================== */
.cosy-search-section {
    padding: 60px 40px 40px;
    position: relative;
    z-index: 10;
    background: var(--cosy-bg-warm);
}


.cosy-search-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 40px 50px;
    box-shadow: 0 30px 60px rgba(var(--cosy-primary-rgb), 0.08);
    border: 1px solid var(--cosy-border);
}

.cosy-search-heading {
    font-family: var(--cosy-font-heading);
    color: var(--cosy-primary);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.01em;
}

.cosy-search-form {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cosy-accent-dark);
}

.cosy-search-form input {
    width: 100%;
    padding: 18px 24px 18px 54px;
    border: 2px solid var(--cosy-border);
    border-radius: 50px;
    font-size: 1.05rem;
    outline: none;
    font-family: var(--cosy-font-body);
    transition: all 0.3s ease;
    background-color: var(--cosy-bg-warm);
}

.cosy-search-form input:focus {
    border-color: var(--cosy-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(60, 26, 91, 0.05);
}

.cosy-search-btn {
    padding: 18px 38px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--cosy-primary) 0%, var(--cosy-accent) 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--cosy-font-heading);
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(var(--cosy-primary-rgb), 0.15);
}

.cosy-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(var(--cosy-primary-rgb), 0.25);
}

.cosy-popular-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tag-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--cosy-text-muted);
}

.pop-tag {
    text-decoration: none;
    background-color: var(--cosy-bg-warm);
    color: var(--cosy-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
    border: 1px solid var(--cosy-border);
}

.pop-tag:hover {
    background-color: var(--cosy-primary);
    color: #ffffff;
    border-color: var(--cosy-primary);
    transform: translateY(-1px);
}

/* AI Interface Additions */
.ai-prompt-btn {
    cursor: pointer;
}

.cosy-ai-container {
    position: relative;
    width: 100%;
}

.ai-response-hidden {
    display: none;
}

#ai-response-area {
    margin-top: 20px;
    background: #fdf5fc;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--cosy-border);
    text-align: left;
    box-shadow: 0 10px 30px rgba(109, 46, 103, 0.05);
}

.ai-typing-indicator {
    font-size: 0.95rem;
    color: var(--cosy-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-dot {
    width: 6px;
    height: 6px;
    background: var(--cosy-accent);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

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

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

@keyframes typingBounce {

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

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

.ai-answer-content {
    font-size: 1rem;
    color: var(--cosy-text-dark);
    line-height: 1.6;
}

.ai-answer-content p {
    margin-bottom: 15px;
}

.ai-answer-content p:last-child {
    margin-bottom: 0;
}

.ai-book-btn {
    display: inline-block;
    margin-top: 15px;
    background: var(--cosy-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.ai-book-btn:hover {
    background: var(--cosy-accent);
    color: white;
}

/* ==========================================================================
   What is CosyChats Features Section
   ========================================================================== */
.cosy-what-is {
    padding: 60px 40px 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.cosy-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--cosy-bg-card);
    border-radius: 24px;
    padding: 45px 35px;
    box-shadow: var(--cosy-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--cosy-border-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cosy-shadow-hover);
    border-color: var(--cosy-accent);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background-color: var(--cosy-accent-light);
    color: var(--cosy-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.feature-card h3 {
    font-family: var(--cosy-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--cosy-primary);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--cosy-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   What is CosyChats — Premium Illustrated Cards
   ========================================================================== */
.cosy-what-is {
    padding: 60px 40px 100px 40px;
    background-color: var(--cosy-bg-warm);
}

.cosy-illus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.illus-card {
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(109, 46, 103, 0.05);
    border: 1px solid rgba(109, 46, 103, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.illus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(109, 46, 103, 0.12);
}

.illus-card__visual {
    height: 180px;
    background: linear-gradient(135deg, var(--cosy-bg-warm) 0%, #f4e9f2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.illus-card--chat .illus-card__visual {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
}

.illus-card--shield .illus-card__visual {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.illus-card--peer .illus-card__visual {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.illus-card--lock .illus-card__visual {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.illus-icon-wrap {
    width: 64px;
    height: 64px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cosy-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.illus-card--chat .illus-icon-wrap {
    color: #d81b60;
}

.illus-card--shield .illus-icon-wrap {
    color: #00838f;
}

.illus-card--peer .illus-icon-wrap {
    color: #ef6c00;
}

.illus-card--lock .illus-icon-wrap {
    color: #6a1b9a;
}

/* Decorations */
.illus-bubbles,
.illus-stat-row,
.illus-avatars-row,
.illus-tags-cluster {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.7;
}

.bubble {
    position: absolute;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bubble.b1 {
    top: 20px;
    left: 10px;
}

.bubble.b2 {
    bottom: 30px;
    right: 10px;
}

.bubble.b3 {
    top: 40px;
    right: -10px;
    transform: scale(0.8);
}

.illus-stat-row {
    justify-content: space-between;
    padding: 0 20px;
    align-items: flex-end;
    padding-bottom: 20px;
}

.illus-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 12px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.stat-num {
    font-weight: 800;
    font-size: 0.9rem;
    color: #00838f;
}

.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
}

.illus-avatars-row {
    gap: 40px;
}

.illus-avatar {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ef6c00;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid #ffe0b2;
}

.illus-connect-line {
    position: absolute;
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 0;
}

.illus-tags-cluster {
    flex-wrap: wrap;
    gap: 8px;
    align-content: center;
    padding: 0 30px;
}

.illus-tag {
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6a1b9a;
}

.illus-card__body {
    padding: 25px 30px;
    flex-grow: 1;
}

.illus-card__body h4 {
    font-family: var(--cosy-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cosy-text-dark);
    margin: 0 0 12px 0;
}

.illus-card__body p {
    font-size: 0.95rem;
    color: var(--cosy-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Why CosyChats — Dark Glass Feature Row
   ========================================================================== */
.cosy-why-us {
    max-width: 1320px;
    margin: 80px auto;
    border-radius: 40px;
    padding: 80px 60px;
    background: linear-gradient(135deg, #1f122b 0%, #301740 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(25, 5, 24, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cosy-why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(179, 107, 187, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.section-header--light .section-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffd7f4;
    border-color: rgba(255, 255, 255, 0.2);
}

.section-header--light .section-title {
    color: #ffffff;
}

.section-header--light .section-desc {
    color: #d0c3d6;
}

.cosy-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.why-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.why-card__line {
    width: 40px;
    height: 3px;
    background: var(--cosy-accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.why-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.why-card p {
    color: #bfaec7;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Start Your Conversation — Category Topic Grid
   ========================================================================== */
.cosy-start-conversation {
    padding: 100px 40px;
    background-color: var(--cosy-bg-warm);
}

.cosy-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.topic-card {
    display: flex;
    align-items: center;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    gap: 20px;
}

.topic-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.topic-emoji {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: #f0f0f0;
}

/* Distinctive gradients for each topic */
.topic--purple:hover {
    border-color: #d1c4e9;
}

.topic--purple .topic-emoji {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.topic--rose:hover {
    border-color: #f8bbd0;
}

.topic--rose .topic-emoji {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
}

.topic--teal:hover {
    border-color: #b2ebf2;
}

.topic--teal .topic-emoji {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.topic--amber:hover {
    border-color: #ffcc80;
}

.topic--amber .topic-emoji {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.topic--indigo:hover {
    border-color: #c5cae9;
}

.topic--indigo .topic-emoji {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
}

.topic--mauve:hover {
    border-color: #ffcdd2;
}

.topic--mauve .topic-emoji {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.topic-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.topic-info strong {
    font-family: var(--cosy-font-heading);
    font-size: 1.1rem;
    color: var(--cosy-text-dark);
    margin-bottom: 4px;
}

.topic-info span {
    font-size: 0.85rem;
    color: var(--cosy-text-muted);
}

.topic-arrow {
    color: #ccc;
    transition: color 0.3s ease, transform 0.3s ease;
}

.topic-card:hover .topic-arrow {
    color: var(--cosy-primary);
    transform: translateX(4px);
}

.topic-cta-row {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .cosy-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cosy-illus-grid {
        grid-template-columns: 1fr;
    }

    .cosy-topic-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cosy-why-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   How It Works Steps Section
   ========================================================================== */
.cosy-how-it-works {
    padding: 80px 40px 100px;
    background-color: #ffffff;
}

.steps-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
}

.step-icon-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cosy-primary) 0%, #2e1047 100%);
    color: #ffffff;
    font-family: var(--cosy-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px auto;
    box-shadow: 0 8px 24px rgba(60, 26, 91, 0.2);
    border: 4px solid #ffffff;
    position: relative;
    z-index: 2;
}

.step-item h3 {
    font-family: var(--cosy-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cosy-primary);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.step-item p {
    color: var(--cosy-text-muted);
    font-size: 1rem;
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Connecting Line on Desktop */
@media (min-width: 769px) {
    .steps-container::before {
        content: '';
        position: absolute;
        top: 56px;
        left: 16.5%;
        right: 16.5%;
        height: 2px;
        background: var(--cosy-border);
        z-index: 0;
    }
}

/* ==========================================================================
   Support Circles Grid
   ========================================================================== */
.cosy-support-circles {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.circles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.circle-card {
    text-decoration: none;
    background-color: var(--cosy-bg-card);
    border-radius: 24px;
    padding: 35px;
    border: 1px solid var(--cosy-border);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--cosy-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.circle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cosy-shadow-hover);
    border-color: var(--cosy-primary);
}

.circle-emoji-wrap {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.circle-card h4 {
    font-family: var(--cosy-font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cosy-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.circle-card p {
    color: var(--cosy-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.circle-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--cosy-accent-light);
    padding-top: 18px;
}

.circle-link {
    font-family: var(--cosy-font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--cosy-primary);
}

.footer-arrow {
    color: var(--cosy-accent-dark);
    transition: transform 0.25s ease;
}

.circle-card:hover .footer-arrow {
    transform: translateX(6px);
    color: var(--cosy-primary);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.cosy-testimonials {
    padding: 60px 40px 100px 40px;
    background-color: var(--cosy-bg-warm);
}

.testimonials-slider {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 320px;
    background-color: var(--cosy-bg-warm);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--cosy-border);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-stars {
    margin-bottom: 18px;
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--cosy-text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-details h5 {
    margin: 0 0 4px 0;
    font-family: var(--cosy-font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--cosy-primary);
}

.author-details span {
    font-size: 0.82rem;
    color: var(--cosy-text-muted);
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cosy-cta-banner {
    max-width: 1320px;
    margin: 80px auto 100px;
    border-radius: 40px;
    background: linear-gradient(135deg, #3d0a3a 0%, var(--cosy-dark-space) 100%);
    padding: 80px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 80px rgba(25, 5, 24, 0.25);
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(164, 67, 144, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cosy-cta-banner h2 {
    font-family: var(--cosy-font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cosy-cta-banner p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
    .cosy-hero {
        padding: 80px 20px;
    }

    .cosy-hero-content {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .cosy-hero-title {
        font-size: 3rem;
    }

    .cosy-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .cosy-hero-actions {
        justify-content: center;
    }

    .cosy-hero-trust {
        justify-content: center;
    }

    .cosy-app-preview {
        height: 380px;
    }

    .preview-card.card-1 {
        left: 5%;
    }

    .preview-card.card-2 {
        right: 5%;
    }
}

@media (max-width: 768px) {
    .cosy-hero-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
        line-height: 1.25;
        word-break: break-word;
    }

    .cosy-search-card {
        padding: 24px 16px;
        border-radius: 20px;
        box-sizing: border-box;
        max-width: 100%;
    }

    .cosy-search-heading {
        font-size: clamp(1.1rem, 4vw, 1.35rem);
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .cosy-search-form {
        flex-direction: column;
        gap: 12px;
    }

    .cosy-search-form input {
        font-size: 0.95rem;
        padding: 14px 20px 14px 48px;
    }

    .cosy-search-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 30px;
    }

    .cosy-app-preview {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        max-width: 100%;
    }

    .preview-card {
        position: relative;
        width: 100%;
        max-width: 380px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    }

    .preview-card.card-1 {
        top: auto;
        left: auto;
        z-index: auto;
    }

    .preview-card.card-2 {
        bottom: auto;
        right: auto;
        z-index: auto;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-item::after {
        display: none;
    }

    .circles-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Premium Google-Style Homepage Clean Redesign
   ========================================================================== */
.cosy-google-style-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    /* Height minus header/footer */
    padding: 100px 20px;
    background-color: #fdf5fc !important;
    /* Brand's warm pink/off-white background */
    position: relative;
    box-sizing: border-box;
}

.cosy-google-style-home .cosy-google-search-wrapper {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.cosy-google-style-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    /* Height minus header/footer */
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fdf5fc 100%) !important;
    /* Premium brand soft gradient */
    position: relative;
    box-sizing: border-box;
}

.cosy-google-style-home .cosy-google-search-wrapper {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
    position: relative;
}

/* Logo/Title */
.cosy-google-style-home .cosy-google-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    max-width: 620px;
}

.cosy-google-style-home .cosy-google-logo-sparkle {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(164, 67, 144, 0.25));
    /* Glowing effect */
    animation: cosy-sparkle-float 3s ease-in-out infinite;
}

@keyframes cosy-sparkle-float {

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

    50% {
        transform: translateY(-8px) scale(1.08);
    }
}

.cosy-google-style-home .cosy-google-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6d2e67 0%, #a44390 100%);
    /* Modern premium brand gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

/* Search Form */
.cosy-google-style-home .cosy-google-search-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Search Bar Wrapper */
.cosy-google-style-home .cosy-google-search-bar-wrapper {
    position: relative;
    width: 100%;
    height: 58px;
    /* Slightly taller for premium space */
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid rgba(109, 46, 103, 0.12);
    border-radius: 29px;
    box-shadow: 0 2px 8px rgba(109, 46, 103, 0.03);
    padding: 0 7px 0 24px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cosy-google-style-home .cosy-google-search-bar-wrapper:hover,
.cosy-google-style-home .cosy-google-search-bar-wrapper:focus-within {
    border-color: rgba(109, 46, 103, 0.25);
    box-shadow: 0 8px 30px rgba(109, 46, 103, 0.09);
    /* Premium raising shadow */
}

/* Left Icon */
.cosy-google-style-home .cosy-google-search-icon-left {
    display: flex;
    align-items: center;
    color: #a44390;
    margin-right: 16px;
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.cosy-google-style-home .cosy-google-search-bar-wrapper:focus-within .cosy-google-search-icon-left {
    opacity: 1;
}

/* Input Field */
.cosy-google-style-home #ai-query-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    height: 100%;
    font-size: 17px;
    /* Premium larger text size */
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #221221;
    outline: none;
    padding: 0;
    box-shadow: none;
}

.cosy-google-style-home #ai-query-input::placeholder {
    color: #6b5569;
    opacity: 0.65;
}

/* Search Button Inside Right Side of Search Bar */
.cosy-google-style-home .cosy-google-inside-search-btn {
    height: 44px;
    padding: 0 26px;
    border-radius: 22px;
    border: none;
    background: linear-gradient(135deg, #a44390 0%, #6d2e67 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    margin-left: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cosy-google-style-home .cosy-google-inside-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(164, 67, 144, 0.35);
    background: linear-gradient(135deg, #b84ba2 0%, #7d3576 100%);
}

/* Buttons Group */
.cosy-google-style-home .cosy-google-buttons-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.cosy-google-style-home .cosy-google-search-btn,
.cosy-google-style-home .cosy-google-browse-btn {
    height: 44px;
    padding: 0 24px;
    border-radius: 22px;
    /* Fully rounded pill buttons (Google modern style) */
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    background-color: rgba(109, 46, 103, 0.04) !important;
    color: #6d2e67 !important;
    border: 1px solid rgba(109, 46, 103, 0.04) !important;
    transition: all 0.2s ease;
}

.cosy-google-style-home .cosy-google-search-btn:hover,
.cosy-google-style-home .cosy-google-browse-btn:hover {
    background-color: rgba(109, 46, 103, 0.08) !important;
    border-color: rgba(109, 46, 103, 0.12) !important;
    color: #a44390 !important;
    transform: translateY(-1px);
}

/* Global Page Container */
.cosychats-container {
    max-width: 1250px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: var(--cosy-font-body, 'Plus Jakarta Sans', sans-serif);
}

/* Results / Response Styling */
.cosy-google-style-home #ai-response-area {
    margin-top: 35px;
    text-align: left;
    width: 100%;
    max-width: 1250px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(109, 46, 103, 0.08);
    box-shadow: 0 10px 40px rgba(109, 46, 103, 0.04);
    padding: 28px;
    box-sizing: border-box;
}

/* AI Search Fallback / No Match Notice Banner - CosyChats Brand Match (2-Line Compact Layout) */
.cosy-no-match-notice {
    text-align: center;
    margin: 0 auto 30px auto;
    padding: 20px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #fdf5fc 100%);
    border: 1.5px solid #ebd5e9;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(109, 46, 103, 0.05);
    max-width: 860px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cosy-no-match-title {
    color: #6d2e67;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
    font-family: var(--cosy-font-heading, 'Outfit', sans-serif);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.cosy-no-match-inline-icon {
    color: #a44390;
    font-size: 1.12rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cosy-no-match-subtitle {
    color: #6b5569;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    font-family: var(--cosy-font-body, 'Plus Jakarta Sans', sans-serif);
}

@media (max-width: 640px) {
    .cosy-no-match-notice {
        padding: 16px 14px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .cosy-no-match-title {
        font-size: 1.12rem;
        gap: 8px;
    }
    .cosy-no-match-inline-icon {
        font-size: 1rem;
    }
    .cosy-no-match-subtitle {
        font-size: 0.9rem;
    }
}

/* AI Typing Indicator & Dots */
.cosy-google-style-home .ai-typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cosy-google-style-home .ai-dot {
    width: 8px;
    height: 8px;
    background-color: #a44390 !important;
    border-radius: 50%;
    animation: cosy-bounce 1.4s infinite ease-in-out both;
}

.cosy-google-style-home .ai-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.cosy-google-style-home .ai-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes cosy-bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1.0);
    }
}

.cosy-google-style-home .ai-typing-text {
    font-size: 14px;
    color: #6b5569 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   Google Style Home Mobile Responsiveness (<768px & <480px)
   ========================================================================== */
@media (max-width: 768px) {
    .cosy-google-style-home {
        min-height: auto;
        padding: 40px 15px 60px;
    }

    .cosy-google-style-home #ai-response-area {
        padding: 10px 4px;
        margin-top: 20px;
        border-radius: 16px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .cosy-google-style-home .cosy-google-logo-area {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .cosy-google-style-home .cosy-google-logo-text {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        line-height: 1.3;
    }

    .cosy-google-style-home .cosy-google-search-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .cosy-google-style-home .cosy-google-search-bar-wrapper {
        height: 52px;
        padding: 0 5px 0 16px;
        border-radius: 26px;
        width: 100%;
        box-sizing: border-box;
    }

    .cosy-google-style-home .cosy-google-search-icon-left {
        margin-right: 10px;
    }

    .cosy-google-style-home #ai-query-input {
        font-size: 15px;
        min-width: 0;
    }

    .cosy-google-style-home .cosy-google-inside-search-btn {
        height: 40px;
        padding: 0 18px;
        font-size: 14px;
        border-radius: 20px;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .cosy-google-style-home {
        min-height: auto;
        padding: 40px 12px 60px;
    }

    .cosy-google-style-home #ai-response-area {
        padding: 6px 0;
        margin-top: 15px;
        border-radius: 14px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .cosy-google-style-home .cosy-google-logo-area {
        margin-bottom: 16px;
    }

    .cosy-google-style-home .cosy-google-logo-text {
        font-size: clamp(1.3rem, 6.5vw, 1.75rem);
    }

    .cosy-google-style-home .cosy-google-search-bar-wrapper {
        height: 48px;
        padding: 0 4px 0 12px;
        border-radius: 24px;
    }

    .cosy-google-style-home .cosy-google-search-icon-left {
        margin-right: 6px;
    }

    .cosy-google-style-home .cosy-google-search-icon-left svg {
        width: 16px;
        height: 16px;
    }

    .cosy-google-style-home #ai-query-input {
        font-size: 13.5px;
    }

    .cosy-google-style-home .cosy-google-inside-search-btn {
        height: 38px;
        padding: 0 14px;
        font-size: 13px;
        border-radius: 19px;
        margin-left: 4px;
    }
}