/*
Theme Name: MediaMagic
Theme URI: https://www.mediamagic.co.jp
Author: MediaMagic Inc.
Author URI: https://www.mediamagic.co.jp
Description: 株式会社メディア・マジック コーポレートサイトテーマ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: mediamagic
*/

/* ==========================================================================
   CSS Custom Properties (:root)
   ========================================================================== */

:root {
  --primary: #1a1a4e;
  --primary-light: #2d2d6e;
  --primary-dark: #0f0f30;
  --accent: #c84b31;
  --accent-hover: #b5422b;
  --accent-glow: rgba(200, 75, 49, 0.25);
  --blue: #2563eb;
  --blue-light: rgba(37, 99, 235, 0.08);
  --white: #ffffff;
  --off-white: #faf8f5;
  --light-gray: #f0ece7;
  --warm-bg: #faf8f5;
  --warm-cream: #f5f0eb;
  --warm-accent: #d4a574;
  --mid-gray: #9a9db5;
  --text: #2c2c3a;
  --text-light: #6b6d82;
  --text-muted: #9a9db5;
  --border: rgba(26, 26, 78, 0.08);
  --shadow-sm: 0 1px 3px rgba(26, 26, 78, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 26, 78, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 26, 78, 0.12);
  --shadow-xl: 0 16px 48px rgba(26, 26, 78, 0.16);
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --radius-xl: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Noto Serif JP', 'Georgia', serif;
  --font-sans: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --header-height: 72px;
  --code-bg: #0d0f1c;
  --code-comment: #6a9955;
  --code-keyword: #c678dd;
  --code-string: #98c379;
  --code-func: #61afef;
  --code-text: #abb2bf;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  line-height: 2;
  font-size: 15px;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ==========================================================================
   Animations / Keyframes
   ========================================================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes line-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: var(--font-sans);
  text-decoration: none;
  line-height: 1;
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background: var(--warm-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Layout / Container
   ========================================================================== */

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

/* Section Common */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 2px;
  line-height: 1.6;
}
.section-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 640px;
  line-height: 2;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc {
  margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Header — always dark elegant */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  height: var(--header-height);
}

/* Scrolled: dark navy header, not white */
.site-header.scrolled {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* On subpages without hero, header starts dark */
body:not(.home) .site-header {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(12px);
}

/* Nav links — always white/light */
.site-header .nav-links a,
.site-header .logo,
.site-header .lang-switch {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.site-header .nav-links a:hover,
.site-header .logo:hover {
  color: #fff;
}
.site-header.scrolled .nav-links a,
.site-header.scrolled .logo,
.site-header.scrolled .lang-switch {
  color: rgba(255,255,255,0.7);
}
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .logo:hover {
  color: #fff;
}

/* Language switch — always light */
.site-header .lang-switch {
  color: rgba(255,255,255,0.5);
}
.site-header.scrolled .lang-switch {
  color: rgba(255,255,255,0.5);
}
/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
}
.lang-switch select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  padding: 5px 24px 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}
.lang-switch select:hover {
  border-color: rgba(255,255,255,0.4);
}
.lang-switch select option {
  background: #1a1a4e;
  color: #fff;
}

/* header-right alignment */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo mark */
.site-header .logo-mark {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.site-header.scrolled .logo-mark {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* CTA button */
.site-header .header-cta {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px 20px;
  transition: all 0.3s;
}
.site-header .header-cta:hover,
.site-header.scrolled .header-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.site-header.scrolled .header-cta {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
/* Logo is always white — works on both transparent and dark backgrounds */
.logo img,
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* No filter needed since logo is naturally white and header is always dark */
.site-header:not(.scrolled) .logo img {
  filter: none;
}
.site-header.scrolled .logo img {
  filter: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.logo-mark i { width: 20px; height: 20px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}
.lang-switch:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.lang-switch i { width: 14px; height: 14px; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.header-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--accent-glow);
}
.header-cta i { width: 16px; height: 16px; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 4px;
  transition: color 0.3s;
}
/* Mobile button — always white */
.site-header.scrolled .mobile-menu-btn {
  color: #fff;
}
.mobile-menu-btn i { width: 24px; height: 24px; }

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #0f0f1a;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  z-index: 999;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 16px;
  padding: 14px 24px;
}

/* ==================== HERO (FULLSCREEN) ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
/* Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}
/* Overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 78, 0.65) 0%,
    rgba(26, 26, 78, 0.35) 50%,
    rgba(58, 45, 94, 0.55) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 60px) 24px 80px;
  width: 100%;
}
.hero-kicker {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--warm-accent);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.hero h1 strong {
  color: var(--warm-accent);
}
.hero-philosophy {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  border-left: 3px solid var(--warm-accent);
  padding-left: 16px;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-align: center;
  letter-spacing: 2px;
  animation: float 2s ease-in-out infinite;
}
.hero-scroll i {
  display: block;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }
  .hero-inner {
    padding-top: calc(var(--header-height) + 40px);
  }
  .hero-scroll {
    display: none;
  }
}

/* ==========================================================================
   Number Strip / Counters
   ========================================================================== */

.number-strip {
  background: var(--primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.number-strip::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom right, transparent 49.5%, var(--primary) 50%);
}
.number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.number-cell {
  padding: 40px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.number-cell:last-child { border-right: none; }
.number-cell:hover { background: rgba(255,255,255,0.04); }
.number-value {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 200;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -2px;
}
.number-value .unit {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
}
.number-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-section {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 40px 32px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  box-shadow: none;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: all var(--transition);
}
.service-icon-wrap i { width: 28px; height: 28px; }
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.service-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.service-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.services-more {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   Why Us / Strengths
   ========================================================================== */

.why-section {
  padding: 120px 0;
  background: var(--warm-bg);
  position: relative;
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.strength-card {
  background: var(--white);
  padding: 48px 32px 40px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  border-right: 1px solid var(--light-gray);
  overflow: hidden;
}
.strength-card:last-child { border-right: none; }
.strength-card:hover {
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.strength-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width var(--transition);
}
.strength-card:hover::after { width: 60px; }
.strength-number {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.strength-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}
.strength-icon i { width: 28px; height: 28px; }
.strength-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.5;
  letter-spacing: 1px;
}
.strength-desc {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================================================
   Tech Stack
   ========================================================================== */

.tech-section {
  padding: 120px 0;
  background: var(--white);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.tech-card {
  background: var(--warm-bg);
  border: 1px solid var(--light-gray);
  border-radius: 0;
  padding: 28px 16px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
  position: relative;
}
.tech-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.tech-card:hover::after {
  transform: scaleX(1);
}
.tech-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  background: var(--white);
}
.tech-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--blue);
  transition: all var(--transition);
}
.tech-card-icon i { width: 24px; height: 24px; }
.tech-card:hover .tech-card-icon {
  background: var(--blue);
  color: var(--white);
}
.tech-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}
.tech-more {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   Case Studies
   ========================================================================== */

.cases-section {
  padding: 120px 0;
  background: var(--warm-bg);
  position: relative;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: box-shadow 0.5s ease, transform 0.3s ease;
}
.case-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.case-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}
.case-img {
  height: 200px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(26,26,78,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.case-card:hover .case-img img {
  transform: scale(1.05);
}
.case-img i {
  width: 48px;
  height: 48px;
  color: rgba(37,99,235,0.3);
}
.case-body { padding: 24px; }
.case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.case-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
  line-height: 1.6;
  letter-spacing: 0.5px;
}
.case-result {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.case-result i { width: 18px; height: 18px; }
.case-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.case-stack span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  background: var(--warm-bg);
  border: 1px solid var(--light-gray);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 4px;
}
.cases-more {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   Development Process
   ========================================================================== */

.process-section {
  padding: 120px 0;
  background: var(--white);
}
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 0 40px;
}
.process-connector {
  position: absolute;
  top: 36px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: var(--primary);
  z-index: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-circle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(26,26,78,0.08);
}
.process-step:hover .step-circle {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 24px rgba(26,26,78,0.2);
}
.process-step.highlight .step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 0 24px var(--accent-glow);
}
.process-step.highlight .step-circle::after {
  border-color: rgba(230,57,70,0.15);
}
.step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}
.process-step.highlight .step-title {
  color: var(--accent);
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(230,57,70,0.08);
  padding: 2px 10px;
  border-radius: 100px;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Consultation Flow
   ========================================================================== */

.consult-section {
  padding: 120px 0;
  background: var(--warm-bg);
}
.consult-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.consult-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  position: relative;
  transition: all var(--transition);
}
.consult-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.consult-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin: 0 auto 14px;
  font-family: 'Inter', sans-serif;
}
.consult-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--blue);
}
.consult-step-icon i { width: 22px; height: 22px; }
.consult-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.consult-step-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.consult-free-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 3px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.5px;
}
.consult-arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  z-index: 2;
}
.consult-step:last-child .consult-arrow { display: none; }

