/* ========================================
   VAUBAN - Feuille de styles principale
   ======================================== */

/* ===== RESET & VARIABLES ===== */
:root {
    --primary-color: #8b5cf6;
    --primary-hover: #a855f7;
    --text-primary: #FFFFFF;
    --text-secondary: #E5E5E5;
    --bg-primary: #000000;
    --bg-glass: rgba(20, 20, 20, 0.6);
    --border-color: rgba(139, 92, 246, 0.3);
    --shadow-color: rgba(139, 92, 246, 0.4);
    --transition-base: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

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

/* ===== BASE STYLES ===== */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== FONT AWESOME ICON FIXES ===== */
.fas, .far, .fal, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro";
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fab {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* ===== BACKGROUND EFFECTS ===== */
/* Background effects removed for simplicity */

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
}

h1 {
    font-size: clamp(36px, 8vw, 72px);
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(24px, 5vw, 48px);
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: clamp(32px, 4vw, 48px);
    text-align: center;
}

p {
    font-family: "Inter", sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== SECTIONS ===== */
section {
    margin: 8% auto;
    padding: 0 5%;
    max-width: 1400px;
}

@media screen and (max-width: 768px) {
    section {
        margin: 5% auto;
        padding: 0 3%;
    }
}

@media screen and (max-width: 480px) {
    section {
        margin: 4% auto;
        padding: 0 2%;
    }
}

/* ===== MAIN HERO SECTION ===== */
main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

main img {
    width: min(300px, 80vw);
    height: auto;
    margin: 2rem 0;
}

/* ===== BUTTON CONTAINER - CORRECTION DE L'ALIGNEMENT ===== */
.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===== BUTTONS - STYLES UNIFORMES ===== */
.btn-primary,
.language-dropdown-btn {
    padding: 18px 35px;
    min-width: 180px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary::before,
.language-dropdown-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    transition: width var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before,
.language-dropdown-btn:hover::before {
    width: 100%;
}

.btn-primary:hover,
.language-dropdown-btn:hover {
    color: white;
}

.btn-primary:active,
.language-dropdown-btn:active {
    opacity: 0.9;
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-dropdown-btn {
    gap: 10px;
    justify-content: space-between;
}

.language-dropdown-btn svg {
    transition: transform var(--transition-base);
}

.language-dropdown.show + .language-dropdown-btn svg {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 180px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    box-shadow: 0 10px 30px var(--border-color);
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
}

.language-option.active {
    background: rgba(139, 92, 246, 0.4);
    color: var(--text-primary);
    font-weight: 600;
}

.language-option .flag {
    font-size: 16px;
}

/* ===== SECTION 1 - PRÉSENTATION ===== */
.section-1 {
    display: flex;
    align-items: center;
    gap: 5rem;
    min-height: 80vh;
}

.section-1 img {
    width: 45%;
    max-width: 500px;
    height: auto;
}

.section-1 .content-wrapper {
    width: 50%;
}

.section-1 h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.section-1 p {
    text-align: left;
    margin: 0;
}

/* ===== SECTION 2 - PROTECTION ===== */
.section-2 {
    text-align: center;
    padding: 5rem 3rem;
}

@media screen and (max-width: 768px) {
    .section-2 {
        padding: 3rem 2rem;
    }
}

@media screen and (max-width: 480px) {
    .section-2 {
        padding: 2rem 1.5rem;
    }
}

.section-2 h2 {
    max-width: 80%;
    margin: 0 auto 3rem auto;
}

.section-2 p {
    max-width: 70%;
    margin: 0 auto 4rem auto;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-card {
    width: 100%;
    max-width: 300px;
    min-height: 320px;
    padding: 2.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    cursor: pointer;
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.6);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
}

.feature-icon i {
    font-size: inherit;
    line-height: 1;
    display: inline-block;
}

.feature-title {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    font-size: clamp(20px, 2.5vw, 28px);
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.feature-text {
    font-family: "Inter", sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    max-width: 100%;
}

/* ===== SECTION 3 - STATS ===== */
.section-3 {
    padding: 5rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.stats-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-3 img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* ===== SECTION 4 - COMPACT ===== */
.section-4 {
    padding: 5rem 0;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.section-4 img {
    width: 45%;
    max-width: 450px;
    height: auto;
}

.section-4 .content-wrapper {
    width: 50%;
}

.section-4 h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.section-4 p {
    text-align: left;
    margin: 0;
}

/* ===== SECTION 5 - AVANTAGES ===== */
.section-5 {
    padding: 5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .section-5 {
        padding: 3rem 2rem;
    }
}

@media screen and (max-width: 480px) {
    .section-5 {
        padding: 2rem 1.5rem;
    }
}

.section-5 p {
    margin-bottom: 4rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    justify-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.advantage-card {
    width: 100%;
    max-width: 400px;
    min-height: 400px;
    padding: 3rem;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    cursor: pointer;
}

.advantage-card:hover {
    border-color: rgba(139, 92, 246, 0.6);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    min-height: 3.5rem;
}

.advantage-icon i {
    font-size: inherit;
    line-height: 1;
    display: inline-block;
}

.advantage-title {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    font-size: clamp(18px, 2vw, 24px);
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.advantage-text {
    font-family: "Inter", sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    max-width: 100%;
}

/* ===== SECURITY STATUS INDICATOR ===== */
.security-status {
    margin: 2rem 0;
    padding: 1.5rem 2.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    width: 100%;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.status-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.live-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECURITY BADGES SECTION ===== */
.section-badges {
    padding: 5rem 3rem;
    text-align: center;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.badge-item {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all var(--transition-base);
    cursor: pointer;
}

.badge-item:hover {
    border-color: rgba(139, 92, 246, 0.6);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
}

.badge-icon i {
    font-size: inherit;
    line-height: 1;
    display: inline-block;
}

.badge-item h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-item p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

/* ===== DEVELOPMENT SERVICES SECTION ===== */
.section-development {
    padding: 5rem 3rem;
    text-align: center;
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.dev-card {
    padding: 2.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all var(--transition-base);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 320px;
    justify-content: flex-start;
}

.dev-card:hover {
    border-color: rgba(139, 92, 246, 0.6);
}

.dev-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    min-height: 4rem;
}

.dev-icon i {
    font-size: inherit;
    line-height: 1;
    display: inline-block;
}

.dev-card h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dev-card p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

/* ===== ENCRYPTION VISUALIZATION ===== */
.section-encryption {
    padding: 5rem 3rem;
    text-align: center;
}

.encryption-demo {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.encryption-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.flow-item {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.flow-icon {
    font-size: 3rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
}

.flow-icon i {
    font-size: inherit;
    line-height: 1;
    display: inline-block;
}

.encryption-badge {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
}

.encryption-badge i {
    font-size: inherit;
    line-height: 1;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.encryption-pulse {
    display: none;
}

.flow-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flow-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    width: 100%;
    word-break: break-all;
    text-align: center;
}

.original-text {
    color: var(--text-primary);
}

.encrypted-text {
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.flow-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0 1rem;
}

.arrow-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    position: relative;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.arrow-head {
    width: 0;
    height: 0;
    border-left: 10px solid var(--primary-color);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    position: absolute;
    right: 0;
}


.encryption-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.enc-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    min-width: 150px;
}

.enc-stat-value {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.enc-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* ===== SECTION 6 - CTA FINAL ===== */
.section-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 0;
    min-height: 60vh;
}

.section-6 h2 {
    margin-bottom: 3rem;
    max-width: 80%;
}

.premium-cta-button {
    padding: 25px 50px;
    font-size: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 139, 250, 0.1));
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.premium-cta-button:hover {
    opacity: 0.9;
}

/* ===== GLASSMORPHISM SECTIONS ===== */
.premium-glass-section {
    backdrop-filter: blur(15px);
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    margin: 4rem auto;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.premium-glass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: -1;
}

/* ===== STAT CARDS ===== */
.premium-stat-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-stat-card:hover {
    border-color: rgba(139, 92, 246, 0.6);
}

.premium-stat-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(139, 92, 246, 0.2);
}

.premium-stat-card p {
    font-size: 16px;
    text-align: center;
}

/* ===== FOOTER ===== */
.legal-footer {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.legal-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: all var(--transition-base);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.legal-links a:hover {
    color: var(--primary-hover);
    background: rgba(139, 92, 246, 0.1);
    text-shadow: 0 0 5px var(--border-color);
}

.legal-separator {
    color: rgba(139, 92, 246, 0.5);
    margin: 0 0.5rem;
    font-size: 14px;
}

.legal-copyright {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.5rem;
}

.legal-copyright p {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

.legal-copyright strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}


/* ===== ANIMATION CLASSES ===== */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

.fade-in-scale {
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}




/* ===== DELAYS ===== */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* ===== RTL SUPPORT ===== */
.rtl-layout {
    font-family: 'Noto Sans Arabic', 'Roboto', sans-serif;
}

.rtl-layout .section-1,
.rtl-layout .content-row {
    flex-direction: row-reverse;
}

.rtl-layout .section-1 h2,
.rtl-layout .section-1 p,
.rtl-layout .section-4 h2,
.rtl-layout .section-4 p {
    text-align: right;
}

.rtl-layout p {
    text-align: right;
}

.rtl-layout .language-option {
    text-align: right;
    flex-direction: row-reverse;
}

.rtl-layout .fade-in-left {
    animation: fadeInRight 0.8s ease-out forwards;
}

.rtl-layout .fade-in-right {
    animation: fadeInLeft 0.8s ease-out forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .section-1,
    .content-row {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .section-1 img,
    .section-4 img {
        width: 60%;
    }
    
    .section-1 .content-wrapper,
    .section-4 .content-wrapper {
        width: 100%;
    }
    
    .section-1 h2,
    .section-1 p,
    .section-4 h2,
    .section-4 p {
        text-align: center;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .advantage-card {
        max-width: 350px;
        min-height: 350px;
        padding: 2.5rem;
    }
    
    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .feature-card {
        max-width: 100%;
        min-height: auto;
        padding: 2rem;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .development-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    main h1 {
        font-size: 48px;
    }
    
    .button-container {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .btn-primary,
    .language-dropdown-btn {
        width: 250px;
        max-width: 90%;
    }
    
    .language-selector {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .feature-card {
        max-width: 100%;
        min-height: auto;
        padding: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 20px;
        margin-bottom: 1rem;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantage-card {
        max-width: 380px;
        min-height: 380px;
    }
    
    .premium-glass-section {
        padding: 2rem;
        margin: 2rem auto;
    }
    
    .rtl-layout .section-1,
    .rtl-layout .content-row {
        flex-direction: column;
    }
    
    .rtl-layout .section-1 h2,
    .rtl-layout .section-1 p,
    .rtl-layout .section-4 h2,
    .rtl-layout .section-4 p {
        text-align: center;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .development-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dev-card {
        min-height: auto;
        padding: 2rem;
    }
    
    .dev-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .dev-card h3 {
        font-size: 20px;
        margin-bottom: 1rem;
    }
    
    .dev-card p {
        font-size: 14px;
    }
    
    .section-development {
        padding: 3rem 1.5rem;
    }
    
    .encryption-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .enc-stat-item {
        min-width: 100%;
    }
    
    .security-status {
        padding: 1rem 1.5rem;
        margin: 1rem 0;
    }
    
    .live-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    main h1 {
        font-size: 36px;
    }
    
    main img {
        width: 95%;
        max-width: 300px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    p {
        font-size: 16px;
    }
    
    .btn-primary,
    .language-dropdown-btn {
        width: 200px;
        max-width: 85%;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .advantage-card {
        max-width: 300px;
        min-height: 300px;
        padding: 1.5rem;
    }
    
    .advantage-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .advantage-title {
        font-size: 16px;
        margin-bottom: 1rem;
    }
    
    .advantage-text {
        font-size: 13px;
    }
    
    .feature-card {
        max-width: 100%;
        min-height: auto;
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-title {
        font-size: 18px;
        margin-bottom: 0.8rem;
    }
    
    .feature-text {
        font-size: 13px;
    }
    
    .section-2 {
        padding: 3rem 1.5rem;
    }
    
    .section-5 {
        padding: 3rem 1.5rem;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .legal-separator {
        display: none;
    }
    
    .legal-footer-content {
        padding: 0 1rem;
    }
}