/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs du logo Sigillarium (sceau de cire rouge bordeaux + or) */
    --primary-color: #8B1538;       /* Rouge bordeaux (sceau) */
    --primary-dark: #7D1F1F;        /* Rouge bordeaux foncé */
    --secondary-color: #A52A2A;     /* Brun rouge */
    --accent-gold: #D4AF37;         /* Or (lettres du sceau) */
    --accent-gold-light: #F4D03F;   /* Or clair */

    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;

    /* Gradients avec couleurs du logo */
    --gradient-primary: linear-gradient(135deg, #8B1538 0%, #A52A2A 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);

    --shadow-sm: 0 1px 2px 0 rgba(139, 21, 56, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(139, 21, 56, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(139, 21, 56, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(139, 21, 56, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e4 100%);
    padding: 6rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-screen {
    width: 300px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 1rem 1rem;
}

.mockup-icon {
    font-size: 8rem;
    filter: brightness(0) invert(1);
}

/* ===== Features Section ===== */
.features {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Security Section ===== */
.security {
    padding: 6rem 0;
    background: var(--bg-light);
}

.security-features {
    max-width: 800px;
    margin: 0 auto;
}

.security-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.check-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.security-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.security-item p {
    color: var(--text-light);
}

/* ===== Download Section ===== */
.download {
    padding: 6rem 0;
    background: var(--bg-white);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.store-badge {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--text-dark);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.store-badge.google-play {
    background: linear-gradient(135deg, #34a853 0%, #0f9d58 100%);
}

.store-badge.app-store {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-icon {
    font-size: 2.5rem;
}

.badge-small {
    font-size: 0.75rem;
    opacity: 0.9;
}

.badge-large {
    font-size: 1.5rem;
    font-weight: 700;
}

.version-info {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .phone-screen {
        width: 250px;
        height: 500px;
    }

    .nav-menu {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .features,
    .security,
    .pricing,
    .download {
        padding: 3rem 0;
    }
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 6rem 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.premium {
    border: 3px solid var(--accent-gold);
    transform: scale(1.05);
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-5px);
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -5px;
    background: var(--gradient-gold);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 0.25rem 0 0 0.25rem;
    box-shadow: var(--shadow-md);
}

.plan-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.plan-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-dark);
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.price-alt {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.plan-features {
    padding: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-item .check {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-item .cross {
    color: var(--text-light);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-item.disabled {
    opacity: 0.5;
}

.guarantee {
    text-align: center;
    margin-top: 1rem;
    color: var(--success-color);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Future Features */
.future-features {
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.future-features h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.future-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    transition: transform 0.3s;
}

.future-item:hover {
    transform: translateY(-3px);
}

.future-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.future-item strong {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.future-date {
    font-size: 0.875rem;
    color: var(--accent-gold);
    font-weight: 600;
}
