:root {
    --primary-purple: #7C3AED;
    --primary-blue: #6366F1;
    --primary-light-blue: #3B82F6;
    --accent-gold: #F59E0B;
    --accent-gold-light: #FCD34D;
    
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-lighter: #F3F4F6;
    
    --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);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 50%, var(--primary-light-blue) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--bg-lighter);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-medium);
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(124, 58, 237, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(124,58,237,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml,<svg width="300" height="300" viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg"><circle cx="150" cy="150" r="120" fill="none" stroke="rgba(124,58,237,0.1)" stroke-width="2"/><circle cx="150" cy="150" r="90" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="2"/><circle cx="150" cy="150" r="60" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="2"/></svg>') no-repeat center;
    animation: rotate 20s linear infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><rect x="20" y="20" width="160" height="160" fill="none" stroke="rgba(245,158,11,0.15)" stroke-width="2" rx="10"/><rect x="40" y="40" width="120" height="120" fill="none" stroke="rgba(245,158,11,0.1)" stroke-width="2" rx="8"/></svg>') no-repeat center;
    animation: float 6s ease-in-out infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    font-family: 'Crimson Pro', serif;
}

.hero-title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title-line:nth-child(2) {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.3s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.7s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.9s forwards;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

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

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

.btn-full {
    width: 100%;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

.card-icon {
    color: var(--primary-blue);
}

.card-text {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: url('data:image/svg+xml,<svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"><path d="M200,50 L350,200 L200,350 L50,200 Z" fill="none" stroke="rgba(124,58,237,0.05)" stroke-width="2"/><path d="M200,100 L300,200 L200,300 L100,200 Z" fill="none" stroke="rgba(99,102,241,0.05)" stroke-width="2"/></svg>') no-repeat center;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml,<svg width="300" height="300" viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg"><circle cx="150" cy="150" r="100" fill="none" stroke="rgba(59,130,246,0.05)" stroke-width="2"/><circle cx="150" cy="150" r="70" fill="none" stroke="rgba(99,102,241,0.05)" stroke-width="2"/></svg>') no-repeat center;
    opacity: 0.5;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.1));
    color: var(--primary-blue);
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Crimson Pro', serif;
}

.section-description {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml,<svg width="150" height="150" viewBox="0 0 150 150" xmlns="http://www.w3.org/2000/svg"><circle cx="75" cy="75" r="60" fill="none" stroke="rgba(124,58,237,0.05)" stroke-width="2"/><circle cx="75" cy="75" r="40" fill="none" stroke="rgba(99,102,241,0.05)" stroke-width="2"/></svg>') no-repeat center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-icon {
    margin-bottom: 24px;
}

.service-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Crimson Pro', serif;
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* Why Us Section */
.why-us {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(124, 58, 237, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%),
        url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(124,58,237,0.1)"/></pattern></defs><rect width="80" height="80" fill="url(%23dots)"/></svg>');
}

.why-us::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: url('data:image/svg+xml,<svg width="250" height="250" viewBox="0 0 250 250" xmlns="http://www.w3.org/2000/svg"><polygon points="125,20 230,95 195,210 55,210 20,95" fill="none" stroke="rgba(245,158,11,0.1)" stroke-width="2"/></svg>') no-repeat center;
    animation: float 10s ease-in-out infinite;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-card {
    text-align: center;
    padding: 32px 24px;
}

.why-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    font-family: 'Crimson Pro', serif;
}

.why-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="M100,20 L180,100 L100,180 L20,100 Z" fill="none" stroke="rgba(124,58,237,0.08)" stroke-width="2" stroke-dasharray="5,5"/></svg>') no-repeat center;
    animation: rotate 30s linear infinite;
}

.process::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 180px;
    height: 180px;
    background: url('data:image/svg+xml,<svg width="180" height="180" viewBox="0 0 180 180" xmlns="http://www.w3.org/2000/svg"><rect x="20" y="20" width="140" height="140" fill="none" stroke="rgba(59,130,246,0.08)" stroke-width="2" rx="20"/></svg>') no-repeat center;
    animation: float 7s ease-in-out infinite;
}

.process-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.process-tab {
    padding: 12px 32px;
    border: 2px solid var(--bg-lighter);
    background: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-medium);
}

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

.process-panel {
    display: none;
}

