/* Variables CSS */
:root {
    --primary: #B7008C;
    --secondary: #E9CCBF;
    --accent: #240442;
    --text-dark: #0A0A0A;
    --text-medium: #222;
    --text-light: #555;
    --bg-light: #F8F8F8;
    --bg-lighter: #EDEDED;
    --border-radius: 1rem;
    --border-radius-lg: 1.5rem;
    --shadow: 0 4px 20px rgba(36, 4, 66, 0.1);
    --shadow-lg: 0 8px 40px rgba(36, 4, 66, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: white;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

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

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

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

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

.btn-contact {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-contact:hover {
    background: #9a0074;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--bg-lighter);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, rgba(36, 4, 66, 0.95) 0%, rgba(26, 3, 48, 0.95) 100%), url('/assets/image/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: white;
}

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

.hero-title {
    color: white;
}

.hero-subtitle {
    color: var(--secondary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.tech-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    background: white;
    border: 1px solid var(--bg-lighter);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

/* Value Props */
.value-props {
    padding: 6rem 0;
    background: url('/assets/image/decorative-pattern.png'), linear-gradient(135deg, #fafafa 0%, var(--bg-light) 100%);
    background-size: cover, auto;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.value-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
}

/* Projects Preview */
.projects-preview {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

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

.project-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.project-image {
    width: 100%;
    height: 200px;
    background: var(--bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    margin-bottom: 0.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.5rem;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    padding: 0.25rem 0;
    color: var(--text-light);
}

.project-features li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: bold;
}

/* Social Proof */
.social-proof {
    padding: 4rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat span {
    color: var(--secondary);
    font-size: 0.9rem;
}

.tech-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.tech-logo {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.tech-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Process */
.process {
    padding: 6rem 0;
}

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

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
}

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

/* Newsletter */
.newsletter {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--bg-lighter);
    border-radius: var(--border-radius);
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    background: var(--text-dark);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.footer-bottom p {
    margin: 0.25rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        min-width: 200px;
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .proof-stats {
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #fafafa 0%, var(--bg-light) 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Filters */
.projects-filters {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--bg-lighter);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--bg-lighter);
    background: white;
    color: var(--text-light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.projects-main {
    padding: 4rem 0;
}

/* Case Study */
.case-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a0330 100%), url('/assets/image/decorative-pattern.png');
    background-size: auto, cover;
    color: white;
    text-align: center;
}

.case-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.case-header p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.case-kpis {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.kpi {
    text-align: center;
}

.kpi-value {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary);
}

.kpi-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.case-content {
    padding: 4rem 0;
}

.case-section {
    margin-bottom: 4rem;
}

.case-section h2 {
    margin-bottom: 1.5rem;
}

.case-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.case-section ul {
    color: var(--text-light);
    padding-left: 1.5rem;
}

.case-section li {
    margin-bottom: 0.5rem;
}

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

.case-screen {
    background: var(--bg-lighter);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.case-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

.case-cta {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.service-features li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: bold;
}

.formulas {
    background: var(--bg-light);
    padding: 4rem 0;
}

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

.formula-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.formula-duration {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-container {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact-form {
    max-width: none;
}

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

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-medium);
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--bg-lighter);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(36, 4, 66, 0.1);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #22c55e;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-error {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.2rem;
}

.character-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.character-count.over-limit {
    color: #ef4444;
    font-weight: 600;
}

/* Timeline radio options */
.timeline-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    padding: 0.75rem;
    border: 1px solid var(--bg-lighter);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: var(--primary);
    background: #fafafa;
}

.radio-option input,
.checkbox-option input {
    display: none;
}

.radio-custom,
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-lighter);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-custom {
    border-radius: 4px;
}

.radio-option input:checked + .radio-custom,
.checkbox-option input:checked + .checkbox-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-option input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.checkbox-option input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Enhanced Submit Button */
.form-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.form-submit.loading .btn-text {
    opacity: 0;
}

.form-submit.success {
    background: #22c55e;
}

.btn-loader {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
}

.form-submit.loading .btn-loader {
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.form-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.success-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.success-content p {
    opacity: 0.9;
    margin: 0;
}

/* Contact Tips */
.contact-tips {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-options {
        grid-template-columns: 1fr;
    }
    
    .form-success {
        flex-direction: column;
        text-align: center;
    }
    
    .tip {
        padding: 1rem;
    }
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-kpis {
        gap: 2rem;
    }
    
    .proof-stats {
        gap: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* About Page Enhancements */
.about-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-avatar img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Experience Timeline */
.experience-section {
    margin-bottom: 6rem;
}

.experience-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: var(--shadow);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin: 0 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
}

/* Enhanced Skills Grid */
.skills-section {
    margin-bottom: 6rem;
}

.skills-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.skill-category {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.skill-category h4 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-item {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Values Section */
.values-section {
    margin-bottom: 6rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, #fafafa 100%);
    padding: 4rem 2rem;
    border-radius: var(--border-radius-lg);
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.value-item p {
    color: var(--text-light);
    margin: 0;
}

/* About CTA */
.about-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: var(--border-radius-lg);
    margin-top: 4rem;
}

.about-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.about-cta .btn {
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.about-cta .btn:hover {
    background: var(--bg-lighter);
    transform: translateY(-2px);
}

/* Mobile Responsive for About Page */
@media (max-width: 768px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        margin: 0;
        margin-left: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .values-section {
        padding: 3rem 1.5rem;
    }
    
    .about-cta {
        padding: 3rem 1.5rem;
    }
}

/* Enhanced Resources Styles */
.resources-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.resources-stats .stat {
    text-align: center;
}

.resources-stats .stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.resources-stats .stat span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Resource Filters */
.resource-filters {
    background: white;
    border-bottom: 1px solid var(--bg-lighter);
    padding: 2rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--bg-lighter);
    background: white;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 500;
    color: var(--text-medium);
}

.filter-tab:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

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

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

/* Enhanced Resource Cards */
.resources-main {
    padding: 4rem 0;
}

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

.resource-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--bg-lighter);
    position: relative;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.resource-card[data-popular="true"]::before {
    content: '🔥 Populaire';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1rem;
}

.resource-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.resource-type.checklist {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.resource-type.guide {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.resource-type.tool {
    background: linear-gradient(135deg, var(--accent) 0%, #9a0074 100%);
    color: white;
}

.resource-type.template {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.resource-meta {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
}

.resource-meta .downloads {
    display: block;
    margin-bottom: 0.25rem;
}

.resource-meta .rating {
    color: #f59e0b;
}

.resource-content {
    padding: 0 1.5rem;
}

.resource-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.resource-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    font-size: 0.875rem;
    color: var(--text-medium);
}

.resource-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--bg-lighter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    position: relative;
    overflow: hidden;
}

.resource-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.resource-btn.success {
    background: #22c55e;
}

.resource-time {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Popular Resources */
.popular-resources {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--bg-lighter);
}

.popular-resources h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.popular-item {
    transform: scale(0.95);
    opacity: 0.9;
    transition: var(--transition);
}

.popular-item:hover {
    transform: scale(1);
    opacity: 1;
}

/* Enhanced Newsletter */
.enhanced-newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 6rem 0;
}

.newsletter-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-benefits {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}

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

.enhanced-newsletter-form .form-group {
    position: relative;
}

.enhanced-newsletter-form input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.enhanced-newsletter-form button {
    width: 100%;
    padding: 1rem 1.25rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.enhanced-newsletter-form button:hover {
    background: var(--bg-lighter);
    transform: translateY(-2px);
}

.newsletter-note {
    font-size: 0.875rem;
    opacity: 0.8;
    text-align: center;
    margin-top: 1rem;
}

.newsletter-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-preview {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
    overflow: hidden;
}

.preview-header {
    background: var(--bg-light);
    padding: 1rem;
    border-bottom: 1px solid var(--bg-lighter);
}

.preview-subject {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.preview-from {
    font-size: 0.875rem;
    color: var(--text-light);
}

.preview-content {
    padding: 1.5rem;
    color: var(--text-dark);
}

.preview-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.preview-cta {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .resources-stats {
        gap: 2rem;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-card {
        margin: 0 1rem;
    }
    
    .resource-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        text-align: center;
    }
    
    .newsletter-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .newsletter-benefits {
        justify-content: center;
    }
    
    .popular-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal page enhancements */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.legal-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.legal-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.legal-info p {
    margin: 0;
    line-height: 1.6;
}

.retention-table {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.retention-item {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-lighter);
    box-shadow: var(--shadow);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.right-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-lighter);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.right-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
}

.contact-info h3,
.contact-info h4,
.contact-info h2,
.contact-info p {
    color: white;
    margin-top: 0;
}

.contact-info a {
    color: var(--secondary);
    text-decoration: underline;
}

.contact-info a:hover {
    color: white;
}

.legal-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-lighter);
    color: var(--text-light);
}

.legal-footer small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary);
}

/* Mobile responsive for legal page */
@media (max-width: 768px) {
    .legal-content {
        padding: 0 1rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .legal-info {
        padding: 1rem;
    }
}