/* ==========================================================================
   News
   ========================================================================== */

.news-section {
  padding: 120px 0;
  background: var(--white);
}
.news-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--light-gray);
  transition: all var(--transition);
  cursor: pointer;
}
.news-item:hover { padding-left: 12px; }
.news-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 100px;
}
.news-cat {
  font-size: 11px;
  font-weight: 700;
  background: var(--blue-light);
  color: var(--blue);
  padding: 3px 12px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.news-title-text {
  font-size: 14px;
  color: var(--text-light);
  transition: color var(--transition);
}
.news-item:hover .news-title-text { color: var(--primary); }

/* ==========================================================================
   Trust Bar
   ========================================================================== */

.trust-section {
  padding: 64px 0;
  background: var(--warm-bg);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  text-align: center;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.trust-item:hover { opacity: 1; }
.trust-logo {
  width: 88px;
  height: 52px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--white);
}
.trust-name {
  font-size: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #1a1a4e 0%, #2d2850 50%, #3a2d5e 100%);
  color: var(--white);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.12), transparent 70%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-section .section-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.cta-description {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cta-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.cta-info-item i { width: 16px; height: 16px; }
.cta-info-item a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  transition: color var(--transition);
}
.cta-info-item a:hover { color: var(--white); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0f0f1a;
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 20px;
}
.footer-brand .logo-mark {
  background: rgba(255,255,255,0.1);
}
.footer-brand .logo img {
  filter: none;
}
.footer-brand-logo img {
  height: 40px;
  width: auto;
  max-width: 200px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 2;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
  margin-bottom: 0;
  transition: color 0.3s, padding-left 0.3s;
}
.footer-col a:hover {
  color: #fff;
  padding-left: 8px;
}
.footer-policies {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 0;
}
.footer-policies a {
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0 16px;
}
.footer-policies a:hover { color: rgba(255,255,255,0.8); }
.footer-policy-sep {
  color: rgba(255,255,255,0.12);
  font-size: 11px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-badges {
  display: flex;
  gap: 12px;
}
.footer-badge {
  width: 56px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.02);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* (Utility classes are integrated into component styles above) */

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-inner { padding: calc(var(--header-height) + 40px) 24px 60px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths-grid { grid-template-columns: 1fr; }
  .strength-card { border-right: none; border-bottom: 1px solid var(--light-gray); }
  .strength-card:last-child { border-bottom: none; }
  .tech-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .cases-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .process-flow { flex-direction: column; align-items: center; gap: 28px; }
  .process-connector { display: none; }
  .consult-flow { grid-template-columns: repeat(2, 1fr); }
  .consult-arrow { display: none !important; }
  .number-grid { grid-template-columns: repeat(2, 1fr); }
  .number-cell { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
  }
  .lang-switch { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 28px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .consult-flow { grid-template-columns: 1fr; }
  .news-item { flex-wrap: wrap; gap: 8px; }
  .news-date { min-width: auto; }
  .trust-row { gap: 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
  .cta-info { flex-direction: column; align-items: center; gap: 16px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1; /* full width on top */
    margin-bottom: 16px;
  }
  .footer-brand-logo img {
    height: 32px;
  }
  .footer-brand p {
    font-size: 12px;
  }
  .footer-col h4 {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .footer-col a {
    font-size: 12px;
    padding: 4px 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .header-right { display: none; }
  .site-header { height: 60px; }
  .header-inner { height: 60px; }
  .logo img, .logo-img { height: 24px; }
  .number-value { font-size: 36px; }
  .number-cell { padding: 28px 12px; }
}

/* ==========================================================================
   SUBPAGE COMMON STYLES
   ========================================================================== */

/* ==================== PAGE HERO (shared across subpages) ==================== */
.page-hero {
  margin-top: 0;
  background: linear-gradient(160deg, #1a1a4e 0%, #2a2a6e 60%, #353580 100%);
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  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: 48px 48px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.page-hero-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.page-hero .subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.page-hero-sub {
  font-size: 16px;
  opacity: 0.7;
  max-width: 700px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.page-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}

/* ==================== BREADCRUMB (shared across subpages) ==================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { font-size: 11px; color: rgba(255,255,255,0.4); margin: 0 8px; }
.breadcrumb .current { color: #fff; font-weight: 600; }
.breadcrumb i { width: 14px; height: 14px; }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* Breadcrumb Bar (technology page variant) */
.breadcrumb-bar {
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 16px;
  background: var(--warm-bg);
}
.breadcrumb-bar .breadcrumb {
  color: var(--text-light);
}
.breadcrumb-bar .breadcrumb a {
  color: var(--text-light);
}
.breadcrumb-bar .breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb-sep {
  color: var(--mid-gray);
  font-size: 11px;
}
.breadcrumb-current {
  color: var(--primary);
  font-weight: 600;
  font-weight: 600;
}

/* ==================== SECTION COMMON (subpages) ==================== */
.section {
  padding: 120px 0;
}
.section-bg {
  background: var(--warm-bg);
}
.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(37,99,235,0.2);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: rgba(37,99,235,0.08);
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ==================== ANIMATION HELPERS (subpages) ==================== */
.animate-in {
  animation: fadeInUp 0.7s ease-out forwards;
}
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-5 { animation-delay: 0.5s; opacity: 0; }
.animate-delay-6 { animation-delay: 0.6s; opacity: 0; }
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Additional button styles used across subpages */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 40px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 40px rgba(230,57,70,0.25);
}
.btn-cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(230,57,70,0.25);
}
.btn-cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 30px rgba(230,57,70,0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline-primary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* CTA shared inner/title/subtitle/desc */
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.cta-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.1) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a5c 0%, #0d0d2b 40%, #1a1a5c 100%);
  z-index: 0;
}
.cta-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(230,57,70,0.15), transparent 70%);
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,140,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,140,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-icon {
  width: 64px;
  height: 64px;
  background: rgba(26,26,78,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
}
.cta-icon i {
  width: 28px;
  height: 28px;
}

/* Footer social links (subpage footer variants) */
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  transition: color var(--transition);
}
.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==================== PAGE: SERVICES ==================== */

/* Services page service card icon variants */
.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
  font-size: 0;
}
.service-card-icon.mobility { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.service-card-icon.system { background: linear-gradient(135deg, #1a1a4e, #2a2a6e); }
.service-card-icon.app { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.service-card-icon.monitoring { background: linear-gradient(135deg, #059669, #10b981); }
.service-card-icon.ai { background: linear-gradient(135deg, #e63946, #f87171); }
.service-card-icon.web { background: linear-gradient(135deg, #0891b2, #22d3ee); }

/* Services page tag styles */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.service-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(26,26,78,0.06);
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.service-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.service-card-link:hover {
  gap: 10px;
  color: var(--primary);
}

/* Other Services grid */
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.other-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}
.other-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.other-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--warm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}
.other-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.other-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==================== PAGE: TECHNOLOGY ==================== */

/* Technology page: tech category grid */
.tech-stack {
  background: var(--white);
}
.tech-category {
  margin-bottom: 56px;
}
.tech-category:last-child {
  margin-bottom: 0;
}
.tech-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray);
}
.tech-category-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.tech-category-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.tech-card-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Technology page: process timeline (vertical) */
.dev-process {
  background: var(--warm-bg);
}
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--primary));
  border-radius: 2px;
}
.process-timeline .process-step {
  position: relative;
  padding-left: 88px;
  margin-bottom: 56px;
  text-align: left;
  flex: none;
}
.process-timeline .process-step:last-child {
  margin-bottom: 0;
}
.process-step-marker {
  position: absolute;
  left: 12px;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--off-white), 0 0 0 8px rgba(26,26,78,0.1);
}
.process-timeline .process-step:hover .process-step-marker {
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--off-white), 0 0 0 8px rgba(230,57,70,0.2);
}
.process-step-connector {
  position: absolute;
  left: 54px;
  top: 20px;
  width: 34px;
  height: 2px;
  background: var(--light-gray);
}
.process-step-content {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}
.process-timeline .process-step:hover .process-step-content {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.process-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.process-step-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(230,57,70,0.06);
  padding: 4px 12px;
  border-radius: 20px;
}
.process-step-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
}
.process-step-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.process-step-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.process-step-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--warm-bg);
  border: 1px solid var(--light-gray);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.process-step-item:hover {
  border-color: var(--primary);
  background: rgba(26,26,78,0.02);
}
.process-step-item i {
  color: var(--primary);
}

/* Technology page: quality assurance */
.quality-section {
  background: var(--white);
}
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quality-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.quality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.quality-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.quality-card:hover::before {
  transform: scaleX(1);
}
.quality-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--white);
}
.quality-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.quality-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}
.quality-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.quality-tag {
  background: var(--warm-bg);
  border: 1px solid var(--light-gray);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}

