/*
Theme Name: VPN HyperNet
Theme URI: https://vpnhypernet.com
Author: NovaStratech
Author URI: https://novastratech.com
Description: Thème WordPress officiel pour VPN HyperNet - Solution VPN anonyme et sécurisée pour protéger votre identité en ligne.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vpnhypernet
Tags: vpn, security, privacy, anonymous, professional, responsive
*/

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

:root {
    --primary-color: #182335;
    --secondary-color: #4CB02C;
    --accent-color: #FE7235;
    --text-color: #0E1133;
    --text-light: #505056;
    --bg-light: #EEF1F6;
    --white: #ffffff;
    --border-color: #E7EAEF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    --gradient-hero: linear-gradient(135deg, #182335 0%, #1e3a2f 50%, #234a38 100%);
}

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* ================================
   HEADER
   ================================ */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
    max-width: 250px;
    max-height: 45px;
}

.custom-logo {
    height: auto !important;
    width: 100% !important;
    max-height: 40px !important;
    max-width: 250px !important;
    display: block;
    object-fit: contain;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-navigation > a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: block;
    font-size: 15px;
}

.main-navigation > a:hover {
    color: var(--secondary-color);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 5px;
    padding-left: 15px;
    border-left: 1px solid var(--border-color);
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-dropdown-toggle:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.lang-arrow {
    transition: transform 0.2s ease;
}

.language-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
}

.language-switcher.open .lang-dropdown-menu {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: rgba(76, 176, 44, 0.08);
}

.lang-option.active {
    background: rgba(76, 176, 44, 0.12);
    color: var(--secondary-color);
    font-weight: 600;
}

/* Header CTA Button */
.btn-header-cta {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    white-space: nowrap;
}

