/* Matrix-inspired Theme for CISSP Pocketlearn.io Landing Page */

:root {
    --neon-green: #00ff00;
    --neon-green-glow: #00ff0066;
    --dark-green: #003300;
    --darker-green: #001a00;
    --black: #000000;
    --dark-gray: #121212;
    --light-gray: #aaaaaa;
    --text-color: #E0E0E0;
    --premium-gold: #ffd700;
    --premium-gold-glow: #ffd70066;
    --font-mono: 'Roboto Mono', monospace;
    --font-sans: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--black);
    color: var(--light-gray);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Matrix Digital Rain Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/matrix-rain.gif') repeat;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

a {
    color: var(--neon-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-green);
    padding: 0.5rem 0;
}

header .container {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 3rem;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .site-title {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-weight: 700;
    text-shadow: 0 0 10px var(--neon-green-glow);
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #CCC;
}

nav.main-nav {
    display: flex;
    align-items: center;
}

nav ul.nav-list {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

nav ul li.nav-item {
    margin: 0;
}

nav ul li a.nav-link {
    color: #F5F5F5 !important;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
}

nav ul li a.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #00FF00 !important;
}

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

.mobile-menu-button svg {
    width: 32px;
    height: 32px;
    fill: var(--neon-green);
}

.close-menu-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
}

.close-menu-button svg {
    width: 24px;
    height: 24px;
    fill: var(--neon-green);
}

@media (max-width: 992px) {
    .mobile-menu-button {
        display: block;
        background: none;
        border: none;
        color: #FFFFFF;
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-menu-button svg {
        width: 32px;
        height: 32px;
        fill: #00FF00;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: 999;
        padding: 4.5rem 1.5rem 2rem;
        transition: right 0.3s ease, opacity 0.3s;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.7);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        opacity: 0;
    }

    .main-nav.active {
        right: 0;
        opacity: 1;
    }

    .close-menu-button {
        display: block;
        background: none;
        border: none;
        color: #FFFFFF;
        position: absolute;
        top: 1rem;
        right: 1rem;
        cursor: pointer;
        z-index: 999;
    }

    .close-menu-button svg {
        width: 24px;
        height: 24px;
        fill: #00FF00;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: center;
        text-align: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .nav-item {
        width: 100%;
        margin-bottom: 1rem;
        text-align: center;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        transition-delay: calc(0.05s * var(--item-index, 0));
    }

    .main-nav.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
        font-size: 1.1rem;
        margin: 0 auto;
        max-width: 200px;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link:focus {
        background: rgba(0, 255, 0, 0.1);
        transform: scale(1.05);
    }

    .nav-link.active {
        background: rgba(0, 255, 0, 0.15);
        color: var(--neon-green) !important;
    }

    .main-nav::before {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg,
                transparent 0%,
                rgba(0, 255, 0, 0.3) 50%,
                transparent 100%);
        position: absolute;
        top: 80px;
        left: 0;
    }

    .main-nav::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg,
                transparent 0%,
                rgba(0, 255, 0, 0.3) 50%,
                transparent 100%);
        position: absolute;
        bottom: 80px;
        left: 0;
    }

    nav .cta-button {
        /* Basic layout only, button styling comes from button-styles.css */
        margin: 1.5rem auto 0;
        width: 80%;
    }

    /* Remove any remaining styling */
    nav .nav-link.cta-button,
    nav ul li a.nav-link.cta-button {
        /* Basic layout only, button styling comes from button-styles.css */
        margin: 1.5rem auto 0;
        width: 80%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .logo img {
        height: 32px;
    }

    .hero {
        padding: 0 0 20px;
    }

    .hero-content {
        padding-top: 20px;
        margin-bottom: 0.5rem;
    }

    .banner-content {
        padding-top: 25px;
    }

    .hero-image {
        margin-top: 0.5rem;
    }

    .hero-content h1.glitch {
        font-size: 2.25rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .banner-screenshot {
        max-width: 90%;
        max-height: 600px;
    }

    .screenshot-container {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-banner {
        padding: 0.5rem 0 0.25rem;
        margin-top: 35px;
    }
}

@media (max-width: 576px) {
    .screenshot {
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
    }

    .screenshot-container {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: auto;
    }
}

@media (max-width: 520px) {
    .screenshot-container {
        max-width: 100%;
        aspect-ratio: 9/16;
    }

    .screenshot {
        max-width: 100%;
        max-height: 400%;
    }
}

/* App Store Button Base Style */
.app-store-button {
    display: inline-block;
    border: none;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.app-store-button:hover {
    transform: scale(1.05);
    text-shadow: none;
    /* Remove text shadow from generic link hover */
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    padding: 4.5rem 0 5.4rem;
    background-color: rgba(0, 15, 0, 0.9);
    border-bottom: 1px solid var(--dark-green);
    margin-top: 35px;
    overflow: hidden;
    min-height: 790px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--dark-green) 0%, transparent 80%);
    opacity: 0.2;
    z-index: 0;
}

.hero-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1350px;
}

.banner-content {
    flex: 1;
    padding-top: 1rem;
}

.banner-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Basic layout for banner-cta, button styling is in button-styles.css */
.banner-cta {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Banner Image and Screenshots */
.banner-image {
    flex: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 675px;
}

/* Styles spécifiques pour le slideshow principal */
#main-slideshow.screenshot-slideshow {
    width: 100%;
    max-width: 1350px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    min-height: 675px;
}

.screenshot-slideshow {
    width: 95%;
    max-width: 1125px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.screenshot {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 1350px;
    min-height: 675px;
    transition: opacity 0.5s ease-in-out;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    opacity: 0;
}

.screenshot.active {
    opacity: 1;
    position: relative;
    display: block;
}

.banner-screenshot {
    max-width: 100%;
    max-height: 800px;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
    width: auto;
    height: auto;
}

/* Responsive Styles for Banner */
@media (max-width: 992px) {
    .hero-banner .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .banner-content {
        padding-top: 0;
        max-width: 90%;
        margin: 0 auto;
    }

    .banner-image {
        min-height: 560px;
    }

    .screenshot {
        max-height: 1125px;
        min-height: 560px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 675px;
    }

    .banner-image {
        width: 100%;
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
        min-height: 505px;
    }

    .screenshot-slideshow {
        width: 100%;
        max-width: 95%;
        height: auto;
    }

    .screenshot {
        max-height: 1010px;
        min-height: 450px;
    }
}

@media (max-width: 480px) {
    .banner-image {
        margin-top: 1rem;
        min-height: 390px;
    }

    .screenshot {
        max-height: 790px;
        min-height: 390px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10px 0 20px;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    padding: 0 20px;
}

.hero-content {
    /* flex: 1; */
    max-width: 530px;
    margin: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.hero-image {
    flex: 2.5;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    padding-top: 10px;
}

.screenshot-container {
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding: 0;
}

.screenshot-slideshow {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
}

.screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 12px;
    object-fit: contain;
    object-position: top;
}

.screenshot.active {
    opacity: 1;
    position: relative;
}

/* Screenshot slideshow controls */
.slideshow-controls {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--neon-green);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .slideshow-controls {
        bottom: 10px;
        padding: 4px 6px;
    }

    .dot {
        width: 5px;
        height: 5px;
    }

    .screenshot-container {
        max-width: 505px;
        aspect-ratio: 9/16;
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .slideshow-controls {
        bottom: 8px;
        padding: 3px 5px;
    }

    .dot {
        width: 4px;
        height: 4px;
        gap: 6px;
    }

    .screenshot-container {
        max-width: 426px;
        aspect-ratio: 9/16;
    }

    .screenshot {
        max-height: 200%;
    }
}

@media (max-width: 520px) {
    .screenshot-container {
        max-width: 450px;
        aspect-ratio: 9/16;
    }
}

.iphone-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.iphone-bezel {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.demo-video {
    position: absolute;
    top: 1.8%;
    left: 6%;
    width: 88%;
    height: 96.5%;
    object-fit: cover;
    border-radius: 38px;
    z-index: 1;
    overflow: hidden;
}

.hero-image>img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    border: none;
    box-shadow: none;
    z-index: 1;
}

.hero-image .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--neon-green-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
}

/* Features Section */
.features {
    padding: 2.5rem 0 2rem;
    background-color: rgba(0, 10, 0, 0.7);
    scroll-margin-top: 70px;
    margin-top: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.features-grid>* {
    height: 100%;
    min-height: 250px;
    display: flex;
}

.features-grid>div {
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    min-height: 250px;
}

.features-grid>.flip-card {
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    min-height: 250px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem 1rem 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    min-height: 250px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    cursor: pointer;
    height: 100%;
    width: 100%;
    min-height: 220px;
    display: flex;
    box-sizing: border-box;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    top: 0;
    left: 0;
    padding: 1.2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.flip-card-front {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.9));
    -webkit-background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.9));
    border: 1px solid #333;
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Add iOS-specific support */
@supports (-webkit-touch-callout: none) {
    .flip-card-back {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.9)) !important;
        -webkit-background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.9)) !important;
    }
}

