.ikc-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 32px;
}

.ikc-header {
    text-align: center;
    margin-bottom: 40px;
}

.ikc-header h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #1e293b, #2c7da0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.ikc-header p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
}

.ikc-tool-wrapper {
    background: white;
    border-radius: 32px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
    padding: 35px;
    margin-bottom: 50px;
}

.ikc-input-area {
    margin-bottom: 20px;
}

.ikc-url-group, .ikc-keywords-group {
    margin-bottom: 20px;
}

.ikc-url-group label, .ikc-keywords-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0f172a;
}

.ikc-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s;
}

.ikc-input:focus, .ikc-textarea:focus {
    outline: none;
    border-color: #2c7da0;
    box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.1);
}

.ikc-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    resize: vertical;
    font-family: monospace;
}

.ikc-hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

.ikc-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.ikc-select-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #475569;
}

.ikc-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
}

.ikc-check-btn {
    background: linear-gradient(135deg, #2c7da0, #1f5e7a);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ikc-check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(44, 125, 160, 0.3);
}

.ikc-loader {
    text-align: center;
    padding: 50px;
}

.ikc-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #2c7da0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ikc-summary {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 20px;
}

.ikc-summary h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.ikc-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ikc-stat-card {
    padding: 12px 20px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.ikc-stat-card strong {
    font-size: 20px;
    color: #2c7da0;
    margin-right: 6px;
}

.ikc-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.ikc-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ikc-results-table th {
    text-align: left;
    padding: 14px 12px;
    background: #f1f5f9;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
}

.ikc-results-table td {
    padding: 12px;
    border-bottom: 1px solid #eef2f6;
}

.position-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
}

.position-top3 { background: #dcfce7; color: #166534; }
.position-page1 { background: #d9f99d; color: #3f6212; }
.position-page2 { background: #fef9c3; color: #854d0e; }
.position-poor { background: #ffedd5; color: #9a3412; }
.position-not-found { background: #fee2e2; color: #991b1b; }

.change-up { color: #16a34a; }
.change-down { color: #dc2626; }
.change-neutral { color: #6b7280; }

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.guide-item {
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
}

.guide-item span {
    font-weight: bold;
    display: inline-block;
    width: 50px;
}

.guide-item.excellent { background: #dcfce7; }
.guide-item.good { background: #d9f99d; }
.guide-item.average { background: #fef9c3; }
.guide-item.poor { background: #ffedd5; }
.guide-item.not-found { background: #fee2e2; }

.ikc-disclaimer {
    background: #fff8e7;
    padding: 15px 20px;
    border-radius: 16px;
    font-size: 12px;
    color: #b76e0e;
    margin-top: 25px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.feature {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 24px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.ikc-small {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .ikc-container {
        padding: 20px 15px;
    }
    
    .ikc-header h1 {
        font-size: 1.8rem;
    }
    
    .ikc-tool-wrapper {
        padding: 20px;
    }
    
    .ikc-options {
        grid-template-columns: 1fr;
    }
}