@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Animations - Simplified for editorial design */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

:root
{
    /* Polish-Inspired Crimson Color Palette */
    --primary-color: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #EF4444;
    --secondary-color: #E11D48;

    /* Neutral Polish Palette */
    --polish-white: #FAFAFA;
    --polish-cream: #F5F5F4;
    --polish-silver: #E7E5E4;

    /* Text Colors */
    --section-title-color: #1C1917;
    --app-title-color: #1C1917;
    --app-category-color: #78716C;
    --app-rating-color: #57534E;
    --edit-picks-color: #fff;
    --font-color: #292524;

    /* Border & Background */
    --border-color: #D6D3D1;
    --border-light: #E7E5E4;
    --hover-bg: #FEF2F2;

    /* Editorial Shadows (no glow) */
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
    --shadow-md: 0 4px 6px rgba(28, 25, 23, 0.07), 0 2px 4px rgba(28, 25, 23, 0.06);
    --shadow-lg: 0 10px 15px rgba(28, 25, 23, 0.08), 0 4px 6px rgba(28, 25, 23, 0.05);
    --shadow-xl: 0 20px 25px rgba(28, 25, 23, 0.10), 0 10px 10px rgba(28, 25, 23, 0.04);

    /* Star rating color */
    --star-color: #D97706;
}



html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    color: var(--font-color);
    background: #ffffff;
    min-height: 100vh;
}
/*ol, ul {
	list-style: upper-roman;
}*/
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


