/* =========================================================
   INFLUENT PROTOCOL - STYLESHEET (VIBRANT ORANGE & DARK CYBER THEME)
   Designed according to Client's Official "influent" Brand
   ========================================================= */

:root {
    --bg-main: #0a0c10;
    --bg-card: rgba(18, 22, 30, 0.75);
    --bg-card-hover: rgba(26, 32, 44, 0.88);
    --bg-model-card: #141923;
    --bg-model-card-hover: #1c2230;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 85, 0, 0.35);
    --border-accent: rgba(255, 120, 30, 0.45);
    
    --brand-orange: #FF5500;
    --brand-orange-light: #FF7700;
    --brand-orange-dark: #D94400;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #FF6600;
    --text-green: #14F195;
    --text-purple: #c084fc;
    --text-amber: #fbbf24;
    
    --accent-gradient: linear-gradient(135deg, #FF5500 0%, #FF8A00 50%, #FFAA00 100%);
    --solana-gradient: linear-gradient(135deg, #FF5500 0%, #9945FF 50%, #14F195 100%);
    --fire-gradient: linear-gradient(135deg, #FF3300 0%, #FF7700 100%);
    
    --font-heading: 'Cabinet Grotesk', 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 25px rgba(255, 85, 0, 0.3);
    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0c10;
}
::-webkit-scrollbar-thumb {
    background: #252e3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-orange);
}

/* Background Ambient Lighting & Matrix */
.ambient-glow {
    position: fixed;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.16;
}
.glow-top-left {
    top: -120px;
    left: -100px;
    background: #FF5500;
}
.glow-top-right {
    top: -60px;
    right: -100px;
    background: #9945FF;
}
.glow-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FF7700;
    opacity: 0.06;
}
.cyber-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Typography & Utility Classes */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-orange-text { color: var(--brand-orange); }
.sol-color { color: #14F195; }
.fire-color { color: #FF5500; }
.ai-color { color: #FF8A00; }
.text-green { color: var(--text-green); }
.text-accent { color: var(--text-accent); }
.text-muted { color: var(--text-muted); }

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}
.glass-card:hover {
    border-color: var(--border-glow);
}

/* =========================================================
   LIVE TICKER BAR
   ========================================================= */
.live-ticker-bar {
    background: rgba(12, 14, 20, 0.95);
    border-bottom: 1px solid rgba(255, 85, 0, 0.15);
    padding: 7px 0;
    overflow: hidden;
    position: relative;
    z-index: 50;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerLoop 32s linear infinite;
    gap: 3rem;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}
.ticker-item strong {
    color: #ffffff;
}
.highlight {
    color: var(--brand-orange);
    font-weight: 700;
}
.badge-live {
    background: rgba(255, 85, 0, 0.2);
    color: #FF5500;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}
.badge-accent {
    background: rgba(255, 120, 0, 0.15);
    color: #FFAA00;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}
.badge-model {
    background: rgba(168, 85, 247, 0.15);
    color: var(--text-purple);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}
@keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================================
   NAVBAR HEADER
   ========================================================= */
.navbar-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 12, 16, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.4);
    border: 1px solid rgba(255, 85, 0, 0.4);
    background: #FF5500;
}
.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brand-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-transform: lowercase;
}
.brand-dot {
    color: var(--brand-orange);
}
.brand-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: var(--brand-orange-light);
    letter-spacing: 0.08em;
    margin-top: -5px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}
.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.social-header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.social-header-icon-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 85, 0, 0.6);
    background: rgba(255, 85, 0, 0.15);
    transform: translateY(-1px);
}

.sound-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.sound-toggle-btn:hover {
    color: var(--brand-orange);
    border-color: var(--border-glow);
}

.launch-cta-btn {
    background: linear-gradient(135deg, #FF5500 0%, #FF7700 100%);
    border: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.4);
    transition: var(--transition-smooth);
}
.launch-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 85, 0, 0.65);
}
.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    animation: shimmer 4s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    30% { left: 200%; }
    100% { left: 200%; }
}

.connect-wallet-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.connect-wallet-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}
.connect-wallet-btn.connected {
    background: rgba(20, 241, 149, 0.12);
    border-color: rgba(20, 241, 149, 0.35);
    color: #14F195;
}