.back-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-sizing: border-box;
    overflow: hidden;
    height: 100%;
}

.flip-card-back h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.1rem;
    width: 100%;
    background: linear-gradient(45deg, #00FF00, #00CC00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.flip-card-back p {
    text-align: center;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.3;
    width: 100%;
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.2);
}

.flip-card-back p.text-light {
    color: #E0E0E0 !important;
    text-shadow: none;
}

.flip-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    /* Remove the orange glow effect */
    text-shadow: none;
}

/* For premium cards, just keep it simpler too */
.premium-section .flip-card-back .flip-icon {
    color: rgba(255, 255, 255, 0.5);
    /* Remove the orange glow effect */
    text-shadow: none;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.feature-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-icon {
    font-size: 1.5rem;
    color: #00FF00;
    margin-right: 0.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    color: #E0E0E0;
    flex-grow: 1;
}

.feature-stats {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    font-size: 0.8rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid var(--dark-green);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-weight: bold;
    color: #00FF00;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.75rem;
}

/* About Section */
.about {
    padding: 2.5rem 0 2rem;
    scroll-margin-top: 70px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text {
    flex: 1.2;
}

.about-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-image .iphone-mockup {
    max-width: 280px;
    animation: float 6s ease-in-out infinite;
}

.domains-screenshot {
    position: absolute;
    top: 1.2%;
    /* Same as iPhone 14 positioning */
    left: 6.2%;
    /* Same as iPhone 14 positioning */
    width: 87.6%;
    /* Same as iPhone 14 positioning */
    height: 97.6%;
    /* Same as iPhone 14 positioning */
    border-radius: 40px;
    /* Same as iPhone 14 rounded corners */
    overflow: hidden;
    z-index: 1;
    object-fit: cover;
    background-color: #000;
    /* Add black background */
    transition: all 0.5s ease;
}

.iphone-mockup:hover .domains-screenshot {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.about-image .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--neon-green-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
}

.domains-list {
    list-style: none;
    margin-left: 1rem;
}

.domains-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.domains-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-family: var(--font-mono);
}

/* Testimonials Section */
.testimonials {
    padding: 2.5rem 0 2rem;
    background-color: rgba(0, 10, 0, 0.7);
    border-top: 1px solid var(--dark-green);
    border-bottom: 1px solid var(--dark-green);
    scroll-margin-top: 70px;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial {
    background-color: rgba(0, 20, 0, 0.5);
    border: 1px solid var(--dark-green);
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 350px;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.1);
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--neon-green);
    line-height: 1;
}

.author {
    text-align: right;
    color: var(--neon-green);
    font-family: var(--font-mono);
}

/* Download Section */
.download {
    padding: 2.5rem 0 2rem;
    text-align: center;
    scroll-margin-top: 70px;
}

.download p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--dark-green);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 30px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo p {
    margin-bottom: 0;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--neon-green);
}

.footer-logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-weight: 300;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #E0E0E0 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #00FF00 !important;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-green);
}

/* Legal Content Pages */
.legal-content {
    padding: 5rem 0 3rem;
    margin-top: 60px;
}

.legal-text {
    background-color: rgba(0, 20, 0, 0.5);
    border: 1px solid var(--dark-green);
    border-radius: 10px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.legal-text h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark-green);
    padding-bottom: 0.5rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    font-family: var(--font-mono);
    font-weight: 700;
}

.legal-text h2:first-of-type {
    margin-top: 0;
}

.legal-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.legal-text a {
    border-bottom: 1px dashed var(--neon-green);
    padding-bottom: 2px;
}

.legal-text a:hover {
    border-bottom-style: solid;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 0;
        align-items: center;
        padding-top: 10px;
    }

    .hero-image {
        flex: 1;
        width: 100%;
        padding-top: 5px;
    }

    .screenshot-container {
        max-width: 750px;
        aspect-ratio: 9/16;
        margin-top: 0;
    }

    .screenshot {
        object-position: center 0%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 0 20px;
    }

    .hero-content {
        padding-top: 20px;
        align-items: flex-start;
        text-align: left;
    }

    .terminal-text {
        text-align: left;
    }

    .banner-content {
        padding-top: 25px;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        text-align: left;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: left;
    }

    .cta-buttons,
    .banner-cta {
        justify-content: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .screenshot {
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }

    .banner-image {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }

    .screenshot-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
        aspect-ratio: auto;
    }

    .screenshot-slideshow {
        width: 100%;
        height: auto;
        max-width: 90% !important;
    }
}

@media (max-width: 576px) {
    .screenshot {
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
    }

    .screenshot-container {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: auto;
    }
}

@media (max-width: 520px) {
    .screenshot-container {
        max-width: 100%;
        aspect-ratio: 9/16;
    }

    .screenshot {
        max-width: 100%;
        max-height: 400%;
    }
}

/* Mobile menu scroll prevention */
body.menu-open {
    overflow: hidden;
}

/* Terminal Text Effect */
.terminal-text {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    margin-bottom: 1.5rem;
    min-height: 1.5em;
    display: block;
    line-height: 1.6;
}

