:root {
    --primary-color: #00ffba;
    --secondary-color: #008f6b;
    --background: #000000;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #00ffba 0%, #008f6b 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s ease;
    --font-offset: 0px;
}

html[lang="ar"],
html[lang="hi"],
html[lang="zh"],
html[lang="ja"] {
    --font-offset: 2px;
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    background-color: #222;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.3;
    /* filter: blur(5px); */
    transform: scale(1.1);
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.highlight {
    color: var(--primary-color);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
#main-nav {
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

#main-nav.scrolled {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 10px 0;
    /* Let content dictate height instead of fixed 75px */
}

/* Language Pills */
.lang-pill {
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.lang-pill:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.lang-pill.active {
    background: rgba(0, 255, 186, 0.1) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 0 15px rgba(0, 255, 186, 0.1);
}

#main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: calc(16px + var(--font-offset, 0px));
    font-weight: 400;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-btn .btn-primary {
    background: var(--gradient);
    padding: 12px 28px;
    border-radius: 50px;
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 255, 186, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav-btn .btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 255, 186, 0.5);
    color: #fff;
}

.nav-btn {
    position: relative;
}

/* Login Dropdown */
.login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 5px 15px 5px;
    margin-top: 15px;
    z-index: 2000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.login-dropdown::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background-image: url('assets/img1.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4);
    z-index: 0;
}

.login-inner {
    position: relative;
    z-index: 1;
    /* Pour être au-dessus du fond flouté */
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.login-overlay.show {
    opacity: 1;
    visibility: visible;
}

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

.login-inner h3,
.login-inner .h3-style {
    font-size: calc(20px + var(--font-offset, 0px));
    margin-bottom: 10px;
    text-align: center;
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 600;
    padding-bottom: 15px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: calc(14px + var(--font-offset, 0px));
}

.input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: calc(15px + var(--font-offset, 0px));
    font-weight: 300;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-family: inherit;
    font-size: calc(16px + var(--font-offset, 0px));
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
}

.btn-submit:hover {
    box-shadow: 0 0 20px rgba(0, 255, 186, 0.3);
    color: #fff;
}

.social-separator {
    display: flex;
    align-items: center;
    margin: 15px 0 10px;
    justify-content: center;
}

.social-separator::before,
.social-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.social-separator span {
    padding: 0 10px;
    font-size: calc(12px + var(--font-offset, 0px));
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Astuce pour laisser déborder les ombres au survol sans casser l'animation de repli */
#login-collapsible-content:hover {
    overflow: visible !important;
}

.social-login-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.btn-social {
    flex: 1;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    font-size: calc(22px + var(--font-offset, 0px));
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
}

.btn-social:hover {
    background: rgba(0, 255, 186, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 186, 0.2);
}

.btn-social:active {
    opacity: 0.8;
}

.btn-social i {
    transition: transform 0.3s ease;
}

/* Brands color on hover if you want to be extra premium */
.btn-social.google:hover i {
    color: #fff;
}

.btn-social.apple:hover i {
    color: #fff;
}

.btn-social.facebook:hover i {
    color: #fff;
}

.forgot-link {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: calc(15px + var(--font-offset, 0px));
    text-decoration: none;
    transition: var(--transition);
    margin-top: 10px;
}

.forgot-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.magic-link-wrapper {
    text-align: center;
    margin: 15px 0 5px;
}

.magic-link {
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--primary-color);
    font-size: calc(15px + var(--font-offset, 0px));
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.magic-link:hover {
    background: rgba(0, 255, 186, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 186, 0.3);
}

.magic-link-hint {
    font-size: calc(11px + var(--font-offset, 0px));
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    line-height: 1.4;
    padding: 0 10px;
}

.reset-back {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.reset-back:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.reset-back i {
    font-size: calc(14px + var(--font-offset, 0px));
}

.login-inner {
    position: relative;
    padding: 20px 15px 10px !important;
}

.login-inner.reset-section,
.login-inner.verify-section {
    padding-top: 40px;
}

.error-msg {
    color: #ff4a4a;
    font-size: calc(14px + var(--font-offset, 0px));
    text-align: center;
    line-height: 1.4;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-msg.show {
    max-height: 200px;
    opacity: 1;
    margin: 10px 0;
    /* Centrage vertical équilibré */
    padding: 0;
}

#login-error.show {
    margin-top: 15px;
    /* Exception pour l'erreur tout en bas du popup */
    margin-bottom: 5px;
}

@keyframes slideError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.mobile-toggle {
    display: none;
    font-size: calc(24px + var(--font-offset, 0px));
    cursor: pointer;
}

/* Sections Global */
section {
    padding: 80px 0 120px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(32px, 5vw, 42px);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.section-title p {
    font-size: calc(20px + var(--font-offset, 0px));
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 150px;
}



#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: calc(22px + var(--font-offset, 0px));
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-store {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: calc(20px + var(--font-offset, 0px));
    backdrop-filter: blur(5px);
}

.btn-store:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.btn-store i {
    font-size: calc(24px + var(--font-offset, 0px));
}

.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    perspective: 1000px;
    transform: scale(1.1) !important;
}

.mockup-container {
    background: #000;
    border-radius: 40px;
    border: 10px solid #1a1a1a;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    flex-shrink: 0;
}

.mockup-main {
    position: relative;
    width: 330px;
    height: 670px;
    z-index: 10;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 255, 186, 0.3);
}

.mockup-side {
    position: absolute;
    width: 290px;
    height: 580px;
    opacity: 0.8;
    z-index: 1;
}

.mockup-left {
    transform: translateX(-180px) translateY(20px) rotateY(15deg) scale(0.85);
}

.mockup-right {
    transform: translateX(180px) rotateY(-15deg) scale(0.9);
}

.float-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -280px;
    margin-left: -140px;
    width: 280px;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatCloud 12s ease-in-out infinite;
    z-index: 1;
    transform-style: preserve-3d;
    pointer-events: none;
}

