/* ==========================================================================
   Arvenel Studio - Master Design System
   Independent Digital Products Studio
   Vanilla CSS | Dark & Light Modes | Fully Responsive
   ========================================================================== */

@import url('font.css');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Official Arvenel Brand Palette */
  --brand-forest: #0E3D32;
  --brand-teal: #2E7D6B;
  --brand-mint: #6ED1B1;
  --brand-charcoal: #0F1416;
  --brand-cool-gray: #E4E7EA;

  /* Color Palette - Light Theme */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7FAF9;
  --bg-tertiary: #EBF1EF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F7FAF9;
  --bg-header: rgba(255, 255, 255, 0.92);
  --bg-dropdown: #FFFFFF;

  --text-primary: #0F1416;
  --text-secondary: #3D4F4B;
  --text-muted: #728581;
  --text-inverse: #FFFFFF;

  --border-color: rgba(15, 20, 22, 0.08);
  --border-subtle: rgba(15, 20, 22, 0.04);
  --border-focus: #2E7D6B;

  --brand-blue: #2E7D6B;
  --brand-blue-glow: rgba(46, 125, 107, 0.14);
  --brand-cyan: #6ED1B1;

  --btn-primary-bg: #0E3D32;
  --btn-primary-text: #FFFFFF;
  --btn-primary-hover: #175446;

  --btn-secondary-bg: #E4E7EA;
  --btn-secondary-text: #0F1416;
  --btn-secondary-border: rgba(15, 20, 22, 0.08);
  --btn-secondary-hover: #D5DDE1;

  --shadow-sm: 0 1px 2px 0 rgba(15, 20, 22, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 20, 22, 0.07), 0 2px 4px -2px rgba(15, 20, 22, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 20, 22, 0.08), 0 4px 6px -4px rgba(15, 20, 22, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 20, 22, 0.10), 0 8px 10px -6px rgba(15, 20, 22, 0.04);
  --shadow-card: 0 2px 12px rgba(15, 20, 22, 0.04);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #0F1416;
  --bg-secondary: #131A1D;
  --bg-tertiary: #182226;
  --bg-card: #151D20;
  --bg-card-hover: #1C262B;
  --bg-header: rgba(15, 20, 22, 0.92);
  --bg-dropdown: #151D20;

  --text-primary: #FFFFFF;
  --text-secondary: #B0C0BC;
  --text-muted: #6E827E;
  --text-inverse: #0F1416;

  --border-color: rgba(228, 231, 234, 0.10);
  --border-subtle: rgba(228, 231, 234, 0.05);
  --border-focus: #6ED1B1;

  --brand-blue: #6ED1B1;
  --brand-blue-glow: rgba(110, 209, 177, 0.20);
  --brand-cyan: #6ED1B1;

  --btn-primary-bg: #6ED1B1;
  --btn-primary-text: #0F1416;
  --btn-primary-hover: #8AE0C5;

  --btn-secondary-bg: #1A2428;
  --btn-secondary-text: #FFFFFF;
  --btn-secondary-border: rgba(228, 231, 234, 0.14);
  --btn-secondary-hover: #223035;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.8);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none !important;
  /* Firefox, Modern Browsers */
  -ms-overflow-style: none !important;
  /* IE 10+, Legacy Edge */
}

/* Hide scrollbars across Chrome, Safari, Edge, Opera, Webkit */
*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  -webkit-appearance: none !important;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-corner {
  display: none !important;
  background: transparent !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

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

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-sm {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* --- Typography Helpers --- */
.badge-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.badge-tag.accent {
  color: var(--brand-blue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  user-select: none;
  line-height: 1;
}

.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light {
    display: none;
  }

  :root:not([data-theme="light"]) .logo-dark {
    display: block;
  }
}

.brand-dot {
  color: var(--brand-blue);
  display: inline-block;
  margin-left: 1px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-blue);
  border-radius: 2px;
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: var(--transition);
  padding: 0;
  line-height: 1;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--brand-blue);
  transform: rotate(15deg);
}

.theme-icon-dark,
.theme-icon-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  line-height: 1;
}

[data-theme="light"] .theme-icon-dark {
  display: none;
}

[data-theme="light"] .theme-icon-light {
  display: inline-flex;
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: inline-flex;
}

/* Language Selector Dropdown */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--brand-blue);
}

.lang-btn-name,
.lang-code {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.lang-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  color: var(--text-muted);
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  top: 0.5px;
  transition: transform 0.2s ease;
}

.lang-selector.open .lang-btn-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  max-height: 380px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  background: var(--bg-dropdown);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  display: none;
  z-index: 1000;
}

.lang-dropdown::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.lang-selector.open .lang-dropdown {
  display: block;
  animation: fadeInDown 0.2s ease forwards;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  text-align: left;
}