.header
{
    height: 3.5rem;
    border: none;
    margin-bottom: 2rem;
    padding: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
    .head-container
    {
        height: 100%;
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 2rem;
    }
        .head-logo
        {
            background-image: url(../img/logo.png);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center left;
            height: 2.25rem;
            width: 200px;
        }
        .head-logo a
        {
            display: block;
            width: 100%;
            height: 100%;
        }

        .head-links
        {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

            .head-links a
            {
                color: var(--font-color);
                font-size: 0.875rem;
                font-weight: 500;
                letter-spacing: 0.3px;
                text-transform: uppercase;
                padding: 0.5rem 0;
                margin: 0 1rem;
                transition: color 0.2s ease;
                position: relative;
            }
            .head-links a::after
            {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 2px;
                background: var(--primary-color);
                transition: width 0.2s ease;
            }
            .head-links a:hover
            {
                color: var(--primary-color);
            }
            .head-links a:hover::after
            {
                width: 100%;
            }

    .search-container
    {
        display: flex;
        align-items: center;
        background-color: #ffffff;
        border-radius: 30px;
        padding: 10px 20px;
        width: 320px;
        border: 2px solid var(--border-color);
        margin-left: auto;
        transition: all 0.2s ease;
    }
    .search-container:focus-within
    {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }
    
            .search-container input
            {
                border: none;
                outline: none;
                background: transparent;
                flex: 1;
                font-size: 14px;
                font-weight: 400;
                color: var(--font-color);
            }
        
            .search-container button
            {
                border: none;
                background: transparent;
                cursor: pointer;
                font-size: 16px;
                color: var(--primary-color);
                transition: color 0.2s ease;
            }
            .search-container button:hover
            {
                color: var(--accent-color);
            }


.section-container, .edit-pick-download, .apps-category, .text-wrapper
{
    max-width: 1400px;
    margin: 0 auto;
}
.section-container, .edit-pick-download, .sc-left, .text-wrapper
{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-inline: 1rem;
}

.sc-left {
    gap: 0;
}

.blog-section
{
    min-height: calc(100vh - 310px);
}


.star-icon
{
    width: 0.75rem;
    fill: #fbbf24;
    stroke: none;
}


.star-gradient-def
{
    display: none;
}
.arrow-icon
{
    width: 1rem;
    height: 1rem;
    fill:#666 ;
}

.no-arrow .arrow-icon
{
    display: none;
}

.top-download
{
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.s-title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.s-title-effect-forced {
    border-bottom: 2px solid var(--primary-color) !important;
}

.adetail-mobile .s-title
{
    font-size: 1.5em;
    color: var(--section-title-color);
}

.s-title>a
{
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--section-title-color);
    letter-spacing: -0.02em;
}


.app-title
{
    color: var(--app-title-color);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    width: auto;
    max-width: 10rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.app-category
{
    color: var(--app-category-color);
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.app-rating
{
    font-size: 0.8125rem;
    color: var(--app-rating-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}
    .app-rating p
    {
        line-height: 0.5;
        margin-top: 2px;
    }

.app-list
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

    .app-list-item
    {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.875rem;
        border-radius: 8px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        background: #FFFFFF;
        border: 1px solid var(--border-light);
        cursor: pointer;
    }
    .app-list-item:hover
    {
        border-color: var(--primary-color);
        box-shadow: var(--shadow-md);
    }

        .list-item-left
        {
            border: 1px solid var(--border-light);
            border-radius: 10px;
            width: 4rem;
            height: 4rem;
            overflow: hidden;
        }

        @media (max-width: 992px) {
            .list-item-left {
                border: none;
                border-radius: 0;
            }
        }
            .list-item-left img
            {
                width: 100%;
            }
        .list-item-right
        {
            display: flex;
            flex-direction: column;
            flex: 1;
            gap: .5rem;
            position: relative;
            justify-content: space-between;
        }

        /* Hide GET buttons completely */
        .get-app
        {
            display: none;
        }
        .get-on .list-item-right
        {
            flex-direction: row;
            align-items: center;
        }

    .lir-text
    {
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }


.edit-pick-download
{
    margin-bottom: 2rem;
    padding-inline: 0rem;
}        
.edit-picks
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}
    .edit-picks-item
    {
        position: relative;
        overflow: hidden;
        height: 12rem;
        max-width: 100%;
        border-radius: 8px;
        box-shadow: var(--shadow-md);
        transition: box-shadow 0.2s ease, transform 0.2s ease;
        cursor: pointer;
    }
    .edit-picks-item:hover
    {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }
    .edit-text
    {
        color: var(--edit-picks-color);
        width: 85%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        background: rgba(28, 25, 23, 0.85);
        border-radius: 8px;
        padding: 1rem;
        line-height: 1.4;
        font-size: 1.125rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        z-index: 2;
    }
    .edit-picks-item img
    {
        width: 100%;
        
    }

.apps-category
{   
    display: flex;
    justify-content: space-between;
    gap: 50px;
}
    .sc-left
    {
        max-width: 1000px;
        width: 100%;
    }
    .categories-container
    {
        display: flex;
        gap: .5rem;
        flex-direction: column;
    }
        .categories-container-bot
        {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: .5rem;
        }
        .categories-container a
        {
            color:var(--font-color)
        }
        .categories-container i
        {
            color: var(--primary-color);
        }

    .sc-right>.no-arrow .top-download .app-list
    {
        grid-template-columns: 1fr;
    }
    .category
    {
        border: 1px solid var(--border-color);
        height: 44px;
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0 16px;
        border-radius: 6px;
        font-size: 0.9375rem;
        font-weight: 500;
        transition: border-color 0.2s ease, background 0.2s ease;
        background: #ffffff;
    }
    .category i
    {
        color: var(--primary-color);
        font-size: 1.125rem;
    }
    .category:hover
    {
        border-color: var(--primary-color);
        background: var(--hover-bg);
    }

    .sc-left>.top-download .app-list
    {
        grid-template-columns: 1fr 1fr;
    }
    .sc-left>h2
    {
        font-size: 2em;
    }

.app-path
{
    font-size: .875em;
    color: #6c757d;
    margin-bottom: -1rem;
    font-weight: 400;
}

.app-path a
{
    color: #6c757d;
}

#appName
{
    color: #adb5bd;
    font-weight: 500;
}

.more-button
{
    background: var(--primary-color);
    color: #fff;
    width: 100%;
    max-width: 200px;
    border-radius: 6px;
    padding: 12px 24px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1.5rem auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border: none;
    transition: background 0.2s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    line-height: 1.2;
}
.more-button:hover
{
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

pre
{
    white-space: break-spaces;
    color: var(--font-color);
    font-size: 1rem;
    margin-top: -0.5rem;
    line-height: 1.7;
}
    pre p
    {
        line-height: 1.7;
    }

    pre h2
    {
        font-size: 1.25em;
        font-weight: 600;
        margin-top: 1.5rem;
        color: var(--section-title-color);
    }

    pre h3
    {
        font-weight: 600;
        margin-top: 1.5rem;
        font-size: 1.125em;
        color: var(--section-title-color);
    }

    pre img
    {
        width: 100%;
        margin: 1.5rem auto;
        border-radius: 16px;
        box-shadow: var(--shadow-md);
    }
    pre ol, pre ul 
    {
        padding-left: 2rem;
        line-height: 1.5;
    }
    pre strong
    {
        font-weight: 500;
        
    }

.app-details
{
    display: grid;
    margin-bottom: 15px;
    grid-template-columns: 5rem 1fr;
    gap: 1.25rem;
}
.app-icon-details img
{
    width: 72px;
    height: 72px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.app-name-details h1
{
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--section-title-color);
}
.app-name-details, .andb-item
{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.app-name-details-bot
{
    display: flex;
    gap: 1rem;
    margin-bottom: 35px;
}
.andb-item
{
    align-items: center;
}
.andb-item p
{
    font-size: .875em;
}
.andb-item span
{
    font-size: .75rem;
    color: #7f7f7f;
}

.about-app h2
{
    font-size: 1.75em;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: var(--section-title-color);
}
.about-item-container
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .5rem;
}
.about-item
{
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
}
.about-item-text
{           
   display: flex;
   flex-direction: column;
   gap: 2px;
}
.about-item-icon svg
{
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-color);
}
.ait-up-text
{
    color: #6c757d;
    font-size: .8125rem;
    font-weight: 400;
}
.ait-down-text
{
    overflow: hidden;
    max-width: 12.5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--app-title-color);
}

.play-apple-butons
{
    display: flex;
    gap: 1rem;
    margin: 40px 0;
}

.get-on .app-list
{
    grid-template-columns: 1fr 1fr;
}
.get-on .list-item-right
{
    gap: 1.5rem;
}

.play-apple-butons svg
{
    width: 1.1875rem;
}
.download-butt
{
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 600;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    padding: 0 16px;
    text-align: center;
    color: #fff;
    border-radius: 6px;
    background: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: background 0.2s ease;
}
.download-butt:hover
{
    cursor: pointer;
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}
.play-button
{
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    border: 1px solid #4caf50;
}
.apple-button
{
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #212121;
    border: 1px solid #9e9e9e;
}


.blog-picks img
{
    filter: brightness(60%);
    transition: filter 0.3s ease;
}
.blog-picks:hover img
{
    filter: brightness(70%);
}

.blog-picks-text
{
    font-size: 15px;
    line-height: 20px;
    padding: 8px 12px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 6px;
    font-weight: 500;
    background: rgba(28, 25, 23, 0.5);
}


.normal-height
{
    min-height: 0;
}

.edit-picks-blog
{
    gap: 2rem;
}

.blog-edit-picks .edit-picks-item img
{
    height: 100%;
}

.ap-name-blog
{
    grid-template-columns: 1fr;
}
.ap-name-blog h1
{
    margin-bottom: 40px;
}
.blog-andb
{
    align-items: flex-start;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
}
.blog-andb svg
{
    display: flex;
    align-self: center;
}

/* Blog List Page Styles */
.blog-content-wrapper {
    width: 100%;
}

.blog-listing {
    padding-inline: 0;
}

.blog-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--section-title-color);
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--border-light);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--section-title-color);
    line-height: 1.4;
    margin: 0;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--primary-color);
}