@keyframes floatCloud {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.mockup-speaker {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translate(-50%, 5px);
    width: 60px;
    height: 5px;
    background: #2a2a2a;
    border-radius: 10px;
    z-index: 12;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-display {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translate(-50%, -5px);
    width: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    z-index: 10;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 45px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.feature-card * {
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

/* 7 Blocks Layout Adaptation */
@media (min-width: 992px) {
    #features .features-grid .feature-card:first-child {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 50px;
        padding: 60px;
    }

    #features .features-grid .feature-card:first-child .feature-icon {
        margin-bottom: 0;
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    #features .features-grid .feature-card:first-child .feature-icon i {
        font-size: calc(44px + var(--font-offset, 0px));
    }

    #features .features-grid .feature-card:first-child h3 {
        font-size: calc(32px + var(--font-offset, 0px));
        margin-bottom: 10px;
    }

    #features .features-grid .feature-card:first-child p {
        font-size: calc(22px + var(--font-offset, 0px));
        max-width: 700px;
    }
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 186, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.feature-icon i {
    font-size: calc(32px + var(--font-offset, 0px));
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: calc(24px + var(--font-offset, 0px));
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.feature-card p {
    color: var(--text-muted);
    font-size: calc(20px + var(--font-offset, 0px));
}

/* How it works */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    align-items: center;
}

.step-number {
    font-size: calc(68px + var(--font-offset, 0px));
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    width: 100px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-info {
    flex: 1;
}

.step-info h3 {
    font-size: calc(28px + var(--font-offset, 0px));
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.step-info p {
    font-size: calc(20px + var(--font-offset, 0px));
    color: var(--text-muted);
}

/* Security Section */
#security .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px;
}

.security-content h2 {
    font-size: calc(42px + var(--font-offset, 0px));
    margin-bottom: 40px;
    font-weight: 800;
    line-height: 60px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.s-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.s-feature i {
    font-size: calc(28px + var(--font-offset, 0px));
    color: var(--primary-color);
    margin-top: 5px;
}

.s-feature h3 {
    font-size: calc(20px + var(--font-offset, 0px));
    margin-bottom: 8px;
    font-weight: 500;
}

.s-feature p {
    color: var(--text-muted);
    font-size: calc(20px + var(--font-offset, 0px));
}

.security-img {
    padding-top: 20px;
}

.security-img img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

/* Footer style */
/* Pricing Section */
#pricing {
    padding: 80px 0 20px;
}

.comparison-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    border: 1px solid var(--border-color);
    padding: 80px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.comparison-header-cards {
    display: grid;
    grid-template-columns: 28% 18% 18% 18% 18%;
    gap: 0;
    margin-bottom: 30px;
}

.feature-col-spacer {
    display: block;
}

.plan-header-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 20px 20px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Align cards with table columns below (outer edges touch, inner gap) */
.comparison-header-cards .plan-header-item:nth-of-type(2) {
    margin: 0 6px 0 0;
}

.comparison-header-cards .plan-header-item:nth-of-type(3) {
    margin: 0 4px 0 4px;
}

.comparison-header-cards .plan-header-item:nth-of-type(4) {
    margin: 0 4px 0 4px;
}

.comparison-header-cards .plan-header-item:nth-of-type(5) {
    margin: 0 0 0 6px;
}

.plan-header-item.annual h3 {
    color: #ff9500;
}

.plan-header-item.annual p {
    color: #ff9500;
}


.plan-header-item.premium {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.05);
}

.plan-header-item h3 {
    font-size: calc(24px + var(--font-offset, 0px));
    margin-bottom: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.plan-header-item.subscription h3 {
    color: var(--primary-color);
}

.plan-header-item.premium h3 {
    color: #ffd700;
}

.plan-header-item p {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.plan-header-item.subscription p {
    color: var(--primary-color);
}

.plan-header-item.premium p {
    color: #ffd700;
}

.plan-header-item p span {
    font-size: calc(18px + var(--font-offset, 0px));
    color: var(--text-muted);
    font-weight: 300;
}

.plan-header-item.subscription p span {
    color: var(--primary-color);
}

.plan-header-item p sup,
.price-val sup {
    font-size: 0.45em;
    vertical-align: top;
    position: relative;
    top: 8px;
    margin-left: 2px;
    opacity: 0.8;
}


.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: -20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.comparison-table th,
.comparison-table td {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-responsive.desktop .comparison-table thead th {
    padding: 0;
    height: 0;
    color: transparent;
    user-select: none;
    border: none;
}

.table-responsive.desktop .comparison-table {
    table-layout: fixed;
    width: 100%;
}

.table-responsive.desktop .feature-col {
    width: 34%;
}

.table-responsive.desktop th:nth-child(2),
.table-responsive.desktop td:nth-child(2),
.table-responsive.desktop th:nth-child(3),
.table-responsive.desktop td:nth-child(3),
.table-responsive.desktop th:nth-child(4),
.table-responsive.desktop td:nth-child(4),
.table-responsive.desktop th:nth-child(5),
.table-responsive.desktop td:nth-child(5) {
    width: 18%;
}




.feature-label {
    text-align: left;
}

.table-responsive.desktop td:nth-child(2),
.table-responsive.desktop td:nth-child(3),
.table-responsive.desktop td:nth-child(4),
.table-responsive.desktop td:nth-child(5) {
    font-size: 1.1rem;
}

.annual-cell {
    color: #ff9500 !important;
}

.annual-cell i.check,
i.check.annual-check {
    color: #ff9500 !important;
}


.feature-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-info i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 186, 0.08);
    border: 1px solid rgba(0, 255, 186, 0.1);
    border-radius: 6px;
    color: #00ffba;
    font-size: calc(16px + var(--font-offset, 0px));
    flex-shrink: 0;
}

.feature-info span {
    font-size: calc(18px + var(--font-offset, 0px));
    color: var(--text-color);
}

.premium-cell {
    color: #ffd700 !important;
}

.premium-cell i.check {
    color: #ffd700 !important;
}

.subscription-cell {
    color: var(--primary-color) !important;
}

.subscription-cell i.check {
    color: var(--primary-color) !important;
}

.comparison-table i.check {
    color: var(--primary-color);
    font-size: calc(20px + var(--font-offset, 0px));
}

.comparison-table i.cross {
    color: rgba(255, 255, 255, 0.4);
    font-size: calc(18px + var(--font-offset, 0px));
}

.price-row td {
    border-bottom: none;
    padding-top: 40px;
}

.price-val {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-val span {
    font-size: calc(18px + var(--font-offset, 0px));
    color: var(--text-muted);
    font-weight: 300;
    margin-left: 4px;
}

.comparison-table tfoot td {
    padding-top: 30px;
    border: none;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #000;
    padding: 4px 15px;
    border-radius: 50px;
    font-size: calc(10px + var(--font-offset, 0px));
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: calc(11px + var(--font-offset, 0px));
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.15);
}

.td_mobile {
    display: none;
}

/* Responsive Table */
@media (max-width: 768px) {
    .comparison-wrapper {
        padding: 0px;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .comparison-table td {
        padding: 15px 5px;
    }

    .td_mobile {
        display: table-cell;
        vertical-align: top;
    }

    .td_desktop {
        display: none;
    }

    .comparison-header-mobile {
        display: grid;
    }

    .comparison-table thead {
        display: none;
    }

    .feature-info span {
        font-size: calc(16px + var(--font-offset, 0px));
    }

    .comparison-table td {
        padding: 15px 10px;
    }

    .price-row,
    tfoot {
        display: none;
    }

    .feature-col {
        width: 50%;
    }
}

footer {
    padding: 100px 0 50px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

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

.footer-logo {
    height: 45px;
    margin-bottom: 25px;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 400px;
    font-size: calc(18px + var(--font-offset, 0px));
}

.footer-links h2,
.footer-contact h2 {
    margin-bottom: 30px;
    font-weight: 500;
    font-size: calc(20px + var(--font-offset, 0px));
}

.footer-links h3 {
    font-weight: 400;
    margin-bottom: 0;
}

.footer-links h3 a {
    color: var(--text-muted);
    font-size: calc(18px + var(--font-offset, 0px));
    text-decoration: none;
}

.footer-links h3 a:hover {
    color: var(--primary-color);
}

.footer-links h3+h3 {
    margin-top: 15px;
}

.footer-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: calc(15px + var(--font-offset, 0px));
}

/* Animations */
/* Professional Reveal System */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-zoom.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Specific Mockup Reveal System */
.reveal-up-mockup,
.reveal-left-mockup,
.reveal-right-mockup {
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

/* Initial States */
.reveal-up-mockup {
    transform: translateY(70px);
}

.reveal-left-mockup {
    transform: translateX(-250px) translateY(20px) rotateY(15deg) scale(0.85);
}

.reveal-right-mockup {
    transform: translateX(250px) rotateY(-15deg) scale(0.9);
}

/* Visible States (preservant les transforms d'origine) */
.reveal-up-mockup.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left-mockup.visible {
    opacity: 0.8;
    /* On garde l'opacité de .mockup-side */
    transform: translateX(-180px) translateY(20px) rotateY(15deg) scale(0.85);
}

.reveal-right-mockup.visible {
    opacity: 0.8;
    /* On garde l'opacité de .mockup-side */
    transform: translateX(180px) rotateY(-15deg) scale(0.9);
}

/* Responsive */
@media (max-width: 1024px) {

    #hero .container,
    #security .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }

    .s-feature p {
        font-size: 1rem
    }

    #hero .container {
        gap: 80px;
    }

    .hero-content p {
        margin: 0 auto 45px;
    }

    .hero-btns {
        justify-content: center;
    }

    .security-features {
        text-align: left;
    }

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

.languages-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    #features {
        margin-top: -70px;
    }

    .languages-wrapper {
        display: none !important
    }

    #main-nav {
        background: none;
        backdrop-filter: none;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .nav-links>li:not(.nav-btn) {
        display: none;
        /* Hide all other text links */
    }

    .mobile-toggle {
        display: none;
        /* Hide hamburger */
    }

    body {
        font-size: calc(15px + var(--font-offset, 0px));
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .feature-card p,
    .step p {
        font-size: 1rem;
    }

    .comparison-table td {
        font-size: 0.95rem;
    }



    /* Padding for better mobile view */
    section {
        padding: 60px 0 !important;
    }

    /* Adjust font sizes for mobile to be cleaner */
    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .section-title h2 {
        font-size: 1.9rem;
        margin-bottom: 25px;
        line-height: 1.2;
    }

    #languages {
        margin-top: -300px;
    }

    /* Fix hero positioning & centering on mobile */
    #hero {
        padding-top: 130px !important;
    }

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-btns {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin-top: 30px;
    }

    .btn-store {
        padding: 10px 16px;
        font-size: calc(14px + var(--font-offset, 0px));
        white-space: nowrap;
        gap: 8px;
        flex: 1;
        max-width: 160px;
        justify-content: center;
    }

    .btn-store i {
        font-size: calc(18px + var(--font-offset, 0px));
    }


    /* Shrink the login button slightly to better fit mobile */
    .nav-btn .btn-primary {
        padding: 8px 16px;
        font-size: calc(14px + var(--font-offset, 0px));
    }

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

    .step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }


    .feature-label {
        display: none;
    }

    /* Features Carousel on Mobile */
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 0 24px 30px;
        margin: 0 -24px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide scrollbar */
    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        padding: 30px;
        background: rgba(255, 255, 255, 0.08);
        /* More visible bg on move */

        /* Disable reveal animations on mobile for carousel cards */
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Disable hover animation on mobile */
    .feature-card:hover {
        transform: none;
    }

    .feature-icon {
        margin-bottom: 20px;
        width: 60px;
        height: 60px;
    }

    .login-dropdown {
        width: 300px;
        right: -10px;
        /* Adjust to stay inside the 24px container padding */
    }

    /* Table Visibility Toggle removed - desktop table used as universal layout */
    .table-responsive.desktop {
        display: block;
    }

    /* Style for mobile table feature tags */
    .feature-tag {
        color: var(--primary-color);
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 5px;
        display: inline-block;
    }

    .table-responsive.mobile td i.cross {
        font-size: 0.9rem;
    }

    .table-responsive.mobile td i.check {
        color: var(--primary-color);
        font-size: 1rem;
    }



    .table-responsive.mobile .comparison-table {
        table-layout: fixed;
    }

    .table-responsive.mobile th,
    .table-responsive.mobile td {
        width: 50%;
        text-align: center !important;
        vertical-align: middle;
    }




    /* Disable animations for the hero mockup on mobile */
    .hero-mockup {
        transform-origin: top center;
        transform: scale(.7) !important;
    }

    .hero-mockup.reveal-zoom {
        opacity: 1 !important;
        transform: translateY(0) scale(0.7) !important;
        transition: none !important;
        margin-top: -80px;
        margin-bottom: -120px;
    }

    .comparison-header-cards {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .feature-col-spacer {
        display: none;
    }

    .comparison-header-cards .plan-header-item {
        margin: 0 !important;
    }

    .plan-header-item p span,
    .price-val span {
        display: block;
        margin: 5px 0 0 0;
    }

    .plan-header-item.subscription h3 {
        color: #00ffba;
    }

    .plan-header-item p sup,
    .price-val sup {
        top: 0;
        vertical-align: super;
    }

    .table-responsive.mobile td i:not(.cross):not(.check) {
        font-size: 1.1rem;
        color: var(--primary-color);
        margin-bottom: 8px;
        display: inline-block;
    }
}

/* Legal Pages */
.legal-content {
    padding: 120px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
    color: #d1d5db;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.legal-content .last-updated {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 50px;
    font-size: 1rem;
}

.legal-content h2 {
    font-size: 1.7rem;
    color: #00ffba;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-content ul {
    margin-bottom: 20px;
    margin-left: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.legal-content ol {
    margin-bottom: 20px;
    margin-left: 20px;
    padding-left: 20px;
    list-style-type: decimal;
}

.legal-content li {
    font-size: 1.2rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content .highlight-box {
    background-color: rgba(0, 255, 186, 0.05);
    border-left: 4px solid #00ffba;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.legal-content .highlight-box p {
    margin: 0;
    color: #ffffff;
    font-style: italic;
}

/* Price Cancel Note */
.price-cancel-note {
    margin-top: 45px;
    color: #ddd;
    font-size: calc(16px + var(--font-offset, 0px));
    text-align: right;
    width: 100%;
    margin-bottom: -30px;
}

/* Mobile Pricing Cards - Hidden on Desktop */
.pricing-cards-mobile {
    display: none;
}

@media (max-width: 768px) {

    .legal-content h1 {
        font-size: 2.2rem;
    }

    .legal-content h2 {
        font-size: 1.4rem;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }

    .legal-content p {
        font-size: 1rem;
    }

    .legal-content li {
        font-size: 1rem;
    }

    .price-cancel-note {
        text-align: center;
        margin-top: 30px;
        font-size: calc(15px + var(--font-offset, 0px));
    }

    /* Hide desktop pricing elements on mobile */
    .comparison-header-cards,
    .table-responsive.desktop {
        display: none !important;
    }

    /* Show mobile pricing cards */
    .pricing-cards-mobile {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .pricing-card-mobile {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        padding: 28px 20px;
        position: relative;
        overflow: hidden;
    }

    .pricing-card-mobile.premium-combined {
        border-color: rgba(255, 215, 0, 0.3);
        background: rgba(255, 215, 0, 0.04);
    }

    .pricing-card-mobile-badge {
        position: absolute;
        top: 0;
        right: 0;
        background: #ffd700;
        color: #000;
        padding: 5px 16px;
        border-radius: 0 24px 0 14px;
        font-size: calc(10px + var(--font-offset, 0px));
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

    /* --- Header simple (carte gratuit) --- */
    .pricing-card-mobile-header {
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 10px;
    }

    .pricing-card-mobile-header h3 {
        font-size: calc(20px + var(--font-offset, 0px));
        font-weight: 800;
        color: #fff;
        margin: 0;
    }

    .pricing-card-mobile-header.dual {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        /* Alignement propre sur la base */
        gap: 10px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 20px;
    }

    .dual-col {
        flex: 1;
        text-align: center;
    }

    /* Abonnement - Vert pur */
    .sub-col h3,
    .sub-col .pricing-card-mobile-price {
        color: #00ffba !important;
    }

    .sub-col .pricing-card-mobile-price small {
        color: #00ffba !important;
        opacity: 1;
    }

    /* Lifetime - Gold pur */
    .life-col h3,
    .life-col .pricing-card-mobile-price {
        color: #ffd700 !important;
    }

    .life-col .pricing-card-mobile-price small {
        color: #ffd700 !important;
        opacity: 1;
    }

    .pricing-card-mobile-price {
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
        margin: 0;
        line-height: 1.2;
    }

    .pricing-card-mobile-price sup {
        font-size: 0.45em;
        vertical-align: top;
        position: relative;
        top: 5px;
        margin-left: 2px;
        opacity: 0.8;
    }

    .pricing-card-mobile-price small {
        display: block;
        margin-top: 6px;
        font-size: calc(11px + var(--font-offset, 0px));
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255, 255, 255, 0.5);
    }

    /* --- Header dual (carte premium combinée) --- */
    .pricing-card-mobile-header.dual {
        display: flex;
        align-items: stretch;
        text-align: center;
        gap: 0;
    }

    .dual-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .dual-divider {
        width: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 0 12px;
        align-self: stretch;
    }

    .sub-col h3 {
        color: #00ffba !important;
    }

    .sub-col .pricing-card-mobile-price {
        color: #00ffba;
        font-size: 1.6rem;
    }

    .sub-col .pricing-card-mobile-price small {
        color: rgba(0, 255, 186, 0.7);
    }

    .life-col h3 {
        color: #ffd700 !important;
    }

    .life-col .pricing-card-mobile-price {
        color: #ffd700;
        font-size: 1.6rem;
    }

    .life-col .pricing-card-mobile-price small {
        color: rgba(255, 215, 0, 0.6);
    }

    /* --- Features list (base) --- */
    .pricing-card-mobile-features {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .pricing-card-mobile-features li {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        /* Permet au séparateur de prendre 100% de la hauteur */
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .pricing-card-mobile-features li:last-child {
        border-bottom: none;
    }

    /* Icônes feature — toujours vert vif */
    .pricing-card-mobile-features li>i {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 255, 186, 0.08);
        border: 1px solid rgba(0, 255, 186, 0.1);
        border-radius: 6px;
        color: #00ffba;
        font-size: calc(14px + var(--font-offset, 0px));
        flex-shrink: 0;
        margin-top: 2px;
    }

    /* Titres des features en Gold dans la carte premium */
    .premium-combined .feature-title {
        color: #ffd700;
        font-weight: 500;
    }

    /* Icônes feature — repassent en gold */
    .premium-combined .pricing-card-mobile-features li>i {
        background: rgba(255, 215, 0, 0.08);
        border: 1px solid rgba(255, 215, 0, 0.1);
        color: #ffd700;
    }

    /* --- Carte Gratuit : layout détaillé --- */
    .pricing-card-mobile-features.detailed li {
        gap: 14px;
    }

    .feature-detail {
        flex: 1;
        min-width: 0;
    }

    .feature-detail strong {
        display: block;
        font-size: calc(14px + var(--font-offset, 0px));
        font-weight: 700;
        color: #00ffba;
        margin-bottom: 4px;
    }

    .feature-detail p {
        font-size: calc(13px + var(--font-offset, 0px));
        color: rgba(255, 255, 255, 0.55);
        line-height: 1.4;
        margin: 0;
    }

    .feature-val {
        font-weight: 700;
        color: #fff;
        font-size: calc(14px + var(--font-offset, 0px));
        width: 115px;
        /* Largeur fixe pour aligner tous les traits */
        flex-shrink: 0;
        text-align: center;
        position: relative;
        padding-left: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feature-val::before {
        content: "";
        position: absolute;
        left: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: rgba(255, 255, 255, 0.15);
    }

    .feature-val i.cross {
        color: rgba(255, 255, 255, 0.25);
        font-size: calc(16px + var(--font-offset, 0px));
    }

    /* --- Carte Premium : layout compact --- */
    .pricing-card-mobile-features.compact li {
        align-items: center;
        gap: 12px;
        padding: 11px 0;
    }

    .feature-title {
        flex: 1;
        font-size: calc(14px + var(--font-offset, 0px));
        font-weight: 600;
        color: #fff;
    }

    .dual-checks {
        display: flex;
        gap: 0;
        flex-shrink: 0;
        width: 80px;
        justify-content: space-around;
    }

    .dual-checks i.check.sub {
        color: #00ffba;
        font-size: calc(16px + var(--font-offset, 0px));
    }

    .dual-checks i.check.life {
        color: #ffd700;
        font-size: calc(16px + var(--font-offset, 0px));
    }

    /* --- Header triple (Essentiel | Annuel | Premium) --- */
    .pricing-card-mobile-header.triple {
        display: flex;
        align-items: stretch;
        text-align: center;
        gap: 0;
    }

    .triple-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 4px 2px;
    }

    /* Titres h3 communs dans triple */
    .triple-col h3 {
        font-size: calc(13px + var(--font-offset, 0px));
        font-weight: 800;
        line-height: 1.3;
        margin: 0 0 8px 0;
    }

    /* Prix communs dans triple */
    .triple-col .pricing-card-mobile-price {
        font-size: 1.25rem;
        margin: 0;
    }

    /* Annuel - Orange */
    .annual-col h3 {
        color: #ff9500 !important;
    }

    .annual-col .pricing-card-mobile-price {
        color: #ff9500;
    }

    /* Sub-col dans triple */
    .triple-col.sub-col h3 {
        color: #00ffba !important;
    }

    .triple-col.sub-col .pricing-card-mobile-price {
        color: #00ffba;
    }

    /* Life-col dans triple */
    .triple-col.life-col h3 {
        color: #ffd700 !important;
    }

    .triple-col.life-col .pricing-card-mobile-price {
        color: #ffd700;
    }

    .triple-checks {
        display: flex;
        gap: 0;
        flex-shrink: 0;
        width: 105px;
        justify-content: space-around;
    }

    .triple-checks i.check.sub {
        color: #00ffba;
        font-size: calc(15px + var(--font-offset, 0px));
    }

    .triple-checks i.check.annual-check {
        color: #ff9500;
        font-size: calc(15px + var(--font-offset, 0px));
    }

    .triple-checks i.check.life {
        color: #ffd700;
        font-size: calc(15px + var(--font-offset, 0px));
    }
}


/* Garantie de Transmission - Legal Pages */
.trust-guarantee {
    margin: -50px 0 -90px 0;
}

@media (max-width: 768px) {
    .trust-guarantee {
        margin: -40px 0;
    }
}

.guarantee-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 195, 0.2);
    border-radius: 24px;
    padding: 20px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.guarantee-card h3 {
    margin-top: 0;
    color: #00f2c3;
    font-size: 1.8rem;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.guarantee-card h3 i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #00f2c3, #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guarantee-card>p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 25px;
    margin-top: 10px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 195, 0.1);
    color: #00f2c3;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.step-item h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #fff;
    border: none;
    padding: 0;
}

.step-item p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
}

.btn-magic {
    width: 100%;
    height: 55px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0 15px;
    border-radius: 12px;
    font-size: calc(14px + var(--font-offset, 0px));
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-magic:hover {
    background: rgba(0, 255, 186, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 186, 0.2);
}

@media (max-width: 768px) {
    .guarantee-card {
        padding: 25px;
    }

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

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    z-index: 10000;
    display: none;
    /* Hidden by default */
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: 0 auto;
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    flex: 1;
}

.cookie-title {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-content a {
    color: #00ffba;
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #00ffba;
    color: #121212;
}

.cookie-btn.accept:hover {
    background: #00db9f;
    transform: translateY(-2px);
}

.cookie-btn.refuse {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cookie-btn.refuse:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }

    .cookie-btns {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #main-nav {
        height: 70px;
        padding-top: 5px;
    }

    .logo img {
        height: 35px;
    }

    .nav-btn .btn-primary {
        padding: 8px 18px;
        font-size: calc(14px + var(--font-offset, 0px));
        gap: 6px;
        transform-origin: top right;
        transform: translateX(10px) scale(.9);
    }

    .lang-container .lang-globe-btn {
        transform-origin: top center;
        transform: translateY(3px) scale(.85);
        height: 41px;
    }

    .nav-btn {
        position: static;
    }

    .login-dropdown {
        width: calc(100vw - 30px);
        left: 15px;
        right: 15px;
        top: 75px;
        margin-top: 0;
    }

    .magic-link-section,
    #btn-magic-link {
        display: none !important;
    }
}

/* RTL Support for Arabic */
body.rtl,
[dir="rtl"],
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl h1, .rtl h2, .rtl h3, .rtl h4, .rtl h5, .rtl h6,
.rtl .hero-content h1,
.rtl .hero-content p,
.rtl .step-info h3,
.rtl .step-info p,
.rtl .feature-card,
.rtl .feature-card h3,
.rtl .feature-card p,
.rtl .feature-info,
.rtl .feature-label,
.rtl .feature-detail,
.rtl .security-content,
.rtl .security-info p,
.rtl .s-feature h3,
.rtl .s-feature p,
.rtl .footer-content p {
    text-align: right;
}

.rtl .section-title,
.rtl .section-title h2,
.rtl .section-title p {
    text-align: center;
}

.rtl .price-cancel-note {
    text-align: center;
}

.rtl .legal-content .highlight-box {
    border-left: none;
    border-right: 4px solid #00ffba;
    border-radius: 8px 0 0 8px;
}

.rtl .lang-container {
    margin-left: 0;
    margin-right: 20px;
}

.rtl .nav-links {
    padding-right: 0;
}

.rtl .comparison-table th,
.rtl .comparison-table td {
    text-align: right;
}

.rtl .comparison-table td.td_desktop,
.rtl .comparison-table td.subscription-cell,
.rtl .comparison-table td.annual-cell,
.rtl .comparison-table td.premium-cell {
    text-align: center;
}

@media (max-width: 768px) {
    .rtl .hero-content {
        align-items: center;
        text-align: center;
    }
    .rtl .hero-content h1,
    .rtl .hero-content p {
        text-align: center;
    }
    .rtl .lang-container {
        margin-left: 0;
        margin-right: 10px;
    }
}