/* ========================================
   DEV HOUSE - Custom Styles
   ======================================== */

/* Font override */
body, input, select, textarea, button {
    font-family: 'Inter', 'Open Sans', sans-serif;
}

/* ========================================
   WhatsApp Button
   ======================================== */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    border: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    color: white;
    text-decoration: none;
}

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

.whatsapp-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ========================================
   Header
   ======================================== */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    line-height: 64px;
    background: rgba(28, 29, 38, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    transform: translateY(-100%);
}

#header h1 {
    margin: 0;
    display: flex;
    align-items: center;
}

#header h1 a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

#header h1 a:hover {
    transform: scale(1.05);
}

#header h1 a:focus {
    outline: 2px solid #21b2a6;
    outline-offset: 2px;
}

#header img.header-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* ========================================
   Banner
   ======================================== */
#banner .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-logo {
    width: 360px;
    height: auto;
    margin: 0 auto 0.5rem;
    filter: invert(1);
    mix-blend-mode: screen;
    display: block;
}

.header-logo {
    height: 46px;
    width: auto;
    display: block;
    filter: invert(1);
    mix-blend-mode: screen;
}

#header img.header-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 736px) {
    .banner-logo {
        width: 220px;
    }

    .header-logo,
    #header img.header-logo {
        height: 34px;
    }

    #header {
        height: 56px;
        line-height: 56px;
    }
}

/* ========================================
   Feature Cards (#one section — teal bg)
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
}

.feature-card {
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.35);
}

.feature-card .icon {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-card h3 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.6rem;
    margin-top: 0;
    padding-top: 0;
    border: none;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ========================================
   About Cards (#two section — dark bg)
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.about-card {
    padding: 2rem 0;
    border-top: 2px solid #21b2a6;
}

.about-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.07);
    letter-spacing: -0.02em;
}

.about-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.85rem;
    margin-top: 0;
    padding-top: 0;
    border: none;
}

.about-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 980px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
    }
}

@media (max-width: 736px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .about-number {
        font-size: 3rem;
    }

    .whatsapp-button {
        padding: 12px 22px;
        font-size: 14px;
    }

    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }

    #header {
        padding: 0 1rem;
    }

    #header img {
        height: 34px;
        width: 34px;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.whatsapp-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* ========================================
   Image Defaults
   ======================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: block;
}

#header img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ========================================
   Pull-to-Refresh Prevention
   ======================================== */
html, body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   Performance Hints
   ======================================== */
.whatsapp-button,
#header h1 a,
.feature-card,
.about-card {
    will-change: transform;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.faq-item {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.faq-item[open] {
    border-color: rgba(255, 255, 255, 0.25);
}

.faq-item summary {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    padding: 0 1.5rem 1.25rem;
}

@media (max-width: 736px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer flag
   ======================================== */
.footer-flag-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
    padding-bottom: 1rem;
}

.footer-flag {
    width: 36px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    display: block;
}

/* ========================================
   Print
   ======================================== */
@media print {
    #header {
        position: static;
        background: #1c1d26;
    }

    .whatsapp-button {
        display: none;
    }
}
