/* ============================================
   Youcole - Corporate Website Stylesheet
   Western/European Professional Style
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #0A2540;
  --accent: #2563EB;
  --accent-light: #3B82F6;
  --accent-glow: rgba(37, 99, 235, 0.15);
  --text-primary: #0A2540;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #0A2540;
  --bg-darker: #060F1E;
  --border: #E5E7EB;
  --border-light: rgba(255,255,255,0.1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Inter', 'Segoe UI', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ---- Typography ---- */
.display-xl { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.display-md { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.25; }
.text-lg    { font-size: 1.125rem; line-height: 1.75; }
.text-base  { font-size: 1rem; line-height: 1.65; }
.text-sm    { font-size: 0.875rem; line-height: 1.6; }
.text-xs    { font-size: 0.75rem; line-height: 1.5; }

.text-muted   { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent  { color: var(--accent); }
.text-white   { color: #fff; }
.font-medium  { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold    { font-weight: 700; }

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1  { gap: 0.5rem; }
.gap-2  { gap: 1rem; }
.gap-3  { gap: 1.5rem; }
.gap-4  { gap: 2rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-dark:hover {
  background: var(--accent);
  color: #fff;
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ---- Section Header ---- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---- Divider ---- */
.divider {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.25rem 0;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ==============================
   NAVIGATION
   ============================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.875rem 0;
  box-shadow: 0 1px 30px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo .logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}

.nav-logo .logo-img {
  width: auto;
  height: 40px;
  max-width: 150px;
  object-fit: contain;
}

.nav-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  transition: var(--transition);
}

#navbar.scrolled .logo-text {
  color: var(--primary);
}

.nav-logo .logo-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  margin-top: -2px;
  transition: var(--transition);
}

#navbar.scrolled .logo-sub {
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

#navbar.scrolled .nav-link {
  color: var(--text-secondary);
}

#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.dropdown-item .icon {
  width: 28px;
  height: 28px;
  background: var(--accent-glow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.nav-cta {
  margin-left: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .hamburger span {
  background: var(--primary);
}

/* ==============================
   HERO
   ============================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.35) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 85% 50%, rgba(124,58,237,0.2) 0%, transparent 50%),
              linear-gradient(180deg, #060F1E 0%, #0A2540 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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero-dots {
  position: absolute;
  inset: 0;
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.hero-dot:nth-child(1) { width: 6px; height: 6px; background: var(--accent); top: 20%; left: 15%; animation-delay: 0s; }
.hero-dot:nth-child(2) { width: 4px; height: 4px; background: rgba(124,58,237,0.6); top: 60%; left: 80%; animation-delay: 1s; }
.hero-dot:nth-child(3) { width: 5px; height: 5px; background: rgba(37,99,235,0.5); top: 75%; left: 30%; animation-delay: 2s; }
.hero-dot:nth-child(4) { width: 3px; height: 3px; background: rgba(255,255,255,0.4); top: 35%; left: 70%; animation-delay: 0.5s; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: 50px;
  color: #93C5FD;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #3B82F6;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
}

.hero-stat-item .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat-item .number span {
  font-size: 1.5rem;
  color: var(--accent-light);
}

.hero-stat-item .label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.375rem;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 580px;
  padding: 2rem;
  opacity: 0.15;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ==============================
   ABOUT / COMPANY INTRO
   ============================== */
#about {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-card-main::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.about-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 2rem;
}

.stat-block {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-block .num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-block .num em {
  font-style: normal;
  color: #60A5FA;
}

.stat-block .lbl {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.375rem;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(37,99,235,0.4);
}

.about-badge .est {
  font-size: 0.75rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-badge .year {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.about-content .values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-2px);
}

.value-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.value-text h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================
   SERVICES
   ============================== */
#services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #7C3AED);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-icon.blue   { background: rgba(37,99,235,0.1);  color: var(--accent); }
.service-icon.purple { background: rgba(124,58,237,0.1); color: #7C3AED; }
.service-icon.green  { background: rgba(16,185,129,0.1); color: #10B981; }
.service-icon.orange { background: rgba(249,115,22,0.1); color: #F97316; }
.service-icon.teal   { background: rgba(20,184,166,0.1); color: #14B8A6; }
.service-icon.cyan   { background: rgba(6,182,212,0.1);  color: #06B6D4; }
.service-icon.indigo { background: rgba(99,102,241,0.1); color: #6366F1; }


.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.5rem;
  transition: var(--transition);
}

.service-link:hover { gap: 0.625rem; }

/* ==============================
   BUSINESS SECTORS - TABS
   ============================== */
#solutions {
  background: var(--bg-white);
}

.solutions-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.solutions-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover { color: var(--text-primary); }

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.tab-btn .tab-icon {
  font-size: 1.125rem;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tab-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.tab-features {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 1.75rem 0;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-row .check {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.tab-visual {
  position: relative;
}

.solution-showcase {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.solution-showcase::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
}

.showcase-header {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase-header::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
}

.showcase-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.showcase-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.showcase-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.module-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.module-item .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==============================
   PROCESS / HOW WE WORK
   ============================== */
#process {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

#process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(37,99,235,0.2) 0%, transparent 60%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
}

.step-item {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-item:hover {
  background: rgba(37,99,235,0.12);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.step-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.step-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ==============================
   CASE STUDIES
   ============================== */
#cases {
  background: var(--bg-light);
}

/* ==============================
   CLIENTS - 客户展示
   ============================== */
#clients {
  background: var(--bg-white);
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 100px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
  border-color: var(--accent-light);
}

.client-logo .client-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.client-logo .client-en {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==============================
   ADVANTAGES - 我们的优势
   ============================== */
#advantages {
  background: var(--bg-dark);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.advantage-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-4px);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.advantage-icon.blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.advantage-icon.purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.advantage-icon.green { background: linear-gradient(135deg, #10B981, #059669); }

.advantage-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.advantage-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.case-header {
  padding: 1.75rem 1.75rem 0;
}

.case-sector {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-sector.blue   { background: rgba(37,99,235,0.1); color: var(--accent); }
.case-sector.green  { background: rgba(16,185,129,0.1); color: #059669; }
.case-sector.orange { background: rgba(249,115,22,0.1); color: #EA580C; }
.case-sector.purple { background: rgba(124,58,237,0.1); color: #7C3AED; }
.case-sector.teal   { background: rgba(20,184,166,0.1); color: #0D9488; }

.case-header h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.case-header p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.case-results {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

.result-item {
  flex: 1;
  text-align: center;
}

.result-item .val {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.result-item .lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* ==============================
   CTA BANNER
   ============================== */
#cta {
  background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 90% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cta-text p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ==============================
   CONTACT
   ============================== */
#contact {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact-item-text .label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-item-text .value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group label span {
  color: #EF4444;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==============================
   FOOTER
   ============================== */
#footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2.5rem;
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand .footer-logo-img {
  width: auto;
  height: 60px;
  max-width: 240px;
  object-fit: contain;
}

.footer-brand .logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.footer-brand .logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.85);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ==============================
   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);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid,
  .cta-inner { grid-template-columns: 1fr; gap: 3rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .cases-grid { grid-template-columns: repeat(2, 1fr); }

  .process-steps { grid-template-columns: repeat(3, 1fr); }

  .tab-panel.active { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-visual { display: none; }

  .cta-actions { flex-direction: column; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 1.25rem; }

  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    padding: 5rem 1.5rem 2rem;
    gap: 0.5rem;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.open .nav-link {
    color: rgba(255,255,255,0.75);
    padding: 0.875rem 1rem;
    font-size: 1.125rem;
  }

  .nav-menu.open + .nav-cta {
    display: block;
    position: fixed;
    bottom: 2rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
  }

  .services-grid,
  .cases-grid,
  .advantages-grid,
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .clients-grid { gap: 1rem; }
  .client-logo { width: 100%; height: 80px; }
  .client-logo .client-name { font-size: 1rem; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }

  .hero-stats { gap: 1.5rem; }

  .about-card-stats { grid-template-columns: 1fr 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .solutions-tabs { gap: 0; }
  .tab-btn { padding: 0.75rem 1rem; font-size: 0.8125rem; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