.blog-card-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    font-size: 0.8125rem;
    color: #888;
    font-weight: 500;
}

.blog-read-more {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: transform 0.2s ease;
    display: inline-block;
}

.blog-card:hover .blog-read-more {
    transform: translateX(4px);
}

.footer
{
    background: var(--polish-cream);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}
.foot-container
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}




.foot-container p
{
    text-align: center;
}
.foot-top
{
    display: flex;
    align-items: center;
    gap: 1rem;
}
   
.footer-icon img
{
    max-width: 100px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
}
.footer a
{
    color: var(--font-color);
    margin: 8px 20px;
    line-height: 24px;
    display: inline-block;
    transition: color 0.2s ease;
    font-weight: 500;
    position: relative;
}
.footer a::after
{
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.2s ease;
}
.footer a:hover
{
    color: var(--primary-color);
}
.footer a:hover::after
{
    width: 100%;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.all-cat
{
    justify-content: center;
    cursor: default;
    pointer-events: none;
}

  /* Header */
  .header-mobile
  {
    display: none;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 1.25rem;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
  }
  
  /* Ikona hamburgera */
  .menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .menu-toggle .bar {
    width: 26px;
    height: 3px;
    background-color: var(--section-title-color);
    border-radius: 2px;
    transition: all 0.2s ease;
  }
  
  /* Logo w headerze */
  .logo-mobile 
  {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--font-color);
    height: 80%;
    display: flex;
    align-items: center;
  }
  
  /* Przycisk wyszukiwania */
  .search-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333;
  }
  
  /* Panel boczny */
  .side-nav
  {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 4px 0 15px rgba(0,0,0,0.12);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 2000;
    overflow-y: auto;
    padding: 1.5rem;
  }
  
  .side-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  .side-nav-header .head-logo
  {
    height: 2.1875rem;
    width: 5rem;
  }
  
  .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }
  
  .side-nav-logo {
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  .nav-list {
    list-style: none;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-list li, .submenu-container
  {
    display: flex;
    align-items: center;
    gap: .5rem;
  }
  
  .nav-list a {
    text-decoration: none;
    color: var(--font-color);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  .nav-list a:hover {
    color: var(--primary-color);
  }
  
  /* Rozwijane submenu */

  
  .submenu-toggle {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    text-align: left;
    width: 100%;
    color: #333;
    font-size: 1rem;
    padding: 0;
  }
  
  .submenu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    list-style: none;
    padding-left: 1.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in ;
  }
  
  

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1500;
  }
  
  
  .side-nav.open {
    transform: translateX(0);
  }
  
  .overlay.show {
    opacity: 1;
    visibility: visible;
  }
  
  
  .has-submenu.active .submenu 
  {
    margin-top: 1rem;
    max-height: 600px;
  }
  
 
  .content {
    padding: 2rem;
  }
  
.nav-list svg
{
    width: 1.375rem;
    height: 1.375rem;
    color: var(--primary-color);
}
.nav-list path
{
    color: var(--primary-color);
}

.has-submenu 
{
    position: relative;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0 !important;
    
}

.four-list-container
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hidden
{
    display: none;
}

/* .text-wrapper img
{
    width: 100%;
    border-radius: 25px;
} */

.text-wrapper h1
{
    font-size: 2.25em;
    margin-block: 1.75rem;
    font-weight: 700;
    color: var(--section-title-color);
    letter-spacing: -0.02em;
}

.text-wrapper h2
{
    font-size: 1.75em;
    margin-block: 1.5rem;
    font-weight: 600;
    color: var(--section-title-color);
}

.text-wrapper h3
{
    font-size: 1.375em;
    margin-block: 1.25rem;
    font-weight: 600;
    color: var(--section-title-color);
}

.text-wrapper p
{
    font-size: 1.0625em;
    line-height: 1.7;
    color: var(--font-color);
}

.text-wrapper strong
{
    font-weight: 600;
}

.text-wrapper ul
{
    padding-left: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.6;
    margin-block: 1rem;
}
.text-wrapper h1, .text-wrapper h2, .text-wrapper h3
{
    font-weight: 600;
}

.contact-wrapper
{
    max-width: 48.0625rem;
    text-align: center;
}



.modal-overlay 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999; 
  }
  
 
  .modal
  {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    transform: translate(-50%, -50%) scale(0.7);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
  }
  
 
  .modal.show 
  {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
  }
  
 
  .modal-overlay.show 
  {
    opacity: 1;
    visibility: visible;
  }
  
  
  .close-modal 
  {
    position: absolute;
    top: .2rem;
    right: .2rem;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
  }
  
 
  .search-form 
  {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
  }
  
  .search-form input
  {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 999px;
    outline: none;
    font-size: 1rem;
    transition: all 0.2s ease;
  }
  .search-form input:focus
  {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  }
  
  .search-submit {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
  }
  
  
  .trending-searches 
  {
    margin-top: 1rem;
  }
  
    .trending-searches h2 
    {
        margin-bottom: 0.5rem;
    }
    
    .search-tags 
    {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .search-tags a
    {
        background: var(--hover-bg);
        border-radius: 999px;
        padding: 0.5rem 1rem;
        text-decoration: none;
        color: var(--font-color);
        font-size: 0.9375rem;
        font-weight: 500;
        transition: all 0.2s ease;
        border: 1px solid var(--border-color);
    }
    
    
    .search-tags a:hover
    {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

    .foot-top p{
        color: #111;
    }



@media(max-width:68.75rem)
{
    .header
    {
        display: none;
    }
    .header-mobile
    {
        display: flex;
    }
    .section-container, .head-container, .edit-pick-download, .apps-category, .header-mobile 
    {
        max-width: 47.5rem;
    }
    .header-mobile 
    {
        margin: 0 auto;
        margin-bottom: 2rem;
    }
    .edit-picks-item img
    {
        height: 100%;
        object-fit: cover;
    }
    .head-logo
    {
        width: 6.55rem;    
    }

    .slider .app-list 
    {
        display: flex;               
        overflow-x: auto;            
        scroll-snap-type: x mandatory; 
        gap: 1rem;
      }
      
      
      .slider .app-list > * 
      {
        flex: 0 0 100%;              
        scroll-snap-align: start;    
      }


      .slider .edit-picks 
      {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
      }
      
      .slider .edit-picks > * 
      {
        scroll-snap-align: start;
        flex: 0 0 100%; 
      }
      .slider .edit-picks-item
      {
        max-height: 12.75rem;
        height: 100%;
        max-width: 100%;
      }

      .slider .list-item-right
      {
        flex-direction: row;
      }
      .slider .get-app
      {
        display: none;
      }
      .foot-container
      {
        align-items: center;
      }


      .apps-category .sc-right
      {
        display: none;
      }
      .apps-category
      {
          min-height: calc(100vh - 6.25rem);
      }

      .edit-picks-blog
      {
        grid-template-columns: 1fr 1fr;
      }

      .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
      }

      .blog-main-title {
        font-size: 2rem;
      }

      .top-photo img{
        width: 100%;
      }
   
}
@media(max-width:48rem)
{
    /* .no-arrow
    {
        display: none;
    } */

    .categories-container-bot
    {
        grid-template-columns: 1fr;
    }
    .apps-category .app-list-item
    {
        flex-direction: column;
    }
    .apps-category .list-item-left
    {
        max-width: 90%;
        max-height: 90%;
        width: 100%;
        height: 100%;
    }
    .apps-category .app-title
    {
        width: 8rem;
    }

    .about-item-container
    {
        grid-template-columns: 1fr 1fr;
    }
    .adetail-mobile
    {
        display: none;
    }

    .edit-picks-blog
    {
      grid-template-columns: 1fr;
    }
    .blog-picks
    {
        max-width: 100%;
    }

    .blog-grid {
      grid-template-columns: 1fr;
    }

    .blog-main-title {
      font-size: 1.75rem;
    }

    .blog-card-image {
      height: 200px;
    }

    /* .top-photo img{
        width: 100%;
    } */

}
@media(max-width:29.875rem)
{
    .list-item-right {
        text-align: center;
    }
    .apps-category .app-title
    {
        width: 100%;
    }

    .about-item-container
    {
        grid-template-columns: 1fr;
    }

    /* Mobile Footer Improvements */
    .footer {
        margin-top: 2rem;
        padding: 1rem 0;
    }

    .foot-container {
        padding: 1.5rem 0.5rem;
        gap: 1rem;
    }

    .foot-top {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-icon img {
        max-width: 80px;
    }

    .foot-container > p {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .footer a {
        margin: 0;
        padding: 0.5rem 0;
        display: block;
        font-size: 0.875rem;
    }

    /* Hide the pipe separators on mobile */
    .foot-container > p {
        font-size: 0;
    }

    .foot-container > p a {
        font-size: 0.875rem;
    }

}

.pagination {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 1em 0;
    font-family: Arial, sans-serif;
    max-width: 100%;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--font-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: #ffffff;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.pagination a:hover {
    background-color: var(--hover-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.pagination a.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

/* Homepage Rich Content Sections */

/* Hero Section */
.hero-section {
    background: var(--primary-color);
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #FFFFFF;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-weight: bold;
}

.feature-text {
    font-size: 16px;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 20px;
    background: #ffffff;
}

.welcome-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--section-title-color);
    font-family: 'Space Grotesk', sans-serif;
}

.welcome-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #555;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 20px;
    background: white;
}

.why-choose-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--section-title-color);
}