/* ==================== PAGE: COMPANY ==================== */

/* Mission / Vision section */
.mission-section {
  padding: 100px 0;
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mission-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,57,70,0.08), transparent 70%);
  pointer-events: none;
}
.mission-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 70%);
  pointer-events: none;
}
.mission-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.mission-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.mission-statement {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 32px;
  letter-spacing: 2px;
}
.mission-statement .accent {
  color: var(--accent);
}
.mission-desc {
  font-size: 16px;
  color: var(--text);
  line-height: 2;
  max-width: 700px;
  margin: 0 auto;
}
.mission-section .mission-desc {
  color: rgba(255,255,255,0.7);
}

/* Company table */
.table-section {
  padding: 100px 0;
}
.company-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--light-gray);
}
.company-table th {
  text-align: left;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  width: 180px;
  vertical-align: top;
  background: var(--warm-bg);
  white-space: nowrap;
}
.company-table td {
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}
.company-table td .sub {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.tag-list li {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(26,26,78,0.06);
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Company numbers/counters */
.numbers-section {
  padding: 80px 0;
  background: var(--warm-bg);
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.counter-item {
  text-align: center;
  padding: 40px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  transition: transform 0.3s, box-shadow 0.3s;
}
.counter-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,26,78,0.08);
}
.counter-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(230,57,70,0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.counter-icon i { width: 28px; height: 28px; }
.counter-num {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 200;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -2px;
}
.counter-num .unit {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
}
.counter-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 8px;
}

/* Company certifications */
.cert-section {
  padding: 100px 0;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,26,78,0.08);
}
.cert-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(26,26,78,0.02), rgba(230,57,70,0.02));
}
.cert-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--warm-bg);
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--text-muted);
}
.cert-logo-placeholder i { width: 32px; height: 32px; }
.cert-logo-placeholder.navy-bg {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.cert-logo-placeholder.red-bg {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cert-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.cert-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Company access section */
.access-section {
  padding: 100px 0;
  background: var(--warm-bg);
}
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.access-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}
.access-detail {
  list-style: none;
}
.access-detail li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 15px;
  color: var(--text);
}
.access-detail li i {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.access-detail li strong {
  font-weight: 600;
  color: var(--primary);
  min-width: 80px;
}
.station-info {
  margin-top: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
}
.station-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.station-info h4 i { width: 18px; height: 18px; color: var(--accent); }
.station-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}
.map-placeholder {
  width: 100%;
  height: 400px;
  background: #e5e5ea;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 12px;
}
.map-placeholder i { width: 48px; height: 48px; opacity: 0.4; }
.map-placeholder span { font-size: 14px; }

