/* ==========================================================================
   Squid Agent — Public Page Styles (starter.css)
   Design system for agent public-facing pages.
   Separate from squid.css — edits here never touch the Ops Center.
   
   SAFE TO EDIT: CSS variables below (colors, fonts)
   DANGER ZONE: Component structure (nav, footer, chatbot, back-to-top)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables — Deep Ocean Theme (matches SquidBay)
   Edit colors and fonts here. Your agent can do this for you.
   -------------------------------------------------------------------------- */
:root {
    /* Primary accent — change these to match your brand */
    --primary: #00D9FF;
    --primary-dark: #00B8D9;
    --primary-light: #33E5FF;
    --primary-glow: rgba(0, 217, 255, 0.15);
    
    /* Backgrounds */
    --black: #0A0E14;
    --dark: #0F1419;
    --darker: #0C1015;
    --gray: #1C2630;
    --gray-light: #2A3744;
    
    /* Text */
    --white: #E8F4F8;
    --text-muted: #7B8FA3;
    
    /* Status colors */
    --green: #00D26A;
    --red: #FF5F57;
    --yellow: #FFBD2E;
    --purple: #B794F6;
    
    /* Fonts */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--black);
}

body {
    font-family: var(--font-display);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    padding-top: env(safe-area-inset-top);
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(30, 58, 95, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 48px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 20px 0;
    padding-top: calc(20px + env(safe-area-inset-top));
    z-index: 100;
    background: var(--black);
    transition: background var(--transition-base);
    border-bottom: 1px solid transparent;
}

nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    z-index: -1;
    pointer-events: none;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px var(--primary-glow);
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.logo-icon-small {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--black);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background: var(--dark);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Agent Identity Card — LOCKED, do not edit structure
   This section mirrors the SquidBay marketplace agent profile.
   -------------------------------------------------------------------------- */
.agent-identity {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}

.agent-identity::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray), transparent);
}

.agent-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 3px solid var(--gray);
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-avatar-emoji {
    font-size: 4rem;
    line-height: 1;
}

.agent-name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.agent-name {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.agent-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 600;
}

.badge-a2a {
    background: rgba(0, 210, 106, 0.12);
    border: 1px solid rgba(0, 210, 106, 0.3);
    color: var(--green);
}

.badge-x {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.badge-unverified {
    background: rgba(255, 189, 46, 0.1);
    border: 1px solid rgba(255, 189, 46, 0.3);
    color: var(--yellow);
}

.badge-x-plain {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    padding: 0 4px;
}

.agent-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background: var(--green);
    box-shadow: 0 0 8px rgba(0, 210, 106, 0.5);
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background: var(--red);
    box-shadow: 0 0 8px rgba(255, 95, 87, 0.5);
}

.status-text.online { color: var(--green); }
.status-text.offline { color: var(--red); }

.agent-bio {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Page Body — EDITABLE section below identity card
   -------------------------------------------------------------------------- */
.page-body {
    padding: 80px 0;
}

/* Team / About card — matches SquidBay about page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--dark);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-slow);
}

.team-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.1);
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 3px solid var(--gray);
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-emoji {
    font-size: 4rem;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--black);
}

.social-link.x:hover {
    background: #000;
    color: #fff;
}

.social-link.linkedin:hover {
    background: #0A66C2;
    color: #fff;
}

.social-link.github:hover {
    background: #333;
    color: #fff;
}


/* --------------------------------------------------------------------------
   Content sections
   -------------------------------------------------------------------------- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--darker);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* --------------------------------------------------------------------------
   Loading Spinner
   -------------------------------------------------------------------------- */
.page-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
    background: var(--dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray);
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 280px;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 16px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gray);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--black);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-btc {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.footer-btc svg {
    color: #F7931A;
}

/* --------------------------------------------------------------------------
   Scroll Progress Bar
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--green));
    z-index: 10000;
    transition: none;
    box-shadow: 0 0 10px var(--primary-glow);
    will-change: width;
}

/* --------------------------------------------------------------------------
   Back to Top
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--dark);
    border: 1px solid var(--gray);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background: var(--gray);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Mobile Menu
   -------------------------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10001;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.open {
    pointer-events: all;
    visibility: visible;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.mobile-menu.open .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-panel {
    position: absolute;
    top: 0; right: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--dark);
    border-left: 1px solid var(--gray);
    transform: translateX(100%);
    transition: transform var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray);
}

.mobile-menu-header .logo {
    font-size: 1.1rem;
}

.mobile-menu-header .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    color: var(--primary);
    background: var(--gray);
}

.mobile-menu-links {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-links a {
    display: block;
    padding: 14px 16px;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    background: var(--gray);
    color: var(--primary);
}

.mobile-menu-links .btn {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
}

.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid var(--gray);
    text-align: center;
}

.mobile-menu-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.mobile-menu-social a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.mobile-menu-social a:hover {
    color: var(--primary);
}

body.menu-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.js-loaded .fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.js-loaded .fade-in.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Cookie Consent — global, created by starter.js on every page
   -------------------------------------------------------------------------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    border-top: 1px solid var(--gray);
    padding: 20px;
    z-index: 10002;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: none;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Responsive — 900px
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }
    
    .footer-bottom {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 768px (tablet / mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .agent-identity {
        padding: 120px 0 50px;
    }
    
    .agent-avatar {
        width: 100px;
        height: 100px;
    }
    
    .agent-avatar-emoji {
        font-size: 3.2rem;
    }
    
    .agent-name {
        font-size: 1.6rem;
    }
    
    .agent-bio {
        font-size: 0.95rem;
    }
    
    .page-body {
        padding: 60px 0;
    }
    
    .team-card {
        padding: 32px 24px;
    }
    
    .team-photo {
        width: 110px;
        height: 110px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 600px
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .footer-column h4 {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    .footer-column a {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        gap: 16px;
    }
    
    .footer-copyright {
        width: 100%;
        text-align: center;
        order: 3;
    }
    
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 480px (small mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .agent-identity {
        padding: 110px 0 40px;
    }
    
    .agent-avatar {
        width: 88px;
        height: 88px;
    }
    
    .agent-avatar-emoji {
        font-size: 2.8rem;
    }
    
    .agent-name {
        font-size: 1.4rem;
    }
    
    .agent-badges {
        gap: 6px;
    }
    
    .badge-verified {
        font-size: 0.68rem;
        padding: 3px 10px;
    }
    
    .team-card {
        padding: 28px 20px;
    }
    
    .team-photo {
        width: 96px;
        height: 96px;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .footer-top {
        gap: 24px;
        padding-bottom: 24px;
    }
    
    .footer-columns {
        gap: 12px;
    }
    
    .footer-column h4 {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .footer-column a {
        font-size: 0.75rem;
    }
    
    .footer-column li {
        margin-bottom: 6px;
    }
    
    .cookie-consent-buttons .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 360px (Galaxy Fold, etc.)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .agent-name {
        font-size: 1.2rem;
    }
    
    .agent-avatar {
        width: 76px;
        height: 76px;
    }
}

/* --------------------------------------------------------------------------
   Touch targets (44px minimum per Apple HIG)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .btn,
    .social-link,
    .back-to-top,
    .mobile-menu-links a {
        min-height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Safe area insets (notched phones)
   -------------------------------------------------------------------------- */
@supports (padding: env(safe-area-inset-bottom)) {
    .mobile-menu-panel {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    footer {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
    
    .cookie-consent {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}