.wallet-wrapper {
    position: relative;
}
.wallet-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    padding: 16px;
    display: none;
    z-index: 200;
}
.wallet-dropdown.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}
.wallet-info {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.wallet-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wallet-address {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2px 0 6px;
}
.wallet-balance-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.wallet-balance-row strong {
    color: #14F195;
}
.wallet-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wallet-action-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.wallet-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.wallet-action-btn.disconnect-btn {
    color: #f87171;
}
.wallet-action-btn.disconnect-btn:hover {
    background: rgba(239, 68, 68, 0.15);
}

.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0d121c;
    border-left: 1px solid var(--border-subtle);
    z-index: 250;
    padding: 24px;
    transition: 0.3s ease;
}
.mobile-drawer.open {
    right: 0;
}
.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.drawer-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}
.mobile-nav-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
}
.mobile-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.mobile-launch-btn {
    margin-top: 15px;
    width: 100%;
    justify-content: center;
}

/* =========================================================
   MAIN CONTAINER & HERO
   ========================================================= */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    position: relative;
    z-index: 10;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    padding: 20px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid rgba(255, 85, 0, 0.35);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}
.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 10px var(--brand-orange);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}
.badge-text {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-orange-light);
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 20px;
    font-weight: 900;
}
.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 32px;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.btn-primary-glow {
    background: linear-gradient(135deg, #FF5500 0%, #FF7700 100%);
    border: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 25px rgba(255, 85, 0, 0.45);
    transition: var(--transition-smooth);
}
.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 85, 0, 0.7);
}
.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}
.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.btn-ghost:hover {
    color: #ffffff;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.stat-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 85, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--brand-orange);
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* Hero Agent Interactive Card */
.hero-agent-preview {
    padding: 24px;
    border: 1px solid rgba(255, 85, 0, 0.35);
    background: linear-gradient(180deg, rgba(26, 20, 18, 0.85) 0%, rgba(14, 16, 22, 0.95) 100%);
    position: relative;
    overflow: hidden;
}
.hero-agent-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}
.preview-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.agent-avatar-status {
    position: relative;
}
.preview-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glow);
}
.status-pulse-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #14F195;
    border: 2px solid #0a0c10;
    border-radius: 50%;
}
.agent-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.preview-agent-name {
    font-size: 1.15rem;
    font-weight: 700;
}
.preview-badge-model {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    background: rgba(255, 85, 0, 0.18);
    color: #FFAA00;
    padding: 2px 8px;
    border-radius: 4px;
}
.preview-agent-handle {
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.preview-live-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-orange);
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid rgba(255, 85, 0, 0.35);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
}
.live-blink {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-orange);
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.terminal-body {
    background: rgba(7, 9, 14, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 175px;
    margin-bottom: 20px;
}
.terminal-log {
    line-height: 1.5;
    color: var(--text-secondary);
}
.terminal-log .log-time {
    color: var(--text-muted);
}
.log-tag {
    font-weight: 700;
}
.tag-cognition { color: #FFAA00; }
.tag-action { color: #14F195; }
.tag-social { color: #FF7700; }
.tag-burn { color: #FF3300; }
.highlight-log {
    background: rgba(255, 85, 0, 0.12);
    padding: 4px 6px;
    border-radius: 4px;
}

.curve-progress-box {
    margin-bottom: 16px;
}
.curve-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 6px;
    color: var(--text-secondary);
}
.progress-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #14F195;
}
.curve-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.curve-fill {
    height: 100%;
    background: var(--solana-gradient);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.preview-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.quick-buy-btn {
    background: rgba(255, 85, 0, 0.16);
    border: 1px solid rgba(255, 85, 0, 0.45);
    color: #FF8A00;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.quick-buy-btn:hover {
    background: #FF5500;
    color: #ffffff;
}
.chat-agent-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.chat-agent-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   AGENT MODELS SECTION (Exact Match To Reference Image)
   ========================================================= */
.models-section {
    margin-bottom: 100px;
}
.section-header-box {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--brand-orange-light);
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid rgba(255, 85, 0, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* 4-column layout replicating reference screenshot */
.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.model-card {
    background: var(--bg-model-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}
.model-card:hover {
    background: var(--bg-model-card-hover);
    border-color: rgba(255, 85, 0, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.model-card.active-selected {
    background: #1e2533;
    border: 1px solid var(--brand-orange);
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.35);
}

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

.model-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.provider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}
.provider-svg-icon {
    width: 16px;
    height: 16px;
    display: block;
}
.provider-svg-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.watermark-svg-img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.06;
    transition: opacity 0.25s ease;
}
.model-card:hover .watermark-svg-img,
.model-card.active-selected .watermark-svg-img {
    opacity: 0.18;
}
.anthropic-icon { color: #d97706; }
.openai-icon { color: #10b981; }
.google-icon { color: #38bdf8; }
.xai-icon { color: #f8fafc; }
.deepseek-icon { color: #3b82f6; }
.qwen-icon { color: #8b5cf6; }
.meta-icon { color: #0284c7; }
.mistral-icon { color: #ea580c; }
.moonshot-icon { color: #f43f5e; }
.zai-icon { color: #eab308; }
.minimax-icon { color: #ec4899; }
.nvidia-icon { color: #22c55e; }

.provider-name {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.model-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.model-pricing {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #64748b;
    margin-bottom: 12px;
}

.model-paired-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}
.paired-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.paired-stats {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Watermark in background matching reference image */
.model-watermark {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 85px;
    height: 85px;
    opacity: 0.07;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}
.model-card:hover .model-watermark,
.model-card.active-selected .model-watermark {
    opacity: 0.18;
}
.wm-letter {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    color: #ffffff;
}

/* Model Selector Banner */
.model-select-banner {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 24, 34, 0.88);
    border: 1px solid rgba(255, 85, 0, 0.35);
}
.banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}
.banner-info-icon {
    color: var(--brand-orange);
    font-size: 1.2rem;
}
.btn-primary-small {
    background: linear-gradient(135deg, #FF5500 0%, #FF7700 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 3px 15px rgba(255, 85, 0, 0.35);
    transition: var(--transition-smooth);
}
.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.55);
}


/* =========================================================
   EXPLORE TRENDING AGENTS SECTION
   ========================================================= */
.explore-section {
    margin-bottom: 100px;
}
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}
.search-box {
    position: relative;
    width: 320px;
}
.glass-input-wrap input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 10px 16px 10px 38px;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition-smooth);
}
.glass-input-wrap input:focus {
    border-color: var(--brand-orange);
    background: rgba(255, 255, 255, 0.08);
}
.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.88rem;
}

.category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 30px;
}
.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.tab-btn.active {
    background: rgba(255, 85, 0, 0.16);
    border-color: rgba(255, 85, 0, 0.5);
    color: var(--brand-orange-light);
}

/* Agents Grid */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.agent-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.agent-card-header {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.agent-card-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--border-glow);
}
.agent-card-title-group {
    flex: 1;
}
.agent-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.agent-ticker-tag {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand-orange-light);
    background: rgba(255, 85, 0, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
}
.agent-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.agent-status-badge.live {
    color: #14F195;
}
.agent-status-badge.streaming {
    color: #FF8A00;
}
.agent-status-badge.quant {
    color: #c084fc;
}

.agent-display-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.agent-social-handle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.agent-lore-snippet {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.agent-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 16px;
}
.agent-mini-stat {
    text-align: center;
}
.agent-mini-stat span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.agent-mini-stat strong {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #ffffff;
}

.agent-curve-box {
    margin-bottom: 16px;
}
.agent-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.btn-card-buy {
    background: linear-gradient(135deg, #FF5500, #FF7700);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 9px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.btn-card-buy:hover {
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.5);
}
.btn-card-chat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 9px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.btn-card-chat:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}


/* =========================================================
   LIVE AGENT STUDIO & CHAT TERMINAL
   ========================================================= */
.studio-section {
    margin-bottom: 100px;
}
.studio-container {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 580px;
}

/* Left: Agent List Selector */
.studio-agent-selector {
    background: rgba(12, 15, 22, 0.88);
    border-right: 1px solid var(--border-subtle);
    padding: 18px 12px;
}
.selector-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 12px;
}
.selector-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.selector-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.selector-item:hover {
    background: rgba(255, 255, 255, 0.04);
}
.selector-item.active {
    background: rgba(255, 85, 0, 0.14);
    border: 1px solid rgba(255, 85, 0, 0.35);
}
.selector-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}
.selector-meta strong {
    display: block;
    font-size: 0.86rem;
    color: #fff;
}
.selector-meta span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Center: Main Chat & Prompt Terminal */
.studio-main {
    display: flex;
    flex-direction: column;
    background: rgba(15, 19, 28, 0.72);
}
.studio-top-bar {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 13, 20, 0.65);
}
.active-agent-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}
.active-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-glow);
}
.active-name {
    font-size: 1.05rem;
    font-weight: 700;
}
.active-sub {
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.studio-status-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.live-tag-pill {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-orange);
    background: rgba(255, 85, 0, 0.12);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
}
.live-dot {
    font-size: 0.5rem;
    animation: blink 1.2s infinite;
}
.btn-voice-preview {
    background: rgba(255, 85, 0, 0.15);
    border: 1px solid rgba(255, 85, 0, 0.35);
    color: #FFAA00;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.btn-voice-preview:hover {
    background: var(--brand-orange);
    color: #fff;
}

.studio-chat-box {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 420px;
}

.chat-msg {
    display: flex;
    gap: 12px;
    max-width: 85%;
}
.chat-msg.msg-system {
    align-self: center;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--text-muted);
}
.system-tag {
    color: var(--brand-orange);
    font-weight: 700;
    margin-right: 6px;
}

.chat-msg.msg-agent {
    align-self: flex-start;
}
.chat-msg.msg-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.msg-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}
.msg-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 16px;
}
.msg-user .msg-bubble {
    background: rgba(255, 85, 0, 0.16);
    border-color: rgba(255, 85, 0, 0.4);
}
.msg-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    font-size: 0.8rem;
}
.msg-header strong {
    color: var(--brand-orange-light);
}
.msg-user .msg-header strong {
    color: #14F195;
}
.msg-timestamp {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-family: var(--font-mono);
}
.msg-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.studio-input-form {
    padding: 14px 20px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(10, 13, 20, 0.75);
}
.input-glow-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-glow-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 12px 50px 12px 20px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}
.input-glow-wrapper input:focus {
    border-color: var(--brand-orange);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.25);
}
.studio-send-btn {
    position: absolute;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5500, #FF7700);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.studio-send-btn:hover {
    transform: scale(1.08);
}

