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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1f2937;
    --light: #f9fafb;
    --border: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --sidebar-width: 280px;
    --header-height: 70px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--text-primary);
    background: var(--light);
    line-height: 1.6;
}

/* Fallback pour les icônes si Font Awesome ne charge pas */
.fas::before,
.fab::before {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: white;
    border-bottom: 1px solid var(--border);
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
}

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

.header-actions {
    display: flex;
    gap: 12px;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 20px 0;
    z-index: 90;
}

.progress-indicator {
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-circle circle {
    fill: none;
    stroke-width: 8;
}

.progress-circle circle:first-child {
    stroke: var(--border);
}

.progress-circle circle:last-child {
    stroke: var(--primary);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    color: var(--text-secondary);
}

.nav-item:hover {
    background: var(--light);
    color: var(--primary);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.nav-item.completed {
    color: var(--success);
}

.nav-item i:first-child {
    width: 20px;
    text-align: center;
}

.nav-item span {
    flex: 1;
}

.nav-check {
    opacity: 0;
    color: var(--success);
    font-size: 0.9rem;
}

.nav-item.completed .nav-check {
    opacity: 1;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--header-height);
    padding: 40px 20px;
    min-height: calc(100vh - var(--header-height));
}

.content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.content-section.active {
    display: block;
}

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

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header i {
    color: var(--primary);
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

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

.btn-secondary:hover {
    background: var(--dark);
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-success {
    background: var(--success);
    color: white;
    font-size: 1.1rem;
    padding: 16px 32px;
}

.btn-success:hover {
    background: #059669;
}

.btn-next {
    margin-top: 40px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Cards */
.welcome-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.welcome-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.welcome-card > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

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

.stat-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.stat-card p {
    color: var(--text-secondary);
}

/* Info Box */
.info-box {
    display: flex;
    gap: 16px;
    background: #eff6ff;
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-box h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

.info-box p {
    margin-bottom: 8px;
}

/* Subsections */
.subsection {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.subsection h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.subsection h3 i {
    color: var(--primary);
}

.explanation {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.explanation p {
    margin-bottom: 12px;
}

.explanation ul {
    margin-left: 20px;
}

.explanation li {
    margin-bottom: 8px;
}

/* SWOT Grid */
.swot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.swot-box {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.swot-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.swot-box.strengths {
    border-color: var(--success);
}

.swot-box.strengths h4 {
    color: var(--success);
}

.swot-box.weaknesses {
    border-color: var(--warning);
}

.swot-box.weaknesses h4 {
    color: var(--warning);
}

.swot-box.opportunities {
    border-color: var(--primary);
}

.swot-box.opportunities h4 {
    color: var(--primary);
}

.swot-box.threats {
    border-color: var(--danger);
}

.swot-box.threats h4 {
    color: var(--danger);
}

.swot-box textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

/* SMART Guide */
.smart-guide {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.smart-item {
    display: flex;
    gap: 20px;
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
}

.smart-letter {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 10px;
    flex-shrink: 0;
}

.smart-content h4 {
    margin-bottom: 4px;
}

.smart-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.example {
    display: inline-block;
    background: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--primary);
    border: 1px solid var(--border);
}

/* Items List */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.item-card {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
}

.item-content {
    flex: 1;
}

.item-content h4 {
    margin-bottom: 8px;
}

.item-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.item-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-secondary);
}

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

.icon-btn.danger:hover {
    background: var(--danger);
}

/* Calculator */
.calculator-box,
.roi-calculator {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
}

.calc-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.calc-row label {
    font-weight: 600;
    color: var(--text-primary);
}

.calc-row input {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.calc-result {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--success);
}

.calc-group {
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.calc-group h4 {
    margin-bottom: 16px;
    color: var(--primary);
}

/* Content Types Grid */
.content-types-grid,
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.content-type-card,
.platform-card {
    position: relative;
}

.content-type-card input,
.platform-card input {
    position: absolute;
    opacity: 0;
}

.content-type-card .card-content,
.platform-card .card-content {
    background: white;
    border: 2px solid var(--border);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.content-type-card:hover .card-content,
.platform-card:hover .card-content {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-type-card input:checked ~ .card-content,
.platform-card input:checked ~ .card-content {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.content-type-card .card-content i,
.platform-card .card-content i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: var(--primary);
}

.content-type-card input:checked ~ .card-content i,
.platform-card input:checked ~ .card-content i {
    color: white;
}

.content-type-card .card-content h4,
.platform-card .card-content h4 {
    margin-bottom: 8px;
}

.content-type-card .card-content p,
.platform-card .card-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.content-type-card input:checked ~ .card-content p,
.platform-card input:checked ~ .card-content p {
    color: rgba(255, 255, 255, 0.9);
}

.audience {
    display: block;
    font-size: 0.75rem;
    margin-top: 8px;
    opacity: 0.7;
}

/* Calendar */
.calendar-container,
.social-calendar {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    min-height: 200px;
}

/* Idea Generator */
.idea-generator {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
}

.idea-generator input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 16px;
}

.ideas-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.idea-item {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

/* Checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item {
    display: flex;
    gap: 16px;
    align-items: start;
    background: var(--light);
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checklist-item:hover {
    background: #e0e7ff;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 4px;
}

.check-content h4 {
    margin-bottom: 4px;
}

.check-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checklist-item input:checked ~ .check-content {
    opacity: 0.6;
    text-decoration: line-through;
}

/* Keyword Tool */
.keyword-tool {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.keyword-tool input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.keyword-results {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Engagement Tips */
.engagement-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.tip-card {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border);
}

.tip-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.tip-card h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.tip-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Lead Magnet Form */
.lead-magnet-form {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
}

.lead-magnet-form h4 {
    margin-bottom: 16px;
}

.lead-magnet-form input,
.lead-magnet-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 16px;
}

.lead-magnet-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Sequences */
.sequences-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sequence-card {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.sequence-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--primary);
}

.sequence-card > p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.sequence-card ul {
    margin-left: 20px;
}

.sequence-card li {
    margin-bottom: 8px;
}

/* Email Templates */
.email-templates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.template-card {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.template-card h4 {
    margin-bottom: 16px;
    color: var(--primary);
}

.template-preview p {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.template-preview strong {
    color: var(--primary);
}

.template-preview ul {
    margin-left: 20px;
    margin-top: 8px;
}

.template-preview li {
    margin-bottom: 6px;
    font-size: 0.85rem;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.metric-card {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border);
}

.metric-card h4 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.metric-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Budget Allocation */
.budget-allocation {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.allocation-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.allocation-bar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: white;
    font-weight: 700;
    transition: all 0.3s;
}

.allocation-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Budget Calculator */
.budget-calculator {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
}

.budget-breakdown {
    margin: 20px 0;
}

/* ROI Calculator */
.roi-results {
    margin-top: 24px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--success);
}

.roi-results h4 {
    color: var(--success);
    margin-bottom: 16px;
}

.roi-metric {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.roi-metric:last-child {
    border-bottom: none;
}

.roi-metric span:last-child {
    font-weight: 700;
    color: var(--primary);
}

/* Tools Comparison */
.tools-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.comparison-card {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.comparison-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--primary);
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.comparison-card li:last-child {
    border-bottom: none;
}

/* KPI Category */
.kpi-category {
    margin-bottom: 30px;
}

.kpi-category h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--primary);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.kpi-item {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.2s;
}

.kpi-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.kpi-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.kpi-item p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Main KPIs */
.main-kpis {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

/* Reporting Schedule */
.reporting-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.schedule-card {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.schedule-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.schedule-card h4 {
    margin-bottom: 16px;
    color: var(--primary);
}

.schedule-card ul {
    list-style: none;
}

.schedule-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.schedule-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
}

.dashboard-preview > p {
    margin-bottom: 20px;
    font-weight: 600;
}

.dashboard-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 2px solid var(--border);
    text-align: center;
}

.tool-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.tool-card h4 {
    margin-bottom: 12px;
}

.tool-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.quick-actions h3 {
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.action-btn {
    padding: 14px 24px;
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--danger);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 250px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .header .container {
        padding: 0 16px;
    }

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

    .header-actions .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .content-types-grid,
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .email-templates,
    .tools-comparison,
    .dashboard-tools {
        grid-template-columns: 1fr;
    }
}

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

    .content-types-grid,
    .platforms-grid {
        grid-template-columns: 1fr;
    }

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

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}