/* ==================== PAGE: RECRUIT ==================== */

/* Recruit hero (dark full-height) */
.recruit-body {
  background: #0d0d2b;
  color: #fff;
}
.recruit-body .section-title {
  color: #fff;
}
.recruit-body .section-desc,
.recruit-body .section-subtitle {
  color: rgba(255,255,255,0.7);
}
.recruit-body .section-badge {
  color: #4f8cff;
}
/* FAQ section on recruit page: force light theme */
.recruit-body .faq-section .section-badge {
  color: var(--primary);
  border-color: rgba(26,26,78,0.2);
  background: rgba(26,26,78,0.05);
}
.recruit-body .faq-section .section-title {
  color: var(--primary);
}
.recruit-body .faq-section .faq-q-text {
  color: var(--text);
}
.recruit-body .faq-section .faq-q-label {
  color: var(--accent);
}
.recruit-body .faq-section .faq-toggle {
  background: rgba(26,26,78,0.06);
  color: var(--primary);
}
.recruit-body .faq-section .faq-toggle i {
  color: var(--primary);
}
.recruit-body .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.recruit-body .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.recruit-body .tech-section {
  background: #141438;
}
.recruit-body .tech-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.recruit-body .tech-card:hover {
  background: rgba(79,140,255,0.08);
  border-color: rgba(79,140,255,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.recruit-body .tech-card-icon {
  color: #4f8cff;
}
.recruit-body .tech-card-name {
  color: #fff;
}

/* Recruit hero layout */
.recruit-body .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 80px) 24px 80px;
  text-align: center;
}
.recruit-body .hero-description {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .highlight {
  color: var(--accent);
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Background decorative elements */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,140,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,140,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.bg-gradient-radial {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.4;
}

/* Recruit hero particles */
.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(79,140,255,0.3), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(230,57,70,0.2), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(0,212,255,0.3), transparent),
    radial-gradient(1px 1px at 80% 60%, rgba(255,209,102,0.2), transparent),
    radial-gradient(2px 2px at 10% 80%, rgba(79,140,255,0.2), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.15), transparent),
    radial-gradient(2px 2px at 90% 10%, rgba(0,212,255,0.2), transparent);
  pointer-events: none;
  z-index: 0;
}

