/* ========================================
   YONOO LANDING - OFFICIAL BRAND KIT
   ======================================== */

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Brand Colors */
:root {
    --deep-space-black: #050507;
    --midnight-graphite: #0A0D10;
    --pure-white: #FFFFFF;
    --mist-grey: #A9B3C1;
    --neon-mint: #3DF8C6;
    --sky-blue: #74D0FF;
    --soft-violet: #B197FF;
}

/* Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--deep-space-black);
    color: var(--pure-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   HEADER (Minimal)
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo in Header */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: -0.5px;
}

.logo-eyes {
    display: flex;
    gap: 3px;
    align-items: center;
}

.eye {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-mint);
    box-shadow: 0 0 10px rgba(61, 248, 198, 0.6);
}

/* Right eye - blink-blink, wink together, stays open during solo */
.eye:nth-child(2) {
    animation: right-eye-sequence 15s ease-in-out infinite;
}

/* Left eye - blink-blink, wink together, PLUS solo wink */
.eye:nth-child(1) {
    animation: left-eye-sequence 15s ease-in-out infinite;
}

/* Right eye: blink-blink, wink, done */
@keyframes right-eye-sequence {
    0%, 8%, 10%, 14%, 16%, 38%, 40%, 100% { 
        transform: scaleY(1);
        opacity: 1;
    }
    /* First blink at 9% */
    9% { 
        transform: scaleY(0.1);
        opacity: 0.3;
    }
    /* Second blink at 15% */
    15% { 
        transform: scaleY(0.1);
        opacity: 0.3;
    }
    /* Wink together at 39% */
    39% { 
        transform: scaleY(0.05);
        opacity: 0.2;
    }
}

/* Left eye: blink-blink, wink, solo wink */
@keyframes left-eye-sequence {
    0%, 8%, 10%, 14%, 16%, 38%, 40%, 62%, 64%, 100% { 
        transform: scaleY(1);
        opacity: 1;
    }
    /* First blink at 9% */
    9% { 
        transform: scaleY(0.1);
        opacity: 0.3;
    }
    /* Second blink at 15% */
    15% { 
        transform: scaleY(0.1);
        opacity: 0.3;
    }
    /* Wink together at 39% */
    39% { 
        transform: scaleY(0.05);
        opacity: 0.2;
    }
    /* Solo wink at 63% */
    63% { 
        transform: scaleY(0.05);
        opacity: 0.2;
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--mist-grey);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--neon-mint);
}

.manifesto-btn {
    border: 2px solid #3DF8C6;
    color: #3DF8C6;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
    animation: pulse-glow 3s infinite;
}

.manifesto-btn:hover {
    background: rgba(61, 248, 198, 0.1);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(61, 248, 198, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(61, 248, 198, 0.6);
    }
}

.badge {
    font-size: 10px;
    font-weight: 600;
    background: rgba(61, 248, 198, 0.2);
    color: #3DF8C6;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--mist-grey);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.language-btn:hover {
    border-color: var(--neon-mint);
    color: var(--neon-mint);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--midnight-graphite);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 8px;
    min-width: 150px;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.language-dropdown.active {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 8px 12px;
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.language-dropdown a:hover {
    background: rgba(255,255,255,0.05);
}

/* ========================================
   MAIN CONTENT (Google-Style Centered)
   ======================================== */

.main-centered {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 80px;
    min-height: 100vh;
}

.content-center {
    max-width: 650px;
    width: 100%;
    text-align: center;
}

/* ========================================
   HERO LOGO (Large, Centered)
   ======================================== */

.logo-hero {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 96px;
    font-weight: 400;
    letter-spacing: -2px;
    color: var(--pure-white);
    margin-bottom: 16px;
    line-height: 1;
}

.letter {
    display: inline-block;
}

/* Last two o's with glowing mint dots */
.letter-dot {
    position: relative;
    display: inline-block;
}

.letter-dot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--neon-mint);
    box-shadow: 
        0 0 20px rgba(61, 248, 198, 0.8),
        0 0 40px rgba(61, 248, 198, 0.4);
}