.lang-option:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.lang-option.active {
  background: var(--brand-blue-glow);
  color: var(--brand-blue);
  font-weight: 600;
}

.lang-option-name {
  display: inline-block;
  line-height: 1.2;
}

/* Flag & SVG Icon System */
.flag-icon,
svg.flag-icon {
  width: 24px !important;
  height: 16px !important;
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

[data-theme="dark"] .flag-icon,
[data-theme="dark"] svg.flag-icon {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.lang-option-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.icon-svg:not(.flag-icon) {
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.lang-btn-arrow svg,
.theme-icon-light svg,
.theme-icon-dark svg,
.btn-arrow svg,
.project-arrow svg,
.mobile-menu-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Directional Icon RTL Awareness */
[dir="rtl"] .icon-dir-aware,
html[dir="rtl"] .icon-dir-aware {
  transform: scaleX(-1);
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

/* Mobile Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 74px;
  left: 0;
  width: 100%;
  height: calc(100vh - 74px);
  background: var(--bg-primary);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-top: 1px solid var(--border-color);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.mobile-drawer::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.mobile-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 72px;
  padding-bottom: 110px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  transition: var(--transition);
  white-space: nowrap;
  vertical-align: middle;
}

.btn>span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--btn-secondary-border);
}

.btn-secondary:hover {
  background-color: var(--btn-secondary-hover);
  border-color: var(--border-color);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  top: -1px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phones-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
  transition: transform 0.4s ease;
}

.hero-phones-wrapper:hover {
  transform: translateY(-6px);
}

.hero-phones-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

/* Floating App Card */
.floating-app-card {
  position: absolute;
  top: 40%;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
  animation: floatCard 4s ease-in-out infinite;
  z-index: 2;
  transition: var(--transition);
}

.floating-app-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.16);
}

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-info {
  display: flex;
  flex-direction: column;
}

.app-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.app-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* --- Section Header Bar --- */
.section-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-tag-heading {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.link-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.link-all:hover {
  color: var(--brand-blue);
  transform: translateX(3px);
}

/* --- Projects Showcase Grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-media img {
  transform: scale(1.05);
}

.project-body {
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.project-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.project-card:hover .project-arrow {
  color: var(--brand-blue);
  transform: translateX(4px);
}

/* --- What We Develop Section --- */
.what-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.what-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.what-intro-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
}

.what-intro-p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.link-arrow>span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.link-arrow:hover {
  color: var(--brand-blue);
}

.link-arrow:hover .btn-arrow {
  transform: translateX(4px);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon-wrap.blue {
  background: rgba(46, 125, 107, 0.12);
  color: #2E7D6B;
}

[data-theme="dark"] .service-icon-wrap.blue {
  background: rgba(110, 209, 177, 0.15);
  color: #6ED1B1;
}

.service-icon-wrap.purple {
  background: rgba(14, 61, 50, 0.10);
  color: #0E3D32;
}

[data-theme="dark"] .service-icon-wrap.purple {
  background: rgba(46, 125, 107, 0.20);
  color: #8AE0C5;
}

.service-icon-wrap.green {
  background: rgba(110, 209, 177, 0.22);
  color: #0E3D32;
}

[data-theme="dark"] .service-icon-wrap.green {
  background: rgba(110, 209, 177, 0.15);
  color: #6ED1B1;
}

.service-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Approach Section --- */
.approach-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.approach-headline {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.approach-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 28px;
}

.approach-item {
  display: flex;
  flex-direction: column;
}

.approach-icon-wrap {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.approach-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.approach-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.approach-item-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- CTA Mountain Banner --- */
.cta-banner-wrapper {
  padding: 0 28px 48px;
  max-width: calc(var(--container-max) + 56px);
  margin: 0 auto;
}

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #0F1416;
  background-image: url('../images/cta-mountains-clean.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(270deg, rgba(14, 61, 50, 0.90) 0%, rgba(15, 20, 22, 0.82) 100%);
  z-index: 1;
}

.cta-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  max-width: 100%;
}

.cta-logo {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.cta-logo-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.cta-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 440px;
}

.cta-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.cta-btn>span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0 48px;
  background: var(--bg-primary);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* --- Subpages Specific Styles --- */
/* Page Hero */
.page-hero {
  padding-top: 72px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 56px;
}

.page-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

/* Filter Tabs */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  transition: var(--transition);
}

.filter-tab:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border-color);
}

.filter-tab.active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

/* Project Detail View */
.project-detail-hero {
  margin-bottom: 48px;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 48px;
}

.meta-item-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.meta-item-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.project-case-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 64px;
}