/* Appeal section */
.appeal-section {
  padding: 120px 0;
  position: relative;
  background: #141438;
}
.appeal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.appeal-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.appeal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4f8cff, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.appeal-card:hover::before { opacity: 1; }
.appeal-card:hover {
  border-color: rgba(79,140,255,0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.appeal-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(79,140,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #4f8cff;
  transition: all 0.3s;
}
.appeal-icon-wrap i { width: 32px; height: 32px; }
.appeal-card:hover .appeal-icon-wrap {
  background: rgba(79,140,255,0.18);
  box-shadow: 0 0 20px rgba(79,140,255,0.15);
}
.appeal-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.4;
}
.appeal-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* Highlighted appeal card (scholarship) */
.appeal-card.highlight-card {
  border-color: rgba(255,209,102,0.3);
  background: linear-gradient(135deg, rgba(255,209,102,0.06), rgba(230,57,70,0.04));
}
.appeal-card.highlight-card::before {
  background: linear-gradient(90deg, transparent, #ffd166, #e63946, transparent);
  opacity: 1;
  height: 3px;
}
.appeal-card.highlight-card .appeal-icon-wrap {
  background: rgba(255,209,102,0.15);
  color: #ffd166;
}
.appeal-card.highlight-card:hover {
  border-color: rgba(255,209,102,0.5);
  box-shadow: 0 16px 48px rgba(255,209,102,0.1);
}
.appeal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffd166;
  background: rgba(255,209,102,0.12);
  border: 1px solid rgba(255,209,102,0.3);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.appeal-badge i { width: 14px; height: 14px; }

/* Recruit timeline (day in the life) */
.timeline-section {
  padding: 120px 0;
  position: relative;
  background: #141438;
}
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #4f8cff, #00d4ff, #4f8cff);
  opacity: 0.3;
}
.timeline-item {
  position: relative;
  padding: 0 0 40px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -44px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4f8cff;
  border: 3px solid #141438;
  box-shadow: 0 0 12px rgba(79,140,255,0.3);
  z-index: 1;
}
.timeline-time {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #4f8cff;
  min-width: 56px;
  flex-shrink: 0;
}
.timeline-content {
  flex: 1;
}
.timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(79,140,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f8cff;
  flex-shrink: 0;
}
.timeline-icon i { width: 20px; height: 20px; }
.timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.timeline-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.timeline-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Recruit employee voices */
.voices-section {
  padding: 120px 0;
  position: relative;
  background: #0e0e2a;
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.voice-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s;
  position: relative;
}
.voice-card:hover {
  border-color: rgba(79,140,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.voice-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,140,255,0.2), rgba(0,212,255,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #4f8cff;
}
.voice-avatar i { width: 32px; height: 32px; }
.voice-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.voice-role {
  font-size: 13px;
  color: #4f8cff;
  font-weight: 600;
  margin-bottom: 16px;
}
.voice-quote {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(79,140,255,0.3);
}

/* Recruit job openings */
.jobs-section {
  padding: 120px 0;
  position: relative;
  background: #141438;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.job-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f8cff, #00d4ff);
}
.job-card:hover {
  border-color: rgba(79,140,255,0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.job-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(79,140,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #4f8cff;
}
.job-icon-wrap i { width: 28px; height: 28px; }
.job-title {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}
.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.job-skills span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  background: rgba(79,140,255,0.1);
  border: 1px solid rgba(79,140,255,0.2);
  color: #4f8cff;
  padding: 4px 10px;
  border-radius: 4px;
}
.job-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.job-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.job-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.job-tag.new-grad {
  background: rgba(0,212,255,0.12);
  color: #00d4ff;
  border: 1px solid rgba(0,212,255,0.25);
}
.job-tag.mid-career {
  background: rgba(255,209,102,0.1);
  color: #ffd166;
  border: 1px solid rgba(255,209,102,0.25);
}
.job-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Recruit benefits */
.benefits-section {
  padding: 120px 0;
  position: relative;
  background: #141438;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}
.benefit-item:hover {
  border-color: rgba(79,140,255,0.2);
  transform: translateY(-2px);
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(79,140,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f8cff;
  flex-shrink: 0;
}
.benefit-icon i { width: 22px; height: 22px; }
.benefit-text {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* Highlighted benefit (scholarship) */
.benefit-item.benefit-highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255,209,102,0.08), rgba(230,57,70,0.05));
  border-color: rgba(255,209,102,0.3);
  padding: 32px;
  position: relative;
}
.benefit-item.benefit-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd166, #e63946, #ffd166);
  border-radius: 3px 3px 0 0;
}
.benefit-item.benefit-highlight .benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,209,102,0.15);
  color: #ffd166;
  position: relative;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.benefit-item.benefit-highlight .benefit-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1px solid rgba(255,209,102,0.2);
  animation: pulse-ring 2s ease-out infinite;
}
.benefit-item.benefit-highlight .benefit-icon i { width: 28px; height: 28px; }
.benefit-highlight-content {
  flex: 1;
}
.benefit-highlight-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffd166;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.benefit-highlight-title .star-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,209,102,0.2);
  color: #ffd166;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.benefit-highlight-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* Recruit FAQ */
