/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover,
nav a.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Modern Hero Section */
.hero-modern {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 25%, #7c3aed 50%, #a855f7 75%, #ec4899 100%);
    color: white;
    padding: 8rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    text-align: left;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.hero-left h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-left p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-right {
    position: relative;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.glassmorphism-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    border-radius: 15px;
    height: 300px;
    object-fit: cover;
}

.gradient-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #ef4444, #8b5cf6);
    border-radius: 23px;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

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

.floating-chips {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.chip {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    color: #4f46e5;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.chip-1 { top: 10%; right: -10%; animation-delay: 0s; }
.chip-2 { top: 30%; left: -15%; animation-delay: 1s; }
.chip-3 { bottom: 30%; right: -5%; animation-delay: 2s; }
.chip-4 { bottom: 10%; left: 10%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #10B981, #059669);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Results Section */
.results-section {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 6rem 0;
    position: relative;
}

.results-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    align-items: center;
    margin-bottom: 4rem;
}

.process-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    grid-column: span 1;
}

.process-card:nth-child(odd) {
    grid-column: span 2;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
    border-color: #4f46e5;
}

.process-number {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.process-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.process-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.process-outcome {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0369a1;
    font-weight: 500;
    line-height: 1.5;
}

.process-connector {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #4f46e5, #7c3aed);
    position: relative;
    opacity: 0.5;
}

.process-connector::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: -10px;
    color: #4f46e5;
    font-size: 1.5rem;
    font-weight: bold;
}

.trusted-by {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    margin-top: 2rem;
}

.trusted-by p {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 2rem;
    font-weight: 600;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-text {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid #4f46e5;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.trust-text:hover {
    background: #4f46e5;
    -webkit-text-fill-color: white;
    transform: translateY(-2px);
}

/* Main content */
main {
    padding: 0;
}

.section {
    margin-bottom: 4rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1F2937;
}

.section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #374151;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #6B7280;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    loading: lazy;
}

.service-card h3 {
    color: #4F46E5;
    margin-bottom: 1rem;
}

/* Contact form */
.contact-form {
    background: #F9FAFB;
    padding: 3rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4F46E5;
}

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

.submit-btn {
    background: linear-gradient(45deg, #4F46E5, #7C3AED);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

/* Footer */
.footer-wave {
    height: 100px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    clip-path: polygon(0 50%, 100% 0%, 100% 100%, 0% 100%);
    margin-bottom: -1px;
}

.footer-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.footer-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.footer-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.footer-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.footer-cta-btn {
    background: white;
    color: #4f46e5;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.footer-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: #f0f9ff;
}

footer {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #F3F4F6;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
}

.footer-section h3::after {
    content: '';
    width: 40px;
    height: 3px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    display: block;
    margin-top: 0.5rem;
    border-radius: 2px;
}

.footer-section p {
    color: #D1D5DB;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: #4F46E5;
    padding-left: 10px;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #4F46E5;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

.footer-meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

.footer-meta p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

.contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #4F46E5;
    text-decoration: none;
}

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

.back-to-top {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    color: white !important;
    padding-left: 1rem !important;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

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

.footer-bottom p {
    color: #9CA3AF;
    margin: 0;
}

.service-countries {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.service-countries span:first-child {
    color: #9CA3AF;
    font-weight: 600;
}

.countries {
    color: #4F46E5;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Cookie consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1F2937;
    color: white;
    padding: 1rem;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: #10B981;
    color: white;
}

.cookie-decline {
    background: #6B7280;
    color: white;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-card {
        grid-column: span 1;
    }
    
    .process-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
    }
    
    .hero-left p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .chip {
        position: static;
        margin: 0.5rem;
        display: inline-block;
    }
    
    .floating-chips {
        position: static;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-animation,
    .gradient-ring,
    .chip {
        animation: none;
    }
    
    .trust-badge,
    .cta-primary,
    .cta-secondary,
    .process-card,
    .footer-links a {
        transition: none;
    }
}

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

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1F2937;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #374151;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

/* Success/Error messages */
.message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
    font-weight: 600;
}

.message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #4F46E5;
    outline-offset: 2px;
}