.process-panel.active {
    display: block;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: 700;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-description {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 14px;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 8%;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml,<svg width="150" height="150" viewBox="0 0 150 150" xmlns="http://www.w3.org/2000/svg"><path d="M75,15 Q120,40 120,75 Q120,110 75,135 Q30,110 30,75 Q30,40 75,15 Z" fill="none" stroke="rgba(245,158,11,0.15)" stroke-width="2"/></svg>') no-repeat center;
    animation: float 9s ease-in-out infinite;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 120px;
    height: 120px;
    background: url('data:image/svg+xml,<svg width="120" height="120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="60" r="40" fill="none" stroke="rgba(124,58,237,0.1)" stroke-width="2"/><circle cx="60" cy="60" r="25" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="2"/></svg>') no-repeat center;
    animation: rotate 25s linear infinite;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-role {
    font-size: 14px;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Crimson Pro', serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-description {
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.7;
    font-size: 17px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    background: white;
    border-color: var(--primary-blue);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    color: var(--primary-blue);
}

.contact-icon-whatsapp {
    color: #25D366;
}

.contact-icon-wechat {
    color: #09B83E;
}

.contact-icon svg {
    flex-shrink: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--primary-purple);
    transform: translateX(4px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-note {
    margin-top: -4px;
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
}

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

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-input {
    padding: 14px 16px;
    border: 2px solid var(--bg-lighter);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-form-status {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
}

.contact-form-status.status-success {
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.2);
}

.contact-form-status.status-error {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.18);
}

.contact-form-status.status-loading {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-blue);
    border-color: rgba(99, 102, 241, 0.18);
}

.contact-link:hover {
    color: var(--primary-purple);
    transform: translateX(4px);
}

/* News Section */
.news {
    padding: 120px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.news::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: url('data:image/svg+xml,<svg width="600" height="600" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="grad1" x1="0%%" y1="0%%" x2="100%%" y2="100%%"><stop offset="0%%" style="stop-color:rgba(124,58,237,0.02);stop-opacity:1" /><stop offset="100%%" style="stop-color:rgba(59,130,246,0.02);stop-opacity:1" /></linearGradient></defs><circle cx="300" cy="300" r="250" fill="url(%23grad1)"/></svg>') no-repeat center;
    z-index: 0;
    pointer-events: none;
}

.news .container {
    position: relative;
    z-index: 1;
}

.news-explorer {
    margin: 48px 0 36px;
    padding: 32px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05)),
        white;
    border: 1px solid rgba(124, 58, 237, 0.09);
    box-shadow: 0 24px 40px -32px rgba(31, 41, 55, 0.35);
}

.news-brief {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.news-brief-copy {
    max-width: 760px;
}

.news-kicker {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.news-results-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
}

.news-reset-btn {
    border: none;
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary-purple);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
}

.news-reset-btn:hover {
    background: rgba(124, 58, 237, 0.14);
    transform: translateY(-1px);
}

.news-explorer-cta {
    flex-shrink: 0;
}

.news-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.news-stat {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-stat + .news-stat {
    border-left: 1px solid rgba(124, 58, 237, 0.1);
}

.news-stat-value {
    font-family: 'Crimson Pro', serif;
    font-size: 34px;
    line-height: 1;
    color: var(--text-dark);
}

.news-stat-label {
    color: var(--text-medium);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.news-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.news-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: 18px;
    background: white;
    min-height: 56px;
}

.news-search svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.news-search-input,
.news-filter-select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
}

.news-search-input:focus,
.news-filter-select:focus {
    outline: none;
}

.news-search:focus-within,
.news-select-wrap:focus-within {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.news-select-wrap {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 14px;
    border-radius: 18px;
    border: 2px solid rgba(124, 58, 237, 0.1);
    background: white;
}

.news-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-type-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--text-medium);
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-type-btn:hover {
    color: var(--primary-purple);
    transform: translateY(-1px);
}

.news-type-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px -14px rgba(124, 58, 237, 0.8);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: white;
    border: 2px solid var(--bg-lighter);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card-image {
    width: calc(100% + 64px);
    margin: -32px -32px 24px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--bg-lighter);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><path d="M40,10 L70,40 L40,70 L10,40 Z" fill="none" stroke="rgba(124,58,237,0.05)" stroke-width="1.5"/></svg>') no-repeat center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.news-card:hover::after {
    opacity: 1;
}

.news-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: badgePulse 2s ease-in-out infinite;
}

/* Couleurs spécifiques pour chaque badge */
.news-badge-nouveau {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.news-badge-populaire {
    background: linear-gradient(135deg, #F59E0B, #EAB308);
    color: white;
}

.news-badge-ouvert {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.news-badge-urgent {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    animation: badgeUrgent 1s ease-in-out infinite;
}

.news-badge-bientôt {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes badgeUrgent {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
    }
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.news-date svg {
    color: var(--primary-blue);
}

.news-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: 'Crimson Pro', serif;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.news-meta {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

.news-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-type {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.news-type.type-complete {
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.news-type.type-partial {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.news-session {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.1));
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.news-session svg {
    flex-shrink: 0;
}

.news-coverage-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-costs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
    border-radius: 8px;
    border-left: 3px solid #10B981;
}

.cost-item {
    font-size: 13px;
    color: var(--text-medium);
}

.cost-item strong {
    color: var(--text-dark);
}

.news-fields {
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
}

.news-fields strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.coverage-item {
    font-size: 13px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 6px;
}

.coverage-item svg {
    flex-shrink: 0;
    color: var(--primary-blue);
}

.news-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-lighter);
}

.news-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-medium);
    font-size: 14px;
}

.news-detail-item svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link:hover {
    gap: 12px;
    color: var(--primary-purple);
}

.news-link svg {
    transition: transform 0.3s ease;
}

.news-link:hover svg {
    transform: translateX(4px);
}

.news-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 64px 24px;
    border-radius: 24px;
    border: 1px dashed rgba(124, 58, 237, 0.16);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(59, 130, 246, 0.04));
}