.btn-header-cta:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(76, 176, 44, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(254, 114, 53, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-section h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero-section p,
.hero-subtitle {
    font-size: 19px;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-section.hero-small {
    padding: 50px 0 40px;
}

.hero-section.hero-small h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.hero-section.hero-small p {
    font-size: 17px;
    margin-bottom: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Hero Trust Indicators */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.85;
}

.trust-item svg {
    flex-shrink: 0;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    font-size: 16px;
}

.btn:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #3B901F;
    border-color: #3B901F;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 28px;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 42px;
    font-size: 18px;
}

/* ================================
   CONTENT SECTIONS
   ================================ */
.content-section {
    padding: 80px 0;
}

.content-section.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 700;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ================================
   FEATURE CARDS
   ================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background: var(--white);
    padding: 35px 28px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.feature-card-large {
    text-align: left;
}

.feature-icon {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
}

.feature-card-large .feature-icon {
    justify-content: flex-start;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

.features-cta {
    text-align: center;
    margin-top: 40px;
}

/* ================================
   PLATFORM CARDS
   ================================ */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.platform-card {
    background: var(--white);
    padding: 35px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.platform-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.platform-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.platform-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ================================
   STATS SECTION
   ================================ */
.stats-section {
    background: var(--primary-color);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================
   PRICING CARDS
   ================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-top: 30px;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.pricing-price {
    margin: 15px 0 10px;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 16px;
    color: var(--text-light);
}

.pricing-savings {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.pricing-features {
    list-style: none;
    padding: 20px 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-color);
    font-size: 15px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 10px;
}

/* ================================
   DOWNLOAD CARDS
   ================================ */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.download-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.download-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.download-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.download-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.download-requirements {
    font-size: 12px !important;
    color: var(--text-light);
    margin-bottom: 15px !important;
}

.download-card .btn {
    margin-top: 10px;
}

.download-card-coming-soon {
    opacity: 0.7;
}

.badge-coming-soon {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: rgba(76, 176, 44, 0.15);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ================================
   STEPS / SETUP GUIDE
   ================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 30px auto 0;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.step-card p {
    color: var(--text-light);
    font-size: 14px;
}

.steps-note {
    text-align: center;
    color: var(--secondary-color);
    font-size: 17px;
    font-weight: 700;
    margin-top: 30px;
    padding: 16px 32px;
    background: rgba(76, 176, 44, 0.12);
    border: 2px solid rgba(76, 176, 44, 0.3);
    border-radius: 12px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    letter-spacing: 0.3px;
}

.content-section.bg-light .container:has(.steps-note) {
    text-align: center;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-light);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta-section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   LEGAL CONTENT
   ================================ */
.legal-content .legal-section {
    max-width: 800px;
    margin: 0 auto 35px;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.legal-content ul li {
    padding: 8px 0 8px 25px;
    color: var(--text-color);
    position: relative;
}

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--secondary-color);
    font-weight: bold;
}

.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--primary-color);
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    background: linear-gradient(135deg, #182335 0%, #1e3a2f 50%, #234a38 100%);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-nav h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.footer-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 4px 0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
    /* Header Mobile */
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        z-index: 105;
        padding: 80px 20px 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation > a {
        font-size: 20px;
        padding: 12px 0;
    }

    .custom-logo-link {
        max-width: 180px;
        max-height: 35px;
    }

    .custom-logo {
        max-height: 32px !important;
        max-width: 180px !important;
    }

    .language-switcher {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: 10px;
    }

    .lang-dropdown-menu {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        box-shadow: none;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        max-height: none;
    }

    .btn-header-cta {
        margin-top: 10px;
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Hero */
    .hero-section {
        padding: 50px 0 45px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p,
    .hero-subtitle {
        font-size: 16px;
    }

    .hero-section.hero-small {
        padding: 35px 0 30px;
    }

    .hero-section.hero-small h1 {
        font-size: 28px;
    }

    .hero-trust {
        gap: 15px;
    }

    .trust-item {
        font-size: 12px;
    }

    /* Sections */
    .section-title {
        font-size: 28px;
    }

    .content-section {
        padding: 50px 0;
    }

    /* Grids */
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-number {
        font-size: 36px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .pricing-card-featured {
        transform: none;
    }

    .pricing-card-featured:hover {
        transform: translateY(-5px);
    }
}

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

    .hero-section {
        padding: 40px 0 35px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .content-section {
        padding: 40px 0;
    }

    .platforms-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

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

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

    .cta-section {
        padding: 50px 15px;
    }

    .cta-section h2 {
        font-size: 26px;
    }
}

/* ================================
   HERO WITH APP IMAGE
   ================================ */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    text-align: left;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 0 0 280px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-coming-soon {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.coming-soon-item {
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ================================
   FAQ ACCORDION
   ================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question .faq-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-question .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 300px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* ================================
   BLOG POSTS
   ================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.blog-card-meta .blog-category {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.blog-card h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.blog-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--secondary-color);
}

/* ================================
   FOOTER SOCIAL LINKS
   ================================ */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-download-links {
    margin-top: 20px;
}

.footer-download-links a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--secondary-color);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.footer-download-links a:hover {
    background: #3B901F;
}

.footer-download-links .coming-soon {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

/* ================================
   RESPONSIVE ADDITIONS
   ================================ */
@media (max-width: 768px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        flex: none;
        max-width: 200px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 15px 18px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        max-width: 160px;
    }
}

/* ================================
   RTL (Arabic) SUPPORT
   ================================ */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .site-nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-buttons {
    justify-content: flex-end;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .footer-column ul {
    padding-right: 0;
}

[dir="rtl"] .legal-content ul {
    padding-right: 20px;
    padding-left: 0;
}

[dir="rtl"] .faq-question {
    text-align: right;
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-toggle {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .faq-answer {
    text-align: right;
}

[dir="rtl"] .blog-card {
    text-align: right;
}

[dir="rtl"] .back-link {
    text-align: right;
}

[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: auto;
    border-left: none;
    border-right: 1px solid var(--border-color);
    padding-left: 0;
    padding-right: 15px;
}

[dir="rtl"] .lang-dropdown-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-option {
    text-align: right;
}