.case-body {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.case-body h1,
.case-body h2,
.case-body h3,
.case-body h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.case-body h1 {
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.case-body h2 {
  font-size: 1.65rem;
  margin-top: 42px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.case-body h3 {
  font-size: 1.35rem;
  margin-top: 32px;
  margin-bottom: 14px;
}

.case-body h4 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.case-body p {
  margin-bottom: 24px;
}

.case-body strong,
.case-body b {
  color: var(--text-primary);
  font-weight: 600;
}

.case-body a {
  color: #6ed1b1;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.case-body a:hover {
  color: #a7f3d0;
}

.case-body blockquote {
  margin: 32px 0;
  padding: 18px 24px;
  background: rgba(110, 209, 177, 0.05);
  border-left: 3px solid #6ed1b1;
  border-radius: 0 12px 12px 0;
  color: #e2e8f0;
  font-style: italic;
}

.case-body blockquote p:last-child {
  margin-bottom: 0;
}

.case-body ul,
.case-body ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.case-body ul {
  list-style: disc;
}

.case-body ol {
  list-style: decimal;
}

.case-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.case-body code {
  font-family: var(--font-mono, monospace);
  font-size: 0.9em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a7f3d0;
}

.case-body pre {
  margin: 28px 0;
  padding: 20px 24px;
  background: #080a0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow-x: auto;
}

.case-body pre code {
  padding: 0;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.case-body hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.case-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 28px 0;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.case-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.case-body th,
.case-body td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.case-body th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  color: var(--text-primary);
}

.case-body tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.case-body .article-callout {
  padding: 18px 22px;
  border-radius: 12px;
  margin: 28px 0;
  background: rgba(110, 209, 177, 0.08);
  border: 1px solid rgba(110, 209, 177, 0.25);
  color: #e2e8f0;
}

.case-media-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* About Page Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px 0;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--brand-blue-glow);
}

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

/* --- Global Custom Dropdown System --- */
.custom-dropdown {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-dropdown.is-open {
  z-index: 10005;
}

.custom-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  outline: none;
}

.custom-dropdown-trigger:hover {
  border-color: var(--brand-blue);
}

.custom-dropdown.is-open .custom-dropdown-trigger,
.custom-dropdown-trigger:focus-visible {
  border-color: var(--border-focus);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--brand-blue-glow);
}

.custom-dropdown-value {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.custom-dropdown-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.custom-dropdown.is-open .custom-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.custom-dropdown.is-open.drop-up .custom-dropdown-arrow {
  transform: rotate(0deg);
}

.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-dropdown);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 6px;
  display: none;
  z-index: 10006;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.custom-dropdown-menu::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Auto drop-up mode */
.custom-dropdown.drop-up .custom-dropdown-menu {
  top: auto;
  bottom: calc(100% + 6px);
}

/* Fixed portal mode when parent clipping / stacking context is detected */
.custom-dropdown-menu.is-fixed-portal {
  position: fixed !important;
  z-index: 999999 !important;
}