/* Right: Action Feed Stream */
.studio-action-stream {
    background: rgba(11, 14, 21, 0.92);
    border-left: 1px solid var(--border-subtle);
    padding: 18px 16px;
    font-family: var(--font-mono);
}
.stream-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stream-log-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 480px;
}
.stream-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.76rem;
    line-height: 1.4;
}
.stream-time {
    color: var(--text-muted);
    font-size: 0.68rem;
    display: block;
    margin-bottom: 2px;
}
.stream-badge {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.stream-badge.orange { background: rgba(255, 85, 0, 0.2); color: #FF7700; }
.stream-badge.green { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.stream-badge.purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }


/* =========================================================
   TOKENOMICS & BURN SECTION
   ========================================================= */
.tokenomics-section {
    margin-bottom: 100px;
}
.tokenomics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.burn-machine-card {
    padding: 30px;
    background: linear-gradient(180deg, rgba(35, 18, 12, 0.75) 0%, rgba(18, 14, 22, 0.85) 100%);
    border: 1px solid rgba(255, 85, 0, 0.4);
}
.burn-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.flame-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 85, 0, 0.15);
    border: 1px solid rgba(255, 85, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 1.4rem;
}
.burn-title {
    font-size: 1.3rem;
}
.burn-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.burn-counter-box {
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 85, 0, 0.25);
}
.counter-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-orange);
    letter-spacing: 0.08em;
}
.counter-digits {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    margin: 6px 0;
    text-shadow: 0 0 20px rgba(255, 85, 0, 0.55);
}
.counter-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.fee-split-visual {
    display: flex;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
}
.split-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0 6px;
    text-align: center;
}
.seg-burn { background: #FF5500; }
.seg-creator { background: #0284c7; }
.seg-staking { background: #7c3aed; }

/* Staking Calculator */
.staking-calc-card {
    padding: 30px;
}
.calc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--brand-orange);
}
.calc-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.calc-input-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.input-unit-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-unit-wrap input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 90px 10px 14px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1rem;
    outline: none;
}
.unit-tag {
    position: absolute;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--brand-orange);
    font-weight: 700;
}
.glass-select {
    width: 100%;
    background: #141a26;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #fff;
    font-size: 0.88rem;
    outline: none;
}