.cursor {
    display: inline-block;
    width: 12px;
    height: 20px;
    background-color: var(--neon-green);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    box-shadow: 0 0 10px var(--neon-green-glow);
    position: relative;
    top: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.terminal-content {
    display: inline-block;
    position: relative;
    white-space: pre-wrap;
    width: 100%;
    line-height: 1.6;
}

.terminal-content::before {
    content: '>';
    margin-right: 8px;
    color: var(--neon-green);
}

/* Active Navigation Link */
nav ul li a.active {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

nav ul li a.active::after {
    width: 100%;
}

.premium-section {
    padding: 2.5rem 0 2rem;
    background-color: rgba(0, 10, 0, 0.7);
    scroll-margin-top: 70px;
}

@media (max-width: 768px) {
    .blog-header {
        padding: 4rem 0 1.5rem;
        margin-top: 35px;
    }

    .features {
        margin-top: 35px;
    }

    .blog-post-header {
        padding: 6rem 0 1.5rem;
        margin-top: 50px;
    }
}

/* Screenshot slideshow responsive sizes */
@media (max-width: 1200px) {
    .hero .container {
        max-width: 1140px;
    }

    .screenshot-container {
        max-width: 850px;
        aspect-ratio: 9/16;
    }

    .screenshot {
        object-position: center 5%;
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 0;
        align-items: center;
        padding-top: 10px;
    }

    .hero-image {
        flex: 1;
        width: 100%;
        padding-top: 5px;
    }

    .screenshot-container {
        max-width: 750px;
        aspect-ratio: 9/16;
        margin-top: 0;
    }

    .screenshot {
        object-position: center 0%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 0 20px;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

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

    .cta-buttons,
    .banner-cta {
        justify-content: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .screenshot {
        max-height: 170%;
    }
}

@media (max-width: 576px) {
    .screenshot {
        max-height: 200%;
    }
}

@media (max-width: 520px) {
    .screenshot-container {
        max-width: 450px;
        aspect-ratio: 9/16;
    }

    .screenshot {
        max-width: 100%;
        max-height: 400%;
    }
}

/* Mobile menu scroll prevention */
body.menu-open {
    overflow: hidden;
}

/* Terminal Text Effect */
.terminal-text {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    margin-bottom: 1.5rem;
    min-height: 1.5em;
    display: block;
    line-height: 1.6;
}

.cursor {
    display: inline-block;
    width: 12px;
    height: 20px;
    background-color: var(--neon-green);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    box-shadow: 0 0 10px var(--neon-green-glow);
    position: relative;
    top: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.terminal-content {
    display: inline-block;
    position: relative;
    white-space: pre-wrap;
    width: 100%;
    line-height: 1.6;
}

.terminal-content::before {
    content: '>';
    margin-right: 8px;
    color: var(--neon-green);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
}

/* Mobile styles overrides */
@media (max-width: 768px) {
    .hero-banner .container {
        flex-direction: column;
    }

    .banner-image {
        width: 100%;
        margin-top: 2rem;
    }

    .screenshot-container,
    .screenshot-slideshow {
        max-width: 90%;
        width: 100%;
        margin: 0 auto;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .banner-image {
        margin-top: 1.5rem;
    }

    .screenshot {
        border-radius: 8px;
    }
}

/* Text Color Classes */
.text-light {
    color: var(--text-color);
}

.text-lighter {
    color: #F5F5F5;
}

.text-white {
    color: #FFFFFF;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
}

/* Blog Post Styles */
.post-meta span {
    color: var(--text-color);
}

.blog-share h3 {
    color: var(--text-color);
}

.blog-nav a {
    color: var(--text-color);
}

.blog-nav a:hover {
    color: #FFFFFF;
}

.related-posts {
    padding: 1.5rem 0 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.related-posts .section-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.related-posts .blog-grid {
    gap: 1.25rem;
}

.blog-nav {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    gap: 1rem;
}

.blog-share {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
}

.blog-share h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.markdown-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

/* Add consistent styling for markdown content */
.markdown-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.markdown-content h1 {
    font-size: 3.5rem;
    margin-top: 0;
    line-height: 1.2;
}

.markdown-content h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--dark-green);
    padding-bottom: 0.5rem;
    line-height: 1.3;
}

.markdown-content h3 {
    font-size: 1.5rem;
}

.markdown-content h4 {
    font-size: 1.3rem;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    color: var(--text-color);
}

.markdown-content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.markdown-content a {
    color: var(--neon-green);
    text-decoration: none;
    border-bottom: 1px dashed var(--neon-green);
    transition: all 0.3s ease;
}

.markdown-content a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
    border-bottom-style: solid;
}

.markdown-content code {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid var(--dark-green);
}

.markdown-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--dark-green);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: 0.9rem;
}

/* Legal Text Styles */
.legal-text p {
    color: var(--text-color);
}

.legal-text h2 {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    font-family: var(--font-mono);
    font-weight: 700;
}

.legal-text ul li {
    color: var(--text-color);
}

/* Footer Styles */
.footer-content p {
    color: var(--text-color);
}

.footer-contact p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.footer-bottom p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Footer contact styles */
footer .footer-contact a {
    color: #E0E0E0 !important;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

footer .footer-contact a:hover {
    color: #00FF00 !important;
    border-bottom-color: #00FF00;
}

/* Blog styles - Layout improvements */
.blog-header {
    padding: 6rem 0 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}

/* Styles spécifiques pour le titre du blog */
.blog-header .section-title {
    font-size: 2.5rem;
    margin: 2rem 0 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    padding-top: 1rem;
}

.blog-header .section-title.glitch {
    position: relative;
    display: inline-block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    padding: 1rem 1rem 0;
}

/* Responsive adjustments for blog title */
@media (max-width: 768px) {
    .blog-header .section-title {
        font-size: 2rem;
    }

    .blog-header .section-title.glitch {
        font-size: clamp(1.8rem, 5vw, 2rem);
    }
}

@media (max-width: 480px) {
    .blog-header .section-title {
        font-size: 1.8rem;
    }

    .blog-header .section-title.glitch {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
}

.blog-listing {
    padding: 1.5rem 0 2.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 420px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.1);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: top;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--light-gray);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
}

.blog-card-meta i {
    margin-right: 0.5rem;
    color: var(--neon-green);
}

.blog-card-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

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

.blog-card-title a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
}

.blog-card-excerpt {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    flex-grow: 1;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-card-link {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.blog-card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(5px);
}

.blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-card-image a:hover img {
    transform: scale(1.05);
}

/* Blog post page styles */
.blog-post-header {
    padding: 4rem 0 1rem;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.blog-post-content {
    padding: 0;
}

.markdown-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

/* Mobile and iOS specific adjustments */
@media (max-width: 768px),
(-webkit-min-device-pixel-ratio: 2) {
    .blog-post-header {
        padding: 4rem 0 0.5rem !important;
    }

    .post-meta {
        margin-bottom: 0.25rem !important;
        gap: 0.5rem !important;
    }

    .blog-post-content {
        padding: 0 !important;
    }

    .markdown-content {
        margin-top: 0.25rem !important;
        margin-bottom: 0.75rem !important;
        padding: 0.75rem !important;
    }

    .container {
        padding: 0 0.75rem !important;
    }
}

/* Specific iOS fixes */
@supports (-webkit-touch-callout: none) {
    .blog-post-header {
        padding-top: 4rem !important;
        padding-bottom: 0.5rem !important;
    }

    .post-meta {
        margin-bottom: 0.25rem !important;
    }

    .markdown-content {
        margin-top: 0.25rem !important;
    }
}

.error-message,
.no-posts,
.blog-loading {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    grid-column: 1 / -1;
}

.blog-loading i {
    font-size: 2rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.back-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--dark-green);
    border-radius: 4px;
    font-family: var(--font-mono);
}

/* Responsive layout improvements */
@media (min-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 850px;
    }

    .post-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .blog-card {
        max-height: none;
    }

    .blog-card-image {
        height: 200px;
    }

    .post-title {
        font-size: 1.6rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-header {
        padding: 4rem 0 1rem;
    }
}

/* Blog navigation and sharing */
.blog-nav {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    gap: 1rem;
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    max-width: 45%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    text-decoration: none;
}

.prev-post:hover,
.next-post:hover {
    background: rgba(0, 20, 0, 0.7);
    border-color: var(--neon-green);
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
}

.prev-post span,
.next-post span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--light-gray);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.prev-post:hover span,
.next-post:hover span {
    color: var(--neon-green);
}

.prev-post i,
.next-post i {
    color: var(--neon-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.prev-post i {
    margin-right: 0.8rem;
}

.next-post i {
    margin-left: 0.8rem;
}

.prev-post:hover i {
    transform: translateX(-5px);
}

.next-post:hover i {
    transform: translateX(5px);
}

.prev-post.hidden,
.next-post.hidden {
    display: none;
}

.blog-share {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
}

.blog-share h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.markdown-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

/* Add consistent styling for markdown content */
.markdown-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.markdown-content h1 {
    font-size: 3.5rem;
    margin-top: 0;
    line-height: 1.2;
}

.markdown-content h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--dark-green);
    padding-bottom: 0.5rem;
    line-height: 1.3;
}

.markdown-content h3 {
    font-size: 1.5rem;
}

.markdown-content h4 {
    font-size: 1.3rem;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    color: var(--text-color);
}

.markdown-content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.markdown-content a {
    color: var(--neon-green);
    text-decoration: none;
    border-bottom: 1px dashed var(--neon-green);
    transition: all 0.3s ease;
}

.markdown-content a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
    border-bottom-style: solid;
}

.markdown-content code {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid var(--dark-green);
}

.markdown-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--dark-green);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: 0.9rem;
}

/* Legal Text Styles */
.legal-text p {
    color: var(--text-color);
}

.legal-text h2 {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    font-family: var(--font-mono);
    font-weight: 700;
}

.legal-text ul li {
    color: var(--text-color);
}

/* Footer Styles */
.footer-content p {
    color: var(--text-color);
}

.footer-contact p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.footer-bottom p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Footer contact styles */
footer .footer-contact a {
    color: #E0E0E0 !important;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

footer .footer-contact a:hover {
    color: #00FF00 !important;
    border-bottom-color: #00FF00;
}

/* Blog styles - Layout improvements */
.blog-header {
    padding: 6rem 0 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}

/* Styles spécifiques pour le titre du blog */
.blog-header .section-title {
    font-size: 2.5rem;
    margin: 2rem 0 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    padding-top: 1rem;
}

.blog-header .section-title.glitch {
    position: relative;
    display: inline-block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    padding: 1rem 1rem 0;
}

/* Responsive adjustments for blog title */
@media (max-width: 768px) {
    .blog-header .section-title {
        font-size: 2rem;
    }

    .blog-header .section-title.glitch {
        font-size: clamp(1.8rem, 5vw, 2rem);
    }
}

@media (max-width: 480px) {
    .blog-header .section-title {
        font-size: 1.8rem;
    }

    .blog-header .section-title.glitch {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
}

.blog-listing {
    padding: 1.5rem 0 2.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 420px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.1);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: top;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--light-gray);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
}

.blog-card-meta i {
    margin-right: 0.5rem;
    color: var(--neon-green);
}

.blog-card-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

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

.blog-card-title a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
}