/* Right hero eye - blink-blink, wink together, stays open during solo */
.letter-dot:nth-of-type(5)::after {
    animation: hero-right-eye-sequence 18s ease-in-out infinite;
}

/* Left hero eye - blink-blink, wink together, PLUS solo wink */
.letter-dot:nth-of-type(4)::after {
    animation: hero-left-eye-sequence 18s ease-in-out infinite;
}

/* Right hero eye: blink-blink, wink, done */
@keyframes hero-right-eye-sequence {
    0%, 10%, 12%, 16%, 18%, 40%, 42%, 100% { 
        transform: translate(-50%, -50%) scaleY(1);
        opacity: 1;
    }
    /* First blink at 11% */
    11% { 
        transform: translate(-50%, -50%) scaleY(0.08);
        opacity: 0.2;
    }
    /* Second blink at 17% */
    17% { 
        transform: translate(-50%, -50%) scaleY(0.08);
        opacity: 0.2;
    }
    /* Wink together at 41% */
    41% { 
        transform: translate(-50%, -50%) scaleY(0.05);
        opacity: 0.15;
    }
}

/* Left hero eye: blink-blink, wink, solo wink */
@keyframes hero-left-eye-sequence {
    0%, 10%, 12%, 16%, 18%, 40%, 42%, 64%, 66%, 100% { 
        transform: translate(-50%, -50%) scaleY(1);
        opacity: 1;
    }
    /* First blink at 11% */
    11% { 
        transform: translate(-50%, -50%) scaleY(0.08);
        opacity: 0.2;
    }
    /* Second blink at 17% */
    17% { 
        transform: translate(-50%, -50%) scaleY(0.08);
        opacity: 0.2;
    }
    /* Wink together at 41% */
    41% { 
        transform: translate(-50%, -50%) scaleY(0.05);
        opacity: 0.15;
    }
    /* Solo wink at 65% */
    65% { 
        transform: translate(-50%, -50%) scaleY(0.05);
        opacity: 0.15;
    }
}

/* ========================================
   PAYOFF
   ======================================== */

.payoff {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--mist-grey);
    margin-bottom: 48px;
    letter-spacing: 0.5px;
}

/* ========================================
   EMAIL FORM
   ======================================== */

.email-form {
    margin-bottom: 40px;
}

.input-wrapper {
    margin-bottom: 24px;
}

.email-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--deep-space-black);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    color: var(--pure-white);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.email-input:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.email-input:focus {
    outline: none;
    border-color: var(--neon-mint);
    box-shadow: 0 2px 8px rgba(61, 248, 198, 0.2);
}

.email-input::placeholder {
    color: var(--mist-grey);
}

/* ========================================
   BUTTONS (Google Style)
   ======================================== */

.button-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 24px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--neon-mint);
    color: var(--deep-space-black);
    box-shadow: 0 2px 8px rgba(61, 248, 198, 0.3);
}

.btn-primary:hover {
    background: #2EE7B5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 248, 198, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.25);
}

.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-message {
    min-height: 20px;
    font-size: 14px;
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
}

.form-message.success {
    color: var(--neon-mint);
}

.form-message.error {
    color: #FF6B6B;
}

/* ========================================
   FREE MODELS SECTION
   ======================================== */

.free-section {
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(61, 248, 198, 0.05);
    border: 1px solid rgba(61, 248, 198, 0.2);
    border-radius: 12px;
}

.free-label {
    font-size: 14px;
    color: var(--mist-grey);
    margin-bottom: 12px;
    font-weight: 500;
}

