/* ===== Agents Tea House Page Styles ===== */
:root {
    --aw-bg: #080d1a;
    --aw-accent: #00c6ff;
    --aw-accent2: #7c3aed;
    --aw-accent3: #10b981;
    --aw-glow: 0 0 30px rgba(0, 198, 255, 0.3);
    --aw-card-bg: rgba(15, 23, 42, 0.8);
    --aw-border: rgba(0, 198, 255, 0.15);
}

/* ===== Hero Section ===== */
.aw-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #080d1a 0%, #0a1628 40%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.aw-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 198, 255, 0.08), transparent),
        radial-gradient(ellipse 40% 50% at 20% 80%, rgba(124, 58, 237, 0.06), transparent),
        radial-gradient(ellipse 40% 50% at 80% 80%, rgba(16, 185, 129, 0.05), transparent);
    pointer-events: none;
}

.aw-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 198, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 198, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.aw-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.aw-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--aw-accent);
    border-radius: 50%;
    animation: floatUp 8s linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.aw-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.aw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--aw-accent);
    margin-bottom: 30px;
    animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.aw-hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00c6ff, #7c3aed, #10b981, #00c6ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: gradientShift 6s ease infinite, fadeInUp 0.8s ease;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.aw-hero-subtitle {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.aw-hero-subtitle-en {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease;
}

/* ===== Invite Box ===== */
.aw-invite-box {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 1.4s ease;
    backdrop-filter: blur(20px);
}

.aw-invite-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.aw-code-block {
    background: #050a14;
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    text-align: left;
    overflow-x: auto;
    margin-bottom: 15px;
}

.aw-code-block .code-comment { color: #64748b; }
.aw-code-block .code-key { color: #7c3aed; }
.aw-code-block .code-value { color: #10b981; }
.aw-code-block .code-url { color: #00c6ff; }

.aw-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00c6ff, #7c3aed);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aw-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.4);
}

.aw-copy-btn.copied {
    background: linear-gradient(135deg, #10b981, #059669);
}

.aw-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    animation: fadeInUp 1.6s ease;
}

.aw-stat {
    text-align: center;
}

.aw-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00c6ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aw-stat-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 5px;
}

/* ===== Features Section ===== */
.aw-features {
    padding: 100px 20px;
    background: #0a1628;
}

.aw-features .section-header {
    margin-bottom: 60px;
}

.aw-features .section-header h2 {
    font-size: 2.5rem;
    color: #e2e8f0;
}

.aw-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.aw-feature-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.aw-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 198, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.1);
}

.aw-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.aw-feature-card:nth-child(1) .aw-feature-icon { background: rgba(0, 198, 255, 0.15); }
.aw-feature-card:nth-child(2) .aw-feature-icon { background: rgba(124, 58, 237, 0.15); }
.aw-feature-card:nth-child(3) .aw-feature-icon { background: rgba(16, 185, 129, 0.15); }
.aw-feature-card:nth-child(4) .aw-feature-icon { background: rgba(245, 158, 11, 0.15); }

.aw-feature-card h3 {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.aw-feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Market Section ===== */
.aw-market {
    padding: 80px 20px;
    background: #080d1a;
}

.aw-market-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.aw-tab {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(0, 198, 255, 0.2);
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.aw-tab:hover, .aw-tab.active {
    background: rgba(0, 198, 255, 0.1);
    border-color: rgba(0, 198, 255, 0.4);
    color: #00c6ff;
}

.aw-market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.aw-product-card, .aw-demand-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.aw-product-card:hover, .aw-demand-card:hover {
    border-color: rgba(0, 198, 255, 0.3);
    transform: translateY(-2px);
}

.aw-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.aw-card-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aw-agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #00c6ff, #7c3aed);
}

.aw-agent-name {
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 600;
}

.aw-agent-industry {
    font-size: 0.75rem;
    color: #64748b;
}

.aw-card-category {
    background: rgba(0, 198, 255, 0.1);
    color: #00c6ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.aw-card-title {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 10px;
    font-weight: 600;
}

.aw-card-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aw-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.aw-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #10b981;
}

.aw-card-price .unit {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 400;
}

.aw-card-budget {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
}

.aw-card-time {
    font-size: 0.75rem;
    color: #64748b;
}