.benefit-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Categories Preview Section */
.categories-preview {
    padding: 80px 20px;
    background: #ffffff;
}

.categories-preview .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border-light);
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.category-emoji {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-emoji i {
    display: block;
}

.category-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--section-title-color);
    margin-bottom: 8px;
}

.category-desc {
    font-size: 14px;
    color: #888;
    text-align: center;
}

/* Recent Posts Section */
.recent-posts-section {
    padding: 80px 20px;
    background: white;
}

.recent-posts-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.post-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.post-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.post-title a {
    color: var(--section-title-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #888;
}

.post-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

.view-all-posts {
    text-align: center;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-view-all:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    position: relative;
}

.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--polish-cream);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .stats-row {
        gap: 40px;
    }

    .stat-number {
        font-size: 36px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .category-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-text {
        font-size: 18px;
    }
}

.cat-name-x {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--section-title-color);
    letter-spacing: -0.02em;
}

.about-app {
    margin-bottom: 25px;
}

/* ==========================================
   NEW HOMEPAGE DESIGN STYLES
   ========================================== */

/* Hero Banner Section */
.hero-banner {
    background: linear-gradient(135deg, #F87171 0%, #DC2626 50%, #B91C1C 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #FFFFFF;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.hero-btn-primary:hover {
    background: var(--polish-cream);
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-stat-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease;
}

.hero-stat-card:hover {
    transform: translateY(-3px);
}

.hero-stat-card .stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.hero-stat-card .stat-icon i {
    display: block;
}

.hero-stat-card .stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.hero-stat-card .stat-label {
    display: block;
    font-size: 16px;
    color: var(--font-color);
    font-weight: 500;
}

/* Apps Tabs Section */
.apps-tabs-section {
    padding: 80px 20px;
    background: #f9fafb;
}

.section-title-modern {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--section-title-color);
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--font-color);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
    animation: slide-in 0.4s ease;
}

