/**
 * CryptPeer - Main Stylesheet
 */

:root {
    --color-teal: #00c2a8;
    --color-midnight: #0a0e27;
    --color-republican-navy: #1a1a2e;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Ajuster le scroll pour compenser le header fixe */
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #0a0e27;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Padding-top uniquement pour la page d'accueil avec header fixe */
body.homepage,
body.cms-page {
    padding-top: 80px !important; /* Espace pour le header fixe */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

/* Header & Navigation */
.main-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    position: fixed !important; /* Fixe au lieu de sticky */
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    will-change: transform;
    transform: translateZ(0); /* Force GPU acceleration */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.main-nav {
    background: #fff;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #0a0e27;
    font-weight: 700;
    font-size: 1.25rem;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

/* Stylisation du nom CryptPeer : Crypt en noir, Peer en vert */
.brand-name,
.logo-text {
    font-weight: 700;
}

.brand-name .crypt,
.logo-text .crypt {
    color: #0a0e27;
}

.brand-name .peer,
.logo-text .peer {
    color: var(--color-teal);
}

/* Pour les cas où CryptPeer est écrit en une seule balise */
.brand-name-split {
    font-weight: 700;
}

.brand-name-split::before {
    content: "Crypt";
    color: #0a0e27;
}

.brand-name-split::after {
    content: "Peer";
    color: var(--color-teal);
}

.logo-img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    padding: 1rem 1.25rem;
    display: block;
    font-weight: 500;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s, background 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-teal);
    background: rgba(0, 194, 168, 0.05);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 80%;
}

/* Sélecteur de langue dans le menu */
.lang-selector-wrapper {
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.lang-selector-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 120px;
    z-index: 1000;
}

.lang-option {
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: transparent;
    color: #666;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9375rem;
    transition: background 0.3s, color 0.3s;
}

.lang-option:hover {
    background: #f8f9fa;
}

.lang-option[data-lang].active {
    background: #00c2a8;
    color: #fff;
    font-weight: 600;
}

/* Responsive menu */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .nav-links {
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .lang-selector-wrapper {
        width: 100%;
    }
    
    .lang-selector-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .lang-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e0e0e0;
        border-radius: 0;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 194, 168, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 194, 168, 0.1);
    border: 1px solid rgba(0, 194, 168, 0.3);
    border-radius: 50px;
    color: var(--color-teal);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #0a0e27;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto 1rem;
    font-weight: 400;
    line-height: 1.7;
}

.hero-description {
    font-size: 1.125rem;
    color: #999;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-claims {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.claim-badge {
    padding: 0.625rem 1.25rem;
    background: rgba(0, 194, 168, 0.1);
    border: 1px solid rgba(0, 194, 168, 0.3);
    border-radius: 25px;
    color: var(--color-teal);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.claim-badge:hover {
    background: rgba(0, 194, 168, 0.2);
    transform: translateY(-2px);
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
}

.btn-secondary:hover {
    background: var(--color-teal);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--color-teal);
    color: #fff;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: #0a0e27;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Positioning Section */
.positioning-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.positioning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.positioning-card {
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.positioning-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 194, 168, 0.15);
    border-color: var(--color-teal);
}

.positioning-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.positioning-card h3 {
    color: #0a0e27;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.positioning-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal) 0%, rgba(0, 194, 168, 0.5) 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 194, 168, 0.15);
    border-color: var(--color-teal);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: #0a0e27;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.features-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Architecture Section */
.architecture-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.architecture-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.architecture-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.architecture-step:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(0, 194, 168, 0.15);
    border-color: var(--color-teal);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-teal) 0%, rgba(0, 194, 168, 0.8) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 194, 168, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #0a0e27;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.step-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--color-teal);
}

.step-details strong {
    color: #0a0e27;
    display: block;
    margin-bottom: 0.5rem;
}

.step-details ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
    color: #666;
}

.step-details li {
    margin-bottom: 0.25rem;
}

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

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 194, 168, 0.1);
    border-color: var(--color-teal);
}

