/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Charte graphique Cantigest */
    --primary: #00396e;
    --primary-dark: #002a50;
    --primary-light: #004d8c;
    --secondary: #5a9851;
    --accent: #5a9851;
    --text-primary: #626e7c;
    --text-secondary: #626e7c;
    --text-light: #8a94a0;
    --bg-primary: #ffffff;
    --bg-secondary: #cfd6d7;
    --bg-tertiary: #e5eaeb;
    --border: #cfd6d7;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    padding-top: calc(80px + var(--spacing-3xl));
    padding-bottom: var(--spacing-3xl);
    background: linear-gradient(135deg, #cfd6d7 0%, #e5eaeb 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 57, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 57, 110, 0.1);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Dashboard Preview */
.dashboard-preview {
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

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

.preview-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.preview-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.preview-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    align-items: center;
}

.card-icon {
    font-size: 2rem;
}

.card-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.card-stat {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Section Styles */
.section-avantages,
.section-fonctionnalites,
.section-modules,
.section-notifications,
.section-cta,
.section-contact {
    padding: var(--spacing-3xl) 0;
}

.section-avantages {
    background-color: var(--bg-primary);
}

.section-fonctionnalites {
    background-color: var(--bg-secondary);
}

.section-modules {
    background-color: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 57, 110, 0.1);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Avantages Grid */
.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.avantage-card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.avantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.avantage-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.avantage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.avantage-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Tabs */
.fonctionnalites-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-navigation {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    background-color: white;
    padding: var(--spacing-xs);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: transparent;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background-color: var(--bg-secondary);
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
}

.tab-icon {
    font-size: 1.25rem;
}

.tabs-content {
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xl);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.tab-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.features-list li {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.features-list strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.features-list p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Tab Visual */
.tab-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-illustration {
    width: 100%;
}

.illustration-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    color: white;
    box-shadow: var(--shadow-xl);
}

.card-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.status-badge.success {
    background-color: var(--secondary);
}

.card-body-small {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.config-preview {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.config-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.config-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.config-value {
    color: var(--text-primary);
    font-weight: 600;
}

.invoice-preview {
    background-color: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.invoice-header {
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-md);
    font-weight: 600;
}

.invoice-lines {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.invoice-line {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border);
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-sm);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-sm);
    font-weight: 600;
}

.stats-preview {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-end;
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-xl);
    height: 200px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    height: var(--value);
    position: relative;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 0.8;
    transform: translateY(-5px);
}

.bar-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.module-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.module-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.module-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto var(--spacing-md);
}

.module-icon.admin {
    background: linear-gradient(135deg, #626e7c 0%, #4a5460 100%);
}

.module-icon.beneficiaire {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.module-icon.prestataire {
    background: linear-gradient(135deg, var(--secondary) 0%, #4a7f42 100%);
}

.module-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.module-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
}

.module-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.module-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
}

.module-features li {
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--text-secondary);
}

.module-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.module-footer {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
    text-align: center;
}

.module-info {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-style: italic;
}

/* Notifications Section */
.section-notifications {
    background-color: var(--bg-secondary);
}

.notifications-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.notifications-visual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.notification-card {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notif-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notif-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notif-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.notifications-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.notifications-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.benefits-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.benefits-list li {
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--text-secondary);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.highlight-text {
    padding: var(--spacing-md);
    background-color: rgba(0, 57, 110, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 500;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.cta-buttons .btn-primary {
    background-color: white;
    color: var(--primary);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--bg-secondary);
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--primary);
}

.cta-features {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.cta-feature-icon {
    font-weight: bold;
}

/* Contact Section */
.section-contact {
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.contact-method {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.contact-method-icon {
    font-size: 1.5rem;
}

.contact-method-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-benefits {
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-benefits h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.contact-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.contact-benefits li {
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--text-secondary);
}

.contact-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    margin-top: var(--spacing-md);
    border: none;
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand .logo {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .tab-content-grid,
    .notifications-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .dashboard-preview {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .tabs-navigation {
        flex-direction: column;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-features {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

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

    .contact-form {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }
}

/* Form Notifications */
.form-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    animation: slideIn 0.3s ease-out;
}

.form-notification-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #b1dfbb;
    color: #155724;
}

.form-notification-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f1b0b7;
    color: #721c24;
}

.form-notification .notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.form-notification-success .notif-icon {
    background: #28a745;
    color: white;
}

.form-notification-error .notif-icon {
    background: #dc3545;
    color: white;
}

.form-notification .notif-message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-notification .notif-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0 5px;
    line-height: 1;
}

.form-notification .notif-close:hover {
    opacity: 1;
}

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

/* Button loading state */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