.tab-content.active {
    display: block;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.app-grid-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-grid-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.app-grid-link {
    display: block;
    padding: 20px;
    text-decoration: none;
}

.app-grid-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.app-grid-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-grid-info {
    text-align: center;
}

.app-grid-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--app-title-color);
    margin-bottom: 6px;
    line-height: 1.3;
}

.app-grid-category {
    font-size: 14px;
    color: var(--app-category-color);
}

.tab-view-more {
    text-align: center;
    margin-top: 30px;
}

.view-more-link {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.view-more-link:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.no-apps-message {
    text-align: center;
    padding: 40px;
    color: var(--app-category-color);
    font-size: 18px;
}

/* Why Choose Modern Section */
.why-choose-modern {
    padding: 80px 20px;
    background: white;
}

.benefits-alternating {
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.benefit-row:last-child {
    margin-bottom: 0;
}

.benefit-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.benefit-content:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.benefit-row.reverse .benefit-content {
    flex-direction: row-reverse;
}

.benefit-icon-large {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hover-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 15px;
}

.benefit-icon-large img {
    filter: none;
}

.benefit-icon-large svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.benefit-text {
    flex: 1;
}

.benefit-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 15px;
}

.benefit-description {
    font-size: 16px;
    color: var(--font-color);
    line-height: 1.7;
}

/* Categories Modern Section */
.categories-modern {
    padding: 80px 20px;
    background: #f9fafb;
}

.section-subtitle-modern {
    text-align: center;
    font-size: 18px;
    color: var(--app-category-color);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.category-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--border-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 150px;
}

.category-card-modern:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.category-icon-modern {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-icon-modern svg,
.category-icon-modern img {
    width: 48px;
    height: 48px;
}

.category-icon-modern i {
    font-size: 36px;
    color: var(--primary-color);
}

.category-name-modern {
    font-size: 16px;
    font-weight: 600;
    color: var(--app-title-color);
    text-align: center;
}

/* Responsive Design for New Homepage */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }

    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .benefit-content {
        flex-direction: column !important;
        text-align: center;
    }

    .benefit-row.reverse .benefit-content {
        flex-direction: column !important;
    }

    .category-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title-modern {
        font-size: 32px;
    }

    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        width: 100%;
    }

    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .benefit-content {
        padding: 25px;
    }

    .benefit-title {
        font-size: 22px;
    }

    .category-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .apps-tabs-section,
    .why-choose-modern,
    .categories-modern {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-stat-card .stat-number {
        font-size: 36px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .category-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   MISSING HOMEPAGE SECTIONS
   ========================================== */

/* About DobreApki Section */
.about-dobreapki {
    padding: 80px 20px;
    background: var(--polish-cream);
}

.about-dobreapki .container {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    margin-top: 40px;
}

.about-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--font-color);
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Review Process Section */
.review-process {
    padding: 80px 20px;
    background: #FFFFFF;
}

.review-process .container {
    max-width: 900px;
    margin: 0 auto;
}

.review-steps {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 30px;
    background: var(--polish-cream);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--section-title-color);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--font-color);
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: var(--polish-cream);
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #FFFFFF;
    padding: 25px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--section-title-color);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--font-color);
}

