/* Modern CSS with improved design */
        :root {
            --primary-color:#274c77;
            --secondary-color: #3a0ca3;
            --accent-color: #6096ba;
            --background-color: #f8f9fa;
            --text-color: #212529;
            --light-text: #6c757d;
            --container-bg: #ffffff;
            --card-bg: #ffffff;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
            --border-radius: 12px;
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --gradient: linear-gradient(135deg,#6096ba 0%,#274c77 100%);
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --background-color: #121212;
                --text-color: #f8f9fa;
                --light-text: #adb5bd;
                --container-bg: #1e1e1e;
                --card-bg: #2d2d2d;
                --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
                --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.25);
            }
        }

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

        body {
            font-family: 'Poppins', sans-serif;
            background: url('/theme/image/background.svg') no-repeat center center fixed;
  background-size: cover;
  background-color: #f0f3fb;
            color: var(--text-color);
            line-height: 1.6;
            margin: 0;
            padding: 0;
            transition: var(--transition);
            padding-top: 70px;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }

        /* Header Styles */
        header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 0 1rem;
        }

        header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            line-height: 1.2;
        }

        header p {
            font-size: 1.1rem;
            color: var(--light-text);
            max-width: 700px;
            margin: 0 auto 1.5rem;
        }

        /* Input Section */
        .input-section {
            background: var(--container-bg);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            margin-bottom: 3rem;
            transition: var(--transition);
        }

        .input-section label {
            display: block;
            font-weight: 500;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            color: var(--text-color);
        }

        #inputText {
            width: 100%;
            min-height: 200px;
            padding: 1.5rem;
            border: 2px solid #e9ecef;
            border-radius: var(--border-radius);
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            margin-bottom: 1.5rem;
            resize: vertical;
            background: var(--container-bg);
            color: var(--text-color);
            transition: var(--transition);
        }

        #inputText:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        .btn-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .btn {
            background: var(--gradient);
            color: white;
            border: none;
            padding: 0.8rem 1.8rem;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        .btn-secondary {
            background: var(--container-bg);
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background: rgba(67, 97, 238, 0.1);
        }

        /* Results Section */
        .results {
            background: var(--container-bg);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            margin-bottom: 3rem;
            transition: var(--transition);
        }

        .results h2 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .results h2 i {
            color: var(--accent-color);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: var(--card-bg);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            text-align: center;
            transition: var(--transition);
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .stat-card h3 {
            font-size: 1rem;
            font-weight: 500;
            color: var(--light-text);
            margin-bottom: 0.5rem;
        }

        .stat-card .value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .stat-card .unit {
            font-size: 0.9rem;
            color: var(--light-text);
        }

        .detailed-results {
            margin-top: 2rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1.5rem;
            background: var(--card-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #e9ecef;
        }

        th {
            background-color: var(--primary-color);
            color: white;
            font-weight: 500;
        }

        tr:hover {
            background-color: rgba(67, 97, 238, 0.05);
        }

        /* Features Section */
        .features {
            margin-bottom: 3rem;
        }

        .section-title {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .section-title h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .section-title p {
            color: var(--light-text);
            max-width: 700px;
            margin: 0 auto;
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .card {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border-top: 4px solid var(--primary-color);
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
        }

        .card i {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }

        .card h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--text-color);
        }

        .card p {
            color: var(--light-text);
            margin-bottom: 0;
        }

        /* Use Cases Section */
        .use-cases {
            margin-bottom: 3rem;
        }

        .use-case {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            margin-bottom: 3rem;
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow);
        }

        @media (min-width: 768px) {
            .use-case {
                flex-direction: row;
                align-items: center;
            }
            
            .use-case:nth-child(even) {
                flex-direction: row-reverse;
            }
        }

        .use-case img {
            width: 100%;
            max-width: 400px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .use-case-content {
            flex: 1;
        }

        .use-case h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .use-case ul {
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .use-case li {
            margin-bottom: 0.5rem;
        }

        /* FAQ Section */
        .faq {
            margin-bottom: 3rem;
        }

        .accordion {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .accordion-item {
            border-bottom: 1px solid #e9ecef;
        }

        .accordion-item:last-child {
            border-bottom: none;
        }

        .accordion-header {
            padding: 1.5rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
        }

        .accordion-header:hover {
            background: rgba(67, 97, 238, 0.05);
        }

        .accordion-header i {
            transition: var(--transition);
        }

        .accordion-header.active i {
            transform: rotate(180deg);
        }

        .accordion-content {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

        .accordion-content-inner {
            padding: 0 0 1.5rem;
        }

        /* Testimonials */
        .testimonials {
            margin-bottom: 3rem;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .testimonial {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            position: relative;
        }

        .testimonial:before {
            content: '"';
            font-size: 5rem;
            color: rgba(67, 97, 238, 0.1);
            position: absolute;
            top: 0.5rem;
            left: 1rem;
            line-height: 1;
        }

        .testimonial p {
            font-style: italic;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .testimonial-author img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }

        .author-info h4 {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .author-info p {
            font-style: normal;
            font-size: 0.9rem;
            color: var(--light-text);
            margin-bottom: 0;
        }

        /* CTA Section */
        .cta {
            text-align: center;
            background: var(--gradient);
            padding: 4rem 2rem;
            border-radius: var(--border-radius);
            color: white;
            margin-bottom: 3rem;
        }

        .cta h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        .cta p {
            max-width: 700px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }

        .cta .btn {
            background: white;
            color: var(--primary-color);
            font-weight: 600;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 2rem 0;
            color: var(--light-text);
            font-size: 0.9rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--light-text);
            text-decoration: none;
            transition: var(--transition);
        }

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

        /* Responsive Design */
        @media (max-width: 768px) {
            header h1 {
                font-size: 2rem;
            }
            
            .section-title h2 {
                font-size: 1.7rem;
            }
            
            .stat-card .value {
                font-size: 1.7rem;
            }
            
            .btn-group {
                flex-direction: column;
                width: 100%;
            }
            
            .btn {
                width: 100%;
            }
        }

        /* Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .animated {
            animation: fadeIn 0.6s ease-out forwards;
        }

        .delay-1 { animation-delay: 0.2s; }
        .delay-2 { animation-delay: 0.4s; }
        .delay-3 { animation-delay: 0.6s; }

        .results-container {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.keyword-section {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.keyword-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.seo-tips {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #2196F3;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.error {
    color: #d32f2f;
    padding: 10px;
    background: #ffebee;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .metrics-grid, .keyword-grid {
        grid-template-columns: 1fr;
    }
}