/* -------------------------------------------------------------
   RX SOFT DESIGN SYSTEM - FULL SPECIFICATION (1:1 ALIGNED)
   ------------------------------------------------------------- */

:root {
  --color-bg: #030303;
  --color-surface: #0f0f0f;
  --color-surface-hover: #161616;
  --color-accent: #00ff66;
  --color-accent-glow: rgba(0, 255, 102, 0.35);
  --color-text: #ffffff;
  --color-text-muted: #888888;
  --color-border: rgba(255, 255, 255, 0.08);

  --neon-lime: #00ff66;
  --bg-card: #0f0f0f;
  --bg-card-hover: #161616;
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --text-gray: #888888;
  --text-dim: #666666;

  --font-head: 'Inter', 'Noto Sans KR', 'Pretendard', sans-serif;
  --font-body: 'Inter', 'Noto Sans KR', 'Pretendard', sans-serif;

  --container-width: 1280px;
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Ambient Background Glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  animation: floatGlow 20s infinite alternate;
}

.glow-1 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0,255,102,0.18) 0%, rgba(0,0,0,0) 70%);
  top: -20%;
  left: -10%;
}

.glow-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0,153,255,0.12) 0%, rgba(0,0,0,0) 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6%, 6%) scale(1.12); }
}

/* Scroll Fade-up Observer */
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Common Styling */
.section {
  padding: 7.5rem 0;
  position: relative;
}

.dark-section {
  background-color: #000000;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  letter-spacing: -1px;
}

.section-title span {
  color: var(--color-accent);
}

/* Signature Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.btn-primary:hover {
  color: var(--color-bg);
  box-shadow: 0 0 25px var(--color-accent-glow);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-outline-green:hover {
  background: var(--color-accent);
  color: #000000;
  box-shadow: 0 0 25px var(--color-accent-glow);
}

.btn-cta-white {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.btn-cta-white::before {
  background: #ffffff !important;
}

.btn-cta-white:hover {
  color: #000000 !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4) !important;
}

.massive-btn {
  font-size: 1.05rem;
  padding: 1.15rem 3rem;
  letter-spacing: 1.5px;
}

/* 1. Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  z-index: 1000;
  background: rgba(3, 3, 3, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
  min-width: 180px;
  user-select: none;
}

.brand-logo span {
  color: var(--color-accent);
}

.brand-logo .logo-dot {
  color: var(--color-accent);
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.brand-logo .logo-dot:hover {
  transform: scale(1.35);
  text-shadow: 0 0 10px var(--color-accent);
}

/* Admin Mode Styling */
.admin-top-bar {
  display: none;
  position: fixed;
  top: 88px;
  left: 0;
  width: 100%;
  background: #00ff66;
  color: #000000;
  padding: 0.6rem 2rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 800;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.4);
}

body.admin-mode .admin-top-bar {
  display: flex;
}

body.admin-mode [data-card-id] {
  cursor: pointer !important;
  position: relative !important;
  outline: 2px dashed rgba(0, 255, 102, 0.5);
  transition: outline-color 0.2s ease, transform 0.2s ease;
}

body.admin-mode [data-card-id]:hover {
  outline: 2px solid var(--color-accent) !important;
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.35);
}

body.admin-mode [data-card-id]::after {
  content: "✎ EDIT";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #00ff66;
  color: #000000;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  z-index: 50;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

body.admin-mode .cta-buttons-row [data-card-id]::after {
  top: -12px;
  right: 8px;
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
}

.partner-logo-img, .client-logo-img {
  max-width: 85%;
  max-height: 55px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cccccc;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  min-width: 180px;
}

.nav-btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
}

/* Hamburger Toggle Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-btn:hover .hamburger-bar {
  background-color: var(--color-accent);
}

.hamburger-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--color-accent);
}

.hamburger-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--color-accent);
}

body.menu-open {
  overflow: hidden;
}

/* BGM Equalizer Animated Button */
.bgm-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  padding: 0 0.4rem;
}

.bgm-btn .bar {
  width: 3px;
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 2px;
  transform-origin: bottom;
}

.bgm-btn:not(.muted) .bar:nth-child(1) { animation: eq-play 0.50s infinite ease-in-out; }
.bgm-btn:not(.muted) .bar:nth-child(2) { animation: eq-play 0.55s infinite ease-in-out; animation-delay: -0.1s; }
.bgm-btn:not(.muted) .bar:nth-child(3) { animation: eq-play 0.45s infinite ease-in-out; animation-delay: -0.2s; }
.bgm-btn:not(.muted) .bar:nth-child(4) { animation: eq-play 0.52s infinite ease-in-out; animation-delay: -0.05s; }
.bgm-btn:not(.muted) .bar:nth-child(5) { animation: eq-play 0.48s infinite ease-in-out; animation-delay: -0.15s; }