.faq-section {
  padding: 100px 0;
  position: relative;
  background: var(--warm-bg);
}
.faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.faq-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(26,26,78,0.2);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: rgba(26,26,78,0.04);
}
.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--white);
  border: 1px solid rgba(26,26,78,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
}
.faq-q-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-q-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-q-label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37,99,235,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-toggle i { width: 18px; height: 18px; transition: transform 0.3s; }
.faq-item.active .faq-toggle {
  background: rgba(37,99,235,0.2);
}
.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 16px 24px 24px;
}
.faq-a-inner {
  padding: 0 28px 24px;
  padding-left: 56px;
}
.faq-a-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  padding: 8px 24px 8px 48px;
}

/* ==================== PAGE: CONTACT ==================== */

/* Contact options */
.contact-options {
  padding: 64px 0;
  background: var(--white);
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.option-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.option-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.option-card:hover::before { opacity: 1; }
.option-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(26,26,78,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all 0.3s;
}
.option-card:hover .option-icon {
  background: var(--primary);
  color: var(--white);
}
.option-icon i { width: 26px; height: 26px; }
.option-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.option-detail {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.option-phone {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin: 8px 0 4px;
}
.option-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}
.option-link:hover { gap: 10px; }
.option-link i { width: 16px; height: 16px; }

/* Contact form section */
.form-section {
  padding: 80px 0;
  background: var(--warm-bg);
}
.form-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.form-panel {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.form-panel-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.form-panel-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--light-gray);
}
.form-panel-desc .required-note {
  color: var(--accent);
  font-weight: 600;
}
.form-group {
  margin-bottom: 28px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.form-label .badge-required {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.form-label .badge-optional {
  font-size: 11px;
  font-weight: 600;
  background: var(--light-gray);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Radio buttons */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.radio-item {
  position: relative;
}
.radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}
.radio-item label::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid var(--mid-gray);
  border-radius: 50%;
  transition: all 0.2s;
  flex-shrink: 0;
}
.radio-item input[type="radio"]:checked + label {
  border-color: var(--primary);
  background: rgba(26,26,78,0.04);
  color: var(--primary);
  font-weight: 600;
}
.radio-item input[type="radio"]:checked + label::before {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px var(--white);
}
.radio-item label:hover {
  border-color: var(--primary);
  background: rgba(26,26,78,0.02);
}

/* Text inputs */
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  transition: all 0.2s;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--mid-gray);
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,26,78,0.1);
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--accent);
}
.form-textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Checkbox */
.checkbox-group {
  margin-bottom: 32px;
}
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--mid-gray);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.checkbox-item input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-label {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox-label a:hover {
  color: var(--accent-hover);
}

/* Submit button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 36px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}
.btn-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(230,57,70,0.25);
  transform: translateY(-2px);
}
.btn-submit:active {
  transform: translateY(0);
}
.btn-submit i { width: 20px; height: 20px; }

/* Contact side panel */
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.info-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-gray);
}
.info-card-title i { width: 18px; height: 18px; }
.info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}
.info-row:last-child { margin-bottom: 0; }
.info-row-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-row-icon i { width: 16px; height: 16px; }
.info-row-label {
  font-weight: 600;
  color: var(--text);
  min-width: 64px;
}
.info-row-value {
  color: var(--text-light);
}
.info-row-value a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.info-row-value a:hover {
  color: var(--accent);
}

