        /* ============================================================
           PREMIUM HNW DESIGN - Advantage Tax Law
           ============================================================ */

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            color: #e8e4db;
            background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 25%, #131d35 50%, #0f172a 75%, #0a0f1e 100%);
            background-size: 400% 400%;
            animation: gradientShift 20s ease infinite;
            line-height: 1.6;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* ============================================================
           HEADER & NAVIGATION
           ============================================================ */

        header {
            background-color: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(201, 168, 76, 0.15);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            width: 100%;
            transition: all 0.3s;
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
        }

        .header-top-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            border-bottom: 1px solid rgba(201, 168, 76, 0.1);
        }

        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 26px;
            font-weight: 700;
            letter-spacing: 0px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .logo-advantage {
            color: #ffffff;
        }

        .logo-tax {
            color: #c9a84c;
        }

        .header-nav {
            display: flex;
            gap: 50px;
            align-items: center;
        }

        .header-nav a {
            color: #e8e4db;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: color 0.3s;
        }

        .header-nav a:hover {
            color: #c9a84c;
        }

        .cta-button {
            background-color: #c9a84c;
            color: #0f172a;
            padding: 12px 24px;
            border-radius: 4px;
            text-decoration: none;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
            transition: background-color 0.3s;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
        }

        .cta-button:hover {
            background-color: #d4b85a;
        }

        .tool-nav {
            display: flex;
            gap: 0;
            border-top: 1px solid rgba(201, 168, 76, 0.1);
            padding-top: 0;
        }

        .tab-button {
            flex: 1;
            padding: 12px 20px;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            color: #8b95a8;
            cursor: pointer;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s;
        }

        .tab-button:hover {
            color: #c9a84c;
        }

        .tab-button.active {
            color: #c9a84c;
            border-bottom-color: #c9a84c;
        }

        /* Modal Styling */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background-color: #1a2744;
            padding: 40px;
            border-radius: 12px;
            border: 1px solid rgba(201, 168, 76, 0.2);
            width: 90%;
            max-width: 500px;
            position: relative;
        }

        .modal-close {
            position: absolute;
            right: 20px;
            top: 20px;
            font-size: 28px;
            font-weight: bold;
            color: #c9a84c;
            cursor: pointer;
        }

        .modal-content h2 {
            color: #c9a84c;
            margin-bottom: 24px;
            font-family: 'Playfair Display', serif;
        }

        .modal-content form {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .modal-content input,
        .modal-content textarea {
            padding: 12px;
            background: rgba(15, 23, 42, 0.8);
            border: 1px solid rgba(201, 168, 76, 0.2);
            border-radius: 6px;
            color: #e8e4db;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
        }

        .modal-content input::placeholder,
        .modal-content textarea::placeholder {
            color: #8b95a8;
        }

        .modal-content textarea {
            min-height: 120px;
            resize: vertical;
        }

        /* Float-in animation */
        .float-in {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .float-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Section card styling */
        .section-card {
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(201, 168, 76, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(10px);
            padding: 60px 40px;
            margin: 40px auto;
            max-width: 1200px;
        }

        /* Content spacing for fixed header */
        body {
            padding-top: 130px;
        }

        /* ============================================================
           TAB CONTENT
           ============================================================ */

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* ============================================================
           HOME TAB - HERO SECTION
           ============================================================ */

        .hero {
            background: linear-gradient(135deg, #0f172a 0%, #1a2744 50%, #0f172a 100%);
            padding: 80px 40px;
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 40%),
                        radial-gradient(circle at 60% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 45%);
            pointer-events: none;
            z-index: 0;
        }

        .hero > * {
            position: relative;
            z-index: 1;
        }

        .hero-left {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #c9a84c;
            width: fit-content;
            padding: 8px 16px;
            border: 1px solid rgba(201, 168, 76, 0.3);
            border-radius: 20px;
        }

        .badge-dot {
            width: 8px;
            height: 8px;
            background-color: #22c55e;
            border-radius: 50%;
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 56px;
            font-weight: 700;
            line-height: 1.2;
            color: #ffffff;
            margin: 0;
        }

        .hero h1 em {
            font-style: italic;
            color: #c9a84c;
            display: block;
        }

        .hero p {
            font-size: 18px;
            line-height: 1.8;
            color: #8b95a8;
            max-width: 500px;
        }

        .hero-cta {
            display: flex;
            gap: 16px;
            margin-top: 20px;
        }

        .btn-filled {
            background: linear-gradient(135deg, #c9a84c 0%, #d4b85a 50%, #c9a84c 100%);
            background-size: 200% 200%;
            color: #0f172a;
            padding: 16px 32px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            transition: all 0.4s;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
        }

        .btn-filled:hover {
            background-position: 100% 50%;
            box-shadow: 0 6px 25px rgba(201, 168, 76, 0.5);
            transform: translateY(-2px);
        }

        .btn-outline {
            background: none;
            color: #e8e4db;
            padding: 16px 32px;
            border: 2px solid #c9a84c;
            border-radius: 4px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            transition: all 0.3s;
            cursor: pointer;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-outline:hover {
            background-color: rgba(201, 168, 76, 0.1);
            color: #c9a84c;
        }

        .hero-right {
            display: flex;
            justify-content: center;
        }

        .attorney-card {
            background: linear-gradient(135deg, rgba(26, 39, 68, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
            border: 1px solid rgba(201, 168, 76, 0.25);
            border-radius: 12px;
            padding: 40px;
            max-width: 400px;
            display: flex;
            flex-direction: column;
            gap: 24px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(201, 168, 76, 0.1);
            transition: all 0.4s;
        }

        .attorney-card:hover {
            border-color: rgba(201, 168, 76, 0.4);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 168, 76, 0.08);
        }

        .attorney-card h3 {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            color: #ffffff;
            margin: 0;
        }

        .attorney-field {
            border-top: 1px solid rgba(201, 168, 76, 0.15);
            padding-top: 16px;
        }

        .attorney-field-label {
            font-size: 11px;
            color: #8b95a8;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .attorney-field-value {
            font-size: 15px;
            color: #e8e4db;
            line-height: 1.6;
        }

        .attorney-credential-icon {
            width: 40px;
            height: 40px;
            border: 2px solid #c9a84c;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        /* ============================================================
           STATS BAR SECTION
           ============================================================ */

        .stats-bar {
            background-color: #1a2744;
            border-top: 2px solid #c9a84c;
            padding: 60px 40px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .stats-bar-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            text-align: center;
        }

        .stat-bar-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .stat-bar-value {
            font-family: 'Playfair Display', serif;
            font-size: 48px;
            font-weight: 700;
            color: #ffffff;
        }

        .stat-bar-value.gold {
            color: #c9a84c;
        }

        .stat-bar-label {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #8b95a8;
        }

        /* ============================================================
           PRACTICE AREAS SECTION
           ============================================================ */

        .practice-areas {
            background-color: #0f172a;
            padding: 80px 40px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-subtitle {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #c9a84c;
            text-align: center;
            margin-bottom: 16px;
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            color: #ffffff;
            text-align: center;
            margin-bottom: 16px;
        }

        .section-description {
            font-size: 16px;
            color: #8b95a8;
            text-align: center;
            margin-bottom: 60px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

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

        .practice-card {
            background: rgba(26, 39, 68, 0.5);
            border: 1px solid rgba(201, 168, 76, 0.15);
            padding: 32px;
            border-radius: 8px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            gap: 16px;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .practice-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.4s;
        }

        .practice-card:hover::before {
            opacity: 1;
        }

        .practice-card:hover {
            background: rgba(26, 39, 68, 0.8);
            transform: translateY(-6px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(201, 168, 76, 0.1);
            border-color: rgba(201, 168, 76, 0.3);
        }

        .practice-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .practice-card-icon.teal {
            background-color: rgba(34, 197, 94, 0.2);
        }

        .practice-card-icon.blue {
            background-color: rgba(59, 130, 246, 0.2);
        }

        .practice-card-icon.gold {
            background-color: rgba(201, 168, 76, 0.2);
        }

        .practice-card-icon.cyan {
            background-color: rgba(34, 211, 238, 0.2);
        }

        .practice-card-icon.amber {
            background-color: rgba(251, 146, 60, 0.2);
        }

        .practice-card-icon.red {
            background-color: rgba(239, 68, 68, 0.2);
        }

        .practice-card h4 {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            color: #ffffff;
            margin: 0;
            font-weight: 700;
        }

        .practice-card p {
            font-size: 14px;
            color: #8b95a8;
            line-height: 1.7;
            margin: 0;
        }

        .practice-tag {
            display: inline-block;
            background-color: rgba(201, 168, 76, 0.15);
            color: #c9a84c;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 4px 12px;
            border-radius: 12px;
            margin-top: 8px;
            width: fit-content;
        }

        /* ============================================================
           WHY SECTION
           ============================================================ */

        .why-section {
            background-color: #0f172a;
            padding: 80px 40px;
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .why-left {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .why-left h2 {
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            color: #ffffff;
            margin: 0;
            line-height: 1.2;
        }

        .why-left h2 em {
            font-style: italic;
            color: #c9a84c;
        }

        .why-left p {
            font-size: 16px;
            color: #8b95a8;
            line-height: 1.8;
            margin: 0;
        }

        .checklist-item {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .checklist-icon {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            color: #22c55e;
            font-size: 18px;
        }

        .checklist-content h4 {
            font-size: 15px;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 4px 0;
        }

        .checklist-content p {
            font-size: 14px;
            color: #8b95a8;
            line-height: 1.6;
            margin: 0;
        }

        .why-right {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .quote-card {
            background: rgba(26, 39, 68, 0.5);
            border: 1px solid rgba(201, 168, 76, 0.15);
            border-radius: 8px;
            padding: 40px;
            position: relative;
        }

        .quote-mark {
            font-size: 48px;
            color: #c9a84c;
            margin-bottom: 16px;
            line-height: 1;
        }

        .quote-text {
            font-size: 16px;
            font-style: italic;
            color: #e8e4db;
            line-height: 1.8;
            margin: 0 0 20px 0;
        }

        .quote-attribution {
            font-size: 12px;
            font-weight: 600;
            color: #c9a84c;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0;
        }

        .stats-box-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .stat-small-box {
            background: rgba(26, 39, 68, 0.5);
            border: 1px solid rgba(201, 168, 76, 0.15);
            border-radius: 8px;
            padding: 24px;
            text-align: center;
        }

        .stat-small-box-value {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .stat-small-box-label {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #8b95a8;
        }

        /* ============================================================
           HNW SECTION
           ============================================================ */

        .hnw-section {
            background-color: #1a2744;
            padding: 80px 40px;
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .hnw-left {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .hnw-left h2 {
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            color: #ffffff;
            margin: 0;
            line-height: 1.2;
        }

        .hnw-left h2 em {
            font-style: italic;
            color: #c9a84c;
        }

        .hnw-left p {
            font-size: 16px;
            color: #8b95a8;
            line-height: 1.8;
            margin: 0;
        }

        .numbered-item {
            display: flex;
            gap: 20px;
            align-items: flex-start;
        }

        .numbered-item-num {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            font-weight: 700;
            color: #c9a84c;
            min-width: 40px;
        }

        .numbered-item-content h4 {
            font-size: 15px;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 4px 0;
        }

        .numbered-item-content p {
            font-size: 14px;
            color: #8b95a8;
            line-height: 1.6;
            margin: 0;
        }

        .hnw-right {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .feature-card {
            background: rgba(26, 39, 68, 0.5);
            border: 1px solid rgba(201, 168, 76, 0.15);
            border-radius: 8px;
            padding: 32px;
        }

        .feature-card h3 {
            font-size: 16px;
            font-style: italic;
            color: #c9a84c;
            margin: 0 0 12px 0;
            font-weight: 600;
        }

        .feature-card p {
            font-size: 14px;
            color: #8b95a8;
            line-height: 1.7;
            margin: 0;
        }

        /* ============================================================
           PROCESS SECTION
           ============================================================ */

        .process {
            background-color: #f5f3f0;
            padding: 80px 40px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .process-subtitle {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #c9a84c;
            text-align: center;
            margin-bottom: 16px;
        }

        .process-title {
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            color: #0f172a;
            text-align: center;
            margin-bottom: 16px;
        }

        .process-description {
            font-size: 16px;
            color: #565558;
            text-align: center;
            margin-bottom: 60px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            position: relative;
        }

        .process-grid::before {
            content: '';
            position: absolute;
            top: 30px;
            left: 0;
            right: 0;
            height: 2px;
            background: repeating-linear-gradient(
                90deg,
                #c9a84c 0px,
                #c9a84c 15px,
                transparent 15px,
                transparent 30px
            );
            z-index: 0;
        }

        .process-step {
            display: flex;
            flex-direction: column;
            gap: 16px;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .step-number {
            width: 60px;
            height: 60px;
            background-color: transparent;
            color: #0f172a;
            border: 2px solid #c9a84c;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            margin: 0 auto;
        }

        .process-step h4 {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            color: #0f172a;
            margin: 0;
            font-weight: 700;
        }

        .process-step p {
            font-size: 14px;
            color: #565558;
            line-height: 1.6;
        }

        /* ============================================================
           FINAL CTA SECTION
           ============================================================ */

        .final-cta {
            background-color: #1a2744;
            padding: 80px 40px;
            text-align: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .final-cta-subtitle {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #c9a84c;
            margin-bottom: 16px;
        }

        .final-cta h2 {
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            color: #ffffff;
            margin-bottom: 16px;
            font-style: italic;
        }

        .final-cta p {
            font-size: 16px;
            color: #8b95a8;
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .final-cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 24px;
        }

        .final-cta-phone {
            font-size: 16px;
            color: #8b95a8;
            letter-spacing: 1px;
        }

        /* ============================================================
           CODE & FORM LOOKUP TAB
           ============================================================ */

        .lookup-container {
            padding: 60px 40px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .search-section {
            background-color: #1a2744;
            padding: 40px;
            border-radius: 8px;
            margin-bottom: 40px;
        }

        .search-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            color: #c9a84c;
            margin-bottom: 24px;
        }

        .search-box {
            display: flex;
            gap: 12px;
        }

        #taxCodeSearch {
            flex: 1;
            padding: 16px 20px;
            background-color: #0f172a;
            border: 2px solid rgba(201, 168, 76, 0.3);
            border-radius: 4px;
            color: #e8e4db;
            font-family: 'DM Sans', sans-serif;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        #taxCodeSearch:focus {
            outline: none;
            border-color: #c9a84c;
        }

        #taxCodeSearch::placeholder {
            color: #8b95a8;
        }

        .search-btn {
            padding: 16px 32px;
            background-color: #c9a84c;
            color: #0f172a;
            border: none;
            border-radius: 4px;
            font-weight: 700;
            cursor: pointer;
            text-transform: uppercase;
            transition: background-color 0.3s;
        }

        .search-btn:hover {
            background-color: #d4b85a;
        }

        #results {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }

        .result-card {
            background: linear-gradient(135deg, rgba(26, 39, 68, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
            border: 1px solid rgba(201, 168, 76, 0.2);
            border-radius: 8px;
            padding: 24px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .result-card:hover {
            border-color: #c9a84c;
            transform: translateY(-2px);
        }

        .result-code {
            font-family: 'Courier New', monospace;
            color: #c9a84c;
            font-weight: 700;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .result-title {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            color: #ffffff;
            margin-bottom: 12px;
        }

        .result-description {
            font-size: 14px;
            color: #8b95a8;
            line-height: 1.6;
        }

        #codeDetail {
            background: linear-gradient(135deg, rgba(26, 39, 68, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
            border: 1px solid rgba(201, 168, 76, 0.2);
            border-radius: 8px;
            padding: 32px;
            margin-top: 40px;
            display: none;
        }

        #codeDetail.active {
            display: block;
        }

        .code-detail-title {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            color: #ffffff;
            margin-bottom: 16px;
        }

        .code-detail-code {
            font-family: 'Courier New', monospace;
            color: #c9a84c;
            font-size: 16px;
            margin-bottom: 24px;
        }

        .code-detail-content {
            color: #8b95a8;
            line-height: 1.8;
            font-size: 15px;
        }

        .search-result {
            background: rgba(26, 39, 68, 0.5);
            border-left: 3px solid #c9a84c;
            padding: 16px 20px;
            margin-bottom: 8px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .search-result:hover {
            background: rgba(26, 39, 68, 0.8);
            transform: translateX(4px);
        }

        /* ============================================================
           TAX COURT PORTAL TAB
           ============================================================ */

        .portal-container {
            padding: 60px 40px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .portal-title {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            color: #c9a84c;
            margin-bottom: 40px;
        }

        /* Audit Triggers */
        .triggers-section {
            margin-bottom: 60px;
        }

        .triggers-title {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            color: #ffffff;
            margin-bottom: 30px;
        }

        .trigger-cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        .trigger-card {
            background: linear-gradient(135deg, rgba(26, 39, 68, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
            border: 1px solid rgba(201, 168, 76, 0.2);
            border-radius: 8px;
            padding: 24px;
            position: relative;
        }

        .trigger-rank {
            position: absolute;
            top: -12px;
            left: 20px;
            background-color: #c9a84c;
            color: #0f172a;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
        }

        .trigger-header {
            padding-top: 20px;
            margin-bottom: 16px;
        }

        .trigger-title {
            font-size: 16px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .risk-badge {
            display: inline-block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 4px 12px;
            border-radius: 3px;
        }

        .risk-high {
            background-color: rgba(239, 68, 68, 0.2);
            color: #fca5a5;
            border: 1px solid rgba(239, 68, 68, 0.4);
        }

        .risk-medium {
            background-color: rgba(245, 158, 11, 0.2);
            color: #fcd34d;
            border: 1px solid rgba(245, 158, 11, 0.4);
        }

        .trigger-content {
            font-size: 13px;
            color: #8b95a8;
            line-height: 1.6;
            margin-bottom: 12px;
        }

        .trigger-case {
            font-size: 12px;
            color: #c9a84c;
            border-top: 1px solid rgba(201, 168, 76, 0.15);
            padding-top: 12px;
            margin-top: 12px;
            font-style: italic;
        }

        /* Cases Section */
        /* Charts & Dashboard */
        .dashboard-section {
            margin-bottom: 60px;
        }

        .dashboard-section h3 {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            color: #ffffff;
            margin-bottom: 40px;
        }

        .charts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }

        .chart-container {
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(201, 168, 76, 0.1);
            border-radius: 12px;
            padding: 24px;
            backdrop-filter: blur(10px);
        }

        .chart-container h4 {
            color: #c9a84c;
            margin-bottom: 16px;
            font-size: 15px;
            font-weight: 600;
        }

        .chart-container canvas {
            max-height: 300px;
        }

        /* Cases Filters */
        .cases-filters {
            display: flex;
            gap: 16px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .cases-filters input,
        .cases-filters select {
            flex: 1;
            min-width: 200px;
            background: rgba(26, 39, 68, 0.5);
            border: 1px solid rgba(201, 168, 76, 0.2);
            border-radius: 6px;
            padding: 10px 12px;
            color: #e8e4db;
            font-size: 14px;
        }

        .cases-filters input::placeholder {
            color: #8b95a8;
        }

        .cases-filters select option {
            background-color: #0f172a;
            color: #e8e4db;
        }

        .cases-count {
            color: #8b95a8;
            font-size: 13px;
            margin-bottom: 16px;
        }

        .case-result {
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 700;
        }

        .case-result.win {
            background: rgba(39, 174, 96, 0.2);
            color: #27ae60;
        }

        .case-result.loss {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
        }

        .case-result.mixed {
            background: rgba(243, 156, 18, 0.2);
            color: #f39c12;
        }

        .case-year {
            font-size: 12px;
            color: #8b95a8;
            margin: 0 8px;
        }

        .case-cat {
            font-size: 12px;
            color: #c9a84c;
            margin: 0 8px;
        }

        .case-detail {
            padding: 16px 20px;
            color: #8b95a8;
            font-size: 13px;
            line-height: 1.7;
            display: none;
        }

        /* legacy expanded kept for compat */

        .cases-section {
            margin-bottom: 60px;
        }

        .cases-title {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            color: #ffffff;
            margin-bottom: 30px;
        }

        .cases-accordion {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .case-item {
            background: linear-gradient(135deg, rgba(26, 39, 68, 0.65) 0%, rgba(15, 23, 42, 0.75) 100%);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            position: relative;
        }

        .case-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
            border-color: rgba(201, 168, 76, 0.35);
        }

        .case-item-inner {
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            min-height: 260px;
        }

        .case-item-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 10px;
        }

        .case-cat-pill {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            color: #c9a84c;
            background: rgba(201, 168, 76, 0.12);
            padding: 4px 10px;
            border-radius: 20px;
            white-space: nowrap;
        }

        .case-year-pill {
            font-size: 11px;
            color: #8b95a8;
            background: rgba(255, 255, 255, 0.06);
            padding: 4px 10px;
            border-radius: 20px;
            white-space: nowrap;
        }

        .case-name {
            font-weight: 700;
            color: #ffffff;
            font-size: 16px;
            line-height: 1.3;
        }

        .case-issue-text {
            font-size: 13px;
            color: #a0aec0;
            line-height: 1.5;
            flex: 1;
        }

        .case-verdict {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: 14px;
            margin-top: auto;
        }

        .case-verdict.win {
            background: rgba(39, 174, 96, 0.1);
            border: 1px solid rgba(39, 174, 96, 0.25);
        }

        .case-verdict.loss {
            background: rgba(231, 76, 60, 0.1);
            border: 1px solid rgba(231, 76, 60, 0.25);
        }

        .case-verdict.mixed {
            background: rgba(243, 156, 18, 0.1);
            border: 1px solid rgba(243, 156, 18, 0.25);
        }

        .case-verdict.pending {
            background: rgba(139, 149, 168, 0.1);
            border: 1px solid rgba(139, 149, 168, 0.25);
        }

        .case-verdict-icon {
            font-size: 20px;
            line-height: 1;
        }

        .case-verdict-label {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .case-verdict.win .case-verdict-label { color: #27ae60; }
        .case-verdict.loss .case-verdict-label { color: #e74c3c; }
        .case-verdict.mixed .case-verdict-label { color: #f39c12; }
        .case-verdict.pending .case-verdict-label { color: #8b95a8; }

        .case-court-badge {
            font-size: 10px;
            font-weight: 600;
            color: rgba(255,255,255,0.5);
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .case-amount-badge {
            font-size: 11px;
            color: #c9a84c;
            font-weight: 600;
        }

        .case-item-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 4px;
        }

        /* Expanded glass overlay for case detail */
        .case-detail-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .case-detail-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .case-detail-card {
            background: rgba(15, 23, 42, 0.92);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 24px;
            max-width: 640px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            padding: 36px;
            position: relative;
            animation: caseSlideUp 0.35s ease;
        }

        @keyframes caseSlideUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .case-detail-close {
            position: absolute;
            top: 16px; right: 16px;
            background: rgba(255,255,255,0.1);
            border: none;
            color: #fff;
            width: 32px; height: 32px;
            border-radius: 50%;
            font-size: 16px;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: background 0.2s;
        }

        .case-detail-close:hover { background: rgba(255,255,255,0.2); }

        .case-detail-name {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            color: #fff;
            margin-bottom: 8px;
        }

        .case-detail-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .case-detail-issue {
            font-size: 15px;
            color: #c9a84c;
            font-weight: 600;
            margin-bottom: 16px;
            line-height: 1.4;
        }

        .case-detail-summary {
            font-size: 14px;
            color: #a0aec0;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        @media (max-width: 1024px) {
            .cases-accordion {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .cases-accordion {
                grid-template-columns: 1fr;
            }
            .case-item-inner {
                min-height: auto;
            }
        }

        .case-meta {
            display: flex;
            gap: 16px;
            align-items: center;
            font-size: 12px;
            color: #8b95a8;
        }

        .case-badge {
            background-color: rgba(201, 168, 76, 0.15);
            color: #c9a84c;
            padding: 4px 10px;
            border-radius: 3px;
            font-weight: 600;
        }

        .case-summary {
            color: #8b95a8;
            font-size: 14px;
            line-height: 1.7;
        }

        /* ============================================================
           INSIGHTS TAB
           ============================================================ */

        .insights-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px 60px;
        }

        .insights-header {
            position: sticky;
            top: 130px;
            z-index: 50;
            background: linear-gradient(180deg, #0f172a 0%, #0f172a 85%, transparent 100%);
            padding: 30px 0 20px;
            margin-bottom: 30px;
        }

        .insights-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .insights-title {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            color: #c9a84c;
            margin: 0;
        }

        .insights-search {
            display: flex;
            gap: 12px;
            align-items: center;
            flex: 1;
            max-width: 500px;
        }

        .insights-search input {
            flex: 1;
            padding: 12px 16px;
            background: rgba(26, 39, 68, 0.6);
            border: 1px solid rgba(201, 168, 76, 0.25);
            border-radius: 6px;
            color: #e8e4db;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
        }

        .insights-search input::placeholder {
            color: #8b95a8;
        }

        .insights-search input:focus {
            outline: none;
            border-color: #c9a84c;
        }

        .insights-search select {
            padding: 12px 16px;
            background: rgba(26, 39, 68, 0.6);
            border: 1px solid rgba(201, 168, 76, 0.25);
            border-radius: 6px;
            color: #e8e4db;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
            cursor: pointer;
        }

        .insights-search select:focus {
            outline: none;
            border-color: #c9a84c;
        }

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

        .insight-card {
            background: rgba(26, 39, 68, 0.5);
            border: 1px solid rgba(201, 168, 76, 0.12);
            border-radius: 10px;
            padding: 28px;
            display: flex;
            flex-direction: column;
            transition: all 0.3s;
            cursor: pointer;
        }

        .insight-card:hover {
            border-color: rgba(201, 168, 76, 0.35);
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        }

        .insight-card-category {
            font-size: 11px;
            color: #c9a84c;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 600;
        }

        .insight-card h4 {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            color: #ffffff;
            line-height: 1.4;
            margin: 0;
        }

        .insight-card p {
            font-size: 14px;
            color: #8b95a8;
            line-height: 1.6;
            margin: 0;
            flex: 1;
        }

        .insight-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid rgba(201, 168, 76, 0.1);
        }

        .insight-card-author {
            font-size: 12px;
            color: #8b95a8;
        }

        .insight-card-read {
            font-size: 12px;
            color: #c9a84c;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .insights-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-bottom: 50px;
        }

        .insights-pagination button {
            padding: 10px 16px;
            background: rgba(26, 39, 68, 0.5);
            border: 1px solid rgba(201, 168, 76, 0.2);
            border-radius: 6px;
            color: #e8e4db;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .insights-pagination button:hover {
            border-color: #c9a84c;
            color: #c9a84c;
        }

        .insights-pagination button.active {
            background: #c9a84c;
            color: #0f172a;
            border-color: #c9a84c;
            font-weight: 700;
        }

        .insights-pagination button:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .insights-cta {
            text-align: center;
            padding: 50px 40px;
            background: rgba(26, 39, 68, 0.4);
            border: 1px solid rgba(201, 168, 76, 0.15);
            border-radius: 12px;
        }

        .insights-cta h3 {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            color: #ffffff;
            margin-bottom: 12px;
        }

        .insights-cta p {
            font-size: 16px;
            color: #8b95a8;
            margin-bottom: 24px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .insights-no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: #8b95a8;
            font-size: 16px;
        }

        /* Article Glass Overlay */
        .article-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 3000;
            background: rgba(10, 15, 30, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            align-items: center;
            justify-content: center;
            padding: 40px;
            animation: overlayFadeIn 0.3s ease;
        }

        .article-overlay.active {
            display: flex;
        }

        @keyframes overlayFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .article-overlay-card {
            background: rgba(26, 39, 68, 0.85);
            backdrop-filter: blur(40px);
            -webkit-backdrop-filter: blur(40px);
            border: 1px solid rgba(201, 168, 76, 0.25);
            border-radius: 16px;
            max-width: 800px;
            width: 100%;
            max-height: 85vh;
            overflow-y: auto;
            padding: 48px;
            position: relative;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(201, 168, 76, 0.06);
            animation: cardSlideUp 0.35s ease;
        }

        @keyframes cardSlideUp {
            from { opacity: 0; transform: translateY(30px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .article-overlay-close {
            position: absolute;
            top: 20px;
            right: 24px;
            background: none;
            border: none;
            color: #c9a84c;
            font-size: 28px;
            cursor: pointer;
            padding: 4px 8px;
            transition: color 0.3s;
            z-index: 1;
        }

        .article-overlay-close:hover {
            color: #ffffff;
        }

        .article-overlay-cat {
            font-size: 12px;
            color: #c9a84c;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .article-overlay-title {
            font-family: 'Playfair Display', serif;
            font-size: 30px;
            color: #ffffff;
            line-height: 1.3;
            margin-bottom: 8px;
        }

        .article-overlay-meta {
            font-size: 13px;
            color: #8b95a8;
            margin-bottom: 28px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(201, 168, 76, 0.15);
        }

        .article-overlay-body {
            font-size: 16px;
            color: #d4cfc4;
            line-height: 1.85;
        }

        .article-overlay-body h2 {
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            color: #c9a84c;
            margin: 32px 0 16px;
        }

        .article-overlay-body p {
            margin-bottom: 18px;
        }

        .article-overlay-body ul, .article-overlay-body ol {
            margin: 16px 0 16px 24px;
            color: #d4cfc4;
        }

        .article-overlay-body li {
            margin-bottom: 8px;
            line-height: 1.7;
        }

        .article-overlay-body .callout {
            background: rgba(201, 168, 76, 0.08);
            border-left: 3px solid #c9a84c;
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            margin: 24px 0;
        }

        .article-overlay-body .callout-label {
            font-size: 12px;
            color: #c9a84c;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .article-overlay-cta {
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid rgba(201, 168, 76, 0.15);
            text-align: center;
        }

        .article-overlay-cta p {
            color: #8b95a8;
            font-size: 15px;
            margin-bottom: 16px;
        }

        .article-overlay-iframe {
            width: 100%;
            min-height: 60vh;
            border: none;
            border-radius: 8px;
            background: #f8f5ef;
        }

        @media (max-width: 768px) {
            .article-overlay {
                padding: 16px;
            }
            .article-overlay-card {
                padding: 28px 20px;
                max-height: 90vh;
            }
            .article-overlay-title {
                font-size: 24px;
            }
        }

        @media (max-width: 1024px) {
            .insights-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .insights-grid {
                grid-template-columns: 1fr;
            }
            .insights-header-inner {
                flex-direction: column;
                align-items: stretch;
            }
            .insights-search {
                max-width: 100%;
            }
            .insights-header {
                top: 180px;
            }
        }

        /* ============================================================
           FOOTER
           ============================================================ */

        footer {
            background-color: #1a2744;
            border-top: 1px solid rgba(201, 168, 76, 0.2);
            padding: 60px 40px 30px;
            color: #8b95a8;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-logo {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .footer-logo-advantage {
            color: #ffffff;
        }

        .footer-logo-tax {
            color: #c9a84c;
        }

        .footer-description {
            font-size: 14px;
            line-height: 1.7;
            color: #8b95a8;
        }

        .footer-section h4 {
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 16px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-links a {
            color: #8b95a8;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #c9a84c;
        }

        .footer-contact {
            font-size: 13px;
            line-height: 1.8;
        }

        .footer-contact-item {
            color: #8b95a8;
        }

        .footer-contact-label {
            color: #c9a84c;
            font-weight: 600;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(201, 168, 76, 0.1);
            font-size: 13px;
            color: #8b95a8;
        }

        /* ============================================================
           CHATBOT STYLES
           ============================================================ */

        #atl-chat-btn {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 99999;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: none;
            background: linear-gradient(135deg, #1a2744 0%, #0f172a 100%);
            color: #c9a84c;
            font-size: 28px;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.25s, box-shadow 0.25s;
        }

        #atl-chat-btn:hover {
            transform: scale(1.08);
            box-shadow: 0 6px 28px rgba(201, 168, 76, 0.4);
        }

        #atl-chat-panel {
            position: fixed;
            bottom: 100px;
            right: 24px;
            z-index: 99999;
            width: 400px;
            max-width: calc(100vw - 32px);
            height: 550px;
            border-radius: 12px;
            overflow: hidden;
            display: none;
            flex-direction: column;
            background: linear-gradient(135deg, #ffffff 0%, #f8f6f1 100%);
            box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
            font-family: 'DM Sans', sans-serif;
        }

        #atl-chat-panel.open {
            display: flex;
        }

        .atl-header {
            background: linear-gradient(135deg, #1a2744 0%, #0f172a 100%);
            color: #ffffff;
            padding: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(201, 168, 76, 0.2);
        }

        .atl-header-left {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .atl-header-icon {
            font-size: 24px;
        }

        .atl-header-title {
            font-weight: 700;
            font-size: 14px;
        }

        .atl-header-sub {
            font-size: 12px;
            color: #8b95a8;
        }

        .atl-close-btn {
            background: none;
            border: none;
            color: #c9a84c;
            font-size: 24px;
            cursor: pointer;
            padding: 0;
            transition: color 0.3s;
        }

        .atl-close-btn:hover {
            color: #d4b85a;
        }

        .atl-disclaimer {
            background-color: rgba(201, 168, 76, 0.1);
            color: #c9a84c;
            padding: 10px 16px;
            font-size: 12px;
            border-bottom: 1px solid rgba(201, 168, 76, 0.2);
            line-height: 1.5;
        }

        .atl-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .atl-msg {
            display: flex;
            flex-direction: column;
            gap: 4px;
            align-items: flex-start;
        }

        .atl-msg.assistant {
            align-items: flex-start;
        }

        .atl-msg.user {
            align-items: flex-end;
        }

        .atl-msg-content {
            background-color: rgba(26, 39, 68, 0.1);
            color: #8b95a8;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 14px;
            line-height: 1.5;
            max-width: 85%;
        }

        .atl-msg.user .atl-msg-content {
            background-color: #1a2744;
            color: #ffffff;
        }

        .atl-msg-time {
            font-size: 11px;
            color: #999;
            padding: 0 12px;
        }

        .atl-typing {
            display: flex;
            gap: 4px;
            padding: 12px 16px;
            align-items: center;
        }

        .atl-typing span {
            width: 8px;
            height: 8px;
            background-color: #999;
            border-radius: 50%;
            animation: bounce 1.4s infinite;
        }

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

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

        @keyframes bounce {
            0%, 80%, 100% { opacity: 0.3; }
            40% { opacity: 1; }
        }

        .atl-quick-prompts {
            padding: 12px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            border-top: 1px solid #ddd;
        }

        .atl-quick-prompts button {
            background: linear-gradient(135deg, #f5f1eb 0%, #eae5dd 100%);
            border: 1px solid #ddd;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.3s;
            color: #2c3e50;
            font-weight: 500;
        }

        .atl-quick-prompts button:hover {
            background: linear-gradient(135deg, #c9a84c 0%, #d4b85a 100%);
            color: #0f172a;
            border-color: #c9a84c;
        }

        .atl-input-area {
            display: flex;
            gap: 8px;
            padding: 12px;
            border-top: 1px solid #ddd;
        }

        #atl-input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
            color: #2c3e50;
            background-color: #ffffff;
        }

        #atl-input:focus {
            outline: none;
            border-color: #c9a84c;
        }

        #atl-send {
            padding: 10px 16px;
            background-color: #1a2744;
            color: #c9a84c;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 700;
            transition: all 0.3s;
        }

        #atl-send:hover {
            background-color: #c9a84c;
            color: #0f172a;
        }

        #atl-send:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .atl-footer {
            padding: 8px 12px;
            font-size: 11px;
            color: #999;
            text-align: center;
            border-top: 1px solid #ddd;
        }

        .atl-footer a {
            color: #1a2744;
            text-decoration: none;
        }

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

        @media (max-width: 1024px) {
            .hero {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .why-section {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hnw-section {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .practice-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .process-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .stats-bar-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .trigger-cards {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 180px;
            }

            .header-nav {
                gap: 20px;
                font-size: 12px;
            }

            .hero {
                padding: 40px 20px;
            }

            .hero h1 {
                font-size: 36px;
            }

            .practice-grid {
                grid-template-columns: 1fr;
            }

            .process-grid {
                grid-template-columns: 1fr;
            }

            .stats-bar-grid {
                grid-template-columns: 1fr;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 28px;
            }

            .why-section h2,
            .hnw-section h2 {
                font-size: 28px;
            }

            .stats-box-row {
                flex-direction: column;
            }

            #atl-chat-panel {
                width: calc(100vw - 16px);
                bottom: 80px;
                right: 8px;
            }
        }

        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, #c9a84c, #d4b85a, #c9a84c);
            z-index: 9999;
            transition: width 0.1s;
            width: 0%;
        }
