/* ========================================
   Modern Tech Design System
   JaWay Import Products (Shenzhen)
   Dark Navy & Electric Blue Palette
   ======================================== */

:root {
    /* Color Palette */
    --deep-navy: #0B1F2A;
    --dark-slate: #1C1F26;
    --electric-blue: #00C2FF;
    --soft-cyan: #00E0FF;
    --light-bg: #F4F7FA;
    --soft-grey: #E5E9EF;
    --white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;
    
    /* Spacing */
    --max-width: 1300px;
    --section-padding: 80px 40px;
    --section-padding-mobile: 60px 20px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 194, 255, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 194, 255, 0.15);
    --shadow-lg: 0 8px 32px rgba(11, 31, 42, 0.2);
    --glow: 0 0 20px rgba(0, 194, 255, 0.4);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-slate);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    background: var(--white);
    border-bottom: 1px solid var(--soft-grey);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--electric-blue);
}

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

.nav-login {
    padding: 10px 20px;
    background: var(--deep-navy);
    color: var(--white);
    border-radius: var(--border-radius);
}

.nav-login:hover {
    background: var(--electric-blue);
    color: var(--white);
    box-shadow: var(--glow);
}

.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.language-switcher select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--soft-grey);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--dark-slate);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    transition: var(--transition);
}

.language-switcher select:hover {
    border-color: var(--electric-blue);
}

.language-switcher i {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: var(--dark-slate);
    font-size: 12px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(11, 31, 42, 0.85) 0%, rgba(28, 31, 38, 0.75) 100%),
        url('/static/website/skyline.png') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(800px 400px at 10% 40%, rgba(0, 224, 255, 0.18) 0%, transparent 60%),
        radial-gradient(700px 360px at 90% 60%, rgba(0, 194, 255, 0.14) 0%, transparent 58%),
        radial-gradient(500px 280px at 50% 20%, rgba(0, 194, 255, 0.12) 0%, transparent 55%);
    animation: heroGlow 16s ease-in-out infinite;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    text-align: left;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

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

.btn-primary:hover {
    background: var(--soft-cyan);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

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

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

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--deep-navy);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--dark-slate);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid var(--soft-grey);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--electric-blue);
    transition: var(--transition);
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--soft-cyan) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 28px;
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-slate);
    opacity: 0.85;
}

/* ========================================
   ABOUT/PROCESS SECTION (with images)
   ======================================== */

.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

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

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

.about-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-slate);
    margin-bottom: 16px;
}

.about-content ul {
    list-style: none;
    margin-top: 24px;
}

.about-content ul li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--dark-slate);
}

.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--electric-blue);
    font-weight: 700;
    font-size: 18px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail i {
    font-size: 24px;
    color: var(--electric-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 15px;
    color: var(--dark-slate);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--soft-grey);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark-slate);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.1);
}

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

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--border-radius);
    font-size: 15px;
}

.form-message.success {
    background: rgba(0, 194, 255, 0.1);
    color: var(--electric-blue);
    border: 1px solid var(--electric-blue);
}

.form-message.error {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 1px solid #ff3b30;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--deep-navy);
    color: var(--white);
    padding: 60px 40px 30px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--electric-blue);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--electric-blue);
    padding-left: 4px;
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
        padding-top: 12px;
        border-top: 1px solid var(--soft-grey);
    }
    
    .hero {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services {
        padding: 60px 20px;
    }
    
    .contact {
        padding: 60px 20px;
    }
    
    .footer {
        padding: 50px 20px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

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

@keyframes heroGlow {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate3d(2%, 1%, 0) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translate3d(-2%, -1%, 0) scale(1);
        opacity: 0.7;
    }
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Smooth scroll behavior */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero::before {
        animation: none !important;
    }
}
