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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a202c;
    overflow-x: hidden;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Variables via CSS custom properties */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #3b82f6;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin: 0;
}

.logo span {
    font-size: 11px;
    color: var(--text-gray);
    display: block;
    margin-top: -2px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section - Completely Redesigned */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero::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"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(30,64,175,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 48px;
    line-height: 1.6;
    color: #475569;
    font-weight: 400;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat {
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid var(--border-color);
}

.stat:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Hero Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.floating-card p {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
    text-align: center;
}

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

.card-2 {
    top: 10%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
}

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

/* About Section - Enhanced */
.about {
    padding: 120px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.25rem;
    color: #334155;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.about p {
    font-size: 1.0625rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.7;
}

.credentials {
    margin-top: 40px;
    display: grid;
    gap: 16px;
}

.credential {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(to right, var(--bg-light), #ffffff);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.credential:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.credential i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 16px;
    width: 24px;
}

.credential span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.business-info {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.business-info h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 700;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.business-info p {
    color: #475569;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.business-info strong {
    color: var(--text-dark);
    font-weight: 600;
    min-width: 120px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

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

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-icon i {
    color: var(--primary-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.service-card li {
    color: #64748b;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-size: 0.9375rem;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Experience Section - Enhanced */
.experience {
    padding: 120px 0;
    background: white;
    position: relative;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
}

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

.timeline-year {
    width: 90px;
    height: 90px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    margin: 0 40px;
    border: 6px solid white;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.timeline-content h3 {
    color: var(--text-dark);
    font-size: 1.375rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Markets Section - Enhanced */
.markets {
    padding: 120px 0;
    background: var(--bg-light);
}

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

.market-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.market-card.china-featured {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border: 2px solid var(--primary-color);
    grid-column: span 2;
    box-shadow: var(--shadow-md);
}

.market-card.china-featured::before {
    content: 'PRIMARY FOCUS';
    position: absolute;
    top: -14px;
    left: 40px;
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
}

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

.market-flag {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.market-card h3 {
    color: var(--text-dark);
    font-size: 1.875rem;
    margin-bottom: 32px;
    font-weight: 700;
}

.market-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 32px;
}

.market-stats .stat {
    text-align: left;
}

.market-stats .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.market-stats .label {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.market-card p {
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

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

.specialties span {
    background: #e0e7ff;
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Contact Section - Enhanced */
.contact {
    padding: 120px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-info p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 48px;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 2px;
    width: 24px;
}

.contact-item h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-item p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    font-size: 0.9375rem;
}

.contact-form {
    background: white;
    padding: 56px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
}

.contact-form::before {
    content: 'TRUSTED BY 200+ EUROPEAN IMPORTERS';
    position: absolute;
    top: -14px;
    left: 56px;
    background: var(--primary-color);
    color: white;
    padding: 6px 24px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

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

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

/* Footer - Enhanced */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 40px;
}

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

.footer-logo h3 {
    font-size: 1.875rem;
    margin-bottom: 12px;
    font-weight: 800;
    color: white;
}

.footer-logo p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section li a,
.footer-section li {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9375rem;
}

.footer-section li a:hover {
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .markets-grid {
        grid-template-columns: 1fr;
    }
    
    .market-card.china-featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 32px 0;
        gap: 24px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-card {
        padding: 16px;
    }
    
    .floating-card i {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }
    
    .stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form {
        padding: 40px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 0.875rem;
        margin: 0 20px 0 0;
    }
    
    .timeline-content {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Success/Error Messages */
.success-message, .error-message {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.success-message {
    background: #10b981;
    color: white;
}

.error-message {
    background: #ef4444;
    color: white;
}

.success-message.show, .error-message.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Active Navigation State */
.nav-menu a.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}