/* ==================== PAGE: WORKS/ARCHIVE ==================== */

/* Filter tabs */
.filter-section {
  padding: 48px 0 0;
  background: var(--white);
  position: sticky;
  top: 72px;
  z-index: 100;
  border-bottom: 1px solid var(--light-gray);
}
.filter-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  font-family: inherit;
}
.filter-tab:hover {
  color: var(--primary);
}
.filter-tab.active {
  color: var(--primary);
  font-weight: 700;
  border-bottom-color: var(--primary);
}
.filter-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--light-gray);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 100px;
  line-height: 1.4;
}
.filter-tab.active .filter-count {
  background: var(--primary);
  color: var(--white);
}

/* Case card variants for works page */
.case-img-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--mid-gray);
}
.case-img-label i {
  width: 40px;
  height: 40px;
}
.case-img-label span {
  font-size: 12px;
  font-weight: 500;
}
.case-tag--mobility {
  background: rgba(26,26,78,0.08);
  color: var(--primary);
}
.case-tag--mobile {
  background: rgba(16,185,129,0.1);
  color: #059669;
}
.case-tag--ec {
  background: rgba(245,158,11,0.1);
  color: #d97706;
}
.case-tag--system {
  background: rgba(99,102,241,0.1);
  color: #6366f1;
}
.case-tag--ai {
  background: rgba(230,57,70,0.1);
  color: var(--accent);
}
.case-summary {
  margin-bottom: 20px;
}
.case-summary-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 4px;
}
.case-summary-row i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 4px;
}
.case-summary-row .label {
  font-weight: 700;
  color: var(--text);
  min-width: 32px;
}
.case-result-num {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  white-space: nowrap;
}
.case-result-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
}
.case-link i {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}
.case-link:hover {
  color: var(--accent);
  gap: 10px;
}
.case-link:hover i {
  transform: translateX(2px);
}

