/* BTW site chrome — topbar, navbar, mobile nav, footer, AI tools & chat
   modal. Mirrors the critical CSS the rest of the site inlines, so pages
   that link this render with the same header and footer. */
/* ===== RESET & BASE ===== */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --navy: #000080;
            --navy-dark: #000060;
            --green: #A5D549;
            --green-light: #B5E059;
            --green-glow: rgba(165, 213, 73, 0.12);
            --green-primary: #A5D549;
            --blue-bg: #F5F7FB;
            --gray-border: #E2E8F0;
            --gray-warm: #F7F8FA;
            --white: #FFFFFF;
            --text-dark: #000080;
            --text-body: #4A5568;
            --text-muted: #718096;
            --text-light: #718096;
            --font-heading: 'Roboto', sans-serif;
            --font-body: 'DM Sans', sans-serif;
            --shadow-sm: 0 1px 3px rgba(0,0,128,0.06);
            --shadow-md: 0 8px 30px rgba(0,0,128,0.08);
            --shadow-lg: 0 20px 60px rgba(0,0,128,0.10);
            --shadow-green: 0 8px 30px rgba(165,213,73,0.25);
            --radius: 16px;
            --radius-sm: 10px;
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        html { scroll-behavior: smooth; font-size: 16px; }
        body {
            font-family: var(--font-body); color: var(--text-dark);
            background: var(--white); line-height: 1.7; overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }
        img { max-width: 100%; display: block; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.25; color: var(--navy); }

        /* ===== UTILITY ===== */
        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
        .section { padding: 96px 0; }
        .section-label {
            display: inline-flex; align-items: center; gap: 10px;
            font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 2.5px; color: var(--green);
            margin-bottom: 14px;
        }
        .section-label::before { content: ''; width: 24px; height: 2px; background: var(--green); border-radius: 2px; }
        .section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; }
        .section-subtitle { font-size: 1.05rem; color: var(--text-body); max-width: 640px; line-height: 1.8; }
        .btn {
            display: inline-flex; align-items: center; gap: 10px;
            padding: 14px 30px; border-radius: 50px; font-family: var(--font-heading);
            font-weight: 600; font-size: 0.9rem; cursor: pointer; border: none;
            transition: var(--transition); white-space: nowrap;
        }
        .btn-primary { background: var(--green); color: var(--navy-dark); }
        .btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: var(--shadow-green); }
        .btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--gray-border); }
        .btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); transform: translateY(-2px); }
        .btn-sm { padding: 10px 22px; font-size: 0.82rem; }
        .btn svg { width: 16px; height: 16px; transition: var(--transition); }
        .btn:hover svg { transform: translateX(3px); }
        .learn-more {
            display: inline-flex; align-items: center; gap: 6px;
            font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--green);
        }
        .learn-more svg { width: 14px; height: 14px; transition: var(--transition); }
        .learn-more:hover svg { transform: translateX(3px); }

        /* ===== TOP BAR ===== */
        .topbar { background: var(--navy-dark); color: var(--white); font-size: 0.8rem; padding: 7px 0; }
        .topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
        .topbar a { color: rgba(255,255,255,0.7); }
        .topbar a:hover { color: var(--green); }
        .topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }

        /* ===== NAVBAR ===== */
        .navbar {
            background: var(--white); border-bottom: 1px solid var(--gray-border);
            position: sticky; top: 0; z-index: 100; transition: var(--transition);
        }
        .navbar.scrolled { box-shadow: var(--shadow-sm); }
        .navbar .container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
        .nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
        .nav-logo-img { height: 40px; width: auto; object-fit: contain; }
        .nav-brand-text { display: flex; flex-direction: column; }
        .nav-brand-text strong { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
        .nav-brand-text span { font-size: 0.68rem; color: var(--text-light); font-weight: 500; }
        .nav-links { display: flex; align-items: center; gap: 2px; }
        .nav-links a {
            padding: 8px 14px; font-size: 0.86rem; font-weight: 500; color: var(--text-body);
            border-radius: 8px; transition: var(--transition);
        }
        .nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--green-glow); }
        .nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
        .mobile-toggle {
            display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 200;
        }
        .mobile-toggle span {
            display: block; width: 22px; height: 2px; background: var(--navy);
            margin: 5px 0; transition: var(--transition); border-radius: 2px;
        }
        .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .mobile-toggle.active span:nth-child(2) { opacity: 0; }
        .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
        .mobile-nav {
            display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: var(--white); z-index: 150; padding: 100px 24px 40px;
            flex-direction: column; gap: 8px; overflow-y: auto;
        }
        .mobile-nav.open { display: flex; }
        .mobile-nav a {
            display: block; padding: 14px 18px; font-size: 1.05rem; font-weight: 500;
            color: var(--text-dark); border-radius: 12px; transition: var(--transition);
        }
        .mobile-nav a:hover { background: var(--green-glow); color: var(--navy); }
        .mobile-nav .mobile-nav-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
        .mobile-nav .mobile-nav-actions .btn { justify-content: center; }

        /* ===== ARTICLE-SPECIFIC ===== */
        .back-link {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 0.85rem; font-weight: 500; color: var(--text-body);
            padding: 8px 0; transition: var(--transition);
        }
        .back-link:hover { color: var(--green); }
        .back-link svg { width: 16px; height: 16px; }

        .article-hero { padding: 48px 0 32px; }
        .article-tag {
            display: inline-block; padding: 5px 14px; border-radius: 50px;
            font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
        }
        .article-tag.strategy { background: var(--green-glow); color: var(--green); }
        .article-hero h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; max-width: 900px; letter-spacing: -0.5px; }
        .article-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
        .article-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
        .article-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
        .article-meta-item strong { color: var(--text-dark); font-weight: 600; }
        .article-excerpt { font-size: 1.05rem; color: var(--text-body); line-height: 1.8; max-width: 800px; }

        /* BANNER IMAGE */
        .article-banner { margin: 36px 0 44px; border-radius: var(--radius); overflow: hidden; }

        /* Quick Answer Box */
        .quick-answer-box {
            background: linear-gradient(135deg, var(--green-glow) 0%, rgba(165,213,73,0.06) 100%);
            border: 1px solid var(--green); border-radius: var(--radius); padding: 28px 32px; margin: 36px 0;
            border-left: 4px solid var(--green);
        }
        .quick-answer-label {
            display: inline-flex; align-items: center; gap: 8px;
            font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 1.5px; color: var(--green); margin-bottom: 10px;
        }
        .quick-answer-box h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
        .quick-answer-box p { font-size: 0.9rem; color: var(--text-body); line-height: 1.8; }

        /* Stats Dashboard */
        .stats-dashboard { margin: 36px 0; }
        .stats-dashboard-card { background: var(--blue-bg); border-radius: var(--radius); padding: 28px 32px; border: 1px solid var(--gray-border); }
        .stats-dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .stats-dashboard-header h3 { font-size: 1.05rem; font-weight: 700; }
        .stats-dashboard-header span { font-size: 0.75rem; color: var(--text-muted); }
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
        .stat-card { background: var(--white); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; border: 1px solid var(--gray-border); transition: var(--transition); }
        .stat-card:hover { border-color: var(--green); box-shadow: var(--shadow-green); }
        .stat-icon svg { width: 24px; height: 24px; color: var(--green); }
        .stat-value { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: 8px 0 4px; }
        .stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
        .stat-bar { height: 4px; background: var(--gray-border); border-radius: 2px; margin-top: 10px; overflow: hidden; }
        .stat-bar-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--green-light)); border-radius: 2px; }
        .stats-source { margin-top: 12px; font-size: 0.72rem; color: var(--text-muted); text-align: center; }

        /* Article Body */
        .article-body { padding: 0 0 64px; }
        .article-body p { font-size: 0.95rem; color: var(--text-body); line-height: 1.9; margin-bottom: 18px; }
        .article-body h2 {
            font-size: 1.65rem; font-weight: 700; margin: 44px 0 16px; padding-top: 8px;
        }
        .article-body h3 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 12px; }
        .article-body ul { margin: 0 0 20px 24px; list-style: disc; }
        .article-body ol { margin: 0 0 20px 24px; list-style: decimal; }
        .article-body li { font-size: 0.92rem; color: var(--text-body); line-height: 1.8; margin-bottom: 6px; }
        .article-body li strong { color: var(--navy); }
        .article-body strong { color: var(--navy); }

        /* Comparison Table */
        .compare-table { width: 100%; border-collapse: collapse; margin: 28px 0; border-radius: var(--radius-sm); overflow: hidden; font-size: 0.9rem; }
        .compare-table thead { background: var(--navy); color: var(--white); }
        .compare-table th { padding: 14px 18px; text-align: left; font-family: var(--font-heading); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; }
        .compare-table td { padding: 12px 18px; border-bottom: 1px solid var(--gray-border); color: var(--text-body); }
        .compare-table tbody tr:hover { background: var(--green-glow); }
        .compare-table .highlight { background: var(--green-glow); font-weight: 600; color: var(--navy); }

        /* Step-by-step Cards */
        .step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
        .step-card {
            background: var(--blue-bg); border: 1px solid var(--gray-border); border-radius: var(--radius-sm);
            padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start;
            transition: var(--transition);
        }
        .step-card:hover { border-color: var(--green); background: var(--white); box-shadow: var(--shadow-sm); }
        .step-num {
            width: 36px; height: 36px; border-radius: 50%; background: var(--green);
            display: flex; align-items: center; justify-content: center;
            font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; color: var(--navy-dark);
            flex-shrink: 0;
        }
        .step-card h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
        .step-card p { font-size: 0.82rem; color: var(--text-body); line-height: 1.7; margin: 0; }

        /* Info Card */
        .info-card {
            background: var(--blue-bg); border-radius: var(--radius-sm); padding: 24px 28px;
            margin: 24px 0; border-left: 4px solid var(--navy);
        }
        .info-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
        .info-card p { font-size: 0.85rem; color: var(--text-body); line-height: 1.8; margin-bottom: 0; }
        .info-card.warning { border-left-color: #E53E3E; }
        .info-card.success { border-left-color: var(--green); }
        .info-card.tip { border-left-color: #3182CE; }

        /* Key Takeaways */
        .key-takeaway {
            background: var(--green-glow); border-radius: var(--radius); padding: 28px 32px; margin: 36px 0;
        }
        .key-takeaway h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
        .key-takeaway ul { margin-left: 20px; }
        .key-takeaway li { font-size: 0.88rem; margin-bottom: 6px; line-height: 1.7; }

        /* Official Links */
        .official-links { margin: 36px 0; }
        .official-links h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--navy); }
        .official-links-list { display: flex; flex-direction: column; gap: 10px; }
        .official-link-item {
            display: flex; align-items: center; gap: 12px; padding: 14px 18px;
            background: var(--blue-bg); border: 1px solid var(--gray-border); border-radius: var(--radius-sm);
            transition: var(--transition);
        }
        .official-link-item:hover { border-color: var(--green); background: var(--green-glow); }
        .official-link-item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
        .official-link-item a { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
        .official-link-item a:hover { color: var(--green); }
        .official-link-item span { font-size: 0.78rem; color: var(--text-muted); }

        /* ===== FAQ SECTION ===== */
        .faq-section { padding: 64px 0; background: var(--blue-bg); }
        .faq-section .container { max-width: 800px; }
        .faq-item {
            border: 1px solid var(--gray-border); border-radius: var(--radius-sm);
            margin-bottom: 12px; background: var(--white); overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover { border-color: var(--green); }
        .faq-question {
            width: 100%; background: none; border: none; cursor: pointer;
            display: flex; justify-content: space-between; align-items: center;
            padding: 20px 24px; text-align: left; gap: 16px;
        }
        .faq-question h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin: 0; }
        .faq-question svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; transition: transform 0.3s ease; }
        .faq-item.open .faq-question svg { transform: rotate(180deg); }
        .faq-answer {
            max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
            padding: 0 24px;
        }
        .faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
        .faq-answer p { font-size: 0.9rem; color: var(--text-body); line-height: 1.8; margin: 0; }

        /* Author Box */
        .article-author { background: var(--blue-bg); border-radius: var(--radius); padding: 28px 32px; margin-top: 40px; display: flex; gap: 20px; align-items: center; }
        .author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--green); font-family: var(--font-heading); font-weight: 800; font-size: 1rem; flex-shrink: 0; }
        .author-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
        .author-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0; }

        /* CTA Banner */
        .cta-banner {
            background: var(--green); padding: 64px 0; text-align: center; position: relative; overflow: hidden;
        }
        .cta-banner::before {
            content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
            background: rgba(255,255,255,0.1); border-radius: 50%;
        }
        .cta-banner h2 { font-size: 2rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 12px; position: relative; z-index: 2; }
        .cta-banner p { font-size: 1rem; color: rgba(0,0,96,0.6); margin-bottom: 28px; position: relative; z-index: 2; max-width: 600px; margin-left: auto; margin-right: auto; }
        .cta-buttons { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 2; flex-wrap: wrap; }

        /* ===== FOOTER ===== */
        .footer { background: var(--navy-dark); color: rgba(255,255,255,0.55); padding: 64px 0 0; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.07); }
        .footer-brand .nav-brand-text strong { color: var(--white); font-size: 1.1rem; }
        .footer-brand .nav-brand-text span { color: rgba(255,255,255,0.35); }
        .footer-brand p { margin-top: 16px; font-size: 0.85rem; line-height: 1.8; max-width: 280px; }
        .footer-socials { display: flex; gap: 10px; margin-top: 20px; }
        .footer-social {
            width: 36px; height: 36px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.08);
            display: flex; align-items: center; justify-content: center;
            transition: var(--transition); cursor: pointer;
        }
        .footer-social:hover { background: var(--green); border-color: var(--green); }
        .footer-social svg { width: 15px; height: 15px; color: rgba(255,255,255,0.45); }
        .footer-social:hover svg { color: var(--navy-dark); }
        .footer-col h4 {
            font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600;
            color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
        }
        .footer-col ul { display: flex; flex-direction: column; gap: 11px; }
        .footer-col a { font-size: 0.85rem; }
        .footer-col a:hover { color: var(--green); }
        .footer-bottom {
            display: flex; justify-content: space-between; align-items: center;
            padding: 22px 0; flex-wrap: wrap; gap: 12px;
            font-size: 0.75rem; color: rgba(255,255,255,0.25);
        }
        .footer-utility { display: flex; gap: 18px; }
        .footer-utility a { color: rgba(255,255,255,0.3); }
        .footer-utility a:hover { color: var(--green); }
        .footer-disclaimer { padding: 20px 0 24px; margin-top: 16px; border-top: 1px solid rgba(255,255,255,0.07); }
        .footer-disclaimer p { font-size: 0.75rem; line-height: 1.7; color: rgba(255,255,255,0.35); max-width: 900px; }

        /* ===== SCROLL ANIMATIONS ===== */
        .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
        .fade-up.visible { opacity: 1; transform: translateY(0); }
        .delay-1 { transition-delay: 0.08s; }
        .delay-2 { transition-delay: 0.16s; }
        .delay-3 { transition-delay: 0.24s; }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .step-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) {
            .topbar { display: none; }
            .section { padding: 64px 0; }
            .section-title { font-size: 1.9rem; }
            .section-subtitle { font-size: 0.95rem; }
            .nav-links, .nav-actions { display: none; }
            .mobile-toggle { display: block; }
            .article-hero h1 { font-size: 1.8rem; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .compare-table { font-size: 0.78rem; overflow-x: auto; display: block; }
            .compare-table th, .compare-table td { padding: 10px 12px; }
            .cta-banner h2 { font-size: 1.5rem; }
            .cta-buttons { flex-direction: column; align-items: center; }
            .cta-buttons .btn { width: 100%; max-width: 360px; justify-content: center; }
            .footer-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 480px) {
            .article-hero h1 { font-size: 1.5rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
            .stat-card { padding: 14px 10px; }
            .stat-value { font-size: 1.2rem; }
            .step-card { padding: 16px 18px; }
        }
    
        /* ===== AI TOOLS SECTION (Footer) ===== */
        .ai-tools-section { border-top: 1px solid rgba(255,255,255,0.07); padding: 40px 0 10px; }
        .ai-tools-label { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.35); text-align: center; margin-bottom: 24px; }
        .ai-tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 720px; margin: 0 auto; }
        .ai-tool-card {
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
            border-radius: 14px; padding: 24px 16px 18px; text-align: center;
            transition: all 0.3s cubic-bezier(0.4,0,0.2,1); cursor: default;
        }
        .ai-tool-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(165,213,73,0.3); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
        .ai-tool-icon { width: 32px; height: 32px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; }
        .ai-tool-icon img { width: 24px; height: 24px; object-fit: contain; } .ai-tool-icon img.ai-tool-dark { filter: brightness(0) invert(1); }
        .ai-tool-name { font-family: var(--font-heading); font-size: 0.82rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
        .ai-tool-desc { font-size: 0.7rem; color: rgba(255,255,255,0.35); line-height: 1.4; }
        @media (max-width: 768px) { .ai-tools-grid { grid-template-columns: repeat(2, 1fr); max-width: 400px; } }
        @media (max-width: 480px) { .ai-tools-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ai-tool-card { padding: 18px 12px 14px; } .ai-tool-icon { width: 28px; height: 28px; } .ai-tool-icon img { width: 20px; height: 20px; } }
        /* -- BTW ChatGPT Chat Modal -- */
        .chatgpt-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
        .chatgpt-overlay.open { display: flex; align-items: center; justify-content: center; }
        .chatgpt-modal { width: 420px; max-width: 94vw; height: 560px; max-height: 85vh; background: #0f1724; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.5); animation: chatSlideUp .25s ease-out; }
        @keyframes chatSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
        .chatgpt-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #162031; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
        .chatgpt-header img { width: 28px; height: 28px; filter: brightness(0) invert(1); border-radius: 6px; }
        .chatgpt-header-info { flex: 1; }
        .chatgpt-header-title { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: #fff; }
        .chatgpt-header-sub { font-size: 0.65rem; color: rgba(255,255,255,0.4); }
        .chatgpt-header-actions { display: flex; gap: 6px; }
        .chatgpt-header-btn { background: rgba(255,255,255,0.08); border: none; color: rgba(255,255,255,0.5); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: all .2s; }
        .chatgpt-header-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
        .chatgpt-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
        .chatgpt-messages::-webkit-scrollbar { width: 4px; }
        .chatgpt-messages::-webkit-scrollbar-track { background: transparent; }
        .chatgpt-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
        .chat-msg { display: flex; gap: 8px; max-width: 88%; animation: msgFade .2s ease-out; }
        @keyframes msgFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
        .chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
        .chat-msg-avatar { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; margin-top: 2px; }
        .chat-msg.bot .chat-msg-avatar { background: rgba(16,163,127,0.15); }
        .chat-msg.user .chat-msg-avatar { background: rgba(99,102,241,0.15); }
        .chat-msg-bubble { padding: 10px 14px; border-radius: 12px; font-size: 0.8rem; line-height: 1.55; color: rgba(255,255,255,0.88); word-wrap: break-word; }
        .chat-msg.bot .chat-msg-bubble { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); border-top-left-radius: 4px; }
        .chat-msg.user .chat-msg-bubble { background: rgba(99,102,241,0.2); border: 1px solid rgba(99,102,241,0.15); border-top-right-radius: 4px; color: #fff; }
        .chat-typing { display: flex; gap: 4px; padding: 10px 14px; }
        .chat-typing-dot { width: 6px; height: 6px; background: rgba(255,255,255,0.3); border-radius: 50%; animation: chatBounce .8s infinite; }
        .chat-typing-dot:nth-child(2) { animation-delay: .15s; }
        .chat-typing-dot:nth-child(3) { animation-delay: .3s; }
        @keyframes chatBounce { 0%,80%,100% { transform: translateY(0); opacity:.3; } 40% { transform: translateY(-4px); opacity:1; } }
        .chatgpt-input-area { padding: 12px 14px; border-top: 1px solid rgba(255,255,255,0.08); background: #162031; display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
        .chatgpt-input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 14px; color: #fff; font-size: 0.8rem; font-family: inherit; outline: none; resize: none; max-height: 80px; transition: border-color .2s; }
        .chatgpt-input::placeholder { color: rgba(255,255,255,0.3); }
        .chatgpt-input:focus { border-color: rgba(16,163,127,0.5); }
        .chatgpt-send { width: 38px; height: 38px; border-radius: 10px; border: none; background: #10a37f; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0; }
        .chatgpt-send:hover { background: #0d8c6d; transform: scale(1.05); }
        .chatgpt-send:disabled { background: rgba(255,255,255,0.08); cursor: not-allowed; transform: none; }
        .chatgpt-send svg { width: 18px; height: 18px; }
        .chatgpt-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; font-size: 0.75rem; padding: 8px 12px; border-radius: 8px; }
        .chatgpt-disclaimer { text-align: center; font-size: 0.6rem; color: rgba(255,255,255,0.25); padding: 6px 14px 10px; background: #162031; flex-shrink: 0; }
        @media (max-width: 480px) { .chatgpt-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; } .chatgpt-overlay.open { padding: 0; } }
