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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f172a;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6366f1;
}

.nav-login {
    color: #6366f1 !important;
    font-weight: 600;
    position: relative;
}

.nav-login:hover {
    color: #4f46e5 !important;
}

.nav-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #f1f5f9;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-secondary:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f1f5f9;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
    width: 100%;
    max-width: 400px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-dots {
    display: flex;
    gap: 8px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
}

.card-dots span:first-child {
    background: #ef4444;
}

.card-dots span:nth-child(2) {
    background: #f59e0b;
}

.card-dots span:last-child {
    background: #10b981;
}

.card-title {
    font-weight: 600;
    color: #f1f5f9;
}

.metric {
    margin-bottom: 30px;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.metric-change {
    font-size: 0.9rem;
    font-weight: 600;
}

.metric-change.positive {
    color: #10b981;
}

.chart-placeholder {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 80px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #0f172a;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #1e293b;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #334155;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.feature-description {
    color: #94a3b8;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature i {
    color: #10b981;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-card {
    background: #0f172a;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
    max-width: 400px;
    width: 100%;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.about-card-header i {
    font-size: 2rem;
    color: #6366f1;
}

.about-card-header span {
    font-weight: 600;
    color: #f1f5f9;
}

.about-card-content p {
    color: #94a3b8;
    margin-bottom: 20px;
    font-style: italic;
}

.rating {
    display: flex;
    gap: 5px;
}

.rating i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Performance Stats */
.performance-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.stat-item .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Pricing Section Styles */
.pricing {
    padding: 100px 0;
    background: #0f172a;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.pricing-description {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #334155;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid #6366f1;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 20px;
}

.currency {
    font-size: 1.5rem;
    color: #94a3b8;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
}

.period {
    font-size: 1rem;
    color: #94a3b8;
}

.plan-description {
    color: #94a3b8;
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.pricing-features i {
    color: #10b981;
    font-size: 1.1rem;
}

.pricing-cta {
    margin-top: 20px;
}

.pricing-notes {
    margin-top: 15px;
    text-align: center;
}

.pricing-notes small {
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
}

.pricing-option {
    margin: 15px 0;
    padding: 15px;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(51, 65, 85, 0.5);
}

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

.toggle-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.pricing-original {
    margin-top: 5px;
}

.original-price {
    color: #64748b;
    text-decoration: line-through;
    font-size: 0.9rem;
}

/* Sélecteur de type de compte */
.account-type-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.type-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(51, 65, 85, 0.3);
    border: 2px solid rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-btn:hover {
    background: rgba(51, 65, 85, 0.5);
    border-color: rgba(51, 65, 85, 0.7);
    color: #e2e8f0;
}

.type-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.type-btn i {
    font-size: 1.2rem;
}

/* Vues de tarification */
.pricing-view {
    transition: all 0.3s ease;
}

.pricing-view.hidden {
    display: none !important;
}

/* Disposition à 3 colonnes sur écrans larges */
@media (min-width: 992px) {
    .pricing-view .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Pricing Page Styles */
.pricing-section {
    padding: 100px 0;
    background: #0f172a;
    min-height: 100vh;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.pricing-description {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #334155;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid #6366f1;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 20px;
}

.currency {
    font-size: 1.5rem;
    color: #94a3b8;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
}

.period {
    font-size: 1rem;
    color: #94a3b8;
}

.plan-description {
    color: #94a3b8;
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.pricing-features i {
    color: #10b981;
    font-size: 1.1rem;
}

.pricing-footer {
    text-align: center;
    margin-top: 60px;
    color: #94a3b8;
}

/* Security Page Styles */
.security-section {
    padding: 100px 0;
    background: #0f172a;
    min-height: 100vh;
}

.security-header {
    text-align: center;
    margin-bottom: 60px;
}

.security-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.security-description {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.security-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #334155;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.security-icon {
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.security-icon i {
    font-size: 2rem;
    color: #6366f1;
}

.security-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.security-card-description {
    color: #94a3b8;
    line-height: 1.6;
}

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

.certifications-title {
    font-size: 2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 40px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.certification-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #1e293b;
    border-radius: 15px;
    border: 1px solid #334155;
}

.certification-item i {
    font-size: 2rem;
    color: #10b981;
}

.certification-item span {
    color: #f1f5f9;
    font-weight: 600;
}

/* Privacy, Terms, Cookies Page Styles */
.privacy-section, .terms-section, .cookies-section {
    padding: 100px 0;
    background: #0f172a;
    min-height: 100vh;
}

.privacy-header, .terms-header, .cookies-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-title, .terms-title, .cookies-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.privacy-description, .terms-description, .cookies-description {
    font-size: 1.2rem;
    color: #94a3b8;
}

.privacy-content, .terms-content, .cookies-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section-content, .terms-section-content, .cookies-section-content {
    background: #1e293b;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #334155;
}

.privacy-section-content h2, .terms-section-content h2, .cookies-section-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.privacy-section-content h3, .terms-section-content h3, .cookies-section-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 25px 0 15px 0;
}

.privacy-section-content p, .terms-section-content p, .cookies-section-content p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 15px;
}

.privacy-section-content ul, .terms-section-content ul, .cookies-section-content ul {
    color: #94a3b8;
    line-height: 1.7;
    margin-left: 20px;
}

.privacy-section-content li, .terms-section-content li, .cookies-section-content li {
    margin-bottom: 8px;
}

.privacy-section-content strong, .terms-section-content strong, .cookies-section-content strong {
    color: #e2e8f0;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: #6366f1;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta .btn-secondary:hover {
    background: white;
    color: #6366f1;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 10px;
    color: #6366f1;
}

.footer-description {
    color: #64748b;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6366f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1e293b;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .btn {
        padding: 14px 28px;
    }
}