.value-card h3 {
    color: #0a0e27;
    font-size: 1.375rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.value-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.contact-info-box {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.contact-info-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.contact-info-header h3 {
    color: #0a0e27;
    font-size: 1.75rem;
    margin: 0;
    font-weight: 700;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info-item strong {
    color: #0a0e27;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-info-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

h2 {
    color: var(--color-teal);
}

h1 {
    color: #0a0e27;
}

/* Page Content Styles (CMS Pages) */
.page-content {
    color: #0a0e27;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #0a0e27;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content h2 {
    color: var(--color-teal);
    font-size: 2rem;
    border-bottom: 2px solid rgba(0, 194, 168, 0.2);
    padding-bottom: 0.5rem;
}

.page-content h3 {
    color: #0a0e27;
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

.page-content h4 {
    color: #0a0e27;
    font-size: 1.25rem;
    margin-top: 1.25rem;
}

.page-content p {
    color: #0a0e27;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    color: #0a0e27;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    color: #0a0e27;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.page-content strong {
    color: #0a0e27;
    font-weight: 600;
}

.page-content em {
    color: #666;
    font-style: italic;
}

.page-content a {
    color: var(--color-teal);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 194, 168, 0.3);
    transition: all 0.3s;
}

.page-content a:hover {
    color: #00a890;
    border-bottom-color: var(--color-teal);
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    color: #0a0e27;
}

.page-content table th {
    background: #f8f9fa;
    color: #0a0e27;
    font-weight: 600;
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.page-content table td {
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    color: #0a0e27;
}

.page-content table tr:nth-child(even) {
    background: #f8f9fa;
}

.page-content blockquote {
    border-left: 4px solid var(--color-teal);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

.page-content code {
    background: #f8f9fa;
    color: #0a0e27;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.page-content pre {
    background: #f8f9fa;
    color: #0a0e27;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    border: 1px solid #e0e0e0;
}

.page-content pre code {
    background: transparent;
    padding: 0;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.page-content hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 2rem 0;
}

/* Boutons dans le contenu des pages CMS */
.page-content .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--color-teal);
    color: #fff !important;
    border: none;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.5rem 0.5rem 0.5rem 0;
    border-bottom: none !important;
}

.page-content .btn:hover {
    background: #00a890;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 194, 168, 0.3);
}

.page-content .btn-primary {
    background: var(--color-teal);
    color: #fff !important;
}

.page-content .btn-primary:hover {
    background: #00a890;
    color: #fff !important;
}

.page-content .btn-secondary {
    background: transparent;
    color: var(--color-teal) !important;
    border: 2px solid var(--color-teal);
    border-bottom: 2px solid var(--color-teal) !important;
}

.page-content .btn-secondary:hover {
    background: var(--color-teal);
    color: #fff !important;
    border-bottom-color: var(--color-teal) !important;
}

/* P2P Signup Section */
.p2p-signup {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.p2p-header {
    text-align: center;
    margin-bottom: 3rem;
}

.p2p-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.p2p-subtitle {
    font-size: 1.2rem;
    color: #999;
}

.p2p-intro {
    margin-bottom: 3rem;
    display: grid;
    gap: 2rem;
}

.p2p-info-box,
.p2p-services,
.p2p-process {
    padding: 2rem;
    background: rgba(0, 194, 168, 0.05);
    border: 1px solid rgba(0, 194, 168, 0.2);
    border-radius: 8px;
}

.p2p-info-box h3,
.p2p-services h3,
.p2p-process h3 {
    color: var(--color-teal);
    margin-top: 0;
    margin-bottom: 1rem;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-list li:last-child {
    border-bottom: none;
}

.process-steps {
    padding-left: 1.5rem;
}

.process-steps li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.p2p-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid rgba(0, 194, 168, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.p2p-form-container h3 {
    color: var(--color-teal);
    margin-top: 0;
    margin-bottom: 2rem;
}

.p2p-signup-form {
    max-width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0a0e27;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    background: #fff;
    color: #0a0e27;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.required {
    color: #ff6b6b;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #999;
}

.form-status {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    background: rgba(0, 194, 168, 0.2);
    border: 1px solid var(--color-teal);
    color: var(--color-teal);
    display: block;
}

.form-status.error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    display: block;
}

/* Honeypot field (hidden from users) */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    overflow: hidden;
}

.btn {
    padding: 0.75rem 2rem;
    background: var(--color-teal);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background: #00a890;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--color-teal);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .architecture-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Security Section */
.security {
    padding: 6rem 0;
    background: #fff;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.security-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    position: relative;
}

.security-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-teal);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.security-card:hover::after {
    transform: scaleY(1);
}

.security-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 194, 168, 0.15);
    border-color: var(--color-teal);
}

.security-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.security-card h3 {
    color: #0a0e27;
    font-size: 1.375rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.security-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.security-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
.main-footer {
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #0a0e27;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    color: #0a0e27;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

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

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

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-teal);
    padding-left: 0.5rem;
}

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

.footer-bottom p {
    color: #999;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