/* ==========================================
   FAQ PAGE REDESIGN
   ========================================== */

/* FAQ Page Wrapper */
.faq-page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.faq-page-wrapper .page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--section-title-color);
    text-align: center;
    margin-bottom: 20px;
}

/* FAQ Intro */
.faq-intro {
    text-align: center;
    margin-bottom: 50px;
}

.faq-intro .lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--font-color);
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ Section Blocks */
.faq-section-block {
    margin-bottom: 40px;
}

.faq-section-block h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-section-block h2 i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* FAQ Items - Accordion Style */
.faq-item-accordion {
    background: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-accordion:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-item-accordion.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.faq-question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.faq-question-btn:hover {
    background: var(--hover-bg);
}

.faq-item-accordion.active .faq-question-btn {
    background: var(--hover-bg);
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.faq-q-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
}

.faq-item-accordion.active .faq-q-icon {
    background: var(--primary-dark);
}

.faq-q-text {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--section-title-color);
    line-height: 1.4;
}

.faq-toggle-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--polish-cream);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item-accordion.active .faq-toggle-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item-accordion.active .faq-answer-panel {
    max-height: 500px;
}

.faq-answer-content {
    padding: 25px 25px 25px 76px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--font-color);
}

/* FAQ Outro */
.faq-outro {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--hover-bg) 0%, #FEE2E2 100%);
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--primary-light);
}