/* More button */
.more-section {
  padding: 0 0 80px;
  background: var(--warm-bg);
  text-align: center;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-more i {
  width: 18px;
  height: 18px;
}
.btn-more:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Numbers bar (works page) */
.numbers-bar {
  background: var(--primary);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.numbers-bar .numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.number-item {
  text-align: center;
}

/* ==================== SUBPAGE RESPONSIVE MEDIA QUERIES ==================== */

@media (max-width: 1024px) {
  /* Services */
  .services-page .services-grid {
    grid-template-columns: 1fr;
  }
  .other-grid { grid-template-columns: 1fr; }

  /* Technology */
  .tech-category .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .quality-grid { grid-template-columns: 1fr; }

  /* Company */
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .access-grid { grid-template-columns: 1fr; }

  /* Recruit */
  .appeal-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .voices-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .jobs-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-item.benefit-highlight { grid-column: 1 / -1; }
  .timeline { padding-left: 48px; }
  .timeline::before { left: 16px; }
  .timeline-dot { left: -38px; }

  /* Contact */
  .options-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .form-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }

  /* Works */
  .cases-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .numbers-bar .numbers-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 36px 0 48px;
  }
  .page-hero-title,
  .page-hero h1 {
    font-size: 28px;
  }
  .section {
    padding: 64px 0;
  }
  .tech-category .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline .process-step { padding-left: 72px; }
  .process-step-connector { width: 18px; }
  .process-step-content { padding: 24px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .page-hero { padding: 32px 0 48px; }
  .breadcrumb-bar { padding-top: 76px; }
  .tech-category .tech-grid { grid-template-columns: 1fr 1fr; }

  /* Technology process */
  .process-timeline::before { left: 20px; }
  .process-timeline .process-step { padding-left: 56px; margin-bottom: 36px; }
  .process-step-marker { left: 0; width: 40px; height: 40px; font-size: 14px; }
  .process-step-connector { left: 40px; width: 16px; }
  .process-step-content { padding: 20px; }
  .process-step-title { font-size: 17px; }

  /* Company */
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cert-grid { grid-template-columns: 1fr; }
  .company-table { display: block; }
  .company-table thead, .company-table tbody, .company-table tr, .company-table th, .company-table td {
    display: block;
    width: 100%;
  }
  .company-table tr { padding: 16px 0; }
  .company-table th {
    padding: 0 0 4px 0;
    background: transparent;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
  }
  .company-table td { padding: 0 0 16px 0; }
  .mission-statement { font-size: 22px; }

  /* Recruit */
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-item.benefit-highlight { grid-column: 1; }
  .timeline { padding-left: 40px; }
  .timeline::before { left: 12px; }
  .timeline-dot { left: -34px; }
  .faq-q-text { font-size: 14px; }

  /* Contact */
  .form-panel { padding: 28px 20px; }
  .radio-group { flex-direction: column; }
  .radio-item label { width: 100%; }
  .faq-a-inner { padding-left: 28px; }

  /* Works */
  .filter-section { top: 60px; }
  .filter-tab { padding: 10px 14px; font-size: 13px; }
  .cases-section { padding: 40px 0 56px; }
  .case-body { padding: 20px; }
  .numbers-bar { padding: 40px 0; }
  .numbers-bar .numbers-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   Warm Message / Quote Block
   ========================================================================== */

.warm-message {
  background: var(--warm-cream);
  border-left: 4px solid var(--warm-accent);
  padding: 32px 40px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 17px;
  line-height: 2;
  color: var(--text);
  position: relative;
}
.warm-message::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 64px;
  color: var(--warm-accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}
.representative-section {
  padding: 80px 0;
  background: var(--warm-bg);
}
.representative-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.representative-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--warm-cream);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(26,26,78,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
.representative-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 24px;
}
.representative-title {
  font-size: 13px;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .representative-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .representative-photo {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ==================== SINGLE CASE STUDY ==================== */
.case-hero {
  padding: 60px 0 40px;
  padding-top: calc(var(--header-height) + 40px);
  background: var(--warm-bg);
}
.case-hero-inner {
  max-width: 800px;
}
.case-hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.case-hero-tag {
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.case-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.case-hero-subtitle {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.9;
}
.case-visual {
  padding: 40px 0;
}
.case-visual-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--warm-cream);
}
.case-visual-img {
  width: 100%;
  height: auto;
  display: block;
}
.case-visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 80px;
  color: var(--text-muted);
  font-size: 14px;
}
.case-content {
  padding: 40px 0 80px;
}
.case-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.case-main {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}
.case-main h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--warm-accent);
}
.case-main h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 12px;
}
.case-main p {
  margin-bottom: 20px;
}
.case-main ul, .case-main ol {
  margin: 16px 0 24px 24px;
}
.case-main li {
  margin-bottom: 8px;
}
.case-main img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.case-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-info-card {
  background: var(--warm-bg);
  border-radius: var(--radius-md);
  padding: 20px;
}
.case-info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.case-info-value {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}
.case-info-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-tech-pill {
  background: var(--warm-cream);
  border: 1px solid rgba(26,26,78,0.08);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}
.case-info-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
}
.case-info-link:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .case-content-grid {
    grid-template-columns: 1fr;
  }
  .case-sidebar {
    position: static;
  }
}

/* ==========================================================================
   TCD-STYLE PREMIUM ADDITIONS
   ========================================================================== */

/* Section heading block (decorative numbering) */
.section-heading {
  text-align: center;
  margin-bottom: 64px;
}
.section-heading .section-num {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 200;
  color: rgba(26,26,78,0.06);
  line-height: 1;
  letter-spacing: -2px;
}
.section-heading .section-en {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
}
.section-heading p {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 15px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}

/* Diagonal section dividers */
.diagonal-top {
  position: relative;
}
.diagonal-top::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Section separator lines */
.section-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* Subtle texture overlay for sections */
.texture-bg {
  position: relative;
}
.texture-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a1a4e' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Elegant link arrows */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.arrow-link::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--primary);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.arrow-link:hover::after {
  width: 48px;
}

/* Decorative border reveal on hover (for generic cards) */
.reveal-border {
  position: relative;
}
.reveal-border::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-border:hover::after {
  width: 100%;
}

/* Large decorative background text (TCD watermark style) */
.bg-text {
  font-family: var(--font-heading);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 200;
  color: rgba(26,26,78,0.03);
  line-height: 1;
  letter-spacing: -4px;
  position: absolute;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ==========================================================================
   Mobile Float CTA
   ========================================================================== */
.mobile-float-cta {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(200, 75, 49, 0.4);
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  letter-spacing: 1px;
}
.mobile-float-cta:hover {
  box-shadow: 0 6px 28px rgba(200, 75, 49, 0.5);
  transform: translateY(-2px);
}
.mobile-float-cta i { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .mobile-float-cta { display: flex; }
}

/* ==========================================================================
   Additional Mobile Responsive (640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* News items stack vertically */
  .news-item {
    flex-direction: column;
    gap: 4px;
  }
  .news-date {
    font-size: 12px;
  }
  .news-cat {
    align-self: flex-start;
  }

  /* Trust bar wraps */
  .trust-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .trust-item img {
    height: 36px !important;
  }

  /* Process flow stacks */
  .consult-flow {
    grid-template-columns: 1fr;
  }
  .consult-arrow { display: none; }

  /* Hero CTA buttons stack */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }
}
