/*
Theme Name: Dailu Chuhai
Theme URI: https://dailuchuhai.com
Author: Dailu Team
Author URI: https://dailuchuhai.com
Description: 带路出海企业官网主题 - 一站式企业出海服务平台
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: dailu-theme
*/

/* ========== CSS Variables ========== */
:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --primary-dark: #0f2440;
    --accent: #e8a838;
    --accent-light: #f5c76a;
    --text-dark: #1a1a2e;
    --text-body: #444;
    --text-light: #777;
    --bg-white: #ffffff;
    --bg-light: #f8f9fc;
    --bg-section: #f0f4f8;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.10);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== Utility ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title {
    font-size: 36px; font-weight: 700; color: var(--primary-dark);
    text-align: center; margin-bottom: 16px; letter-spacing: 1px;
}
.section-subtitle {
    font-size: 17px; color: var(--text-light); text-align: center;
    max-width: 640px; margin: 0 auto 56px; line-height: 1.8;
}
.accent-text { color: var(--accent); }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-size: 15px;
    font-weight: 500; cursor: pointer; transition: var(--transition);
    border: none; font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; box-shadow: 0 4px 20px rgba(26,58,92,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,58,92,0.4); }
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark); box-shadow: 0 4px 20px rgba(232,168,56,0.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,168,56,0.4); }
.btn-outline {
    background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ========== Navigation ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent; transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
    display: flex; align-items: center; gap: 10px; font-size: 22px;
    font-weight: 900; color: var(--primary-dark); letter-spacing: 2px;
}
.logo img { height: 45px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 14.5px; font-weight: 500; color: var(--text-dark);
    position: relative; padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0;
    height: 2px; background: var(--accent); transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 12px; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--primary-dark); transition: var(--transition); border-radius: 2px; }

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; padding-top: 72px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 50%, #dde8f0 100%);
}
.hero-bg {
    position: absolute; inset: 0; overflow: hidden;
}
.hero-bg::before {
    content: ''; position: absolute; top: -20%; right: -10%;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,58,92,0.08) 0%, transparent 70%);
}
.hero-bg::after {
    content: ''; position: absolute; bottom: -15%; left: -10%;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,168,56,0.1) 0%, transparent 70%);
}
.hero-grid {
    position: absolute; inset: 0; background-image:
        linear-gradient(rgba(26,58,92,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,58,92,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-content {
    position: relative; z-index: 2; display: grid;
    grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text h1 {
    font-size: 52px; font-weight: 900; color: var(--primary-dark);
    line-height: 1.2; margin-bottom: 24px; letter-spacing: -0.5px;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
    font-size: 18px; color: var(--text-light); margin-bottom: 36px;
    line-height: 1.8; max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 40px; margin-top: 48px; padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat-item {}
.stat-num {
    font-size: 32px; font-weight: 900; color: var(--primary);
}
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.hero-visual {
    position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-card {
    width: 420px; background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 40px; position: relative;
}
.hero-card-header {
    display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.hero-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
}
.hero-card-title { font-size: 18px; font-weight: 700; color: var(--primary-dark); }
.hero-card-subtitle { font-size: 13px; color: var(--text-light); }
.hero-card-list { display: flex; flex-direction: column; gap: 14px; }
.hero-card-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; background: var(--bg-light); border-radius: 10px;
    font-size: 14px; color: var(--text-body);
}
.hero-card-item .check {
    width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px; flex-shrink: 0;
}
.floating-badge {
    position: absolute; background: #fff; border-radius: var(--radius);
    padding: 14px 20px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 10px;
    animation: float 3s ease-in-out infinite;
}
.floating-badge.badge-1 { top: -15px; right: -30px; }
.floating-badge.badge-2 { bottom: 40px; left: -40px; animation-delay: 1s; }
.badge-dot {
    width: 10px; height: 10px; border-radius: 50%; background: #10b981;
    animation: pulse 2s infinite;
}
.badge-text { font-size: 13px; font-weight: 600; color: var(--text-dark); }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========== Services Section ========== */
.services { background: var(--bg-white); }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 30px;
    transition: var(--transition); position: relative; overflow: hidden;
}
.service-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0; transition: var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 22px;
}
.service-card:nth-child(1) .service-icon { background: #eff6ff; }
.service-card:nth-child(2) .service-icon { background: #fefce8; }
.service-card:nth-child(3) .service-icon { background: #f0fdf4; }
.service-card:nth-child(4) .service-icon { background: #fdf4ff; }
.service-card:nth-child(5) .service-icon { background: #fff7ed; }
.service-card:nth-child(6) .service-icon { background: #eff6ff; }
.service-card h3 {
    font-size: 19px; font-weight: 700; color: var(--primary-dark);
    margin-bottom: 12px;
}
.service-card p {
    font-size: 14.5px; color: var(--text-light); line-height: 1.7;
    margin-bottom: 18px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
    font-size: 12px; padding: 5px 12px; border-radius: 20px;
    background: var(--bg-light); color: var(--text-body); font-weight: 500;
}

/* ========== Why Us Section ========== */
.why-us { background: var(--bg-section); }
.why-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.why-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 36px; display: flex; gap: 20px; transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-num {
    font-size: 42px; font-weight: 900; color: var(--accent);
    opacity: 0.6; line-height: 1;
}
.why-content h3 {
    font-size: 18px; font-weight: 700; color: var(--primary-dark);
    margin-bottom: 8px;
}
.why-content p { font-size: 14.5px; color: var(--text-light); line-height: 1.7; }

/* ========== Process Section ========== */
.process { background: var(--bg-white); }
.process-steps {
    display: flex; justify-content: center; gap: 20px;
    position: relative;
}
.process-steps::before {
    content: ''; position: absolute; top: 45px; left: 15%;
    right: 15%; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0;
}
.step {
    text-align: center; position: relative; z-index: 1;
    flex: 1; max-width: 200px;
}
.step-icon {
    width: 90px; height: 90px; border-radius: 50%;
    background: var(--bg-white); border: 3px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 32px;
    transition: var(--transition);
}
.step:hover .step-icon {
    background: var(--primary); color: #fff;
    transform: scale(1.1);
}
.step-num {
    position: absolute; top: -8px; right: -8px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent); color: var(--primary-dark);
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ========== Destinations Section ========== */
.destinations { background: var(--primary-dark); color: #fff; overflow: hidden; }
.destinations .section-title { color: #fff; }
.destinations .section-subtitle { color: rgba(255,255,255,0.65); }
.dest-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.dest-card {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 28px 22px; text-align: center;
    transition: var(--transition); backdrop-filter: blur(10px);
}
.dest-card:hover {
    background: rgba(255,255,255,0.13);
    transform: translateY(-4px); border-color: var(--accent);
}
.dest-flag { font-size: 40px; margin-bottom: 14px; }
.dest-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.dest-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.dest-features { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.dest-feat {
    font-size: 11px; padding: 3px 10px; border-radius: 12px;
    background: rgba(232,168,56,0.15); color: var(--accent-light);
}

/* ========== Team Section ========== */
.team { background: var(--bg-light); }
.team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.team-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    overflow: hidden; transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
    height: 260px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 72px; color: rgba(255,255,255,0.3);
}
.team-info { padding: 28px; text-align: center; }
.team-info h3 { font-size: 19px; font-weight: 700; color: var(--primary-dark); }
.team-role { font-size: 14px; color: var(--accent); font-weight: 500; margin: 6px 0 14px; }
.team-info p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ========== CTA Section ========== */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,168,56,0.15) 0%, transparent 70%);
}
.cta .section-title { color: #fff; }
.cta .section-subtitle { color: rgba(255,255,255,0.7); }
.cta-btns { display: flex; justify-content: center; gap: 16px; margin-top: 36px; }
.cta .btn-primary { background: var(--accent); color: var(--primary-dark); }
.cta .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.cta .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ========== Footer ========== */
.footer { background: var(--primary-dark); color: #fff; padding: 64px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo img { height: 40px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.08); display: flex;
    align-items: center; justify-content: center;
    font-size: 16px; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary-dark); }
.footer-col h4 {
    font-size: 16px; font-weight: 700; margin-bottom: 20px;
    color: #fff;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 14px; color: rgba(255,255,255,0.55);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 14px;
}
.footer-contact li span:first-child { flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 48px; padding: 24px 0;
    text-align: center; font-size: 13px; color: rgba(255,255,255,0.35);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .dest-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .section-title { font-size: 28px; }
    .hero-text h1 { font-size: 34px; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; align-items: center; gap: 32px; }
    .process-steps::before { display: none; }
    .dest-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 24px; gap: 16px;
        box-shadow: var(--shadow-lg); border-top: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ========== Animations ========== */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* WordPress specific overrides */
.wp-block-group, .wp-block-cover, .entry-content {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
