/* ============================================
   Wesley Sourcing V2 - Main Stylesheet
   ============================================ */

:root {
    --color-primary: #c41e3a;
    --color-primary-dark: #a01830;
    --color-primary-light: #d64161;
    --color-secondary: #0f172a;
    --color-accent: #10b981;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-lighter: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-border: #e2e8f0;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--color-primary-dark); }

ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-secondary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
h3 { font-size: 1.375rem; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 { margin-bottom: 0.75rem; }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #000000 !important;
    border-color: transparent;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

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

.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-full { width: 100%; }
.btn-nav { padding: 0.625rem 1.25rem; font-size: 0.9375rem; }

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 0.875rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    font-style: italic;
}

.logo-text {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
}

.logo-text span { color: var(--color-primary); }

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

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

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

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

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 50%, #ffe4e6 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.hero h1 { margin-bottom: 1.5rem; line-height: 1.15; }

.highlight { color: var(--color-primary); }

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.hero-trust svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

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

.service-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
}

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

.step-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 6rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

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

.product-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-emoji { font-size: 3rem; }

.product-content { padding: 1.25rem; }

.product-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
}

.product-content p {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.products-note {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--color-text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--color-text);
    font-size: 0.9375rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.author-info strong {
    display: block;
    color: var(--color-secondary);
    margin-bottom: 0.125rem;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

/* News Section */
.news-preview {
    padding: 6rem 0;
}

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

.news-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--color-primary);
}

.news-date {
    font-size: 0.8125rem;
    color: var(--color-text-lighter);
    margin-bottom: 0.75rem;
}

.news-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--color-secondary);
}

.news-card h3 a:hover {
    color: var(--color-primary);
}

.news-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.news-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: start;
}

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

.about-lead {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

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

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

.value-item strong {
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.about-image-placeholder {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    border-radius: var(--border-radius-lg);
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.about-image-placeholder span { font-size: 4rem; }

.about-image-placeholder p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.about-company {
    margin-top: 1.5rem;
    text-align: center;
}

.about-company strong { color: var(--color-secondary); }

.chinese-name {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-top: 0.25rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--color-bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method .contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method .contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
}

.contact-method .contact-icon svg[fill="currentColor"] {
    fill: white;
    stroke: none;
}

.contact-method strong {
    display: block;
    color: white;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.contact-method a,
.contact-method span {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-company {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-company p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.contact-company .location {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
}

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

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
}

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

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: #0a0f1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand .logo-text { color: white; }

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links ul li { margin-bottom: 0.75rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-links a:hover { color: white; }

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow);
    }
    
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }
    
    .hero { padding: 7rem 0 4rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: row; flex-wrap: wrap; }
    .stat-card { flex: 1; min-width: 140px; }
    
    .services-grid,
    .products-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    
    .steps-grid { grid-template-columns: 1fr; }
    
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