.faq-outro h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 15px;
}

.faq-outro p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--font-color);
    margin-bottom: 25px;
}

.faq-outro a {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.faq-outro a:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-page-wrapper {
        padding: 30px 15px 60px;
    }

    .faq-page-wrapper .page-title {
        font-size: 2rem;
    }

    .faq-section-block h2 {
        font-size: 1.25rem;
    }

    .faq-question-btn {
        padding: 16px 18px;
    }

    .faq-q-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }

    .faq-q-text {
        font-size: 0.9375rem;
    }

    .faq-answer-content {
        padding: 0 18px 20px 65px;
        font-size: 0.9375rem;
    }

    .faq-outro {
        padding: 30px 20px;
    }

    .faq-outro h2 {
        font-size: 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-dobreapki,
    .review-process,
    .faq-section {
        padding: 50px 20px;
    }

    .review-step {
        flex-direction: column;
        padding: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .faq-item {
        padding: 20px;
    }
}

/* ==========================================
   POLISH NATIONAL MOTIFS
   ========================================== */

/* Polish white-red stripe accent for header */
.polish-stripe-top {
    position: relative;
}

.polish-stripe-top::before {
    /*content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to bottom, #FFFFFF 50%, var(--primary-color) 50%);
    z-index: 101;*/
}

/* Polish divider - horizontal gradient stripe */
.polish-divider {
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #FFFFFF 10%,
        #FFFFFF 45%,
        var(--primary-color) 55%,
        var(--primary-color) 90%,
        transparent 100%
    );
    margin: 0;
}