.model-chips {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.chip-mint {
    padding: 10px 20px;
    background: var(--neon-mint);
    color: var(--deep-space-black);
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(61, 248, 198, 0.3);
}

/* ========================================
   PREMIUM MODELS SECTION
   ======================================== */

.premium-section {
    padding: 20px;
}

.premium-label {
    font-size: 13px;
    color: var(--mist-grey);
    margin-bottom: 12px;
    font-weight: 500;
}

.model-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.pill {
    padding: 6px 14px;
    background: transparent;
    color: var(--mist-grey);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pill:hover {
    border-color: var(--neon-mint);
    color: var(--neon-mint);
}

.pill-separator {
    color: var(--mist-grey);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 0;
}

/* ========================================
   AI TEAM BADGE SECTION
   ======================================== */

.ai-team-badge {
    background: linear-gradient(135deg, #0A0D10 0%, #1A1D21 100%);
    border-top: 1px solid var(--neon-mint);
    border-bottom: 1px solid var(--neon-mint);
    padding: 40px 20px;
    text-align: center;
    margin: 60px 0;
}

.badge-container {
    max-width: 800px;
    margin: 0 auto;
}

.badge-label {
    color: var(--mist-grey);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.ai-logos {
    font-size: 20px;
    color: var(--neon-mint);
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Space Grotesk', sans-serif;
}

.badge-tagline {
    color: var(--mist-grey);
    font-size: 16px;
    line-height: 1.6;
}

.read-more {
    color: var(--neon-mint);
    text-decoration: none;
    border-bottom: 1px solid var(--neon-mint);
    transition: opacity 0.2s ease;
}

.read-more:hover {
    opacity: 0.8;
}

/* ========================================
   FOOTER (Minimal)
   ======================================== */

.footer {
    padding: 32px;
    background: var(--deep-space-black);
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--pure-white);
}

.footer-logo-eyes {
    display: flex;
    gap: 3px;
}

.eye-small {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-mint);
    box-shadow: 0 0 6px rgba(61, 248, 198, 0.6);
    animation: eye-glow 3s ease-in-out infinite;
}

.footer-tagline {
    font-size: 14px;
    color: var(--neon-mint);
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-ai-credit {
    font-size: 13px;
    color: var(--mist-grey);
    margin-bottom: 12px;
    line-height: 1.6;
}

.manifesto-link {
    color: var(--neon-mint);
    text-decoration: none;
    border-bottom: 1px solid var(--neon-mint);
    margin-left: 8px;
    transition: opacity 0.2s ease;
}

.manifesto-link:hover {
    opacity: 0.8;
}

.footer-copyright {
    font-size: 12px;
    color: var(--mist-grey);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
    }
    
    .header-actions {
        gap: 16px;
    }
    
    .main-centered {
        padding: 100px 16px 60px;
    }
    
    .logo-hero {
        font-size: 64px;
        letter-spacing: -1px;
    }
    
    .letter-dot::after {
        width: 14px;
        height: 14px;
    }
    
    .payoff {
        font-size: 18px;
        margin-bottom: 36px;
    }
    
    .email-input {
        font-size: 16px;
        padding: 14px 16px;
    }
    
    .button-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .model-chips {
        flex-direction: column;
    }
    
    .chip-mint {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-hero {
        font-size: 52px;
    }
    
    .letter-dot::after {
        width: 12px;
        height: 12px;
    }
    
    .payoff {
        font-size: 16px;
    }
}

/* ========================================
   NEW LANDING PAGE STYLES
   ======================================== */

.main-landing {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-section {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 32px 80px;
    overflow-y: auto;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    overflow: visible;
}

/* ========================================
   SEARCH WRAPPER (Google-Style)
   ======================================== */

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: visible;
    z-index: 50;
}

.home-plus-btn {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.home-quick-actions {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 12px;
    z-index: 100;
    background: rgba(10, 13, 16, 0.98);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    transition: all 0.25s ease;
}

.home-quick-actions.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .home-quick-actions {
        grid-template-columns: 1fr;
    }
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 48px;
    color: var(--pure-white);
    font-size: 17px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.search-input:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-mint);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(61, 248, 198, 0.2);
}

.search-input::placeholder {
    color: var(--mist-grey);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--neon-mint);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--deep-space-black);
}

.search-btn:hover {
    background: #2EE7B5;
    transform: translateY(-50%) scale(1.05);
}

.search-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* ========================================
   TASK GRID (9 Tiles)
   ======================================== */

.task-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.task-tile {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--pure-white);
    font-family: 'Inter', sans-serif;
}

.task-tile:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--neon-mint);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 248, 198, 0.15);
}

.task-tile.active {
    background: rgba(61, 248, 198, 0.08);
    border-color: var(--neon-mint);
}

.task-icon {
    color: var(--neon-mint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--pure-white);
}