.bgm-btn.muted .bar {
  animation: none;
  transform: scaleY(0.25);
  background-color: var(--color-text-muted);
}

@keyframes eq-play {
  0% { transform: scaleY(0.2); }
  25% { transform: scaleY(0.85); }
  50% { transform: scaleY(0.4); }
  75% { transform: scaleY(1); }
  100% { transform: scaleY(0.2); }
}

/* 2. Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 88px;
  position: relative;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-top: 6vh;
  padding-bottom: 5vh;
  padding-left: clamp(2.5rem, 13.8vw, 16.5rem);
}

.hero-text-wrapper {
  text-align: left;
  width: 100%;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  text-align: left;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  max-width: 860px;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 2.8rem;
  font-weight: 400;
  text-align: left;
  word-break: keep-all;
}

.hero-highlight-quote {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-head);
  display: inline-block;
  margin-top: 1.4rem;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 3.5rem;
}

.review-item.is-hidden {
  display: none !important;
}

/* Marquee Full Strip */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 1rem 0;
  box-shadow: 0 0 25px var(--color-accent-glow);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRoll 30s linear infinite;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.marquee-content {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}

.marquee-content span {
  white-space: nowrap;
}

@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Service / Text Cards Common */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  position: relative;
  transition: var(--transition-fast);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px var(--color-accent-glow);
}