.calc-results-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.result-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.result-row strong {
    font-family: var(--font-mono);
    font-size: 1rem;
}


/* =========================================================
   AUTONOMOUS SUITE SECTION
   ========================================================= */
.utilities-section {
    margin-bottom: 100px;
}
.utilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.util-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}
.util-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 85, 0, 0.12);
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.util-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.util-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}
.util-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-orange-light);
    background: rgba(255, 85, 0, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
}


/* =========================================================
   CTA BANNER SECTION
   ========================================================= */
.cta-banner-section {
    margin-bottom: 80px;
}
.cta-banner-card {
    padding: 50px 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.18) 0%, rgba(153, 69, 255, 0.2) 100%);
    border: 1px solid rgba(255, 85, 0, 0.4);
}
.cta-banner-content {
    max-width: 680px;
    margin: 0 auto;
}
.cta-title {
    font-size: 2.3rem;
    margin-bottom: 14px;
}
.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}
.large-cta-btn {
    font-size: 1.05rem;
    padding: 14px 34px;
}


/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: rgba(7, 9, 14, 0.96);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 24px 30px;
    position: relative;
    z-index: 10;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand-col .brand-title {
    font-size: 1.3rem;
}
.footer-bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 14px 0 20px;
    max-width: 320px;
}
.footer-socials {
    display: flex;
    gap: 10px;
}
.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.social-icon-btn:hover {
    color: var(--brand-orange);
    background: rgba(255, 85, 0, 0.15);
    border-color: rgba(255, 85, 0, 0.4);
}

