        * {
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }

        .container-main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* .hero-section {
            margin-top: 40px;
            background: linear-gradient(135deg, #126082 0%, #0d4f6d 50%, #08405a 100%);
            border-radius: 24px;
            padding: 70px 40px;
            margin-bottom: 40px;
            box-shadow: 
                0 20px 60px rgba(18, 96, 130, 0.3),
                0 10px 30px rgba(8, 64, 90, 0.2);
            position: relative;
            overflow: hidden;
            text-align: center;
        } */


        /* Hero Section */
        .hero-section {
            margin-top: 40px;
            background: linear-gradient(135deg, #126082 0%, #0d4f6d 50%, #08405a 100%);
            /* background: linear-gradient(135deg, #4b64d2 0%, #0d4d66 50%, #393989 100%); */
            /* background: linear-gradient(135deg, #126082 0%, #0d4d66 50%, #2089b6 100%); */
            border-radius: 30px;
            padding: 60px 40px;
            margin-bottom: 40px;
            box-shadow: 
                0 20px 60px rgba(18, 96, 130, 0.3),
                0 10px 30px rgba(8, 64, 90, 0.2);
            position: relative;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            33% {
                transform: translate(30px, -30px) rotate(120deg);
            }
            66% {
                transform: translate(-20px, 20px) rotate(240deg);
            }
        }

        .hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .hero-title {
            color: #fff;
            font-size: 48px;
            font-weight: 800;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
            line-height: 1.2;
        }

        .hero-title i {
            color: #FFD700;
            margin-right: 15px;
            font-size: 44px;
        }

        .hero-subtitle {
            color: rgba(255, 255, 255, 0.95);
            font-size: 20px;
            margin: 0;
            font-weight: 400;
        }

        /* Input Form */
        .form-card {
            background: #fff;
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            border: none;
            position: relative;
        }

        .form-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #2089b6 100%);
            border-radius: 24px 24px 0 0;
        }

        .input-group-modern {
            display: flex;
            gap: 15px;
            margin-bottom: 0;
        }

        .input-modern {
            flex: 1;
            border: 2px solid #e9ecef;
            border-radius: 15px;
            padding: 18px 24px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        .input-modern:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
            outline: none;
            background: #fff;
        }

        .btn-check {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            border: none;
            border-radius: 15px;
            padding: 18px 40px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
            white-space: nowrap;
        }

        .btn-check:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
        }

        .btn-check:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Loading State */
        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .loading-overlay.active {
            display: flex;
        }

        .spinner {
            width: 60px;
            height: 60px;
            border: 5px solid rgba(255, 255, 255, 0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .loading-text {
            color: #fff;
            margin-top: 20px;
            font-size: 18px;
            font-weight: 600;
        }

        /* Results Section */
        .results-section {
            display: none;
            margin-top: 30px;
        }

        /* Overall Score Card */
        .overall-score-card {
            background: linear-gradient(135deg, #4b64d2 0%, #0d4d66 50%, #393989 100%);
            /* background: linear-gradient(135deg, #4b64d2 0%, #613989 100%); */
            border-radius: 24px;
            padding: 50px;
            margin-bottom: 30px;
            box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
            color: #fff;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .overall-score-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            animation: pulse 8s ease-in-out infinite;
        }

        .overall-score-content {
            position: relative;
            z-index: 1;
        }

        .score-circle {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            border: 8px solid rgba(255, 255, 255, 0.3);
            position: relative;
        }

        .score-value {
            font-size: 64px;
            font-weight: 800;
            line-height: 1;
        }

        .score-label {
            font-size: 18px;
            font-weight: 600;
            opacity: 0.9;
            margin-top: 10px;
        }

        .overall-impression {
            font-size: 20px;
            line-height: 1.6;
            margin-top: 20px;
            opacity: 0.95;
        }

         /* Section Cards */
         .sections-grid {
             display: flex;
             flex-direction: column;
             gap: 25px;
             margin-bottom: 30px;
         }

        .section-card {
            background: #fff;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .section-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .section-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            border-color: #667eea;
        }

        .section-card:hover::before {
            transform: scaleX(1);
        }

        .section-card.expanded {
            border-color: #667eea;
        }

        .section-card.expanded::before {
            transform: scaleX(1);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: 20px;
            font-weight: 700;
            color: #2d3748;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .section-title i {
            color: #667eea;
            font-size: 24px;
        }

        .section-score {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .score-badge {
            font-size: 32px;
            font-weight: 800;
            color: #2d3748;
        }

        .score-badge.excellent { color: #10b981; }
        .score-badge.good { color: #3b82f6; }
        .score-badge.fair { color: #f59e0b; }
        .score-badge.poor { color: #ef4444; }
        .score-badge.very-poor { color: #dc2626; }

        .expand-icon {
            color: #667eea;
            font-size: 20px;
            transition: transform 0.3s ease;
        }

        .section-card.expanded .expand-icon {
            transform: rotate(180deg);
        }

        .section-impression {
            color: #64748b;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .section-details {
            display: none;
            margin-top: 25px;
            padding-top: 25px;
            border-top: 2px solid #e9ecef;
        }

        .section-card.expanded .section-details {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

         .detail-item {
             background: #f8f9fa;
             padding: 15px;
             border-radius: 12px;
             border-left: 4px solid #667eea;
             cursor: pointer;
             transition: all 0.2s ease;
         }

         .detail-item:hover {
             background: #f1f5f9;
             transform: translateX(5px);
             border-left-width: 6px;
         }

         .detail-item.clickable {
             cursor: pointer;
         }

         .detail-item.clickable:hover {
             background: #e9ecef;
             border-left-color: #667eea;
         }

        .detail-label {
            font-size: 12px;
            color: #64748b;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .detail-value {
            font-size: 16px;
            font-weight: 700;
            color: #2d3748;
        }

        .checks-list {
            margin-top: 20px;
        }

        .check-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 12px;
            border-left: 4px solid #e9ecef;
            transition: all 0.2s ease;
        }

        .check-item:hover {
            background: #f1f5f9;
            border-left-color: #667eea;
        }

        .check-item.pass { border-left-color: #10b981; }
        .check-item.warn { border-left-color: #f59e0b; }
        .check-item.fail { border-left-color: #ef4444; }
        .check-item.info { border-left-color: #3b82f6; }

        .check-title {
            font-size: 16px;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .check-status {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .check-status.pass {
            background: #d1fae5;
            color: #065f46;
        }

        .check-status.warn {
            background: #fef3c7;
            color: #92400e;
        }

        .check-status.fail {
            background: #fee2e2;
            color: #991b1b;
        }

        .check-status.info {
            background: #dbeafe;
            color: #1e40af;
        }

         .check-details {
             font-size: 14px;
             color: #64748b;
             line-height: 1.5;
         }

         .expand-more-link {
             margin-top: 10px;
             color: #667eea;
             font-weight: 600;
             cursor: pointer;
             display: inline-block;
             padding: 8px 15px;
             background: #f0f4ff;
             border-radius: 8px;
             transition: all 0.2s ease;
         }

         .expand-more-link:hover {
             background: #667eea;
             color: #fff;
         }

         .all-checks-container {
             margin-top: 20px;
             padding-top: 20px;
             border-top: 2px solid #e9ecef;
         }

         .filter-buttons {
             display: flex;
             gap: 10px;
             margin-bottom: 20px;
             flex-wrap: wrap;
         }

         .filter-btn {
             padding: 8px 16px;
             border: 2px solid #e9ecef;
             background: #fff;
             border-radius: 20px;
             cursor: pointer;
             font-size: 14px;
             font-weight: 600;
             transition: all 0.2s ease;
         }

         .filter-btn:hover {
             border-color: #667eea;
             color: #667eea;
         }

         .filter-btn.active {
             background: #667eea;
             color: #fff;
             border-color: #667eea;
         }

         .data-display {
             margin-top: 15px;
             padding: 0;
             background: transparent;
         }

         .data-field {
             margin-bottom: 20px;
             padding: 16px;
             background: #fff;
             border: 1px solid #e9ecef;
             border-radius: 8px;
             border-left: 3px solid #667eea;
         }

         .data-field[data-depth="0"] { border-left-color: #667eea !important; }
         .data-field[data-depth="1"] { border-left-color: #28cae3 !important; }
         .data-field[data-depth="2"] { border-left-color: #ed903a !important; }
         .data-field[data-depth="3"] { border-left-color: #20de9e !important; }
         .data-field[data-depth="4"] { border-left-color: #f7558b !important; }
         .data-field[data-depth="5"] { border-left-color: #4685dd !important; }
         .data-field[data-depth="6"] { border-left-color: #fdf62e !important; }
         .data-field[data-depth="7"] { border-left-color: #bf4af9 !important; }
         .data-field[data-depth="8"] { border-left-color: #fcac56 !important; }

         .breadcrumb-nav {
             display: flex;
             align-items: center;
             gap: 12px;
             margin-bottom: 15px;
             padding: 10px 15px;
             background: #f8f9fa;
             border-radius: 8px;
             font-size: 13px;
             flex-wrap: wrap;
         }

         .breadcrumb-item {
             display: flex;
             align-items: center;
             gap: 8px;
         }


         .breadcrumb-link {
             color: #667eea;
             text-decoration: none;
             font-weight: 500;
             cursor: pointer;
             transition: color 0.2s ease;
         }

         .breadcrumb-link:hover {
             color: #5568d3;
             text-decoration: underline;
         }

         .breadcrumb-current {
             color: #2d3748;
             font-weight: 600;
         }

         .data-field:last-child {
             margin-bottom: 0;
         }

         .data-label {
             font-size: 14px;
             font-weight: 700;
             color: #667eea;
             text-transform: capitalize;
             margin-bottom: 10px;
             display: flex;
             align-items: center;
             gap: 8px;
             padding-bottom: 8px;
             border-bottom: 1px solid #f1f5f9;
         }

         .data-label i {
             font-size: 12px;
         }

         .data-value {
             font-size: 14px;
             color: #2d3748;
             line-height: 1.6;
             word-wrap: break-word;
         }

         .data-value pre {
             background: #f8f9fa;
             padding: 12px;
             border-radius: 6px;
             font-size: 12px;
             line-height: 1.5;
             overflow-x: auto;
             max-height: 400px;
             overflow-y: auto;
             margin: 0;
             border: 1px solid #e9ecef;
         }

         .data-table-wrapper {
             overflow-x: auto;
             margin: 15px 0;
             border-radius: 8px;
             border: 2px solid #e9ecef;
         }

         .data-table {
             width: 100%;
             border-collapse: collapse;
             background: #fff;
             font-size: 13px;
             border: 2px solid #e9ecef;
         }

         .data-table thead {
             background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
             color: #fff;
         }

         .data-table th {
             padding: 12px 15px;
             text-align: left;
             font-weight: 600;
             font-size: 12px;
             text-transform: uppercase;
             letter-spacing: 0.5px;
             border: 1px solid rgba(255, 255, 255, 0.2);
         }

         .data-table th:first-child {
             border-left: 2px solid rgba(255, 255, 255, 0.3);
         }

         .data-table th:last-child {
             border-right: 2px solid rgba(255, 255, 255, 0.3);
         }

         .data-table td {
             padding: 12px 15px;
             border: 1px solid #e9ecef;
             color: #2d3748;
             background: #fff;
             transition: background-color 0.2s ease;
         }

         .data-table tbody td:hover {
             background: #f0f4ff;
             border-color: #667eea;
         }

         .data-table tbody tr:first-child td {
             border-top: 2px solid #e9ecef;
         }

         /* ASN Geo table - wider columns for better readability */
         .asn-geo-wrapper {
             overflow-x: auto;
         }

         .asn-geo-table {
             min-width: 1200px;
             width: auto;
         }

         .asn-geo-table th,
         .asn-geo-table td {
             min-width: 120px;
             padding: 12px 20px;
             white-space: normal;
             word-wrap: break-word;
         }

         .asn-geo-table th {
             white-space: nowrap;
         }

         .object-field-grid {
             display: grid;
             grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
             gap: 12px;
             margin: 15px 0;
         }

         .object-field-item {
             background: #f8f9fa;
             padding: 12px;
             border-radius: 8px;
             border-left: 3px solid #667eea;
         }

         .field-key {
             font-size: 11px;
             color: #64748b;
             text-transform: uppercase;
             font-weight: 600;
             margin-bottom: 5px;
             letter-spacing: 0.5px;
         }

         .field-val {
             font-size: 14px;
             color: #2d3748;
             font-weight: 500;
         }

         .nested-object-group {
             background: #f8f9fa;
             border-radius: 8px;
             padding: 15px;
             margin: 15px 0;
         }

         .key-value-row {
             display: flex;
             padding: 10px 0;
             border-bottom: 1px solid #e9ecef;
         }

         .key-value-row:last-child {
             border-bottom: none;
         }

         .key-name {
             min-width: 150px;
             font-weight: 600;
             color: #667eea;
             font-size: 13px;
             text-transform: capitalize;
         }

         .key-value {
             flex: 1;
             color: #2d3748;
             font-size: 14px;
         }

         .array-group-container {
             margin: 15px 0;
         }

         .array-card-item {
             background: #fff;
             border: 1px solid #e9ecef;
             border-radius: 8px;
             padding: 15px;
             margin-bottom: 12px;
         }

         .array-card-item:last-child {
             margin-bottom: 0;
         }

         .array-card-header {
             font-size: 12px;
             font-weight: 600;
             color: #667eea;
             margin-bottom: 10px;
             text-transform: uppercase;
             letter-spacing: 0.5px;
         }

         .nested-object {
             padding-left: 20px;
             border-left: 3px solid #e9ecef;
             margin-top: 10px;
         }

         .array-group {
             background: #f8f9fa;
             border: 2px solid #e9ecef;
             border-radius: 12px;
             padding: 15px;
             margin: 10px 0;
         }

         .array-group-header {
             font-size: 13px;
             font-weight: 700;
             color: #667eea;
             text-transform: uppercase;
             margin-bottom: 12px;
             display: flex;
             align-items: center;
             gap: 8px;
         }

         .array-group-header i {
             font-size: 12px;
         }

         .array-item-card {
             background: #fff;
             border: 1px solid #e9ecef;
             border-radius: 8px;
             padding: 12px;
             margin-bottom: 10px;
         }

         .array-item-card:last-child {
             margin-bottom: 0;
         }

         .object-group {
             background: #fff;
             border: 1px solid #e9ecef;
             border-radius: 8px;
             padding: 12px;
             margin: 8px 0;
         }

         .expandable-details {
             display: none;
         }

         .expandable-details.expanded {
             display: block;
             animation: fadeIn 0.3s ease;
         }

         .expand-details-btn {
             margin-top: 10px;
             padding: 8px 16px;
             background: #667eea;
             color: #fff;
             border: none;
             border-radius: 6px;
             font-size: 13px;
             font-weight: 600;
             cursor: pointer;
             transition: all 0.2s ease;
         }

         .expand-details-btn:hover {
             background: #5568d3;
         }

        /* Error State */
        .error-card {
            background: #fff;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            text-align: center;
            border: 2px solid #fee2e2;
        }

        .error-icon {
            font-size: 64px;
            color: #ef4444;
            margin-bottom: 20px;
        }

        .error-message {
            font-size: 18px;
            color: #991b1b;
            font-weight: 600;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-section {
                padding: 40px 30px;
                margin-bottom: 30px;
            }

            .hero-title {
                font-size: 36px;
            }

            .input-group-modern {
                flex-direction: column;
            }

            .btn-check {
                width: 100%;
            }

            .sections-grid {
                grid-template-columns: 1fr;
            }

            .score-circle {
                width: 150px;
                height: 150px;
            }

            .score-value {
                font-size: 48px;
            }
        }

        /* Progress Ring for Score */
        .score-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }

        .score-ring circle {
            fill: none;
            stroke-width: 8;
            stroke-linecap: round;
            transform: rotate(-90deg);
            transform-origin: 50% 50%;
            transition: stroke-dashoffset 1s ease;
        }

        .score-ring .background {
            stroke: rgba(255, 255, 255, 0.2);
        }

        .score-ring .progress {
            stroke: #FFD700;
            stroke-dasharray: 565.48;
            stroke-dashoffset: 565.48;
        }

        .score-ring.excellent .progress { stroke: #10b981; }
        .score-ring.good .progress { stroke: #3b82f6; }
        .score-ring.fair .progress { stroke: #f59e0b; }
        .score-ring.poor .progress { stroke: #ef4444; }
        .score-ring.very-poor .progress { stroke: #dc2626; }