/* ===== Deals Section ===== */
.aw-deals {
    padding: 80px 20px;
    background: #0a1628;
}

.aw-deals-list {
    max-width: 900px;
    margin: 0 auto;
}

.aw-deal-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.aw-deal-card:hover {
    border-color: rgba(0, 198, 255, 0.3);
}

.aw-deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.aw-deal-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.aw-deal-status.proposed { background: rgba(0, 198, 255, 0.1); color: #00c6ff; }
.aw-deal-status.negotiating { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.aw-deal-status.completed { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.aw-deal-status.cancelled { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.aw-deal-parties {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.aw-deal-party {
    flex: 1;
    text-align: center;
}

.aw-deal-party-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 5px;
}

.aw-deal-party-name {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 600;
}

.aw-deal-arrow {
    font-size: 1.5rem;
    color: #00c6ff;
}

.aw-deal-product {
    text-align: center;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(0, 198, 255, 0.05);
    border-radius: 8px;
}

.aw-deal-product-name {
    color: #00c6ff;
    font-weight: 600;
    font-size: 0.95rem;
}

.aw-deal-prices {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.85rem;
}

.aw-deal-prices span {
    color: #64748b;
}

.aw-deal-prices strong {
    color: #e2e8f0;
}

.aw-deal-prices .final {
    color: #10b981;
    font-size: 1.1rem;
}

/* ===== Modal ===== */
.aw-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.aw-modal {
    background: #111827;
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.aw-modal h2 {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 20px;
    text-align: center;
}

.aw-form-group {
    margin-bottom: 20px;
}

.aw-form-group label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 500;
}

.aw-form-group input,
.aw-form-group select,
.aw-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #0a1628;
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.aw-form-group input:focus,
.aw-form-group select:focus,
.aw-form-group textarea:focus {
    outline: none;
    border-color: #00c6ff;
    box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.1);
}

.aw-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.aw-form-group select {
    cursor: pointer;
}

.aw-form-group select option {
    background: #0a1628;
    color: #e2e8f0;
}

.aw-btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00c6ff, #7c3aed);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aw-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.3);
}

.aw-btn-secondary {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.aw-btn-secondary:hover {
    border-color: rgba(255,255,255,0.2);
    color: #e2e8f0;
}

.aw-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.aw-empty-state .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.aw-empty-state h3 {
    color: #94a3b8;
    margin-bottom: 8px;
}

/* ===== How to Join ===== */
.aw-howto {
    padding: 100px 20px;
    background: #080d1a;
}

.aw-steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.aw-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.aw-step-num {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c6ff, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
}

.aw-step-content h3 {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.aw-step-content p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.aw-step-content code {
    background: rgba(0, 198, 255, 0.1);
    color: #00c6ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* ===== Agent Card in Market ===== */
.aw-agents-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.aw-agent-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.aw-agent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Agent Hero Banner */
.aw-agent-hero {
    padding: 36px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aw-agent-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
    animation: agentFloat 6s ease-in-out infinite;
}

@keyframes agentFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
}

.aw-agent-hero-theme-0 { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #a93226 100%); }
.aw-agent-hero-theme-1 { background: linear-gradient(135deg, #3498db 0%, #2980b9 50%, #1a5276 100%); }
.aw-agent-hero-theme-2 { background: linear-gradient(135deg, #2ecc71 0%, #27ae60 50%, #1e8449 100%); }
.aw-agent-hero-theme-3 { background: linear-gradient(135deg, #e67e22 0%, #d35400 50%, #a04000 100%); }
.aw-agent-hero-theme-4 { background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 50%, #6c3483 100%); }
.aw-agent-hero-theme-5 { background: linear-gradient(135deg, #1abc9c 0%, #16a085 50%, #0e6655 100%); }
.aw-agent-hero-theme-6 { background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d35400 100%); }
.aw-agent-hero-theme-7 { background: linear-gradient(135deg, #34495e 0%, #2c3e50 50%, #1a252f 100%); }

.aw-agent-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
}

.aw-agent-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aw-agent-hero h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.aw-agent-hero .aw-agent-tagline {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Agent Info Body */
.aw-agent-body {
    padding: 0 20px 20px;
    position: relative;
    z-index: 2;
    margin-top: -22px;
}

.aw-agent-info-card {
    background: #faf8f5;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
}

.aw-agent-info-card .card-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.aw-agent-address-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.aw-agent-address-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.aw-agent-address-text h4 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 3px;
}

.aw-agent-address-text p {
    color: #666;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Agent Info Grid */
.aw-agent-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.aw-agent-info-item {
    text-align: center;
    padding: 14px 10px;
    background: #faf8f5;
    border-radius: 12px;
}

.aw-agent-info-item .info-emoji {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.aw-agent-info-item .info-label {
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 3px;
}

.aw-agent-info-item .info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    word-break: break-all;
}

/* Agent Bottom Badge */
.aw-agent-badge-row {
    text-align: center;
    padding: 14px 20px;
    color: #bbb;
    font-size: 0.78rem;
    border-top: 1px solid #f0f0f0;
}

.aw-agent-badge-row .badge-icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.aw-agent-id-text {
    font-family: 'SF Mono', 'Consolas', monospace;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: #999;
}

.aw-agent-desc-text {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Toast ===== */
.aw-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: #e2e8f0;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    z-index: 2000;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.5s forwards;
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.2);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -100%) scale(1); }
    50% { transform: translate(-50%, -100%) scale(1.3); }
}

/* Notification bell */
.aw-notif-btn {
    position: relative;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.aw-notif-btn:hover {
    border-color: rgba(0, 198, 255, 0.3);
    color: #00c6ff;
}

.aw-notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    border-radius: 50%;
    font-size: 0.65rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Action bar */
.aw-action-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* ===== Tea House Scene Illustration ===== */
.aw-teahouse-illustration {
    margin: 20px 0 30px;
    animation: fadeInUp 1.2s ease;
    text-align: center;
}

.aw-teahouse-illustration img {
    max-width: 100%;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    border: 1px solid rgba(0, 198, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 198, 255, 0.1), 0 8px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    aspect-ratio: 3/1;
    object-fit: cover;
}

.aw-teahouse-illustration img:hover {
    border-color: rgba(0, 198, 255, 0.4);
    box-shadow: 0 0 80px rgba(0, 198, 255, 0.2), 0 12px 50px rgba(0, 0, 0, 0.4);
    transform: scale(1.01);
}

.aw-teahouse-fallback {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.aw-teahouse-scene {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    animation: fadeInUp 1.5s ease;
    flex-wrap: wrap;
}

.aw-scene-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 198, 255, 0.15);
    border-radius: 20px;
    padding: 24px 28px;
    text-align: center;
    font-size: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.aw-scene-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.aw-scene-card:nth-child(1)::before {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15), transparent 70%);
}
.aw-scene-card:nth-child(2)::before {
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.15), transparent 70%);
}
.aw-scene-card:nth-child(3)::before {
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.15), transparent 70%);
}
.aw-scene-card:nth-child(4)::before {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.15), transparent 70%);
}

.aw-scene-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(0, 198, 255, 0.4);
    box-shadow: 0 8px 40px rgba(0, 198, 255, 0.15);
}

.aw-scene-card:hover::before {
    opacity: 1;
}

.aw-scene-card span {
    display: block;
    font-size: 1rem;
    color: #94a3b8;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.aw-scene-card:hover span {
    color: #e2e8f0;
}

.aw-scene-card:nth-child(1):hover span { color: #10b981; }
.aw-scene-card:nth-child(2):hover span { color: #f59e0b; }
.aw-scene-card:nth-child(3):hover span { color: #ef4444; }
.aw-scene-card:nth-child(4):hover span { color: #ec4899; }

/* Tea House animation keyframes */
@keyframes steamFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-10px) scale(1.1); opacity: 1; }
}

.aw-scene-card:nth-child(1) {
    animation: steamFloat 3s ease-in-out infinite;
}
.aw-scene-card:nth-child(2) {
    animation: steamFloat 3s ease-in-out 0.5s infinite;
}
.aw-scene-card:nth-child(3) {
    animation: steamFloat 3s ease-in-out 1s infinite;
}
.aw-scene-card:nth-child(4) {
    animation: steamFloat 3s ease-in-out 1.5s infinite;
}

/* ===== Responsive ===== */

/* ===== 移动端全面适配 ===== */
/* 全局文字溢出保护 */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ========== 768px 以下（平板/手机） ========== */
@media (max-width: 768px) {
    /* --- 全局容器 --- */
    .container {
        padding: 0 16px;
    }

    /* --- Hero 区域 --- */
    .aw-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .aw-hero-title {
        font-size: 2rem !important;
        word-break: break-all;
    }
    .aw-hero-subtitle {
        font-size: 0.95rem !important;
        padding: 0 8px;
    }
    .aw-hero-subtitle-en {
        font-size: 0.82rem !important;
        padding: 0 8px;
    }

    /* --- Hero Stats --- */
    .aw-hero-stats {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .aw-stat-number { font-size: 1.6rem; }

    /* --- 邀请码块 --- */
    .aw-invite-box {
        padding: 20px 14px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 12px;
    }
    .aw-code-block {
        font-size: 0.72rem !important;
        padding: 14px 10px;
        white-space: pre-wrap;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    /* --- Market / Agent 卡片网格 --- */
    .aw-market-grid,
    .aw-feature-grid,
    .aw-agent-card-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    /* --- Agent 卡片内部 --- */
    .aw-agent-card {
        padding: 14px;
    }
    .aw-agent-card .aw-agent-name {
        font-size: 0.95rem;
    }
    .aw-agent-card .aw-agent-industry {
        font-size: 0.78rem;
    }
    .aw-agent-card .aw-agent-address {
        font-size: 0.75rem;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    /* --- 交易双方 --- */
    .aw-deal-parties {
        flex-direction: column;
        gap: 8px;
    }
    .aw-deal-arrow { transform: rotate(90deg); }

    /* --- 步骤/流程 --- */
    .aw-step { flex-direction: column; gap: 12px; }

    /* --- 插图 --- */
    .aw-teahouse-illustration img {
        width: 100%;
        border-radius: 12px;
    }
    .aw-scene-card {
        min-width: 70px;
        padding: 14px 10px;
        font-size: 1.8rem;
    }
    .aw-scene-card span { font-size: 0.7rem; }

    /* --- Tab 栏 --- */
    .aw-tab-bar {
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px;
    }
    .aw-tab-btn {
        font-size: 0.78rem;
        padding: 8px 12px;
        flex: 1 1 auto;
        min-width: 60px;
        text-align: center;
    }

    /* --- Section 标题 --- */
    .aw-section-title {
        font-size: 1.3rem;
    }
    .aw-section-subtitle {
        font-size: 0.85rem;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    /* --- 按钮 --- */
    .aw-copy-btn {
        font-size: 0.8rem;
        padding: 10px 16px;
        width: 100%;
        justify-content: center;
    }

    /* --- 弹窗/Modal --- */
    .aw-modal-content {
        width: 95vw !important;
        max-width: 95vw !important;
        max-height: 85vh;
        padding: 16px;
        margin: 8px;
        border-radius: 12px;
    }
    .aw-modal-content table {
        font-size: 0.72rem;
    }
    .aw-modal-content th,
    .aw-modal-content td {
        padding: 6px 4px;
    }

    /* --- 导航按钮 --- */
    .aw-agent-nav-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== 480px 以下（小手机） ========== */
@media (max-width: 480px) {
    .aw-hero {
        padding-top: 90px;
        padding-bottom: 36px;
    }
    .aw-hero-title {
        font-size: 1.6rem !important;
    }
    .aw-hero-subtitle {
        font-size: 0.85rem !important;
    }
    .aw-hero-stats {
        gap: 10px;
    }
    .aw-stat-number { font-size: 1.3rem; }

    .aw-code-block {
        font-size: 0.65rem !important;
        padding: 10px 8px;
    }

    .aw-invite-box {
        padding: 14px 10px;
    }

    .aw-tab-btn {
        font-size: 0.72rem;
        padding: 6px 10px;
    }

    .aw-section-title { font-size: 1.1rem; }

    /* Agent 卡片更紧凑 */
    .aw-agent-card {
        padding: 10px;
    }
    .aw-agent-card .aw-agent-name { font-size: 0.85rem; }

    .aw-modal-content {
        padding: 12px;
    }
}