.footer-links-col h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: #fff;
}
.footer-links-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}
.footer-links-col a:hover {
    color: var(--brand-orange);
    transform: translateX(3px);
}

.footer-bottom-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-chain-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    color: #14F195;
}
.badge-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #14F195;
    box-shadow: 0 0 8px #14F195;
}


/* =========================================================
   MODAL DIALOGS & CREATOR WIZARD
   ========================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-card {
    width: 100%;
    max-width: 680px;
    background: #11151f;
    border: 1px solid rgba(255, 85, 0, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.step-indicator-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin-bottom: 4px;
}
.modal-title {
    font-size: 1.25rem;
}
.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.modal-close-btn:hover {
    color: #fff;
}

.wizard-progress-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-subtle);
}
.wizard-step {
    padding: 10px 8px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
}
.wizard-step span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-right: 4px;
}
.wizard-step.active {
    color: var(--brand-orange);
    border-bottom-color: var(--brand-orange);
}
.wizard-step.active span {
    background: var(--brand-orange);
    color: #ffffff;
}

.modal-body {
    padding: 24px;
    max-height: 65vh;
    overflow-y: auto;
}

.wizard-step-content {
    display: none;
}
.wizard-step-content.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.req { color: #f87171; }
.tip-text { font-size: 0.74rem; font-weight: normal; color: var(--text-muted); }

.form-row {
    display: flex;
    gap: 16px;
}
.flex-1 { flex: 1; }

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    font-family: var(--font-body);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand-orange);
}

.input-prefix-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding-left: 12px;
}
.input-prefix-box span {
    color: var(--text-muted);
    font-weight: 700;
}
.input-prefix-box input {
    background: transparent;
    border: none;
    padding-left: 6px;
}

/* Step 2 Model Select in Wizard */
.wizard-model-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.wizard-model-option {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.wizard-model-option:hover {
    border-color: var(--brand-orange);
}
.wizard-model-option.selected {
    background: rgba(255, 85, 0, 0.15);
    border-color: var(--brand-orange);
}
.w-model-name {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}
.w-model-provider {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.capabilities-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.checkbox-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}
.checkbox-card input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--brand-orange);
}
.checkbox-card strong {
    font-size: 0.82rem;
    display: block;
    color: #fff;
}
.checkbox-card p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
}

/* Step 3 Tokenomics preview */
.tokenomics-preview-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.85rem;
}
.preview-item {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}
.bonding-sim-box {
    background: rgba(255, 85, 0, 0.08);
    border: 1px solid rgba(255, 85, 0, 0.25);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.84rem;
}
.sim-row {
    display: flex;
    justify-content: space-between;
}

/* Step 4 Review */
.launch-summary-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
}
.summary-avatar-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 14px;
}
.summary-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}
.summary-ticker {
    font-family: var(--font-mono);
    color: var(--brand-orange);
    font-weight: 700;
    margin-right: 8px;
}
.summary-model-pill {
    font-size: 0.72rem;
    background: rgba(255, 85, 0, 0.2);
    color: #FFAA00;
    padding: 2px 8px;
    border-radius: 4px;
}
.summary-details-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}
.summary-line strong {
    color: #fff;
}
.launch-confirm-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(20, 241, 149, 0.08);
    border: 1px solid rgba(20, 241, 149, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
}

.modal-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}
.footer-right {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

/* Quick Trade Modal */
.quick-trade-modal {
    max-width: 440px;
}
.trade-token-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 18px;
}
.trade-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}
.trade-input-group,
.trade-output-group {
    margin-bottom: 14px;
}
.trade-input-group label,
.trade-output-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.preset-chips {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.chip-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.chip-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.output-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: #14F195;
}
.trade-fee-breakdown {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.76rem;
    color: var(--text-muted);
}
.trade-fee-breakdown div {
    display: flex;
    justify-content: space-between;
}