.ai-model {
    font-size: 10px;
    font-weight: 400;
    color: var(--mist-grey);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-mint);
    box-shadow: 0 0 6px rgba(61, 248, 198, 0.6);
    flex-shrink: 0;
}

/* ========================================
   EMAIL SIGNUP SECTION (Hero)
   ======================================== */

.email-signup-section {
    margin-top: 48px;
    text-align: center;
}

.signup-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.email-signup-wrapper {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto 12px;
}

.email-signup-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--pure-white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.2s ease;
}

.email-signup-input::placeholder {
    color: var(--mist-grey);
    opacity: 0.6;
}

.email-signup-input:focus {
    outline: none;
    border-color: var(--neon-mint);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(61, 248, 198, 0.1);
}

.email-signup-btn {
    padding: 14px 32px;
    background: var(--neon-mint);
    color: var(--deep-space-black);
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.email-signup-btn:hover {
    background: #2EE7B5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 248, 198, 0.3);
}

.email-signup-btn:active {
    transform: translateY(0);
}

.signup-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--mist-grey);
    opacity: 0.7;
}

/* ========================================
   CHAT SECTION
   ======================================== */

.chat-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 24px;
}

.chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-container::-webkit-scrollbar {
    width: 8px;
}

.chat-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
}

.chat-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.15);
}

/* ========================================
   CHAT MESSAGES
   ======================================== */

.message {
    display: flex;
    margin-bottom: 12px;
}

.user-message {
    justify-content: flex-end;
}

.assistant-message {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

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

@media (max-width: 768px) {
    .message-bubble {
        max-width: 95%;
    }
}

.user-message .message-bubble {
    background: var(--neon-mint);
    color: var(--deep-space-black);
    border-radius: 18px 18px 4px 18px;
}

.assistant-message .message-bubble {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--pure-white);
    border-radius: 18px 18px 18px 4px;
}

/* AI Attribution Badge */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    background: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    font-size: 11px;
    color: rgba(180, 130, 255, 0.9);
    font-weight: 500;
}

.ai-badge-icon {
    font-size: 10px;
}

/* Message Action Buttons */
.message-actions {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    padding-left: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.assistant-message:hover .message-actions,
.message-actions:focus-within {
    opacity: 1;
}

@media (max-width: 768px) {
    .message-actions {
        opacity: 1;
    }
}

.action-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--mist-grey);
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* Follow-up Questions */
.follow-up-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.follow-up-chip {
    background: rgba(61, 248, 198, 0.08);
    border: 1px solid rgba(61, 248, 198, 0.25);
    border-radius: 20px;
    padding: 8px 16px;
    color: var(--neon-mint);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    max-width: 100%;
}

.follow-up-chip:hover {
    background: rgba(61, 248, 198, 0.2);
    border-color: var(--neon-mint);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(61, 248, 198, 0.2);
}

.follow-up-chip:active {
    transform: translateY(0);
}

.action-btn.active {
    background: var(--neon-mint);
    color: var(--deep-space-black);
    border-color: var(--neon-mint);
}

.feedback-btn.active[data-action="thumbsdown"] {
    background: #FF6B6B;
    border-color: #FF6B6B;
}

/* Toast Notification */
.yonoo-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(10, 13, 16, 0.95);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--pure-white);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.yonoo-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   LOADING DOTS ANIMATION
   ======================================== */

.loading-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 4px 0;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-mint);
    animation: loading-pulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading-pulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   CHAT INPUT AREA
   ======================================== */

.chat-input-area {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

/* Plus Button */
.plus-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--mist-grey);
    flex-shrink: 0;
}

.plus-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--neon-mint);
    color: var(--neon-mint);
}

.plus-btn.active {
    background: var(--neon-mint);
    border-color: var(--neon-mint);
    color: var(--deep-space-black);
    transform: rotate(45deg);
}

/* Quick Actions Menu */
.quick-actions-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 8px;
    background: rgba(10, 13, 16, 0.98);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.4);
}