.card-icon {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.service-card:hover .card-icon {
  -webkit-text-stroke: 1px var(--color-accent);
  color: rgba(0, 255, 102, 0.1);
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.card-accent-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-line {
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-slow);
}

.service-card:hover .card-line {
  width: 100%;
}

.section-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

/* Common Section Heading Styles */
.content-section {
  padding: 6.5rem 0;
  border-bottom: 1px solid #121212;
}

.section-heading-green {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--neon-lime);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-heading-dual {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-heading-plain {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtext {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.98rem;
  margin-bottom: 3.5rem;
}

/* Toggle More Button */
.section-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.btn-more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--neon-lime);
  color: var(--neon-lime);
  background: transparent;
  padding: 0.65rem 2rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-more-toggle:hover {
  background: var(--neon-lime);
  color: #000000;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
}

/* 3. REVIEWS Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.review-box:hover {
  border-color: #2e2e2e;
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.review-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.review-content {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-gray);
  word-break: keep-all;
}

/* 3. AX Showcase & Blog Custom Styling */
.card-thumb-wrap {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(0, 255, 102, 0.4);
  color: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.mock-center-txt {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.card-body-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-bottom-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: auto;
  font-size: 0.85rem;
}

.meta-stats {
  color: var(--color-text-muted);
}

.live-link {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease;
}

.live-link:hover {
  transform: translateX(3px);
  text-decoration: underline;
}

.placeholder-wook { background: linear-gradient(135deg, #1e1b4b, #4338ca); }
.placeholder-bigtor { background: linear-gradient(135deg, #0f172a, #334155); }
.placeholder-realmeta { background: linear-gradient(135deg, #064e3b, #047857); }
.placeholder-dental { background: linear-gradient(135deg, #172554, #1d4ed8); }
.placeholder-paypal { background: linear-gradient(135deg, #312e81, #4f46e5); }
.placeholder-traffic { background: linear-gradient(135deg, #27272a, #3f3f46); }
.placeholder-mynative { background: linear-gradient(135deg, #1e1b4b, #6366f1); }
.placeholder-ultron { background: linear-gradient(135deg, #022c22, #059669); }
.placeholder-errorcode { background: linear-gradient(135deg, #450a0a, #dc2626); }

.placeholder-blog-1 { background: linear-gradient(135deg, #3b0764, #7e22ce); }
.placeholder-blog-2 { background: linear-gradient(135deg, #134e4a, #0d9488); }
.placeholder-blog-3 { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.placeholder-blog-4 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.placeholder-blog-5 { background: linear-gradient(135deg, #065f46, #10b981); }
.placeholder-blog-6 { background: linear-gradient(135deg, #831843, #db2777); }

/* 4. Works & References Styling (@RX SOFT 1:1) */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.work-item {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.work-item:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px var(--color-accent-glow);
}

.work-image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), filter 0.8s;
  filter: grayscale(0%) contrast(1);
}

.work-item:hover .work-image {
  transform: scale(1.05);
  filter: brightness(1.12);
}

.mockup-screen-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  border-radius: 6px;
}

.work-info {
  position: relative;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
}

.work-info h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.work-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
}

.meta-views {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Distinct visual cues for app cards */
.mockup-daou { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.mockup-jobkorea { background: linear-gradient(135deg, #065f46, #10b981); }
.mockup-kumyoung { background: linear-gradient(135deg, #831843, #ec4899); }
.mockup-shinsegae { background: linear-gradient(135deg, #701a75, #d946ef); }
.mockup-hyosung { background: linear-gradient(135deg, #1e1b4b, #6366f1); }
.mockup-lotte { background: linear-gradient(135deg, #451a03, #d97706); }
.mockup-musinsa { background: linear-gradient(135deg, #18181b, #27272a); }
.mockup-lg { background: linear-gradient(135deg, #881337, #f43f5e); }
.mockup-h2care { background: linear-gradient(135deg, #0c4a6e, #0ea5e9); }
.mockup-hyosung-inverter { background: linear-gradient(135deg, #1e293b, #334155); }
.mockup-bullsone { background: linear-gradient(135deg, #7f1d1d, #ef4444); }
.mockup-myeongdong { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.mockup-filicoach { background: linear-gradient(135deg, #064e3b, #059669); }
.mockup-dongyang { background: linear-gradient(135deg, #1c1917, #44403c); }
.mockup-kyochon { background: linear-gradient(135deg, #78350f, #f59e0b); }
.mockup-momstouch { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.mockup-bullsone-mall { background: linear-gradient(135deg, #1e293b, #0f172a); }
.mockup-ikamper { background: linear-gradient(135deg, #14532d, #22c55e); }
.mockup-ne { background: linear-gradient(135deg, #701a75, #a21caf); }
.mockup-kdi { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.mockup-pulmuone { background: linear-gradient(135deg, #166534, #15803d); }
.mockup-hiparking { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.mockup-samsung { background: linear-gradient(135deg, #1d4ed8, #2563eb); }

.app-ref-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.app-ref-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-lime);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
}

.meta-right {
  color: var(--text-dim);
  font-weight: 400;
}

/* 6. REFERENCES (2022~2025) Section */
.history-refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.history-ref-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.history-ref-item:hover {
  border-color: #333333;
  transform: translateY(-4px);
}

.history-thumb {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #141414;
}

.placeholder-1 { background: linear-gradient(135deg, #1e1b4b, #4338ca); }
.placeholder-2 { background: linear-gradient(135deg, #064e3b, #047857); }
.placeholder-3 { background: linear-gradient(135deg, #172554, #1d4ed8); }
.placeholder-4 { background: linear-gradient(135deg, #312e81, #4f46e5); }
.placeholder-5 { background: linear-gradient(135deg, #701a75, #c026d3); }
.placeholder-6 { background: linear-gradient(135deg, #14532d, #16a34a); }
.placeholder-7 { background: linear-gradient(135deg, #7f1d1d, #dc2626); }
.placeholder-8 { background: linear-gradient(135deg, #78350f, #d97706); }
.placeholder-9 { background: linear-gradient(135deg, #1e293b, #475569); }
.placeholder-10 { background: linear-gradient(135deg, #0f172a, #334155); }
.placeholder-11 { background: linear-gradient(135deg, #831843, #db2777); }
.placeholder-12 { background: linear-gradient(135deg, #0e7490, #0891b2); }
.placeholder-13 { background: linear-gradient(135deg, #111827, #1f2937); }
.placeholder-14 { background: linear-gradient(135deg, #14532d, #15803d); }
.placeholder-15 { background: linear-gradient(135deg, #7c2d12, #c2410c); }
.placeholder-16 { background: linear-gradient(135deg, #581c87, #7e22ce); }
.placeholder-17 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.placeholder-18 { background: linear-gradient(135deg, #065f46, #059669); }
.placeholder-19 { background: linear-gradient(135deg, #3730a3, #4338ca); }
.placeholder-20 { background: linear-gradient(135deg, #155e75, #0891b2); }
.placeholder-21 { background: linear-gradient(135deg, #991b1b, #ef4444); }
.placeholder-22 { background: linear-gradient(135deg, #86198f, #d946ef); }
.placeholder-23 { background: linear-gradient(135deg, #1e293b, #475569); }
.placeholder-24 { background: linear-gradient(135deg, #064e3b, #10b981); }
.placeholder-25 { background: linear-gradient(135deg, #3f3f46, #71717a); }
.placeholder-26 { background: linear-gradient(135deg, #1e1b4b, #3730a3); }
.placeholder-27 { background: linear-gradient(135deg, #701a75, #a21caf); }
.placeholder-28 { background: linear-gradient(135deg, #14532d, #16a34a); }
.placeholder-29 { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.placeholder-30 { background: linear-gradient(135deg, #047857, #10b981); }

.history-ref-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.history-ref-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-lime);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
}

/* 7. BLOG Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #333333;
}

.blog-thumb {
  width: 100%;
  height: 180px;
  border-radius: 6px;
  margin-bottom: 1.2rem;
  background: #141414;
}

.placeholder-blog-1 { background: linear-gradient(135deg, #2e1065, #581c87); }
.placeholder-blog-2 { background: linear-gradient(135deg, #1e293b, #334155); }
.placeholder-blog-3 { background: linear-gradient(135deg, #064e3b, #047857); }
.placeholder-blog-4 { background: linear-gradient(135deg, #701a75, #86198f); }
.placeholder-blog-5 { background: linear-gradient(135deg, #172554, #1e40af); }
.placeholder-blog-6 { background: linear-gradient(135deg, #1f2937, #374151); }

.blog-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.blog-desc,
.blog-item .card-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  max-height: calc(1.65em * 5);
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  flex-grow: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ax-showcase-item .card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #1a1a1a;
  padding-top: 0.85rem;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.read-more {
  color: var(--neon-lime);
  font-weight: 700;
}

/* 8. KEY PARTNERS & CLIENTS (Exact White Solid Cards) */
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: #ffffff;
  border-radius: 8px;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.client-card {
  background: #ffffff;
  border-radius: 8px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.logo-txt {
  font-size: 1.2rem;
  font-weight: 900;
  color: #121212;
  letter-spacing: -0.01em;
  text-align: center;
}

/* 9. Development Guide Section */
.guide-intro {
  text-align: center;
  margin-bottom: 3.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-gray);
}

.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.guide-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 2.5rem;
}

.guide-box-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.guide-box-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-gray);
  word-break: keep-all;
}

/* 10. Work Scope (업무 범위) */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.scope-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 2.2rem;
}

.scope-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.scope-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-gray);
}

/* 11. HISTORY & 12. NEWS */
.history-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  width: 100%;
}

.history-item {
  width: 100%;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.history-subheading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 1.8rem;
  text-align: left;
  letter-spacing: -0.01em;
}

.history-list-grid {
  list-style-type: disc;
  padding-left: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 2.5rem;
}

.history-bullet-item {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  display: list-item;
  word-break: keep-all;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  padding: 1.5rem 1.8rem;
  min-height: 110px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.news-card p {
  color: #e5e5e5;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* 13. Company Builder Section */
.builder-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
}

.builder-desc {
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-gray);
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.builder-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 2.2rem;
}

.builder-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.builder-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-gray);
}

/* 14. Contact CTA Section */
.contact-content-wrap {
  text-align: left;
  margin-bottom: 2rem;
  width: 70%;
  max-width: 70%;
}

.contact-desc {
  margin-bottom: 2rem;
  max-width: 100%;
  text-align: left;
}

.contact-quote-headline {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3rem;
}

.cta-buttons-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: nowrap;
  width: 100%;
}

.cta-buttons-row .btn-primary {
  flex: 1 1 0;
  white-space: nowrap;
  padding: 1.1rem 1rem;
  font-size: 0.92rem;
  justify-content: center;
  box-sizing: border-box;
}

/* 15. Site Footer */
.site-footer {
  background: #000000;
  border-top: 1px solid #141414;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-left {
  flex: 1.2;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-logo .dot {
  color: var(--neon-lime);
}

.footer-info {
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.85rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-col a {
  font-size: 0.88rem;
  color: #a3a3a3;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--neon-lime);
}

.footer-bottom {
  border-top: 1px solid #141414;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.84rem;
  color: #525252;
}

/* 16. Scroll to Top Button (@RX SOFT Spec) */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background-color: var(--color-accent);
  color: var(--color-bg);
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--color-accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-fast);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--color-text);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

/* 17. Modals & Form Controls (Refined Tech Design) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 255, 102, 0.12);
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: #111111;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 3px;
}

.admin-card-modal-content {
  max-width: 620px;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #999999;
  line-height: 1;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-header-wrap {
  margin-bottom: 2rem;
  text-align: left;
}

.modal-admin-badge {
  display: inline-block;
  background: rgba(0, 255, 102, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(0, 255, 102, 0.35);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.admin-fields-group {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
  width: 100%;
}

.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label,
.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e5e5e5;
  letter-spacing: -0.01em;
}

.form-label-tip {
  font-size: 0.76rem;
  color: #777777;
  font-weight: 400;
}

/* Form Inputs & Textarea */
.form-control,
.form-group input,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  background: #141414;
  border: 1px solid #282828;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background: #181818;
  box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.2);
  outline: none;
}

.form-control::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555555;
}

.textarea-control,
.form-group textarea {
  min-height: 100px;
  line-height: 1.6;
  resize: vertical;
}

/* Custom File Upload Bar */
.file-upload-bar {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
}

.custom-file-box {
  flex: 1;
  position: relative;
  min-width: 0;
}

.custom-file-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.custom-file-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #151515;
  border: 1px dashed #3a3a3a;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.custom-file-box:hover .custom-file-label {
  border-color: var(--color-accent);
  background: #1c1c1c;
}

.file-icon {
  font-size: 1.1rem;
}

.file-name {
  font-size: 0.86rem;
  color: #aaaaaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.btn-upload-action {
  background: rgba(0, 255, 102, 0.12);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-upload-action:hover {
  background: var(--color-accent);
  color: #000000;
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.btn-upload-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Input With Affix Icon */
.input-with-affix {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-affix {
  position: absolute;
  left: 1rem;
  color: #666666;
  font-size: 0.95rem;
  pointer-events: none;
}

.input-with-affix .form-control {
  padding-left: 2.6rem;
}

/* Image Preview Container */
.admin-img-preview-box {
  margin-top: 0.75rem;
  border-radius: 8px;
  border: 1px solid #262626;
  background: radial-gradient(circle, #1a1a1a 10%, #101010 90%);
  padding: 0.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  max-height: 140px;
  overflow: hidden;
}

.admin-img-preview {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* Modal Actions Footer */
.modal-actions-footer {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.75rem;
  width: 100%;
}

.btn-save-action {
  flex: 1;
  background: var(--color-accent);
  color: #000000;
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-save-action:hover {
  background: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-save-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-delete-action {
  background: rgba(255, 68, 68, 0.08);
  color: #ff5555;
  border: 1px solid rgba(255, 68, 68, 0.45);
  border-radius: 8px;
  padding: 1rem 1.4rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: none;
}

.btn-delete-action:hover {
  background: #ff4444;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.4);
}

.btn-submit {
  background: var(--color-accent);
  color: #000000;
  padding: 1rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: 8px;
  margin-top: 0.8rem;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.6rem; }
  .hero-content { padding-left: 2rem; }
  .contact-content-wrap { width: 100%; max-width: 100%; }
  .reviews-grid, .ax-grid, .app-refs-grid, .history-refs-grid, .blog-grid, .builder-grid, .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-logo-grid, .clients-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid, .history-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2.3rem;
    margin-bottom: 2.2rem;
  }

  .navbar {
    height: 74px;
  }

  .nav-container {
    padding: 0 1.25rem;
  }

  .brand-logo {
    min-width: auto;
    font-size: 1.5rem;
  }

  .nav-actions-wrap {
    min-width: auto;
    gap: 0.85rem;
  }

  .nav-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }

  .hamburger-btn {
    display: flex;
  }

  /* Fullscreen Slide-over Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1050;
    padding: 2rem;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
  }

  .hero-section {
    padding-top: 74px;
  }

  .hero-content {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
    padding-left: 0;
  }

  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
    line-height: 1.82;
    color: #c0c0c0;
    margin-bottom: 2.2rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-subtitle br,
  .pc-br {
    display: none !important;
  }

  .hero-highlight-quote {
    font-size: 1.25rem;
    color: #ffffff;
    margin-top: 1.4rem;
    padding-left: 0.85rem;
    border-left: 3px solid var(--color-accent);
    line-height: 1.45;
  }

  .massive-btn {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .reviews-grid, .ax-grid, .app-refs-grid, .history-refs-grid, .blog-grid, .builder-grid, .scope-grid, .guide-cards-grid {
    grid-template-columns: 1fr;
  }

  .partners-logo-grid, .clients-logo-grid {
    grid-template-columns: 1fr;
  }

  .news-grid, .history-list-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons-row {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    flex-wrap: wrap;
  }

  .cta-buttons-row .btn-primary {
    width: 100%;
    flex: none;
    justify-content: center;
  }

  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-right {
    margin-top: 0;
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 2rem;
  }
}