.blog-card-excerpt {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    flex-grow: 1;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-card-link {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.blog-card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(5px);
}

.blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-card-image a:hover img {
    transform: scale(1.05);
}

/* Blog post page styles */
.blog-post-header {
    padding: 4rem 0 1rem;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.blog-post-content {
    padding: 0;
}

.markdown-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

/* Mobile and iOS specific adjustments */
@media (max-width: 768px),
(-webkit-min-device-pixel-ratio: 2) {
    .blog-post-header {
        padding: 4rem 0 0.5rem !important;
    }

    .post-meta {
        margin-bottom: 0.25rem !important;
        gap: 0.5rem !important;
    }

    .blog-post-content {
        padding: 0 !important;
    }

    .markdown-content {
        margin-top: 0.25rem !important;
        margin-bottom: 0.75rem !important;
        padding: 0.75rem !important;
    }

    .container {
        padding: 0 0.75rem !important;
    }
}

/* Specific iOS fixes */
@supports (-webkit-touch-callout: none) {
    .blog-post-header {
        padding-top: 4rem !important;
        padding-bottom: 0.5rem !important;
    }

    .post-meta {
        margin-bottom: 0.25rem !important;
    }

    .markdown-content {
        margin-top: 0.25rem !important;
    }
}

.error-message,
.no-posts,
.blog-loading {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    grid-column: 1 / -1;
}

.blog-loading i {
    font-size: 2rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.back-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--dark-green);
    border-radius: 4px;
    font-family: var(--font-mono);
}

/* Responsive layout improvements */
@media (min-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 850px;
    }

    .post-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .blog-card {
        max-height: none;
    }

    .blog-card-image {
        height: 200px;
    }

    .post-title {
        font-size: 1.6rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-header {
        padding: 4rem 0 1rem;
    }
}

/* Blog navigation and sharing */
.blog-nav {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    gap: 1rem;
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    max-width: 45%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    text-decoration: none;
}

.prev-post:hover,
.next-post:hover {
    background: rgba(0, 20, 0, 0.7);
    border-color: var(--neon-green);
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
}

.prev-post span,
.next-post span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--light-gray);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.prev-post:hover span,
.next-post:hover span {
    color: var(--neon-green);
}

.prev-post i,
.next-post i {
    color: var(--neon-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.prev-post i {
    margin-right: 0.8rem;
}

.next-post i {
    margin-left: 0.8rem;
}

.prev-post:hover i {
    transform: translateX(-5px);
}

.next-post:hover i {
    transform: translateX(5px);
}

.prev-post.hidden,
.next-post.hidden {
    display: none;
}

.blog-share {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
}

.blog-share h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.markdown-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

/* Add consistent styling for markdown content */
.markdown-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.markdown-content h1 {
    font-size: 3.5rem;
    margin-top: 0;
    line-height: 1.2;
}

.markdown-content h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--dark-green);
    padding-bottom: 0.5rem;
    line-height: 1.3;
}

.markdown-content h3 {
    font-size: 1.5rem;
}

.markdown-content h4 {
    font-size: 1.3rem;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    color: var(--text-color);
}

.markdown-content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.markdown-content a {
    color: var(--neon-green);
    text-decoration: none;
    border-bottom: 1px dashed var(--neon-green);
    transition: all 0.3s ease;
}

.markdown-content a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
    border-bottom-style: solid;
}

.markdown-content code {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid var(--dark-green);
}

.markdown-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--dark-green);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: 0.9rem;
}

/* Legal Text Styles */
.legal-text p {
    color: var(--text-color);
}

.legal-text h2 {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    font-family: var(--font-mono);
    font-weight: 700;
}

.legal-text ul li {
    color: var(--text-color);
}

/* Footer Styles */
.footer-content p {
    color: var(--text-color);
}

.footer-contact p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.footer-bottom p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Footer contact styles */
footer .footer-contact a {
    color: #E0E0E0 !important;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

footer .footer-contact a:hover {
    color: #00FF00 !important;
    border-bottom-color: #00FF00;
}

/* Blog styles - Layout improvements */
.blog-header {
    padding: 6rem 0 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}

/* Styles spécifiques pour le titre du blog */
.blog-header .section-title {
    font-size: 2.5rem;
    margin: 2rem 0 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    padding-top: 1rem;
}

.blog-header .section-title.glitch {
    position: relative;
    display: inline-block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    padding: 1rem 1rem 0;
}

/* Responsive adjustments for blog title */
@media (max-width: 768px) {
    .blog-header .section-title {
        font-size: 2rem;
    }

    .blog-header .section-title.glitch {
        font-size: clamp(1.8rem, 5vw, 2rem);
    }
}

@media (max-width: 480px) {
    .blog-header .section-title {
        font-size: 1.8rem;
    }

    .blog-header .section-title.glitch {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
}

.blog-listing {
    padding: 1.5rem 0 2.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 420px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.1);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: top;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--light-gray);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
}

.blog-card-meta i {
    margin-right: 0.5rem;
    color: var(--neon-green);
}

.blog-card-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

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

.blog-card-title a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
}

.blog-card-excerpt {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    flex-grow: 1;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-card-link {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.blog-card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(5px);
}

.blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-card-image a:hover img {
    transform: scale(1.05);
}

/* Blog post page styles */
.blog-post-header {
    padding: 4rem 0 1rem;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.blog-post-content {
    padding: 0;
}

.markdown-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

/* Mobile and iOS specific adjustments */
@media (max-width: 768px),
(-webkit-min-device-pixel-ratio: 2) {
    .blog-post-header {
        padding: 4rem 0 0.5rem !important;
    }

    .post-meta {
        margin-bottom: 0.25rem !important;
        gap: 0.5rem !important;
    }

    .blog-post-content {
        padding: 0 !important;
    }

    .markdown-content {
        margin-top: 0.25rem !important;
        margin-bottom: 0.75rem !important;
        padding: 0.75rem !important;
    }

    .container {
        padding: 0 0.75rem !important;
    }
}

/* Specific iOS fixes */
@supports (-webkit-touch-callout: none) {
    .blog-post-header {
        padding-top: 4rem !important;
        padding-bottom: 0.5rem !important;
    }

    .post-meta {
        margin-bottom: 0.25rem !important;
    }

    .markdown-content {
        margin-top: 0.25rem !important;
    }
}

.error-message,
.no-posts,
.blog-loading {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    grid-column: 1 / -1;
}

.blog-loading i {
    font-size: 2rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.back-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--dark-green);
    border-radius: 4px;
    font-family: var(--font-mono);
}

/* Responsive layout improvements */
@media (min-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 850px;
    }

    .post-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .blog-card {
        max-height: none;
    }

    .blog-card-image {
        height: 200px;
    }

    .post-title {
        font-size: 1.6rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-header {
        padding: 4rem 0 1rem;
    }
}

/* Blog navigation and sharing */
.blog-nav {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    gap: 1rem;
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    max-width: 45%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    text-decoration: none;
}

.prev-post:hover,
.next-post:hover {
    background: rgba(0, 20, 0, 0.7);
    border-color: var(--neon-green);
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
}

.prev-post span,
.next-post span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--light-gray);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.prev-post:hover span,
.next-post:hover span {
    color: var(--neon-green);
}

.prev-post i,
.next-post i {
    color: var(--neon-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.prev-post i {
    margin-right: 0.8rem;
}

.next-post i {
    margin-left: 0.8rem;
}

.prev-post:hover i {
    transform: translateX(-5px);
}

.next-post:hover i {
    transform: translateX(5px);
}

.prev-post.hidden,
.next-post.hidden {
    display: none;
}

.blog-share {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
}

.blog-share h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.markdown-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

/* Add consistent styling for markdown content */
.markdown-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.markdown-content h1 {
    font-size: 3.5rem;
    margin-top: 0;
    line-height: 1.2;
}

.markdown-content h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--dark-green);
    padding-bottom: 0.5rem;
    line-height: 1.3;
}

.markdown-content h3 {
    font-size: 1.5rem;
}

.markdown-content h4 {
    font-size: 1.3rem;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    color: var(--text-color);
}

.markdown-content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.markdown-content a {
    color: var(--neon-green);
    text-decoration: none;
    border-bottom: 1px dashed var(--neon-green);
    transition: all 0.3s ease;
}

.markdown-content a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
    border-bottom-style: solid;
}

.markdown-content code {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid var(--dark-green);
}

.markdown-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--dark-green);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: 0.9rem;
}

/* Legal Text Styles */
.legal-text p {
    color: var(--text-color);
}

.legal-text h2 {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    font-family: var(--font-mono);
    font-weight: 700;
}

.legal-text ul li {
    color: var(--text-color);
}

/* Footer Styles */
.footer-content p {
    color: var(--text-color);
}