.quick-actions-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quick-actions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.quick-actions-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--mist-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-actions-close {
    background: none;
    border: none;
    color: var(--mist-grey);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.quick-actions-close:hover {
    color: var(--pure-white);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

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

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.quick-action-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.quick-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-action-icon.research {
    background: rgba(116, 208, 255, 0.15);
    color: var(--sky-blue);
}

.quick-action-icon.websearch {
    background: rgba(61, 248, 198, 0.15);
    color: var(--neon-mint);
}

.quick-action-icon.analyze {
    background: rgba(177, 151, 255, 0.15);
    color: var(--soft-violet);
}

.quick-action-icon.code {
    background: rgba(255, 159, 67, 0.15);
    color: #FF9F43;
}

.quick-action-icon.creative {
    background: rgba(255, 107, 157, 0.15);
    color: #FF6B9D;
}

.quick-action-icon.fast {
    background: rgba(255, 230, 0, 0.15);
    color: #FFE600;
}

.quick-action-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.quick-action-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--pure-white);
}

.quick-action-desc {
    font-size: 11px;
    color: var(--mist-grey);
}

.quick-action-ai {
    font-size: 10px;
    color: var(--mist-grey);
    background: rgba(255,255,255,0.06);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.input-wrapper-chat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    color: var(--pure-white);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.chat-input:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.chat-input:focus {
    outline: none;
    border-color: var(--neon-mint);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 2px 12px rgba(61, 248, 198, 0.15);
}

.chat-input::placeholder {
    color: var(--mist-grey);
}

.chat-send-btn {
    background: var(--neon-mint);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--deep-space-black);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: #2EE7B5;
    transform: scale(1.05);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.message-count-indicator {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    color: var(--mist-grey);
    display: none;
}

/* Chat Upgrade Bar */
.chat-upgrade-bar {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--mist-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.chat-upgrade-bar.hidden {
    display: none;
}

.upgrade-text {
    color: var(--mist-grey);
}

.upgrade-link-btn {
    background: none;
    border: none;
    color: var(--neon-mint);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    transition: opacity 0.2s ease;
}

.upgrade-link-btn:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.upgrade-divider {
    color: rgba(255,255,255,0.3);
}

.upgrade-link {
    color: var(--mist-grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.upgrade-link:hover {
    color: var(--neon-mint);
}

/* ========================================
   SIGNUP MODAL
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: var(--midnight-graphite);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
    margin-bottom: 16px;
}

.modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--pure-white);
    margin: 0;
}

.modal-description {
    font-size: 16px;
    color: var(--mist-grey);
    margin-bottom: 32px;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-email-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: var(--pure-white);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.modal-email-input:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
}

.modal-email-input:focus {
    outline: none;
    border-color: var(--neon-mint);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(61, 248, 198, 0.1);
}

.modal-email-input::placeholder {
    color: var(--mist-grey);
}

.modal-signup-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--neon-mint);
    color: var(--deep-space-black);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-signup-btn:hover {
    background: #2EE7B5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 248, 198, 0.4);
}

.modal-signup-btn:active {
    transform: translateY(0);
}

.modal-signup-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-note {
    text-align: center;
    font-size: 13px;
    color: var(--mist-grey);
    margin: 0;
}

/* ========================================
   RESPONSIVE - NEW LANDING
   ======================================== */

@media (max-width: 768px) {
    .main-landing {
        padding-top: 70px;
    }
    
    .hero-section {
        padding: 32px 20px;
    }
    
    .search-input {
        font-size: 16px;
        padding: 16px 56px 16px 20px;
    }
    
    .search-btn {
        width: 40px;
        height: 40px;
    }
    
    .task-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .task-tile {
        padding: 16px 12px;
        gap: 8px;
    }
    
    .task-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .task-name {
        font-size: 13px;
    }
    
    .chat-section {
        padding: 0 16px 16px;
    }
    
    .message-bubble {
        max-width: 100%;
        font-size: 14px;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .task-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .task-tile {
        padding: 14px 10px;
    }
    
    .task-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .task-name {
        font-size: 12px;
    }
    
    .chat-section {
        padding: 0 12px 12px;
    }
    
    .message-bubble {
        max-width: 100%;
        padding: 12px 16px;
    }
    
    .assistant-message {
        width: 100%;
    }
}
