/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #eef7fd 0%, #f4eefb 100%);
    background-attachment: fixed;
    color: #111827;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   Topbar / Header Navigation
   ============================================ */

.topbar {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-img {
    height: 32px;
}

.logo-text {
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
}

.main-nav a {
    margin-left: 0.75rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #2563EB;
}

/* ============================================
   Hero Section (Homepage)
   ============================================ */
.hero {
    background: linear-gradient(135deg, #E0F2FE 0%, #d2bbf0 100%);
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.03) 20px,
        rgba(255, 255, 255, 0.03) 40px
    );
    pointer-events: none;
}

.hero p {
    color: #1E293B;
    max-width: 600px;
    margin: 0.5rem auto;
    font-size: 0.875rem;
}

.hero p strong {
    color: #3B82F6;
    font-weight: 700;
}

.hero p.hero-sub {
    font-size: 0.75rem;
    color: #645677;
    margin-top: 0.25rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Converter Section (Bold Text Page)
   ============================================ */
.converter {
    max-width: 640px;
    width: 100%;
    margin: 1rem auto 0;
    padding: 0 1rem;
    flex: 1;
}

.converter h2 {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.converter textarea {
    width: 100%;
    height: 120px;
    padding: 0.75rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 1rem;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #FFFFFF;
    color: #111827;
}

.converter textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.converter textarea::placeholder {
    color: #9CA3AF;
}

/* Outputs Container (Bold Text Page) */
.outputs-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.style-output-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

.style-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.copy-btn {
    background: #3B82F6;
    color: #FFFFFF;
    border: none;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.copy-btn:hover {
    background: #2563EB;
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.copy-btn.copied {
    background: #10B981;
}

.copy-btn.copied:hover {
    background: #059669;
}

.bold-output {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    min-height: 1.5em;
    line-height: 1.5;
    margin: 0;
}

/* Related Styles Section */
.related {
    text-align: center;
    margin: 1.5rem auto;
    max-width: 740px;
    padding: 1rem 1rem;
}

.related h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2e1065;
    margin-bottom: 1rem;
}

.related-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.related-grid a {
    display: inline-block;
    background: #ffffff;
    color: #5f10a0;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(95,16,160,0.2);
    text-decoration: none;
    transition: all 0.25s ease;
}

.related-grid a:hover {
    background: #5f10a0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(95,16,160,0.35);
}

/* Platform Examples */
.platform-examples {
    margin: 1rem 0;
    text-align: center;
}

.platform-note {
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.platform-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.platform-item {
    background: #ffffff;
    border: 1px solid rgba(95, 16, 160, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    max-width: 320px;
}

.platform-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.platform-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.platform-item figcaption {
    font-size: 0.875rem;
    color: #5f10a0;
    padding: 0.75rem 1rem;
    background: #f9f7ff;
    font-weight: 500;
}

/* ============================================
   Main Container
   ============================================ */

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

/* ============================================
   Input Section
   ============================================ */

.input-section {
    margin-bottom: 1.5rem;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.text-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #111827;
    background-color: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.text-input::placeholder {
    color: #9CA3AF;
}

/* ============================================
   Styles Container
   ============================================ */

.styles-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual Style Item */
.style-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 0.75rem 0;
    background-color: #FFFFFF;
    transition: background-color 0.2s ease;
}

.style-item:first-of-type {
    border-top: 1px solid #E5E7EB;
    border-radius: 0.5rem 0.5rem 0 0;
}

.style-item:last-of-type {
    border-bottom: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.style-item:only-of-type {
    border-radius: 0.5rem;
}

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

.style-header-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.style-label-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #484f5c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.style-actions {
    display: flex;
    gap: 0.5rem;
}

.style-copy-button {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    background-color: #3B82F6;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    position: relative;
    min-width: 60px;
}

.style-copy-button:hover {
    background-color: #2563EB;
    transform: translateY(-1px);
}

.style-copy-button:active {
    transform: translateY(0);
}

.style-copy-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.style-copy-button.copied {
    background-color: #10B981;
}

.style-copy-button.copied:hover {
    background-color: #059669;
}

.style-copy-button .copy-text {
    display: inline;
}

.style-copy-button .copied-text {
    display: none;
}

.style-copy-button.copied .copy-text {
    display: none;
}

.style-copy-button.copied .copied-text {
    display: inline;
}

.style-output {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    color: #111827;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.5;
    min-height: 1.5em;
}

.style-output:empty::before {
    content: 'Converted text will appear here...';
    color: #D1D5DB;
    font-style: italic;
}

/* ============================================
   Content Sections (SEO)
   ============================================ */

.content-section {
    max-width: 700px;
    margin: 1.5rem auto;
    padding: 1rem 1rem;
    text-align: left;
    color: #1E293B;
}

.content-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
    text-align: center;
}

.content-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.content-section p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.875rem;
}

.content-section ul, .content-section ol {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.875rem;
}

.content-section li {
    margin-bottom: 0.4rem;
}

.content-section a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-section a:hover {
    color: #2563EB;
    text-decoration: underline;
}

.content-section code {
    background: #F3F4F6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #1F2937;
}

.content-section strong {
    color: #111827;
    font-weight: 600;
}

.content-section em {
    color: #374151;
    font-style: italic;
}

/* Steps List */
.steps-list {
    list-style: none;
    counter-reset: step-counter;
    margin: 1.5rem 0 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-item {
    counter-increment: step-counter;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #FFFFFF;
    border: 1px solid rgba(95, 16, 160, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.step-item:hover {
    border-color: rgba(95, 16, 160, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    background: linear-gradient(135deg, #5f10a0 0%, #7c3aed 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.875rem;
    color: #111827;
    font-weight: 500;
    line-height: 1.5;
}

/* Style Examples Grid */
.style-examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.style-example-card {
    display: block;
    background: #FFFFFF;
    border: 1px solid rgba(95, 16, 160, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.style-example-card:hover {
    border-color: rgba(95, 16, 160, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/*removing underline from style example cards*/
.style-example-card,
.style-example-card * {
    text-decoration: none !important;
}

.style-example-header {
    margin-bottom: 0.75rem;
}

.style-example-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #5f10a0;
    margin: 0;
    letter-spacing: -0.01em;
}

.style-example-description {
    font-size: 0.875rem;
    color: #4B5563;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.style-example-preview {
    background: #f9f7ff;
    border: 1px solid rgba(95, 16, 160, 0.1);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    margin-top: 0.75rem;
}

.style-example-text {
    font-size: 0.9375rem;
    color: #111827;
    line-height: 1.6;
    display: block;
    word-wrap: break-word;
}

/* Example Boxes */
.example-box {
    background: #F9FAFB;
    border-left: 3px solid #3B82F6;
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    border-radius: 4px;
}

.example-box strong {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.example-box code {
    background: transparent;
    padding: 0;
    color: #111827;
    font-size: 0.8rem;
}

/* Pros & Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.pros, .cons {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 2px solid;
}

.pros {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.08);
}

.cons {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.08);
}

.pros h4, .cons h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pros h4 {
    color: #059669;
}

.cons h4 {
    color: #dc2626;
}

.pros ul, .cons ul {
    margin-left: 1.25rem;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.best-practices ul {
    margin-left: 0;
    padding-left: 0.8rem;
}

.checklist li, .crosslist li {
    list-style: none;
    margin: 4px 0;
}

.checklist li::before {
    content: "✔ ";
    color: #28a745;
}

.crosslist li::before {
    content: "✖ ";
    color: #dc3545;
}

/* FAQ Section */
.faq-section {
    max-width: 700px;
    margin: 1.5rem auto;
    padding: 1rem 1rem;
}

.faq-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
    text-align: center;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item.open {
    border-color: #3B82F6;
}

.faq-question {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

.faq-question:hover {
    color: #3B82F6;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: #6B7280;
    transition: color 0.2s ease;
}

.faq-item.open .faq-question::after {
    content: '−';
    color: #3B82F6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1rem 0.75rem 1rem;
}

.faq-answer p {
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
    font-size: 0.875rem;
}


/* ============================================
   Footer
   ============================================ */

.footer {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    margin-top: auto;
}

.footer p {
    font-size: 0.75rem;
    color: #6B7280;
}

.footer a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #2563EB;
    text-decoration: underline;
}

/* ============================================
   Responsive Design (Mobile-First)
   ============================================ */

/* Tablet and up */
@media (min-width: 640px) {
    .topbar {
        padding: 0.75rem 1.5rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.125rem;
    }

    .main-nav a {
        margin-left: 1rem;
        font-size: 0.95rem;
    }

    .hero {
        padding: 4rem 2rem 1.5rem;
    } 

    .hero h1 {
        font-size: 3.25rem;
        margin-bottom: 1rem;

    }

    .hero p {        
        margin: 0.75rem auto;
        font-size: 1rem;
    } 

    .hero p.hero-sub {
        font-size: 0.9rem;
        margin-top: 0.75rem;
    } 

    .converter {
        margin: 2rem auto;
        padding: 0 2rem;
    }

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

    .converter textarea {
        height: 140px;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .style-output-card {
        padding: 1.5rem;
    }

    .style-header {
        margin-bottom: 0.75rem;
        padding: 0 1.5rem;
    }

    .style-label {
        font-size: 0.875rem;
    }

    .copy-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .bold-output {
        font-size: 1.2rem;
    }

    .related {
        margin: 2rem auto;
        padding: 2rem 2.5rem;
    }

    .related h2 {
        font-size: 1.6rem;
        margin-bottom: 1.75rem;
    }

    .related-grid a {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .style-category {
        margin-bottom: 3rem;
        padding-bottom: 2.5rem;
    }

    .category-title {
        font-size: 1.75rem;
    }

    .category-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .styles-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .style-card {
        padding: 1.5rem;
    }

    .style-preview {
        font-size: 1.75rem;
        min-height: 3rem;
    }

    .style-name {
        font-size: 1.125rem;
    }

    .style-variants {
        font-size: 0.8125rem;
    }

    .container {
        padding: 2.5rem 2rem;
    }

    .text-input {
        padding: 1rem 1.25rem;
        font-size: 1.0625rem;
    }

    .style-item {
        padding: 1rem 0;
    }   

    .style-label-text {
        font-size: 0.8125rem;
    }

    .style-copy-button {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        min-width: 70px;
    }

    .style-output {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .content-section {
        margin: 3rem auto;
        padding: 2rem 1.5rem;
    }

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

    .content-section h3 {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .content-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .content-section ul, .content-section ol {
        font-size: 1rem;
    }

    .steps-list {
        margin: 2rem 0 2rem 0;
        gap: 1rem;
    }

    .step-item {
        padding: 1.25rem 1.5rem;
    }

    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        font-size: 1rem;
    }

    .step-text {
        font-size: 1rem;
    }

    .style-examples-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .style-example-card {
        padding: 1.5rem;
    }

    .style-example-name {
        font-size: 1.25rem;
    }

    .style-example-description {
        font-size: 0.9375rem;
    }

    .style-example-text {
        font-size: 1rem;
    }

    .example-box {
        padding: 1rem 1.25rem;
        margin: 1rem 0;
    }

    .example-box strong {
        font-size: 0.875rem;
    }

    .example-box code {
        font-size: 0.9em;
    }

    .pros-cons {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }

    .pros, .cons {
        padding: 1.25rem;
    }

    .pros h4, .cons h4 {
        font-size: 1.125rem;
    }

    .faq-section {
        margin: 3rem auto;
        padding: 2rem 1.5rem;
    }

    .faq-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .faq-question::after {
        font-size: 1.5rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.open .faq-answer {
        padding: 0 1.25rem 1rem 1.25rem;
    }

    .faq-answer p {
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 1.5rem;
    }

    .footer p {
        font-size: 0.875rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero {
        padding: 5rem 2rem 4rem;
    }

    .bold-output {
        font-size: 1.3rem;
    }

    .container {
        padding: 3rem 2rem;
    }
}

/* ============================================
   Accessibility Improvements
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Styles Hub Page
   ============================================ */

.style-category {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E5E7EB;
}

.style-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
    text-align: left;
}

.category-description {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.style-card {
    display: block;
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    text-align: center;
}

.style-card:hover {
    border-color: #3B82F6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.style-preview {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.style-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.style-variants {
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Responsive Design (Mobile-First)
   ============================================ */

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-input,
    .style-item {
        border-width: 2px;
    }
}