.custom-dropdown.is-open .custom-dropdown-menu {
  display: block !important;
  animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.custom-dropdown.is-open.drop-up .custom-dropdown-menu {
  animation: fadeInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.custom-dropdown-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.custom-dropdown-opt:hover,
.custom-dropdown-opt.is-highlighted {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

[data-theme="dark"] .custom-dropdown-opt:hover,
[data-theme="dark"] .custom-dropdown-opt.is-highlighted {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.custom-dropdown-opt.active {
  background: var(--brand-blue-glow);
  color: var(--brand-blue);
  font-weight: 600;
}

.custom-dropdown-opt-text {
  flex: 1;
  line-height: 1.35;
}

.custom-dropdown-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--brand-blue);
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.custom-dropdown-opt.active .custom-dropdown-check {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.custom-dropdown-check svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 2.5;
}

.custom-dropdown-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: block;
}

.form-alert.error {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: block;
}

.contact-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

.contact-info-item {
  display: flex;
  flex-direction: column;
}

.info-item-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-item-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Blog Archive & Detail */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
}

.blog-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .floating-app-card {
    right: 20px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .what-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-case-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    gap: 32px;
  }

  .cta-logo-img {
    max-width: 260px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-inner {
    height: 68px;
  }

  .logo-img {
    height: 34px;
    max-width: 145px;
  }

  .nav-actions {
    gap: 10px;
  }

  .cta-logo-img {
    max-width: 240px;
    height: auto;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .approach-items-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 28px;
  }

  .cta-banner-wrapper {
    padding: 0 16px 36px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-links {
    justify-content: center;
    gap: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .floating-app-card {
    position: static;
    margin-top: 20px;
  }

  .hero-visual {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    height: 62px;
  }

  .logo-img {
    height: 30px;
    max-width: 130px;
  }

  .nav-actions {
    gap: 8px;
  }

  .lang-btn {
    padding: 0 10px;
    height: 36px;
    font-size: 0.82rem;
  }

  .lang-dropdown {
    width: 200px;
  }

  .flag-icon,
  svg.flag-icon {
    width: 22px !important;
    height: 15px !important;
  }

  .theme-toggle-btn,
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
  }

  .cta-banner {
    padding: 30px 20px;
    gap: 22px;
  }

  .cta-logo-img {
    max-width: 200px;
    height: auto;
  }

  .cta-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .logo-img {
    height: 26px;
    max-width: 110px;
  }

  .nav-actions {
    gap: 6px;
  }

  .lang-btn-name,
  .lang-code,
  .lang-btn-arrow {
    display: none;
  }

  .theme-toggle-btn,
  .mobile-menu-btn {
    width: 34px;
    height: 34px;
  }
}

/* ==========================================================================
   Project Case Study Modern Component Suite
   ========================================================================== */

.project-tags-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge-tag.badge-platform {
  background: rgba(110, 209, 177, 0.08);
  border-color: rgba(110, 209, 177, 0.3);
  color: #6ed1b1;
}

[data-theme="light"] .badge-tag.badge-platform {
  background: #E6F7F2;
  border-color: rgba(14, 123, 95, 0.25);
  color: #0E7B5F;
}

/* Platform Chips */
.platform-chips-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.platform-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.platform-chip.ios {
  color: #A3E635;
  border-color: rgba(163, 230, 53, 0.25);
  background: rgba(163, 230, 53, 0.05);
}

.platform-chip.android {
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.05);
}

.platform-chip.web {
  color: #818CF8;
  border-color: rgba(129, 140, 248, 0.25);
  background: rgba(129, 140, 248, 0.05);
}

.platform-chip.macos {
  color: #C084FC;
  border-color: rgba(192, 132, 252, 0.25);
  background: rgba(192, 132, 252, 0.05);
}

[data-theme="light"] .platform-chip.ios {
  color: #4D7C0F;
  border-color: rgba(77, 124, 15, 0.3);
  background: #F7FEE7;
}

[data-theme="light"] .platform-chip.android {
  color: #0369A1;
  border-color: rgba(3, 105, 161, 0.3);
  background: #F0F9FF;
}

[data-theme="light"] .platform-chip.web {
  color: #4338CA;
  border-color: rgba(67, 56, 202, 0.3);
  background: #EEF2FF;
}

[data-theme="light"] .platform-chip.macos {
  color: #7E22CE;
  border-color: rgba(126, 34, 206, 0.3);
  background: #FAF5FF;
}

/* Store Download & Live Launch Buttons */
.store-badges-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  border-color: #6ed1b1;
  box-shadow: 0 6px 18px rgba(110, 209, 177, 0.16);
  color: var(--text-primary);
}

.store-badge-btn .store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #6ed1b1;
}

.store-badge-btn.apple .store-icon {
  color: #F8FAFC;
}

.store-badge-btn.google .store-icon {
  color: #38BDF8;
}

.store-badge-btn.web .store-icon {
  color: #818CF8;
}

[data-theme="light"] .store-badge-btn {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .store-badge-btn.apple .store-icon {
  color: #0F172A;
}

[data-theme="light"] .store-badge-btn.google .store-icon {
  color: #0284C7;
}

[data-theme="light"] .store-badge-btn.web .store-icon {
  color: #4F46E5;
}

.store-badge-btn .store-info {
  display: flex;
  flex-direction: column;
}

.store-badge-btn .store-sub {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1;
}

.store-badge-btn .store-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-top: 3px;
}

/* Feature Check Rows */
.case-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 32px 0;
}

.case-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.case-feature-item:hover {
  border-color: rgba(110, 209, 177, 0.35);
  background: var(--bg-card);
}

.case-feature-item .feature-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(110, 209, 177, 0.15);
  color: #6ed1b1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.case-feature-item .feature-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-secondary);
}

[data-theme="light"] .case-feature-item {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .case-feature-item:hover {
  background: #FFFFFF;
  border-color: rgba(14, 123, 95, 0.3);
}

/* Modern Tech Chips */
.tech-chips-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 32px 0;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.tech-chip:hover {
  border-color: #6ed1b1;
  background: rgba(110, 209, 177, 0.06);
  transform: translateY(-1px);
}

.tech-chip .tech-chip-icon {
  color: #6ed1b1;
  display: flex;
  align-items: center;
}

[data-theme="light"] .tech-chip {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0F172A;
}

[data-theme="light"] .tech-chip:hover {
  border-color: #0E7B5F;
  background: #F0FDF4;
}

/* Media Sidebar & Card */
.case-sidebar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
}

[data-theme="light"] .case-sidebar-card {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.1);
}

.case-sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}