/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 a {
    color: #007bff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.tagline {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #007bff;
}

/* Share Button */
.header-actions {
    display: flex;
    align-items: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.share-icon {
    font-size: 1rem;
}

.share-text {
    font-size: 0.9rem;
}

/* Tool Selection */
.tool-selection {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.tool-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tool-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 100px;
}

.tool-tab:hover {
    border-color: #007bff;
    transform: translateY(-2px);
}

.tool-tab.active {
    border-color: #007bff;
    background: #007bff;
    color: #fff;
}

.tool-tab .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tool-tab .label {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Tool Panels */
.tool-panels {
    padding: 3rem 0;
}

.tool-panel {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.tool-panel.active {
    display: block;
}

.tool-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tool-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.tool-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Tool Interface */
.tool-interface {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Upload Area */
.upload-area {
    margin-bottom: 2rem;
}

.upload-zone {
    border: 3px dashed #007bff;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9ff;
}

.upload-zone:hover {
    border-color: #0056b3;
    background: #e6f3ff;
}

.upload-zone.dragover {
    border-color: #0056b3;
    background: #e6f3ff;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.upload-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.upload-content p {
    color: #666;
    margin-bottom: 0.5rem;
}

.file-info {
    font-size: 0.9rem;
    color: #999;
}

/* Tool Options */
.tool-options, .conversion-options, .customization-options {
    margin-bottom: 2rem;
}

.tool-options h4, .conversion-options h4 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

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

.option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.option:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.option input[type="checkbox"] {
    margin: 0;
}

/* Format Grid */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.format-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.format-option:hover {
    border-color: #007bff;
}

.format-option input[type="radio"]:checked + .format-label {
    color: #007bff;
    font-weight: 600;
}

/* Input Areas */
.text-input-area, .url-input-area {
    margin-bottom: 2rem;
}

.text-input-area label, .url-input-area label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.text-input-area input, .url-input-area input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.text-input-area input:focus, .url-input-area input:focus {
    outline: none;
    border-color: #007bff;
}

/* Customization Options */
.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.option-group select, .option-group input[type="color"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.option-group input[type="color"] {
    height: 50px;
    cursor: pointer;
}

/* Buttons */
.generate-btn, .convert-btn, .create-btn, .check-btn, .download-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.generate-btn:hover, .convert-btn:hover, .create-btn:hover, .check-btn:hover, .download-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.generate-btn:disabled, .convert-btn:disabled, .create-btn:disabled, .check-btn:disabled, .download-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Results Area */
.results-area {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.results-area h3 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

/* Recent Results */
.recent-results {
    padding: 3rem 0;
    background: #fff;
}

.recent-results h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 2rem;
}

.recent-results p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* SEO Content Section */
.seo-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.content-section {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-section p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-list li strong {
    color: #007bff;
}

/* User Types */
.user-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.user-type {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.user-type h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.user-type p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.advantage h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.advantage p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Steps Guide */
.steps-guide {
    margin-top: 2rem;
}

.step {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.step h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.step ul {
    color: #666;
    padding-left: 1.5rem;
}

.step ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* FAQ Styles */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #28a745;
}

.faq-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.faq-item p {
    color: #666;
    line-height: 1.4;
    margin: 0;
    font-size: 0.95rem;
}

/* Formats Guide */
.formats-guide {
    margin-top: 2rem;
}

.format-section, .sizes-section {
    margin-bottom: 3rem;
}

.format-section h3, .sizes-section h3 {
    color: #007bff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.format-list, .sizes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.format-item, .size-category {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.format-item h4, .size-category h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.format-item p, .size-category ul {
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

.size-category ul {
    padding-left: 1.5rem;
}

.size-category ul li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Formats Guide */
.formats-guide {
    margin-top: 2rem;
}

.format-section, .sizes-section {
    margin-bottom: 3rem;
}

.format-section h3, .sizes-section h3 {
    color: #007bff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.format-list, .sizes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.format-item, .size-category {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.format-item h4, .size-category h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.format-item p, .size-category ul {
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

.size-category ul {
    padding-left: 1.5rem;
}

.size-category ul li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* FAQ Styles */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #28a745;
}

.faq-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.faq-item p {
    color: #666;
    line-height: 1.4;
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Generator Page Specific Styles */
.hero-tool {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.format-options {
    margin-top: 2rem;
}

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

.format-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.format-option:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.format-option input[type="checkbox"]:checked + span {
    color: #007bff;
    font-weight: 600;
}

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

.favicon-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.favicon-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favicon-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1rem;
}

.favicon-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.generation-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.generation-summary p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Download Options */
.download-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.download-btn.primary {
    background: #007bff;
    color: #fff;
}

.download-btn.secondary {
    background: #6c757d;
    color: #fff;
}

/* HTML Code Section */
.html-code {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.html-code h4 {
    margin-bottom: 1rem;
    color: #333;
}

.html-code pre {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.html-code code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}

.copy-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #218838;
}

/* Recent Generations */
.recent-generations {
    margin-top: 3rem;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.recent-generations h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.generation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.generation-item:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.generation-icon {
    flex-shrink: 0;
}

.generation-info h4 {
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.generation-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.generation-info small {
    color: #999;
    font-size: 0.8rem;
}

/* Sizes Table */
.sizes-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.size-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.size-item h4 {
    color: #007bff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.size-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Best Practices */
.best-practices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.practice {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.practice h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.practice ul {
    color: #666;
    padding-left: 1.5rem;
}

.practice ul li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Converter Page Specific Styles */
.format-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    text-align: center;
}

.format-option:hover {
    border-color: #007bff;
    background: #f8f9ff;
    transform: translateY(-2px);
}

.format-option input[type="radio"]:checked + .format-label {
    color: #007bff;
}

.format-option input[type="radio"]:checked + .format-label .format-name {
    font-weight: 700;
}

.format-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.format-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.format-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.format-desc {
    font-size: 0.85rem;
    color: #666;
}

/* Size Options */
.size-options {
    margin-top: 2rem;
}

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

.size-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    text-align: center;
}

.size-option:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.size-option input[type="radio"]:checked + span {
    color: #007bff;
    font-weight: 600;
}

/* Conversion Result */
.conversion-result {
    text-align: center;
}

.conversion-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.format-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.format-box.from .format-icon {
    background: #6c757d;
}

.format-box.to .format-icon {
    background: #28a745;
}

.format-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.conversion-arrow {
    font-size: 2rem;
    color: #007bff;
    font-weight: bold;
}

.conversion-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.conversion-details h4 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

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

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.detail-item .label {
    font-weight: 600;
    color: #666;
}

.detail-item .value {
    color: #333;
    font-weight: 500;
}

.detail-item .value.success {
    color: #28a745;
}

/* Recent Conversions */
.recent-conversions {
    margin-top: 3rem;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.recent-conversions h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.conversion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.conversion-item:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.conversion-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.format-from, .format-to {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
}

.format-from {
    background: #6c757d;
}

.format-to {
    background: #28a745;
}

.arrow {
    color: #007bff;
    font-weight: bold;
    font-size: 0.8rem;
}

.conversion-info h4 {
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.conversion-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.conversion-info small {
    color: #999;
    font-size: 0.8rem;
}

/* Formats Grid */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.format-info {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.format-info h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.format-info p {
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Conversions List */
.conversions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.conversion-type {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.conversion-type:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.conversion-type h3 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.conversion-type p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Maker Page Specific Styles */
.maker-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.preview-section, .controls-section {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.preview-section h3, .controls-section h3 {
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    font-size: 1.3rem;
}

/* Preview Container */
.preview-container {
    text-align: center;
}

.favicon-preview {
    margin-bottom: 2rem;
}

.preview-favicon {
    width: 128px;
    height: 128px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
}

.preview-sizes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.size-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    color: #fff;
    font-weight: 700;
    font-family: Arial, sans-serif;
    border-radius: 2px;
    font-size: 8px;
    transition: all 0.3s ease;
}

/* Control Groups */
.control-group {
    margin-bottom: 2rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.control-group input[type="text"],
.control-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #fff;
}

.control-group input[type="text"]:focus,
.control-group select:focus {
    outline: none;
    border-color: #007bff;
}

.control-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Control Row */
.control-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Color Input Wrapper */
.color-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.color-input-wrapper input[type="color"] {
    width: 60px;
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    background: none;
}

.color-input-wrapper input[type="text"] {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: monospace;
}

/* Shape Options */
.shape-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.shape-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.shape-option:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.shape-option input[type="radio"]:checked + .shape-preview + .shape-label {
    color: #007bff;
    font-weight: 600;
}

.shape-option input[type="radio"]:checked ~ * {
    color: #007bff;
}

.shape-preview {
    width: 32px;
    height: 32px;
    background: #007bff;
    transition: all 0.3s;
}

.shape-preview.square {
    border-radius: 2px;
}

.shape-preview.rounded {
    border-radius: 8px;
}

.shape-preview.circle {
    border-radius: 50%;
}

.shape-preview.hexagon {
    border-radius: 0;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-preview.diamond {
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.shape-preview.shield {
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shape-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
}

/* Font Size Control */
.size-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.size-input-wrapper input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    cursor: pointer;
}

.size-input-wrapper input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.size-input-wrapper input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
}

.size-value {
    min-width: 50px;
    text-align: center;
    font-weight: 600;
    color: #007bff;
    font-size: 0.9rem;
}

/* Background Options */
.bg-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bg-type-selector {
    display: flex;
    gap: 1rem;
}

.bg-type-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    font-size: 0.9rem;
}

.bg-type-option:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.bg-type-option input[type="radio"]:checked + span {
    color: #007bff;
    font-weight: 600;
}

/* Created Favicon Display */
.created-favicon-display {
    text-align: center;
}

.favicon-sizes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.size-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.favicon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
}

.favicon-icon.size-16 {
    width: 16px;
    height: 16px;
    font-size: 8px;
}

.favicon-icon.size-32 {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.favicon-icon.size-48 {
    width: 48px;
    height: 48px;
    font-size: 20px;
}

.favicon-icon.size-64 {
    width: 64px;
    height: 64px;
    font-size: 28px;
}

.size-item span {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Creation Details */
.creation-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.creation-details h4 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.details-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail {
    padding: 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
}

/* Recent Creations */
.recent-creations {
    margin-top: 3rem;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.recent-creations h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.creation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.creation-item:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.creation-icon {
    flex-shrink: 0;
}

.mini-favicon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.creation-info h4 {
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.creation-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.creation-info small {
    color: #999;
    font-size: 0.8rem;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.tip h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Use Cases */
.use-cases {
    margin-top: 2rem;
}

.use-case {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.use-case h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.use-case p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.example-favicons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.example-favicon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.example-favicon:hover {
    transform: scale(1.1);
}

.example-favicon.circle {
    border-radius: 50%;
}

.example-favicon.rounded {
    border-radius: 12px;
}

/* Font Recommendations */
.font-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.font-rec {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.font-rec:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.font-rec h4 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.font-rec p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Checker Page Specific Styles */
.url-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.url-input-wrapper input[type="url"] {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.url-input-wrapper input[type="url"]:focus {
    outline: none;
    border-color: #007bff;
}

.check-btn {
    padding: 1rem 2rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.check-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.check-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Check Results */
.check-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
}

.score-circle.a { background: #28a745; }
.score-circle.b { background: #17a2b8; }
.score-circle.c { background: #ffc107; color: #333; }
.score-circle.d { background: #fd7e14; }
.score-circle.f { background: #dc3545; }

.score-number {
    font-size: 2rem;
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.score-info {
    text-align: left;
}

.score-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.score-info p {
    color: #666;
    margin-bottom: 0.25rem;
}

/* Checks List */
.checks-list {
    margin-bottom: 2rem;
}

.check-result {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.check-result.pass {
    background: #f8fff9;
    border-left-color: #28a745;
}

.check-result.warning {
    background: #fffdf0;
    border-left-color: #ffc107;
}

.check-result.fail {
    background: #fff5f5;
    border-left-color: #dc3545;
}

.check-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.check-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.check-description {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.check-details {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
}

/* Recommendations */
.recommendations {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #2196f3;
}

.recommendations h4 {
    color: #1976d2;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommendation {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #bbdefb;
    color: #333;
    line-height: 1.5;
}

/* Recent Checks */
.recent-checks {
    margin-top: 3rem;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.recent-checks h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.check-item:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.check-score {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.check-score.a { background: #28a745; }
.check-score.b { background: #17a2b8; }
.check-score.c { background: #ffc107; color: #333; }
.check-score.d { background: #fd7e14; }
.check-score.f { background: #dc3545; }

.check-score .grade {
    font-size: 1.1rem;
    line-height: 1;
}

.check-score .score {
    font-size: 0.7rem;
    opacity: 0.9;
}

.check-info h4 {
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.check-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.check-info small {
    color: #999;
    font-size: 0.8rem;
}

/* Check Items and Issues */
.check-items, .issues-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.check-item, .issue {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.check-item h4, .issue h4 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.check-item p, .issue p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.issue {
    border-left-color: #dc3545;
}

.issue h4 {
    color: #dc3545;
}

/* Downloader Page Specific Styles */
.extraction-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.extraction-summary h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.extraction-summary p {
    color: #666;
    margin: 0;
}

/* Favicons List */
.favicons-list {
    margin-bottom: 2rem;
}

.favicon-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s;
}

.favicon-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.favicon-preview {
    flex-shrink: 0;
}

.favicon-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: bold;
}

.favicon-icon.standard { background: #007bff; }
.favicon-icon.apple { background: #333; }
.favicon-icon.android { background: #4caf50; }
.favicon-icon.modern { background: #9c27b0; }

.favicon-details {
    flex: 1;
}

.favicon-details h4 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.favicon-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.spec-item {
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #666;
    border: 1px solid #e9ecef;
}

.favicon-path {
    color: #999;
    font-size: 0.85rem;
    font-family: monospace;
    margin: 0;
}

.favicon-actions {
    flex-shrink: 0;
}

.download-btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Extraction Stats */
.extraction-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Recent Downloads */
.recent-downloads {
    margin-top: 3rem;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.recent-downloads h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.download-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.download-item:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.download-icon {
    flex-shrink: 0;
}

.favicon-count {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #007bff;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.count-number {
    font-size: 1.2rem;
    line-height: 1;
}

.count-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

.download-info h4 {
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.download-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.download-info small {
    color: #999;
    font-size: 0.8rem;
}

/* Guidelines and Use Cases */
.guidelines, .use-cases {
    margin-top: 2rem;
}

.guideline, .use-case {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.guideline h4, .use-case h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guideline ul, .use-case p {
    color: #666;
    line-height: 1.6;
}

.guideline ul {
    padding-left: 1.5rem;
}

.guideline ul li {
    margin-bottom: 0.5rem;
}

/* Favicon Types */
.favicon-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.favicon-type {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.favicon-type:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.favicon-type h4 {
    color: #007bff;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.favicon-type p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Research Tips */
.research-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* About Page Styles */
.about-section, .contact-section, .privacy-section, .terms-section, .guide-section {
    margin-bottom: 3rem;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-section h2, .contact-section h2, .privacy-section h2, .terms-section h2, .guide-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.mission-list, .future-list {
    padding-left: 1.5rem;
}

.mission-list li, .future-list li {
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.tool-overview {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.tool-overview h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.value-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.value-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-feature {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.tech-feature h4 {
    color: #007bff;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Contact Page Styles */
.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.contact-method.primary {
    background: #e3f2fd;
    border-color: #2196f3;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-detail {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.contact-detail a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.response-time {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

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

.help-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.help-category h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.help-category ul {
    padding-left: 1.5rem;
}

.help-category ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.contact-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-link {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.quick-link:hover {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: translateY(-2px);
}

.quick-link h4 {
    color: #007bff;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

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

.expectation {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.expectation h4 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.community-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #e9ecef;
}

.community-info p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Privacy and Terms Styles */
.last-updated {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

.usage-purposes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.purpose {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.purpose h4 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.security-measure {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.security-measure h4 {
    color: #28a745;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.contact-privacy, .contact-terms {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #2196f3;
}

.prohibited-uses {
    margin-top: 2rem;
}

.prohibited-category {
    background: #fff5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #fecaca;
}

.prohibited-category h4 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.prohibited-category ul {
    padding-left: 1.5rem;
}

.prohibited-category ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Favicon Sizes Guide Styles */
.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.size-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.size-card.essential {
    border-color: #28a745;
    background: #f8fff9;
}

.size-card.recommended {
    border-color: #ffc107;
    background: #fffdf0;
}

.size-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.size-visual {
    width: 80px;
    height: 80px;
    background: #007bff;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 auto 1.5rem;
}

.size-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.size-card p {
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

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

.platform-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.platform-section h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.platform-sizes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-size {
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
    line-height: 1.4;
}

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

.format-rec {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.format-rec h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.format-rec p {
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}

.code-block code {
    background: none;
    padding: 0;
    font-size: inherit;
}

.reference-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.reference-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.reference-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.reference-table tr:hover {
    background: #f8f9ff;
}

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

.tool-link {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.tool-link:hover {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: translateY(-2px);
}

.tool-link h4 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tool-link p {
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Best Practices Page Styles */
.best-practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.practice-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.practice-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.practice-item p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.practice-example {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
    line-height: 1.4;
}

.technical-practices {
    margin-top: 2rem;
}

.tech-practice {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tech-practice h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tech-practice ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.tech-practice ul li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.code-example {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #333;
}

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

.seo-practice {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.seo-practice h3 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.seo-practice ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.seo-practice ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-family: monospace;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

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

.mistake-item {
    background: #fff5f5;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #fecaca;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mistake-item h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mistake-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.testing-checklist {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testing-checklist h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.checklist-item input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checklist-item label {
    line-height: 1.4;
    color: #333;
    cursor: pointer;
}

.testing-tools {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testing-tools h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.quick-tips {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.tip-content h4 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.tip-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .header-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .logo h1 a {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .share-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .tool-tabs {
        gap: 0.4rem;
        justify-content: space-between;
    }

    .tool-tab {
        min-width: 70px;
        padding: 0.6rem 0.8rem;
        flex: 1;
        max-width: 80px;
    }

    .tool-tab .icon {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .tool-tab .label {
        font-size: 0.75rem;
    }

    .tool-header h2 {
        font-size: 1.6rem;
    }

    .tool-header p {
        font-size: 0.95rem;
    }

    .tool-interface {
        padding: 1.2rem;
    }

    .upload-zone {
        padding: 1.5rem 1rem;
    }

    .upload-content h3 {
        font-size: 1.1rem;
    }

    .upload-content p {
        font-size: 0.85rem;
    }

    .file-info {
        font-size: 0.8rem;
    }

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

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

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .user-types, .advantages-grid {
        grid-template-columns: 1fr;
    }

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

    .recent-results h2 {
        font-size: 1.5rem;
    }

    .recent-results p {
        font-size: 0.9rem;
    }
}

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

    .tool-header h2 {
        font-size: 1.8rem;
    }

    .tool-interface {
        padding: 1rem;
    }

    .upload-zone {
        padding: 1.5rem 1rem;
    }

    .upload-icon {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

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

    .user-type, .advantage, .step {
        padding: 1.5rem;
    }

    /* Mobile styles for new pages */
    .maker-workspace {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .control-row {
        grid-template-columns: 1fr;
    }

    .shape-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .shape-option {
        padding: 0.75rem 0.5rem;
    }

    .shape-label {
        font-size: 0.7rem;
    }

    .bg-type-option {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .size-input-wrapper {
        gap: 0.75rem;
    }

    .size-value {
        font-size: 0.8rem;
        min-width: 45px;
    }

    .favicon-sizes {
        gap: 1rem;
    }

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

    .url-input-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .score-display {
        flex-direction: column;
        gap: 1rem;
    }

    .score-info {
        text-align: center;
    }

    .extraction-stats {
        gap: 1rem;
    }

    .favicon-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .favicon-specs {
        justify-content: center;
    }

    .check-items, .issues-list, .favicon-types, .formats-grid, .conversions-list {
        grid-template-columns: 1fr;
    }

    .tips-grid, .research-tips, .best-practices {
        grid-template-columns: 1fr;
    }

    .use-cases .use-case {
        padding: 1.5rem;
    }

    .example-favicons {
        gap: 0.5rem;
    }

    .font-recommendations {
        grid-template-columns: 1fr;
    }
}