.footer-contact p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.footer-bottom p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Footer contact styles */
footer .footer-contact a {
    color: #E0E0E0 !important;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

footer .footer-contact a:hover {
    color: #00FF00 !important;
    border-bottom-color: #00FF00;
}

/* Blog styles - Layout improvements */
.blog-header {
    padding: 6rem 0 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}

/* Styles spécifiques pour le titre du blog */
.blog-header .section-title {
    font-size: 2.5rem;
    margin: 2rem 0 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    padding-top: 1rem;
}

.blog-header .section-title.glitch {
    position: relative;
    display: inline-block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    padding: 1rem 1rem 0;
}

/* Responsive adjustments for blog title */
@media (max-width: 768px) {
    .blog-header .section-title {
        font-size: 2rem;
    }

    .blog-header .section-title.glitch {
        font-size: clamp(1.8rem, 5vw, 2rem);
    }
}

@media (max-width: 480px) {
    .blog-header .section-title {
        font-size: 1.8rem;
    }

    .blog-header .section-title.glitch {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
}

.blog-listing {
    padding: 1.5rem 0 2.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 420px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.1);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: top;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--light-gray);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
}

.blog-card-meta i {
    margin-right: 0.5rem;
    color: var(--neon-green);
}

.blog-card-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

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

.blog-card-title a:hover {
    text-shadow: 0 0 8px var(--neon-green-glow);
}

.blog-card-excerpt {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    flex-grow: 1;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-card-link {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.blog-card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(5px);
}

.blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-card-image a:hover img {
    transform: scale(1.05);
}

/* Blog post page styles */
.blog-post-header {
    padding: 4rem 0 1rem;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.blog-post-content {
    padding: 0;
}

.markdown-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

/* Mobile and iOS specific adjustments */
@media (max-width: 768px),
(-webkit-min-device-pixel-ratio: 2) {
    .blog-post-header {
        padding: 4rem 0 0.5rem !important;
    }

    .post-meta {
        margin-bottom: 0.25rem !important;
        gap: 0.5rem !important;
    }

    .blog-post-content {
        padding: 0 !important;
    }

    .markdown-content {
        margin-top: 0.25rem !important;
        margin-bottom: 0.75rem !important;
        padding: 0.75rem !important;
    }

    .container {
        padding: 0 0.75rem !important;
    }
}

/* Specific iOS fixes */
@supports (-webkit-touch-callout: none) {
    .blog-post-header {
        padding-top: 4rem !important;
        padding-bottom: 0.5rem !important;
    }

    .post-meta {
        margin-bottom: 0.25rem !important;
    }

    .markdown-content {
        margin-top: 0.25rem !important;
    }
}

.error-message,
.no-posts,
.blog-loading {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    grid-column: 1 / -1;
}

.blog-loading i {
    font-size: 2rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.back-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--dark-green);
    border-radius: 4px;
    font-family: var(--font-mono);
}

/* Responsive layout improvements */
@media (min-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 850px;
    }

    .post-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .blog-card {
        max-height: none;
    }

    .blog-card-image {
        height: 200px;
    }

    .post-title {
        font-size: 1.6rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-header {
        padding: 4rem 0 1rem;
    }
}

/* Blog navigation and sharing */
.blog-nav {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    gap: 1rem;
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    max-width: 45%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    text-decoration: none;
}

.prev-post:hover,
.next-post:hover {
    background: rgba(0, 20, 0, 0.7);
    border-color: var(--neon-green);
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
}

.prev-post span,
.next-post span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--light-gray);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.prev-post:hover span,
.next-post:hover span {
    color: var(--neon-green);
}

.prev-post i,
.next-post i {
    color: var(--neon-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.prev-post i {
    margin-right: 0.8rem;
}

.next-post i {
    margin-left: 0.8rem;
}

.prev-post:hover i {
    transform: translateX(-5px);
}

.next-post:hover i {
    transform: translateX(5px);
}

.prev-post.hidden,
.next-post.hidden {
    display: none;
}

.blog-share {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
}

.blog-share h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.share-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-green);
    color: var(--neon-green);
    transition: all 0.3s ease;
}

.share-button:hover {
    background: var(--neon-green);
    color: var(--black);
    transform: translateY(-2px);
}

/* Related posts section */
.related-posts {
    padding: 1.5rem 0 2.5rem;
    background: rgba(0, 0, 0, 0.5);
}

.related-posts .section-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.related-posts .blog-grid {
    gap: 1.25rem;
}

/* Responsive adjustments for navigation and sharing */
@media (max-width: 767px) {
    .blog-nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .prev-post,
    .next-post {
        max-width: 100%;
        width: 100%;
    }

    .prev-post span,
    .next-post span {
        width: calc(100% - 25px);
    }

    .share-buttons {
        justify-content: center;
    }
}

/* Custom styles for the Explore Features button */
a[href="#features"].cta-button {
    /* The styles for this are now handled in button-styles.css */
}

a[href="#features"].cta-button:hover {
    /* The styles for this are now handled in button-styles.css */
}

a[href="#features"].cta-button::before {
    /* The styles for this are now handled in button-styles.css */
}

@keyframes explore-button-pulse {
    /* The styles for this are now handled in button-styles.css */
}

@keyframes explore-button-slide {
    /* The styles for this are now handled in button-styles.css */
}

/* Feature cards styling from index.html */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.features-grid>* {
    height: 100%;
    min-height: 250px;
    display: flex;
}

/* Make sure all grid items have consistent sizing */
.features-grid>div {
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    min-height: 250px;
}

/* Additional styles to ensure flip card has the correct size */
.features-grid>.flip-card {
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    min-height: 250px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem 1rem 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    min-height: 250px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
}

/* Flip card styling */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    cursor: pointer;
    height: 100%;
    width: 100%;
    min-height: 220px;
    display: flex;
    box-sizing: border-box;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    top: 0;
    left: 0;
    padding: 1.2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.flip-card-front {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.9));
    -webkit-background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.9));
    border: 1px solid #333;
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Add iOS-specific support */
@supports (-webkit-touch-callout: none) {
    .flip-card-back {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.9)) !important;
        -webkit-background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.9)) !important;
    }
}

.back-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-sizing: border-box;
    overflow: hidden;
    height: 100%;
}

.flip-card-back h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.1rem;
    width: 100%;
    background: linear-gradient(45deg, #00FF00, #00CC00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.flip-card-back p {
    text-align: center;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.3;
    width: 100%;
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.2);
}

.flip-card-back p.text-light {
    color: #E0E0E0 !important;
    text-shadow: none;
}

.flip-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    /* Remove the orange glow effect */
    text-shadow: none;
}

/* For premium cards, just keep it simpler too */
.premium-section .flip-card-back .flip-icon {
    color: rgba(255, 255, 255, 0.5);
    /* Remove the orange glow effect */
    text-shadow: none;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.feature-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-icon {
    font-size: 1.5rem;
    color: #00FF00;
    margin-right: 0.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    color: #E0E0E0;
    flex-grow: 1;
}

.feature-stats {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    font-size: 0.8rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid var(--dark-green);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-weight: bold;
    color: #00FF00;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.75rem;
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .hero-banner .container {
        flex-direction: column;
    }

    .banner-content,
    .banner-image {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .banner-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .banner-cta a {
        width: 100%;
    }

    .app-store-button img {
        max-width: 180px;
    }

    section {
        padding: 4rem 0;
    }
}

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

    /* Uniformiser le padding sur mobile */
    .flip-card-front,
    .flip-card-back {
        padding: 1rem;
    }

    /* S'assurer que le contenu s'adapte correctement */
    .back-content {
        padding: 0.25rem;
        height: 100%;
    }

    .feature-card,
    .flip-card {
        min-height: 200px;
    }

    .features-grid>*,
    .features-grid>div,
    .features-grid>.flip-card {
        min-height: 200px;
        margin-bottom: 16px;
        /* Add spacing between cards on mobile */
    }

    .feature-icon-wrapper {
        margin-bottom: 0.75rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin: 0 0 0.4rem 0;
    }

    .feature-description {
        font-size: 0.9rem;
        margin: 0 0 0.5rem 0;
        line-height: 1.3;
    }

    .feature-stats {
        padding-bottom: 0.1rem;
    }

    .stat-value {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

/* Screenshot slideshow styling */
.screenshot-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 255, 0, 0.15);
}

.screenshot-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.screenshot.active {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.slideshow-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #00FF00;
}

/* Responsive utilities for these components only */
@media (max-width: 768px) {
    .screenshot-container {
        width: 100%;
        padding: 0;
    }
}

/* iOS specific fixes for screenshots */
@supports (-webkit-touch-callout: none) {

    /* Target with high specificity */
    html body .banner-image #main-slideshow.screenshot-slideshow .screenshot {
        position: relative !important;
        width: 125% !important;
        /* Increased size by 25% */
        height: auto !important;
        max-height: none !important;
        display: none !important;
        object-fit: contain !important;
        transform: translateX(-10%) !important;
        /* Offset slightly to center better */
        -webkit-transform: translateX(-10%) !important;
        margin: 0 auto !important;
        z-index: 5 !important;
    }

    html body .banner-image #main-slideshow.screenshot-slideshow .screenshot.active {
        display: block !important;
        opacity: 1 !important;
    }

    html body .banner-image {
        min-height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden !important;
        /* Prevent images from overflowing */
        padding: 0 !important;
    }

    html body .banner-image #main-slideshow.screenshot-slideshow {
        min-height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        /* Prevent images from overflowing */
    }
}

