:root {
            --primary: #0A1628;
            --primary-light: #1E3A5F;
            --gold: #C9A962;
            --gold-light: #E8D5A3;
            --white: #FFFFFF;
            --bg-light: #F8FAFC;
            --text: #1A1A2E;
            --text-muted: #64748B;
            --shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
            --shadow-hover: 0 30px 80px rgba(10, 22, 40, 0.15);
            --gradient-gold: linear-gradient(135deg, #C9A962 0%, #E8D5A3 50%, #C9A962 100%);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Noto Sans SC', 'DM Sans', sans-serif;
            color: var(--text);
            background: var(--white);
            line-height: 1.7;
            overflow-x: hidden;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 64px;
        }

        /* Navigation */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav.scrolled {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            box-shadow: var(--shadow);
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 20px;
            font-weight: 700;
            color: var(--white);
            text-decoration: none;
            letter-spacing: -0.02em;
        }

        .nav.scrolled .nav-logo {
            color: var(--primary);
        }

        .nav-logo-icon {
            width: 40px;
            height: 40px;
            background: var(--gradient-gold);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--primary);
            font-size: 18px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 40px;
            list-style: none;
        }

        .nav-links a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav.scrolled .nav-links a {
            color: var(--text);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-cta {
            padding: 12px 28px;
            background: var(--gradient-gold);
            color: var(--primary);
            font-weight: 600;
            font-size: 15px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(201, 169, 98, 0.4);
        }

        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
        }

        .mobile-menu-btn span {
            width: 24px;
            height: 2px;
            background: var(--white);
            transition: all 0.3s ease;
        }

        .nav.scrolled .mobile-menu-btn span {
            background: var(--primary);
        }

        /* Hero Section */
        .hero {
            position: relative;
            height: 100vh;
            min-height: 700px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary);
            overflow: hidden;
        }

        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.4;
        }

        .hero-gradient {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg,
                rgba(10, 22, 40, 0.95) 0%,
                rgba(30, 58, 95, 0.85) 50%,
                rgba(10, 22, 40, 0.9) 100%);
        }

        .hero-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(rgba(201, 169, 98, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(201, 169, 98, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            animation: patternMove 20s linear infinite;
        }

        @keyframes patternMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(60px, 60px); }
        }

        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 900px;
            padding: 0 24px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            background: rgba(201, 169, 98, 0.15);
            border: 1px solid rgba(201, 169, 98, 0.3);
            border-radius: 50px;
            color: var(--gold-light);
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 32px;
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
        }

        .hero-title {
            font-size: 72px;
            font-weight: 700;
            color: var(--white);
            letter-spacing: -0.03em;
            line-height: 1.1;
            margin-bottom: 24px;
            animation: fadeInUp 0.8s ease 0.1s forwards;
            opacity: 0;
        }

        .hero-title-highlight {
            background: var(--gradient-gold);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.8;
            margin-bottom: 48px;
            animation: fadeInUp 0.8s ease 0.2s forwards;
            opacity: 0;
        }

        .hero-buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            animation: fadeInUp 0.8s ease 0.3s forwards;
            opacity: 0;
        }

        .btn-primary {
            padding: 18px 40px;
            background: var(--gradient-gold);
            color: var(--primary);
            font-weight: 600;
            font-size: 16px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(201, 169, 98, 0.4);
        }

        .btn-secondary {
            padding: 18px 40px;
            background: transparent;
            color: var(--white);
            font-weight: 600;
            font-size: 16px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--white);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 12px;
            animation: fadeInUp 0.8s ease 0.5s forwards, bounce 2s ease infinite 1.5s;
            opacity: 0;
        }

        .scroll-indicator-line {
            width: 1px;
            height: 40px;
            background: linear-gradient(to bottom, var(--gold), transparent);
        }

        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

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

        /* Section Base */
        section {
            padding: 120px 0;
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 64px;
        }

        .section-label {
            display: inline-block;
            padding: 8px 20px;
            background: rgba(201, 169, 98, 0.1);
            border: 1px solid rgba(201, 169, 98, 0.2);
            border-radius: 50px;
            color: var(--gold);
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: 48px;
            font-weight: 700;
            color: var(--text);
            letter-spacing: -0.02em;
            margin-bottom: 16px;
        }

        .section-desc {
            font-size: 18px;
            color: var(--text-muted);
            line-height: 1.8;
        }

        /* Services Section */
        .services {
            background: var(--bg-light);
        }

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

        .service-card {
            background: var(--white);
            padding: 48px 36px;
            border-radius: 16px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-gold);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(201, 169, 98, 0.3);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-icon {
            width: 64px;
            height: 64px;
            background: rgba(201, 169, 98, 0.1);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
        }

        .service-icon svg {
            width: 32px;
            height: 32px;
            stroke: var(--gold);
        }

        .service-title {
            font-size: 24px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 16px;
        }

        .service-desc {
            font-size: 16px;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 24px;
        }

        .service-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--gold);
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            transition: gap 0.3s ease;
        }

        .service-link:hover {
            gap: 12px;
        }

        .service-link svg {
            width: 20px;
            height: 20px;
        }

        /* Stats Section */
        .stats {
            background: var(--primary);
            position: relative;
            overflow: hidden;
        }

        .stats-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(circle at 2px 2px, rgba(201, 169, 98, 0.1) 1px, transparent 0);
            background-size: 40px 40px;
        }

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

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 64px;
            font-weight: 700;
            background: var(--gradient-gold);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
            margin-bottom: 8px;
        }

        .stat-unit {
            font-size: 28px;
            font-weight: 500;
        }

        .stat-label {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 8px;
        }

        /* Why Choose Section */
        .why-choose {
            background: var(--white);
        }

        .why-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }

        .why-card {
            text-align: center;
            padding: 40px 24px;
        }

        .why-icon {
            width: 80px;
            height: 80px;
            background: rgba(201, 169, 98, 0.08);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            border: 1px solid rgba(201, 169, 98, 0.15);
            transition: all 0.3s ease;
        }

        .why-card:hover .why-icon {
            background: var(--gold);
            border-color: var(--gold);
        }

        .why-icon svg {
            width: 36px;
            height: 36px;
            stroke: var(--gold);
            transition: stroke 0.3s ease;
        }

        .why-card:hover .why-icon svg {
            stroke: var(--white);
        }

        .why-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 12px;
        }

        .why-desc {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* Process Section */
        .process {
            background: var(--bg-light);
        }

        .process-timeline {
            display: flex;
            justify-content: space-between;
            position: relative;
            padding: 0 20px;
        }

        .process-timeline::before {
            content: '';
            position: absolute;
            top: 40px;
            left: 80px;
            right: 80px;
            height: 2px;
            background: linear-gradient(to right, var(--gold), rgba(201, 169, 98, 0.2));
        }

        .process-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 160px;
            position: relative;
            z-index: 1;
        }

        .process-number {
            width: 80px;
            height: 80px;
            background: var(--white);
            border: 2px solid var(--gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 700;
            color: var(--gold);
            margin-bottom: 24px;
            transition: all 0.3s ease;
        }

        .process-step:hover .process-number {
            background: var(--gold);
            color: var(--white);
            transform: scale(1.1);
        }

        .process-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
        }

        .process-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* Team Section */
        .team {
            background: var(--white);
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }

        .team-card {
            text-align: center;
        }

        .team-avatar {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            margin: 0 auto 24px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .team-avatar::before {
            content: '';
            position: absolute;
            top: 4px;
            left: 4px;
            right: 4px;
            bottom: 4px;
            background: var(--white);
            border-radius: 50%;
        }

        .team-avatar-icon {
            position: relative;
            z-index: 1;
            width: 60px;
            height: 60px;
            fill: var(--gold);
        }

        .team-name {
            font-size: 22px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
        }

        .team-role {
            font-size: 15px;
            color: var(--gold);
            margin-bottom: 12px;
        }

        .team-bio {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* Clients Section */
        .clients {
            background: var(--bg-light);
            padding: 80px 0;
        }

        .clients-label {
            text-align: center;
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 48px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .clients-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 48px;
            align-items: center;
        }

        .client-logo {
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            filter: grayscale(100%);
            opacity: 0.5;
            transition: all 0.3s ease;
        }

        .client-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

        .client-logo svg {
            height: 100%;
            width: auto;
            fill: var(--primary-light);
        }

        /* Testimonials */
        .testimonials {
            background: var(--white);
        }

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

        .testimonial-card {
            background: var(--bg-light);
            padding: 40px;
            border-radius: 16px;
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 120px;
            color: var(--gold);
            opacity: 0.15;
            font-family: Georgia, serif;
            line-height: 1;
        }

        .testimonial-text {
            font-size: 16px;
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 24px;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .testimonial-avatar {
            width: 48px;
            height: 48px;
            background: var(--gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: var(--white);
        }

        .testimonial-info h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
        }

        .testimonial-info p {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* Contact Section */
        .contact {
            background: var(--primary);
            position: relative;
            overflow: hidden;
        }

        .contact-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                radial-gradient(circle at 3px 3px, rgba(201, 169, 98, 0.08) 1px, transparent 0);
            background-size: 50px 50px;
        }

        .contact-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .contact-info {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .contact-info h2 {
            text-align: center;
        }

        .contact-info p {
            text-align: center;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .contact-detail {
            display: flex;
            align-items: center;
            gap: 16px;
            color: rgba(255, 255, 255, 0.9);
            font-size: 16px;
        }
            font-size: 48px;
            font-weight: 700;
            color: var(--white);
            letter-spacing: -0.02em;
            margin-bottom: 24px;
        }

        .contact-info p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.8;
            margin-bottom: 40px;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .contact-detail {
            display: flex;
            align-items: center;
            gap: 16px;
            color: rgba(255, 255, 255, 0.9);
            font-size: 16px;
        }

        .contact-detail-icon {
            width: 48px;
            height: 48px;
            background: rgba(201, 169, 98, 0.15);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-detail-icon svg {
            width: 24px;
            height: 24px;
            stroke: var(--gold);
        }

        .contact-form {
            background: var(--white);
            padding: 48px;
            border-radius: 20px;
        }

        .form-title {
            font-size: 24px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 32px;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: var(--text);
            margin-bottom: 8px;
        }

        .form-input {
            width: 100%;
            padding: 16px 20px;
            border: 1px solid rgba(10, 22, 40, 0.1);
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: var(--bg-light);
        }

        .form-input:focus {
            outline: none;
            border-color: var(--gold);
            background: var(--white);
            box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
        }

        .form-input::placeholder {
            color: var(--text-muted);
        }

        textarea.form-input {
            min-height: 120px;
            resize: vertical;
        }

        .form-submit {
            width: 100%;
            padding: 18px 40px;
            background: var(--gradient-gold);
            color: var(--primary);
            font-weight: 600;
            font-size: 16px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(201, 169, 98, 0.4);
        }

        /* Footer */
        .footer {
            background: var(--primary);
            padding: 60px 0 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 60px;
            margin-bottom: 48px;
        }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 15px;
            line-height: 1.8;
            margin-top: 20px;
            max-width: 300px;
        }

        .footer-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--white);
            margin-bottom: 20px;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            font-size: 15px;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--gold);
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-copyright {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
        }

        .footer-legal {
            display: flex;
            gap: 30px;
        }

        .footer-legal a {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .footer-legal a:hover {
            color: var(--white);
        }

        /* Animations */
        .fade-up {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s ease;
        }

        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 1199px) {
            .container {
                padding: 0 48px;
            }

            .hero-title {
                font-size: 56px;
            }

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

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

            .process-timeline {
                flex-wrap: wrap;
                justify-content: center;
                gap: 40px;
            }

            .process-timeline::before {
                display: none;
            }

            .contact-wrapper {
                grid-template-columns: 1fr;
                gap: 48px;
            }

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

        @media (max-width: 767px) {
            .container {
                padding: 0 24px;
            }

            section {
                padding: 80px 0;
            }

            .hero-title {
                font-size: 42px;
            }

            .hero-subtitle {
                font-size: 17px;
            }

            .hero-buttons {
                flex-direction: column;
            }

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

            .nav-links,
            .nav-cta {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .services-grid,
            .why-grid,
            .team-grid,
            .testimonials-grid {
                grid-template-columns: 1fr;
            }

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

            .stat-number {
                font-size: 48px;
            }

            .clients-grid {
                grid-template-columns: repeat(3, 1fr);
            }

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

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

            .footer-bottom {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
        }

/* ==================== */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.inland-security-footer {
  position: fixed;
  z-index: 10;
  bottom: 0;
  right: 0;
  width: fit-content;
  display: flex;
  justify-content: flex-end;
}

.tooltip-container {
  position: relative;
}

.trigger-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: transparent;
  border-radius: 8px;
  cursor: pointer;
}

.minimax-link {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 300;
  color: #adadad;
  text-decoration: none;
}

.minimax-link:visited {
  color: #adadad;
}

.minimax-link:hover {
  color: #666666;
}

.tooltip-content {
  position: absolute;
  bottom: 100%;
  right: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
  padding-bottom: 16px; /* 8px 内容间距 + 8px 用于鼠标移动的透明区域 */
  font-size: 12px;
  line-height: 17px;
  background-color: #fafafa;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #171717;
}

/* 创建透明的连接区域，让鼠标可以平滑移动到 tooltip */
.tooltip-content::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 16px;
}

.tooltip-container:hover .tooltip-content {
  display: flex;
}

.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.beian-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #171717;
}

.beian-icon {
  width: 14px;
  height: 14px;
  margin-right: 2px;
}

.underline-text {
  color: #171717;
  text-decoration: underline;
}

.underline-text:hover {
  color: #000000;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .trigger-content {
    background-color: transparent;
  }

  .minimax-link,
  .minimax-link:visited {
    color: #666666;
  }

  .minimax-link:hover {
    color: #adadad;
  }

  .tooltip-content {
    background-color: #262626;
    color: #ededed;
  }

  .beian-link,
  .underline-text {
    color: #ededed;
  }

  .underline-text:hover {
    color: #ffffff;
  }
}

/* ==================== */

#minimax-floating-ball {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 12px;
  background: #222222;
  border-radius: 12px;
  display: flex;
  align-items: center;
  color: #F8F8F8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  z-index: 9999;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

#minimax-floating-ball:hover {
  transform: translateY(-2px);
  background: #383838;
}
.minimax-ball-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.minimax-logo-wave {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg%20preserveAspectRatio%3D%27none%27%20width%3D%27100%25%27%20height%3D%27100%25%27%20overflow%3D%27visible%27%20style%3D%27display%3A%20block%3B%27%20viewBox%3D%270%200%20170.136%20138.225%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20id%3D%27Frame%202116748449%27%3E%3Cpath%20id%3D%27Subtract%27%20d%3D%27M170%20101.783C170%20105.144%20168.49%20108.327%20165.886%20110.453L134.963%20135.702C132.964%20137.334%20130.463%20138.225%20127.883%20138.225H10.4938C4.69824%20138.225%200%20133.527%200%20127.732V39.2289C0%2035.8597%201.51758%2032.6698%204.13162%2030.5442L38.5402%202.56547C40.536%200.942662%2043.0298%200.0567377%2045.602%200.0567377H159.506C165.302%200.0567377%20170%204.75498%20170%2010.5506V101.783Z%27%20fill%3D%27black%27%20style%3D%27fill%3Ablack%3Bfill-opacity%3A1%3B%27/%3E%3Cpath%20id%3D%27Subtract_2%27%20d%3D%27M149.011%2094.4632C149.011%2096.1471%20148.253%2097.7415%20146.946%2098.8043L125.893%20115.936C124.895%20116.748%20123.648%20117.191%20122.361%20117.191H24.6479C22.716%20117.191%2021.15%20115.625%2021.15%20113.693V46.1166C21.15%2044.4267%2021.9135%2042.8274%2023.2274%2041.7648L47.367%2022.2437C48.3638%2021.4376%2049.607%2020.9982%2050.8888%2020.9988L145.514%2021.0427C147.446%2021.0436%20149.011%2022.6094%20149.011%2024.5406V94.4632Z%27%20fill%3D%27white%27%20style%3D%27fill%3Awhite%3Bfill-opacity%3A1%3B%27/%3E%3Cpath%20id%3D%27Rectangle%20111142564%27%20d%3D%27M42.111%2080.8025C42.111%2077.7115%2044.6167%2075.2057%2047.7077%2075.2057H60.9999C64.0908%2075.2057%2066.5966%2077.7115%2066.5966%2080.8025V121.029H42.111V80.8025Z%27%20fill%3D%27black%27%20style%3D%27fill%3Ablack%3Bfill-opacity%3A1%3B%27/%3E%3Cpath%20id%3D%27Rectangle%20111142567%27%20d%3D%27M79.1894%2080.8025C79.1894%2077.7115%2081.6952%2075.2057%2084.7861%2075.2057H98.0783C101.169%2075.2057%20103.675%2077.7115%20103.675%2080.8025V121.029H79.1894V80.8025Z%27%20fill%3D%27black%27%20style%3D%27fill%3Ablack%3Bfill-opacity%3A1%3B%27/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 11px;
  background-color: #8FD1FF;
  border-radius: 4px;
}

.minimax-ball-text {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.minimax-close-icon {
  margin-left: 8px;
  font-size: 16px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.minimax-close-icon:hover {
  opacity: 1;
}