/* ============================================================
   Custom stylesheet — teal/green WhatsApp-mod style
   Drop-in replacement for the classes used in your HTML.
   ============================================================ */





:root {
    --primary-color: #039daa;
    --primary-dark: #0c6169;
    --primary-light: #07cad5;
    --secondary-color: #039daa;
    --bg: #f4fbfc;
    --surface: #ffffff;
    --text: #1a2b2e;
    --muted: #5a6e72;
    --border: #e1ecee;
    --radius: 14px;
    --shadow-sm: 0 2px 6px rgba(3, 157, 170, 0.08);
    --shadow-md: 0 6px 20px rgba(3, 157, 170, 0.12);
    --shadow-lg: 0 12px 40px rgba(3, 157, 170, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

/* ===== Navbar ===== */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nav-logo .logo-img { height: 40px; width: auto; }

.nav-menu .nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-link {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 4px;
    position: relative;
}
.nav-link:hover { color: var(--primary-color); }
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--primary-color);
    transition: width .25s;
}
.nav-link:hover::after { width: 100%; }

/* Language switcher */
.language-switcher { position: relative; }
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f8f9;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
}
.lang-toggle:hover { background: #e7f4f5; }
.lang-flag-icon, .lang-flag { width: 22px; height: auto; border-radius: 3px; }
.lang-dropdown {
    position: absolute;
    right: 0; top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    min-width: 180px;
    display: none;
}
.lang-dropdown.show { display: block; }
.lang-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 8px;
    color: var(--text); font-size: 14px;
}
.lang-item:hover, .lang-item.active { background: #eef8f9; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
}
.mobile-menu-toggle span {
    width: 26px; height: 3px;
    background: var(--text); border-radius: 2px;
}

/* ===== Hero ===== */
.hero-cover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 20px 80px;
    position: relative;
    overflow: hidden;
}
.hero-cover::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.3;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;

}
.hero-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}
.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 6px;
}
.hero-version {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 24px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    transition: transform .2s, box-shadow .2s;
}
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}
.download-btn i { font-size: 18px; }

.security-section { margin-top: 36px; }
.security-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.9;
    margin-bottom: 14px;
}
.security-logos {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.security-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}
.security-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    color: var(--primary-color);
    font-size: 12px;
}
.security-description { font-size: 15px; opacity: 0.95; max-width: 520px; }

/* Phone mockup */
.hero-phone { display: flex; justify-content: center; }


/* ===== Product / Features Section ===== */
.product-section {
    padding: 70px 20px;
    background: var(--bg);
}
.product-container {
    max-width: 1100px;
    margin: 0 auto;
}
.product-intro { text-align: center; margin-bottom: 50px; }
.product-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
}
.product-title::after {
    content: "";
    display: block;
    width: 60px; height: 3px;
    background: var(--primary-color);
    margin: 14px auto 0;
    border-radius: 2px;
}
.product-description {
    font-size: 16px;
    color: var(--muted);
    max-width: 780px;
    margin: 0 auto;
}
.product-description p + p { margin-top: 14px; }
.product-description strong { color: var(--text); }

.features-section { margin-top: 30px; }
.features-heading {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.feature-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 16px;
    text-align: center;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.feature-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-sm);
}
.feature-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* Rich content (generic article styling) */
.rich-content h2, .rich-content h3 { margin-top: 22px; margin-bottom: 10px; color: var(--primary-dark); }
.rich-content p { margin-bottom: 12px; }
.rich-content ul, .rich-content ol { margin: 0 0 14px 22px; }
.rich-content a { color: var(--primary-color); font-weight: 600; }
.rich-content a:hover { text-decoration: underline; }

/* ===== Content Blocks (Ghost Mode etc.) =====
   Per request: only 5px left/right padding from this section onward. */
.content-blocks-section,
.faq-section,
.full-content-section {
    padding-left: 5px;
    padding-right: 5px;
}

.content-blocks-section { padding-top: 60px; padding-bottom: 40px; }
.content-blocks-container { max-width: 1100px; margin: 0 auto; }

.content-blocks-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.content-block-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.content-block-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.content-block-item:nth-child(even) .content-block-image { order: -1; }

.content-block-heading {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 700;
}
.content-block-subheading {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}
.content-block-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

/* ===== FAQ Accordion ===== */
.faq-section { padding-top: 60px; padding-bottom: 60px; }
.faq-container { max-width: 850px; margin: 0 auto; }
.faq-title {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
}
.faq-title::after {
    content: "";
    display: block;
    width: 60px; height: 3px;
    background: var(--primary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .25s, border-color .25s;
}
.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-family: inherit;
}
.faq-question:hover { color: var(--primary-color); }
.faq-question-text { flex: 1; }
.faq-icon {
    color: var(--primary-color);
    transition: transform .3s ease;
    font-size: 14px;
    flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-item.active .faq-answer {
    max-height: 600px;
}
.faq-answer-content {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Full Content (article body) ===== */
.full-content-section { padding-top: 40px; padding-bottom: 60px; }
.full-content-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface);
    padding: 30px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.full-content-container h2 {
    font-size: 24px;
    color: var(--primary-dark);
    margin: 26px 0 12px;
}
.full-content-container h3 {
    font-size: 19px;
    color: var(--text);
    margin: 20px 0 10px;
}
.full-content-container h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin: 16px 0 8px;
}
.full-content-container p { margin-bottom: 12px; color: #344449; }
.full-content-container ul { margin: 0 0 14px 22px; color: #344449; }
.full-content-container li { margin-bottom: 6px; }
.full-content-container img { border-radius: 10px; margin: 10px 0; }

.content-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    margin: 14px 0;
    transition: background .2s, transform .2s;
    text-decoration: none !important;
}
.content-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.main-footer {
    background: var(--primary-dark);
    color: #d6eff1;
    padding: 50px 20px 20px;
    margin-top: 60px;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-section strong {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.footer-section a {
    color: #d6eff1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}
.footer-section a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.social-links a {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    margin-bottom: 0;
    transition: background .2s, transform .2s;
}
.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.85;
}

/* ===== Scroll-to-top button ===== */
.scroll-to-top-btn {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s, background .25s;
    z-index: 999;
}
.scroll-to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}
.scroll-to-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content { order: 2; }
    .hero-phone { order: 1; }
    .security-logos { justify-content: center; }
    .security-description { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s;
    }
    .nav-menu.active { max-height: 400px; }
    .nav-menu .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    .nav-menu .nav-item { width: 100%; }
    .nav-menu .nav-link {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid var(--border);
    }
    .mobile-menu-toggle { display: flex; }
    .lang-toggle-text { display: none; }
    .hero-cover { padding: 40px 18px 60px; }
    .product-section { padding: 50px 18px; }
    .content-block-item {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .content-block-item:nth-child(even) .content-block-image { order: 0; }
    .full-content-container { padding: 20px 14px; }
    .faq-question { padding: 16px; font-size: 15px; }
    .faq-answer-content { padding: 0 16px 16px; }
}
