/* ============================================
   Software Box Technology - Modern Website Redesign
   Stylesheet - Main CSS
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #4a9eff;
    --secondary-color: #1e293b;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-muted: #cbd5e1;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-soft: #f1f5f9;
    --background-dark: #0f172a;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans TC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

/* Container */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.45);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Language Switcher
   ============================================ */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.lang-btn {
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.lang-divider {
    color: var(--border-color);
}

/* ============================================
   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: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

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

.logo-icon {
    display: flex;
    gap: 2px;
}

.logo-s, .logo-b {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-s {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.logo-b {
    background: var(--secondary-color);
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--border-radius);
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(26, 115, 232, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white !important;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    margin-left: 8px;
    transition: all var(--transition-normal);
}

.nav-btn-login:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.nav-btn-login::after {
    display: none !important;
}

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/sea-freight.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroSlider 20s ease-in-out infinite;
}

@keyframes heroSlider {
    0%, 100% {
        background-image: url('../images/sea-freight.jpg');
        transform: scale(1);
    }
    33% {
        background-image: url('../images/air-freight.jpg');
        transform: scale(1.05);
    }
    66% {
        background-image: url('../images/global-network.jpg');
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Lighter overlay to make the image more colorful and visible */
    background: linear-gradient(135deg, rgba(26, 35, 59, 0.55) 0%, rgba(26, 41, 59, 0.45) 50%, rgba(26, 35, 59, 0.50) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    font-size: 1rem;
    color: var(--primary-light);
}

.hero-title {
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
    color: white;
}

.title-line {
    display: block;
    color: white;
}

.title-line.highlight {
    background: linear-gradient(135deg, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.75;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.4);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    animation: fadeIn 1s ease 1.2s both;
}

.scroll-indicator {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 11px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   Section Header
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(26, 115, 232, 0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 12px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Solutions Section
   ============================================ */
.solutions-overview {
    padding: 100px 0;
    background: var(--background);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.solution-card {
    position: relative;
    height: 480px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all var(--transition-normal);
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 35, 59, 0.3) 0%, rgba(26, 35, 59, 0.85) 100%);
    z-index: 1;
}

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

.solution-card:hover::before {
    background: linear-gradient(to bottom, rgba(26, 35, 59, 0.5) 0%, rgba(26, 35, 59, 0.95) 100%);
}

.solution-overlay {
    position: relative;
    z-index: 2;
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

.solution-card.featured::before {
    background: linear-gradient(to bottom, rgba(26, 115, 232, 0.4) 0%, rgba(26, 41, 59, 0.92) 100%);
}

.solution-card.featured:hover::before {
    background: linear-gradient(to bottom, rgba(26, 115, 232, 0.6) 0%, rgba(26, 41, 59, 0.98) 100%);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--primary-color);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    z-index: 3;
}

.solution-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
}

.solution-icon i {
    font-size: 1.5rem;
    color: white;
}

.solution-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: white;
}

.solution-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-weight: 500;
}

.solution-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.solution-features {
    margin-bottom: 24px;
    flex-grow: 1;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.solution-features i {
    color: var(--primary-light);
    font-size: 0.85rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    transition: gap var(--transition-fast);
}

.solution-link i {
    font-size: 0.85rem;
    transition: transform var(--transition-fast);
}

.solution-link:hover {
    gap: 12px;
}

.solution-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: 100px 0;
    background: var(--background-alt);
}

.products-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background: var(--background);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.products-sidebar {
    border-right: 1px solid var(--border-color);
    padding-right: 30px;
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
}

.product-menu li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-menu li i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.product-menu li:hover {
    background: rgba(26, 115, 232, 0.05);
    color: var(--primary-color);
}

.product-menu li.active {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

.product-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.products-content {
    min-height: 500px;
}

.product-panel {
    display: none;
    animation: fadeIn 0.5s ease;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.product-panel.active {
    display: grid;
}

.product-info h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.product-code {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 12px;
    vertical-align: middle;
}

.product-intro {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-group h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--secondary-color);
}

.feature-group h4 i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.feature-group ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-group li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.feature-group li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.product-demo {
    position: sticky;
    top: 100px;
}

.demo-screen {
    background: var(--secondary-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.demo-dot:first-child { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:nth-child(3) { background: #28c840; }

.demo-title {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.demo-content {
    display: flex;
    min-height: 320px;
    background: #1e293b;
}

.demo-sidebar {
    width: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-menu-item {
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.demo-menu-item.active {
    background: var(--primary-color);
}

.demo-main {
    flex: 1;
    padding: 16px;
}

.demo-header-bar {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 16px;
}

.demo-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-row {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.demo-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.demo-stat {
    flex: 1;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.demo-chart {
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.demo-login {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-login-form {
    width: 70%;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

/* ============================================
   Product Real Image Styles
   ============================================ */
.product-image-container {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--background-alt);
}

.product-real-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
}

.product-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-image-container:hover .product-image-overlay {
    opacity: 1;
}

.product-image-overlay .btn {
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.product-image-container:hover .product-image-overlay .btn {
    transform: translateY(0);
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--background);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.why-us-content .section-tag {
    margin-bottom: 12px;
}

.why-us-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.why-us-intro {
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.75;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 16px;
}

.why-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(14, 165, 233, 0.1));
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.why-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.why-text h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.why-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.why-us-stats {
    position: sticky;
    top: 100px;
}

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

.stat-card {
    padding: 28px 24px;
    background: var(--background-alt);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

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

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    margin: 0 auto 16px;
}

.stat-card .stat-icon i {
    font-size: 1.25rem;
    color: white;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mission-box {
    padding: 28px;
    background: linear-gradient(135deg, var(--secondary-color), #334155);
    border-radius: var(--border-radius-lg);
    color: white;
}

.mission-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.mission-box h4 i {
    color: var(--accent-color);
}

.mission-box ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-box li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.mission-box li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    font-size: 0.7rem;
    color: var(--success-color);
}

/* ============================================
   Support Section
   ============================================ */
.support {
    padding: 100px 0;
    background: var(--background-alt);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.support-card {
    padding: 36px 28px;
    background: var(--background);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.support-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(14, 165, 233, 0.1));
    border-radius: 50%;
    margin: 0 auto 20px;
}

.support-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.support-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.support-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.support-time {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--background);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-alt);
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-text h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-map {
    margin-top: 20px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    display: block;
}

.contact-form-wrapper {
    background: var(--background);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

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

.form-header h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--background-alt);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--background);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--secondary-color);
    color: white;
}

.footer-main {
    padding: 80px 0 40px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-img {
    height: 45px;
    width: auto;
}

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

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

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

.footer-brand .logo-sub {
    color: rgba(255, 255, 255, 0.6);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 0.9rem;
    color: white;
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-panel.active {
        grid-template-columns: 1fr;
    }
    
    .product-demo {
        position: relative;
        top: 0;
    }
    
    .language-switcher {
        right: 24px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 32px;
        gap: 8px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-2xl);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
    }
    
    .nav-btn-login {
        margin: 16px 0 0 0;
        width: 100%;
        justify-content: center;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 30px;
    }
    
    .product-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .product-menu li {
        flex: 0 0 auto;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-us-stats {
        position: relative;
        top: 0;
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .language-switcher {
        top: 15px;
        right: 24px;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        height: 400px;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .language-switcher {
        top: 12px;
        right: 24px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 100px 16px 60px;
    }
    
    .section-container {
        padding: 0 16px;
    }
    
    .products-layout {
        padding: 24px 16px;
    }
    
    .contact-form-wrapper {
        padding: 24px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .language-switcher {
        top: 10px;
        right: 24px;
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}