/* Complete iOS overhaul - Alternative flip approach for iOS */
@supports (-webkit-touch-callout: none) {

    /* Section spacing fixes for iOS */
    section {
        padding: 3rem 0 !important;
    }

    .section-title {
        margin-bottom: 0.5rem !important;
    }

    .section-subtitle {
        margin-bottom: 1.25rem !important;
    }

    #download {
        padding: 2.5rem 0 !important;
    }

    #download .cta-buttons {
        margin-top: 1.25rem !important;
    }

    /* Features grid spacing */
    .features-grid {
        display: grid !important;
        gap: 1.25rem !important;
        row-gap: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }

    /* Center banner buttons on iOS */
    .banner-cta {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 1rem !important;
    }

    .banner-cta a.cta-button {
        width: 90% !important;
        max-width: 300px !important;
        margin: 0 auto 0.5rem auto !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        padding: 0.8rem 1.5rem !important;
    }

    .banner-cta a.app-store-button {
        margin: 0 auto !important;
        text-align: center !important;
        display: block !important;
    }

    .banner-cta a.app-store-button img {
        max-width: 200px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* COMPLETELY DIFFERENT APPROACH FOR iOS - Using visibility instead of 3D transforms */
    .flip-card {
        position: relative !important;
        height: 100% !important;
        width: 100% !important;
        min-height: 250px !important;
        cursor: pointer !important;
    }

    .flip-card-inner {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Hide back face by default */
    .flip-card-back {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px !important;
        padding: 1rem !important;
        background: rgba(0, 30, 0, 0.8) !important;
        border: 1px solid #00FF00 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease !important;
    }

    /* Show front face by default */
    .flip-card-front {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px !important;
        padding: 1rem !important;
        background: rgba(0, 0, 0, 0.7) !important;
        border: 1px solid #333 !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: opacity 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* When flipped, hide front and show back using opacity and visibility */
    .flip-card.flipped .flip-card-front {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .flip-card.flipped .flip-card-back {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10 !important;
    }

    /* Premium card styling */
    .premium-section .flip-card-back {
        background: rgba(0, 0, 0, 0.7) !important;
        border: 1px solid #FFD700 !important;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.2) !important;
    }

    /* Back content styling */
    .back-content {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.5rem !important;
        box-sizing: border-box !important;
    }

    /* Text styling */
    .flip-card-back h3 {
        font-size: 1.1rem !important;
        margin-top: 0 !important;
        margin-bottom: 0.5rem !important;
        padding: 0 0.5rem !important;
    }

    .flip-card-back p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        padding: 0 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .flip-card-back .flip-icon {
        margin-top: 0.75rem !important;
        font-size: 1.25rem !important;
    }

    /* Stats styling */
    .feature-stats {
        margin-top: auto !important;
        padding-bottom: 0.5rem !important;
    }

    .stat-value {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }
}

/* Premium specific styles for flip card back */
.premium-section .flip-card-back {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.premium-section .flip-card-back h3 {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.premium-section .flip-card-back p {
    color: #FFD700 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Override text color for text-light class in premium section */
.premium-section .flip-card-back p.text-light {
    color: #E0E0E0 !important;
    text-shadow: none;
}

.premium-section .flip-card-back .flip-icon {
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* iOS specific styles for premium flip card back */
@supports (-webkit-touch-callout: none) {

    /* Préserver les styles de grille importants */
    .features-grid {
        display: grid !important;
        gap: 1.75rem !important;
        row-gap: 2rem !important;
    }

    /* Préserver l'espacement entre les cartes */
    .flip-card {
        margin-bottom: 1.75rem !important;
    }

    /* Styles spécifiques pour premium */
    .premium-section .flip-card-back {
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid #FFD700;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }

    .premium-section .flip-card-back h3 {
        background: linear-gradient(45deg, #FFD700, #FFA500);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }

    .premium-section .flip-card-back p {
        color: #FFD700 !important;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
    }

    .premium-section .flip-card-back .flip-icon {
        color: #FFD700 !important;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
}

/* Add new text color classes */
.text-light {
    color: #E0E0E0;
}

.text-lighter {
    color: #F5F5F5;
}

.text-white {
    color: #FFFFFF;
}

/* Override navigation styles */
header nav.main-nav ul.nav-list li.nav-item a.nav-link {
    color: #F5F5F5 !important;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

header nav.main-nav ul.nav-list li.nav-item a.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
}

header nav.main-nav ul.nav-list li.nav-item a.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #E0E0E0;
}

/* Update other paragraph styles */
.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #E0E0E0;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #E0E0E0;
}

.footer-content p {
    color: #E0E0E0;
}

.footer-contact p {
    color: #E0E0E0;
    margin-bottom: 0.5rem;
}

.footer-bottom p {
    color: #E0E0E0;
}

/* Improve hero banner layout */
.hero-banner {
    padding: 4rem 0 3rem;
}

.hero-banner .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.banner-content {
    flex: 1;
    max-width: 550px;
}

.banner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.banner-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

/* Improve section spacing */
section {
    padding: 4rem 0;
    position: relative;
}

section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(0, 255, 0, 0) 0%,
            rgba(0, 255, 0, 0.3) 50%,
            rgba(0, 255, 0, 0) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #00FF00, #00CC00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding: 0.3rem 0;
    width: 100%;
    max-width: 800px;
}

/* Download section specific */
#download .section-title {
    text-align: center;
    width: 100%;
    margin: 0 auto 1rem;
    display: block;
    font-size: 2.5rem;
}

/* Improve header layout */
header .container {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 3rem;
    width: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Enhanced download section */
#download {
    text-align: center;
    background: rgba(0, 20, 0, 0.5);
    border-top: 1px solid rgba(0, 255, 0, 0.1);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    padding: 3rem 0;
}

#download .container {
    max-width: 800px;
}

#download .cta-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Footer improvements */
footer {
    padding: 4rem 0 2rem;
    background: rgba(0, 0, 0, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 3.5rem;
    width: auto;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    color: #00FF00;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #E0E0E0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #00FF00;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Additional responsive improvements */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Premium Section Enhancements */
#premium .section-title {
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Premium feature cards with gold theme */
.premium-section .flip-card-front.premium .feature-icon {
    color: #FFD700;
}

.feature-card.premium::before {
    background: linear-gradient(45deg, transparent 0%, rgba(255, 215, 0, 0.1) 100%);
}

.feature-card.premium .feature-stats {
    border-top: 1px solid #FFD700;
}

.premium-section .flip-card-front.feature-card.premium h3 {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.premium-section .flip-card-front.feature-card.premium .feature-description {
    color: #E0E0E0;
}

.premium-section .flip-card-front.feature-card.premium .stat-value {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
}

/* Premium cards back side */
.premium-section .flip-card-back {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(50, 40, 0, 0.9) 100%) !important;
    border: 1px solid #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

@supports (-webkit-touch-callout: none) {
    .premium-section .flip-card-back {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(50, 40, 0, 0.9) 100%) !important;
        border: 1px solid #FFD700 !important;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.2) !important;
    }
}

.premium-section .flip-card-back h3 {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.premium-section .flip-card-back p {
    color: #E0E0E0;
    text-shadow: none;
}

.premium-section .flip-card-back p.text-light {
    color: #E0E0E0;
    text-shadow: none;
}

.premium-section .flip-card-back .flip-icon {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .blog-post-header {
        padding: 5.5rem 0 1.5rem;
        margin-top: 60px;
    }

    .post-title {
        margin-top: 1rem;
    }
}

/* Ajustements responsifs pour les titres */
@media (max-width: 768px) {
    .markdown-content h1 {
        font-size: 2.2rem;
    }

    .markdown-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .markdown-content h1 {
        font-size: 2rem;
    }

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

.post-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

/* Ajustements responsifs pour le titre du post */
@media (max-width: 992px) {
    .post-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .post-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 2rem;
    }
}


#show-image-button {
    display: block;
    /* Changed from inline-block to block */
    margin-left: auto;
    /* Added for centering */
    margin-right: auto;
    /* Added for centering */
    background-color: var(--neon-green);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-family: var(--font-mono);
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
    /* Adjusted margin */
    margin-bottom: 15px;
    /* Added margin for spacing */
}

#hide-image-button {
    display: block;
    /* Changed from inline-block to block */
    margin-left: auto;
    /* Added for centering */
    margin-right: auto;
    /* Added for centering */
    background-color: var(--neon-green);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-family: var(--font-mono);
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
    /* Adjusted margin */
    margin-bottom: 15px;
    /* Added margin for spacing */
}

#show-image-button:hover {
    background-color: var(--neon-green);
    color: var(--black);
    box-shadow: 0 0 25px var(--neon-green);
    transform: translateY(-3px);
}

#hide-image-button:hover {
    background-color: transparent;
    color: var(--neon-green);
    box-shadow: 0 0 25px var(--neon-green);
    transform: translateY(-3px);
}





/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* Allow vertical scrolling */
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: 20px;
}

.modal-content {
    position: relative;
    background-color: #1a1a1a;
    margin: 5% auto;
    max-width: 500px;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    padding: 30px;
    animation: modalFadeIn 0.3s ease-out;
    max-height: 85vh;
    /* Limit height to 85% of viewport */
    overflow-y: auto;
    /* Allow scrolling if content is too tall */
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px auto;
        padding: 20px;
        width: 95%;
        max-height: 90vh;
    }

    .modal {
        padding: 10px;
    }

    .promo-modal {
        margin: 10px auto;
    }
}

@media (max-height: 700px) {
    .modal-content {
        margin: 5px auto;
        max-height: 95vh;
    }

    .coupon-code .code {
        font-size: 20px;
        padding: 8px;
    }

    .discount-badge {
        font-size: 16px;
        padding: 4px 10px;
    }
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #fff;
}

.modal h2 {
    margin-bottom: 1rem;
    color: #fff;
}

.modal p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

.form-group {
    margin-bottom: 1.5rem;
}

.modal input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 1rem;
}

.modal input[type="email"]:focus {
    outline: none;
    border-color: #4a90e2;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.success-message {
    text-align: center;
    padding: 1rem;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 4px;
    margin-top: 1rem;
}

.success-message i {
    font-size: 2rem;
    color: #4a90e2;
    margin-bottom: 0.5rem;
}

.success-message p {
    margin: 0;
    color: #4a90e2;
}

/* Waiting List Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--dark-gray);
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 20px var(--neon-green-glow);
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: var(--light-gray);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--neon-green);
}

.modal h2 {
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.modal p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.modal input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--black);
    border: 1px solid var(--neon-green);
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--font-mono);
}

.modal input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 5px var(--neon-green-glow);
}

.error-message {
    color: #ff4444;
    margin-top: 0.5rem;
    display: none;
}

.success-message {
    display: none;
    text-align: center;
    padding: 1rem;
    background-color: var(--dark-green);
    border: 1px solid var(--neon-green);
    border-radius: 4px;
    margin-top: 1rem;
}

.success-message i {
    color: var(--neon-green);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--neon-green);
    margin: 0;
}

/* Coupon Modal Styles */
.promo-modal {
    background-color: #111;
    border: 2px solid #50fa7b;
    max-width: 500px;
    margin: 5% auto;
}

.promo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.discount-badge {
    background-color: #ff6600;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    margin-left: 10px;
    /* Remove animation and glow */
    box-shadow: none;
    animation: none;
}

.coupon-code {
    margin: 20px 0;
    text-align: center;
}

.coupon-code span {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #ccc;
}

.coupon-code .code {
    background-color: #333;
    border: 1px dashed #50fa7b;
    font-family: 'Roboto Mono', monospace;
    font-size: 24px;
    font-weight: bold;
    color: #50fa7b;
    padding: 12px;
    margin: 0 auto;
    width: fit-content;
    border-radius: 4px;
    user-select: all;
}

/* Remove countdown styles */
.countdown {
    display: none;
}

#countdown-timer {
    display: none;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: rotate(5deg) scale(1);
    }

    50% {
        transform: rotate(5deg) scale(1.05);
    }

    100% {
        transform: rotate(5deg) scale(1);
    }
}