/* Wallet Select Modal */
.wallet-select-modal {
    max-width: 420px;
}
.wallets-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wallet-option-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.wallet-option-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-glow);
    transform: translateX(4px);
}
.wallet-icon-purple {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ab9ff2;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.wallet-icon-orange {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f97316;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.wallet-icon-red {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ef4444;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.wallet-icon-dark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #000;
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.wallet-meta {
    flex: 1;
}
.wallet-meta strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}
.wallet-icon-teal {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #14F195 0%, #00C2FF 100%);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.instant-test-card {
    background: rgba(20, 241, 149, 0.06);
    border-color: rgba(20, 241, 149, 0.3);
}
.instant-test-card:hover {
    background: rgba(20, 241, 149, 0.12);
    border-color: #14F195;
}
.badge-devnet {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(20, 241, 149, 0.2);
    color: #14F195;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.network-badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-secondary);
}
.faucet-helper-box {
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border-subtle);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.faucet-helper-box a {
    color: #14F195;
    text-decoration: underline;
}

/* Deploy Success Modal */
.deploy-success-modal {
    max-width: 520px;
}
.success-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(20, 241, 149, 0.15);
    border: 1px solid #14F195;
    color: #14F195;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.modal-subtitle {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-top: 2px;
}
.deployed-agent-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
}
.deployed-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--brand-orange);
}
.deployed-info h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 3px;
}
.deployed-badge {
    font-size: 0.76rem;
    font-family: var(--font-mono);
    color: #14F195;
    display: flex;
    align-items: center;
    gap: 6px;
}
.deploy-meta-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.deploy-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.84rem;
}
.meta-copy-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    color: #fff;
}
.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-secondary);
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    transition: 0.2s;
}
.copy-btn:hover {
    color: #fff;
    background: rgba(255, 85, 0, 0.3);
}
.solscan-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(20, 241, 149, 0.1);
    border: 1px solid rgba(20, 241, 149, 0.4);
    color: #14F195;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.solscan-link-btn:hover {
    background: rgba(20, 241, 149, 0.2);
    border-color: #14F195;
    transform: translateY(-1px);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 500;
}
.toast-msg {
    background: #11151f;
    border: 1px solid var(--border-glow);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.86rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.3s ease;
}
.toast-msg.success { border-color: #14F195; }
.toast-msg.error { border-color: #ef4444; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* =========================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================= */
@media (max-width: 1200px) {
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .utilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 10px;
    }
    .nav-links {
        display: none;
    }
    .mobile-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .header-actions #openLaunchModalBtn {
        display: none;
    }
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .studio-container {
        grid-template-columns: 1fr;
    }
    .studio-agent-selector,
    .studio-action-stream {
        display: none;
    }
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* Top Header & Navbar Clean Compact Layout */
    .header-container {
        padding: 0 12px;
        gap: 8px;
    }
    .brand-meta .brand-tag {
        display: none;
    }
    .brand-meta .brand-title {
        font-size: 1.25rem;
    }
    .header-actions .social-header-icon-btn,
    .header-actions .sound-toggle-btn {
        display: none;
    }
    .connect-wallet-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .connect-wallet-btn i {
        font-size: 0.85rem;
    }

    /* Hero Section Polish */
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.3rem);
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-cta-group .hero-primary-btn,
    .hero-cta-group .hero-secondary-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Models & Grids */
    .models-grid {
        grid-template-columns: 1fr;
    }
    .agents-grid {
        grid-template-columns: 1fr;
    }
    .utilities-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Modals Mobile Touch-Friendly Adaptations */
    .modal-overlay {
        padding: 10px;
        align-items: flex-end;
    }
    .modal-card {
        width: 100%;
        max-height: 88vh;
        overflow-y: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .modal-header {
        padding: 16px;
    }
    .modal-body {
        padding: 16px;
    }
    .modal-footer {
        padding: 14px 16px;
        flex-direction: column;
        gap: 10px;
    }
    .modal-footer .footer-right {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .modal-footer button {
        flex: 1;
        justify-content: center;
    }
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    .wizard-progress-bar {
        padding: 12px 14px;
        gap: 6px;
    }
    .wizard-step {
        font-size: 0.75rem;
    }
    .wizard-step span {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    .capabilities-checkbox-grid,
    .wizard-model-select-grid {
        grid-template-columns: 1fr;
    }
}