/* Subtle Polish eagle pattern background */
.polish-pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 20 C55 25 60 22 62 28 C64 34 58 36 56 42 L50 48 L44 42 C42 36 36 34 38 28 C40 22 45 25 50 20 M50 48 L50 65 M42 55 L50 60 L58 55' stroke='%23DC2626' stroke-width='1.5' fill='none' stroke-opacity='0.04'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}

/* Footer with Polish accent */
.footer.polish-pattern-bg {
    background-color: var(--polish-cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 20 C55 25 60 22 62 28 C64 34 58 36 56 42 L50 48 L44 42 C42 36 36 34 38 28 C40 22 45 25 50 20 M50 48 L50 65 M42 55 L50 60 L58 55' stroke='%23DC2626' stroke-width='1.5' fill='none' stroke-opacity='0.04'/%3E%3C/svg%3E");
}

/* Polish corner accent for cards (optional) */
.polish-corner {
    position: relative;
}

.polish-corner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, transparent 50%, var(--primary-color) 50%);
    opacity: 0.15;
    border-radius: 0 8px 0 0;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

.contact-wrapper {
    padding: 40px 20px;
}

.contact-wrapper .white-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--font-color);
    margin-bottom: 35px;
    text-align: center;
}

.contact-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-section {
    background: var(--polish-cream);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.contact-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--section-title-color);
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-section h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--font-color);
    margin: 0;
    text-align: left;
}

.contact-email-section {
    background: var(--hover-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--primary-light);
    text-align: center;
    margin-bottom: 30px;
}

.contact-email-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--section-title-color);
    margin-bottom: 12px;
}

.contact-email-section > p {
    font-size: 0.95rem;
    color: var(--font-color);
    margin-bottom: 20px;
}

.email-reveal-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.email-display a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
}

.email-display a:hover {
    text-decoration: underline;
}

.copy-email-btn {
    background: var(--polish-cream);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--font-color);
    transition: all 0.2s ease;
}

.copy-email-btn:hover {
    background: var(--hover-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.contact-response-info {
    text-align: center;
    padding: 20px;
    background: var(--polish-cream);
    border-radius: 8px;
}

.contact-response-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--font-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-response-info i {
    color: var(--primary-color);
}

/* Contact page responsive */
@media (max-width: 768px) {
    .contact-wrapper .white-container {
        padding: 25px;
    }

    .contact-sections {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-section {
        padding: 20px;
    }

    .contact-email-section {
        padding: 20px;
    }

    .contact-response-info p {
        flex-direction: column;
        text-align: center;
    }
}