/* Responsive styles for coupon modal */
@media (max-width: 768px) {
    .promo-modal {
        padding: 20px;
    }

    /* Make close button larger and move it to avoid overlap */
    .promo-modal .close-modal {
        font-size: 2rem;
        /* Larger for easier tapping */
        right: 0.5rem;
        top: 0.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        z-index: 10;
        /* Ensure it's above other elements */
    }

    .promo-header h2 {
        font-size: 24px;
        padding-right: 50px;
        /* Make room for close button */
    }

    .discount-badge {
        font-size: 14px;
        /* Slightly smaller on mobile */
        padding: 4px 8px;
    }

    .small-text {
        font-size: 12px;
        margin: 5px 0;
    }

    .countdown {
        margin-top: 10px;
    }

    .coupon-code {
        margin: 15px 0;
    }
}

@media (max-height: 700px) {
    .promo-modal {
        padding: 15px;
    }

    .promo-header {
        margin-bottom: 10px;
    }

    .coupon-code {
        margin: 10px 0;
    }

    .coupon-code span {
        margin-bottom: 5px;
    }

    .countdown {
        margin-top: 10px;
    }

    #couponSuccessMessage {
        padding: 10px;
    }
}

/* Hide Cloudflare Turnstile widgets while keeping their functionality */
.turnstile-wrapper iframe,
#coupon-turnstile-container iframe,
#turnstile-container iframe {
    opacity: 0.01;
    /* Using 0.01 instead of 0 to keep it technically visible for API */
    pointer-events: auto;
    /* Keep it functional */
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    z-index: -1;
}

.turnstile-wrapper {
    height: 1px;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

/* About Us Page Styles */
.about-us-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.about-hero {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 60px 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: #00FF00;
    font-size: 5rem;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid #00FF00;
    animation: pulse-matrix 3s infinite;
}

.about-image .icon-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg,
            rgba(0, 255, 0, 0) 0%,
            rgba(0, 255, 0, 0.1) 50%,
            rgba(0, 255, 0, 0) 100%);
    animation: rotate-matrix 10s linear infinite;
    pointer-events: none;
}

.about-image .icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
            rgba(0, 255, 0, 0.1) 0%,
            rgba(0, 0, 0, 0) 70%);
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

.about-image .icon-wrapper i {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    animation: flicker-matrix 5s infinite;
}

@keyframes pulse-matrix {
    0% {
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    }
}

@keyframes rotate-matrix {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

@keyframes flicker-matrix {
    0% {
        opacity: 1;
    }

    3% {
        opacity: 0.8;
    }

    6% {
        opacity: 1;
    }

    7% {
        opacity: 0.9;
    }

    8% {
        opacity: 1;
    }

    9% {
        opacity: 0.9;
    }

    10% {
        opacity: 1;
    }

    89% {
        opacity: 1;
    }

    90% {
        opacity: 0.8;
    }

    91% {
        opacity: 1;
    }

    92% {
        opacity: 0.9;
    }

    93% {
        opacity: 1;
    }

    94% {
        opacity: 0.9;
    }

    95% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 0;
}

.timeline h3 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #00FF00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

.timeline-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 60px 0 40px;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 0 20px;
}

.timeline-container::-webkit-scrollbar {
    height: 8px;
}

.timeline-container::-webkit-scrollbar-track {
    background: rgba(0, 255, 0, 0.1);
    border-radius: 4px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.4);
    border-radius: 4px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 255, 0, 0.8), rgba(0, 0, 0, 0.3));
    top: 0;
    left: 0;
    right: 0;
    border-radius: 3px;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.timeline-item {
    flex: 0 0 300px;
    min-width: 300px;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #00FF00;
    border-radius: 50%;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
    z-index: 3;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 30px;
    background: rgba(0, 255, 0, 0.7);
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 0, 0.5);
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.2);
    border-color: #00FF00;
}

.timeline-content h4 {
    color: #00FF00;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.timeline-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
}

.timeline-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.timeline-nav button {
    background: rgba(0, 0, 0, 0.7);
    color: #00FF00;
    border: 2px solid #00FF00;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.timeline-nav button:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .timeline-item {
        flex: 0 0 85%;
        min-width: 250px;
    }

    .timeline-content {
        padding: 20px;
        min-height: 150px;
    }

    .timeline-content h4 {
        font-size: 1.5rem;
    }

    .timeline h3 {
        font-size: 1.8rem;
    }
}

.cta-section {
    text-align: center;
    margin: 60px 0;
    padding: 40px;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 20px;
    }
}