.news-empty-state p {
    color: var(--text-medium);
    max-width: 520px;
}

/* Scholarship Detail */
.scholarship-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 35%),
        linear-gradient(180deg, #f7f5ff 0%, #ffffff 24%, #f8fbff 100%);
}

.scholarship-hero {
    padding: 128px 0 88px;
}

.scholarship-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.scholarship-back-link:hover {
    color: var(--primary-purple);
}

.scholarship-status {
    min-height: 56vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scholarship-empty {
    width: min(720px, 100%);
    padding: 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(124, 58, 237, 0.12);
    box-shadow: 0 24px 60px -42px rgba(15, 23, 42, 0.35);
    text-align: center;
}

.scholarship-empty h1 {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: 'Crimson Pro', serif;
}

.scholarship-empty p {
    color: var(--text-medium);
    line-height: 1.7;
}

.scholarship-empty-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.scholarship-empty-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.scholarship-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(124, 58, 237, 0.12);
    border-top-color: var(--primary-purple);
    animation: scholarshipSpin 0.9s linear infinite;
}

.scholarship-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}

.scholarship-main-panel,
.scholarship-summary-card,
.scholarship-section {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(124, 58, 237, 0.12);
    box-shadow: 0 24px 60px -42px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(16px);
}

.scholarship-main-panel {
    border-radius: 32px;
    padding: 38px;
}

.scholarship-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
}

.scholarship-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 700;
}

.scholarship-title {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.02;
    margin-bottom: 18px;
    color: var(--text-dark);
    font-family: 'Crimson Pro', serif;
    max-width: 14ch;
}

.scholarship-intro {
    max-width: 66ch;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
}

.scholarship-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.scholarship-image-card {
    margin-top: 32px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    background: #f8fafc;
}

.scholarship-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.scholarship-summary-card {
    border-radius: 28px;
    padding: 28px;
    position: sticky;
    top: 98px;
}

.scholarship-section-eyebrow {
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.scholarship-summary-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scholarship-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.scholarship-summary-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.scholarship-summary-row span {
    color: var(--text-light);
    font-size: 14px;
}

.scholarship-summary-row strong {
    color: var(--text-dark);
    text-align: right;
    font-size: 15px;
}

.scholarship-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
    gap: 32px;
    align-items: start;
}

.scholarship-stack,
.scholarship-side-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.scholarship-side-panel {
    position: sticky;
    top: 98px;
}

.scholarship-section {
    border-radius: 28px;
    padding: 32px;
}

.scholarship-section-title {
    font-size: 30px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-family: 'Crimson Pro', serif;
}

.scholarship-richtext p,
.scholarship-muted {
    color: var(--text-medium);
    line-height: 1.8;
}

.scholarship-coverage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.scholarship-coverage-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(59, 130, 246, 0.08));
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 600;
}

.scholarship-coverage-item svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.scholarship-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.scholarship-info-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(59, 130, 246, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.08);
}

.scholarship-info-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scholarship-info-value {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.45;
}

.scholarship-support-card {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #1d4ed8, #7c3aed);
    color: white;
}

.scholarship-support-card .scholarship-section-eyebrow,
.scholarship-support-card .scholarship-section-title,
.scholarship-support-card .scholarship-muted {
    color: white;
}

.scholarship-support-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.scholarship-support-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.scholarship-support-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 7px;
    background: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.scholarship-side-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@keyframes scholarshipSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-controls {
        grid-template-columns: 1fr;
    }

    .news-brief {
        flex-direction: column;
        align-items: flex-start;
    }

    .scholarship-shell,
    .scholarship-grid {
        grid-template-columns: 1fr;
    }

    .scholarship-summary-card,
    .scholarship-side-panel {
        position: static;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-background::before,
    .hero-background::after {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-explorer {
        padding: 24px;
        border-radius: 24px;
    }

    .news-stats {
        grid-template-columns: 1fr;
    }

    .news-stat + .news-stat {
        border-left: none;
        border-top: 1px solid rgba(124, 58, 237, 0.1);
    }

    .news-search,
    .news-select-wrap {
        min-height: 52px;
    }

    .scholarship-hero {
        padding: 108px 0 64px;
    }

    .scholarship-empty,
    .scholarship-main-panel,
    .scholarship-summary-card,
    .scholarship-section {
        padding: 24px;
        border-radius: 24px;
    }

    .scholarship-title {
        font-size: 38px;
        max-width: none;
    }

    .scholarship-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        padding: 24px;
        gap: 40px;
    }
    
    .contact-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .contact-description {
        font-size: 15px;
    }
    
    .contact-item {
        padding: 16px;
    }
    
    .contact-value {
        font-size: 14px;
        word-break: break-word;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