/* Improve mobile styling for About page */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        margin-bottom: 40px;
        align-items: center;
        text-align: center;
    }

    .about-text {
        order: 2;
        min-width: 100%;
        margin-top: 15px;
    }

    .about-image {
        order: 1;
        min-width: 100%;
        margin-bottom: 15px;
    }

    .about-image .icon-wrapper {
        width: 150px;
        height: 150px;
        font-size: 4rem;
        margin: 0 auto 15px;
    }

    .timeline {
        max-width: 900px;
    }

    .timeline-item {
        flex: 0 0 85%;
        min-width: 250px;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.faq-item {
    background-color: #111111;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #191919;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 5px 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin-top: 10px;
    color: #cccccc;
    line-height: 1.6;
}

.faq-answer ol,
.faq-answer ul {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
    color: #cccccc;
}

.faq-answer li {
    margin-bottom: 5px;
}

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

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

/* Resource Cards Styling */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid var(--neon-green-glow);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.1);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--neon-green-glow);
    border-color: var(--neon-green);
}

.resource-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--neon-green);
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--neon-green-glow);
}

.resource-icon i {
    color: var(--black);
    font-size: 1.25rem;
}

.resource-card h3 {
    margin: 0;
    color: var(--neon-green);
    font-size: 1.25rem;
    font-weight: 600;
}

.resource-card p {
    color: #ccc;
    margin: 0.75rem 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    color: var(--neon-green);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.resource-link:hover {
    color: #fff;
    text-decoration: underline;
}

.resource-link i {
    margin-left: 0.5rem;
    font-size: 0.85rem;
}



#show-image-button {
    background-color: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green-glow);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: var(--font-mono);
    display: none;
}

#show-image-button:hover {
    background-color: var(--neon-green);
    color: var(--black);
    box-shadow: 0 0 25px var(--neon-green);
    transform: translateY(-3px);
}



.image-container {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    /* Adjusted margin */
    text-align: center;
}

.image-toggle-buttons {
    text-align: center;
    margin-bottom: 2rem;
    /* Space below buttons */
}

.image-toggle-button {
    display: block;
    /* Ensure it's a block element */
    margin: 15px auto;
    /* Center it with auto horizontal margins and add vertical spacing */
    background-color: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green-glow);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    /* margin: 0 0.25rem; */
    /* Removed old margin */
}

.image-toggle-button:hover {
    background-color: var(--neon-green);
    color: var(--black);
    box-shadow: 0 0 20px var(--neon-green);
    transform: translateY(-2px);
}

#hide-image-btn {
    /* Default: visible */
}

#show-image-btn {
    display: none;
    /* Default: hidden */
}

.image-button {
    background-color: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green-glow);
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 1rem auto 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: var(--font-mono);
    font-size: 1rem;
}

.image-button:hover {
    background-color: var(--neon-green);
    color: var(--black);
    box-shadow: 0 0 25px var(--neon-green);
    transform: translateY(-3px);
}

#show-image-button {}


#hide-image-button:hover {
    background-color: transparent;
    color: var(--neon-green);
}

/* Domains Page Styling */
.domains-header {
    padding: 6rem 0 3rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.domains-overview {
    padding: 4rem 0;
}

.domain-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.domains-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.domain-card {
    display: flex;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--neon-green-glow);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--neon-green-glow);
    border-color: var(--neon-green);
}

.domain-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    background: var(--neon-green);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.domain-content {
    padding: 2rem;
    flex: 1;
}

.domain-content h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--neon-green);
}

.domain-content p {
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

.domain-topics {
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.25rem;
    border-radius: 6px;
    border-left: 3px solid var(--neon-green);
}

.domain-topics h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--neon-green);
}

.domain-topics ul {
    margin: 0;
    padding-left: 1.5rem;
}

.domain-topics li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.domain-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.domain-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.domain-link:hover {
    background: var(--neon-green);
    color: var(--black);
    box-shadow: 0 0 10px var(--neon-green-glow);
}

.domain-link i {
    font-size: 0.8rem;
}

.domain-link.coming-soon {
    border-color: var(--light-gray);
    color: var(--light-gray);
    cursor: default;
}

.domain-link.coming-soon:hover {
    background: transparent;
    box-shadow: none;
}

.domain-prep-cta {
    padding: 5rem 0;
    background: rgba(0, 25, 0, 0.4);
    text-align: center;
}

.domain-prep-cta h2 {
    margin-bottom: 1.5rem;
}

/* Responsive styling for domains page */
@media (max-width: 768px) {
    .domains-header {
        padding: 5rem 0 2rem;
    }

    .domains-overview {
        padding: 2rem 0;
    }

    .domain-card {
        flex-direction: column;
    }

    .domain-number {
        width: 100%;
        min-height: 60px;
        font-size: 2rem;
    }

    .domain-content {
        padding: 1.5rem;
    }

    .domain-topics {
        padding: 1rem;
    }

    .domain-links {
        flex-direction: column;
    }

    .domain-link {
        width: 100%;
        justify-content: center;
    }
}

.image-hidden {
    display: none;
}

/* Comparison Table Styles for GEO Strategy */
.comparison-section {
    background-color: var(--darker-green);
    padding: 4rem 0;
    border-top: 1px solid var(--dark-green);
    border-bottom: 1px solid var(--dark-green);
}

.comparison-table-container {
    overflow-x: auto;
    margin: 2rem auto;
    /* Center and add vertical spacing */
    max-width: 95%;
    /* Prevent touching screen edges */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    border: 1px solid var(--dark-green);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text-color);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1rem;
    text-align: center;
    /* Center all text */
    border-bottom: 1px solid var(--dark-green);
}

.comparison-table th {
    background-color: rgba(0, 51, 0, 0.95);
    /* Increased opacity for sticky header */
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    vertical-align: bottom;
    /* Align text to bottom to make room for badge */
    padding-top: 1.5rem;
    /* Space for badge */
    position: relative;
    z-index: 1;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background-color: rgba(0, 255, 0, 0.08);
    border-left: 1px solid var(--dark-green);
    border-right: 1px solid var(--dark-green);
    font-weight: 700;
    color: #fff;
    position: relative;
}

.comparison-table th.highlight::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: 5px;
    /* Move inside the cell */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--neon-green);
    color: var(--black);
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 2;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background-color: rgba(0, 255, 0, 0.03);
}

/* Mobile Responsive Table - Card View */
@media (max-width: 768px) {
    .comparison-table-container {
        margin: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .comparison-table {
        display: block;
        background: transparent;
    }

    .comparison-table thead {
        display: none;
        /* Hide headers */
    }

    .comparison-table tbody {
        display: block;
    }

    .comparison-table tr {
        display: block;
        margin-bottom: 2rem;
        background: rgba(0, 20, 0, 0.6);
        border: 1px solid var(--dark-green);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        text-align: right;
        border-bottom: 1px solid rgba(0, 255, 0, 0.1);
        font-size: 0.95rem;
    }

    .comparison-table td:last-child {
        border-bottom: none;
    }

    /* Use data-label for the left side text */
    .comparison-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        color: var(--neon-green);
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        text-align: left;
        margin-right: 1rem;
        max-width: 40%;
    }

    /* Feature Name (First Row of Card) */
    .comparison-table td[data-label="Feature"] {
        background-color: rgba(0, 51, 0, 0.8);
        color: var(--neon-green);
        justify-content: center;
        text-align: center;
        font-size: 1.1rem;
        letter-spacing: 1px;
        border-bottom: 1px solid var(--neon-green);
        padding: 1rem;
    }

    .comparison-table td[data-label="Feature"]::before {
        display: none;
        /* Hide "Feature" label */
    }

    .comparison-table td[data-label="Feature"] strong {
        color: var(--neon-green);
    }

    /* Highlight Pocket Coach Row */
    .comparison-table td.highlight {
        background-color: rgba(0, 255, 0, 0.1);
        color: #fff;
        font-weight: 700;
        border-left: none;
        border-right: none;
        padding: 1.2rem 1rem;
    }

    .comparison-table td.highlight::before {
        color: #fff;
        /* Make label white in highlighted row */
    }

    /* Recommended Badge in Card View */
    .comparison-table th.highlight::after {
        display: none;
        /* Hide original badge */
    }

    .comparison-table td.highlight::after {
        content: 'RECOMMENDED';
        display: block;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.5rem;
        background: var(--neon-green);
        color: var(--black);
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: bold;
        opacity: 0.8;
    }

    /* Ensure relative positioning for badge */
    .comparison-table td.highlight {
        position: relative;
    }
}

/* Steps List Styling */
.steps-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.steps-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.steps-list strong {
    color: var(--neon-green);
}