*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { max-width: 100%; }
body {
  font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37,99,235,0.15);
  --warm: #f59e0b;
  --warm-light: #fbbf24;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --section-padding: 140px 0;
  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 0 48px;
}
.navbar .logo img { height: 26px; transition: all 0.4s var(--ease); filter: brightness(0) invert(1); }
.navbar.scrolled .logo img { height: 22px; filter: none; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: all 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a { color: var(--gray-500); }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .btn-cta {
  padding: 10px 24px;
  background: var(--accent);
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: #fff !important;
  letter-spacing: 0;
  transition: all 0.3s var(--ease);
}
.nav-links .btn-cta:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
.nav-links .btn-cta::after { display: none; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 1001;
}
.menu-toggle span {
  display: block; width: 100%; height: 1.5px; background: #fff;
  position: absolute; left: 0; transition: all 0.3s var(--ease);
  border-radius: 1px;
}
.navbar.scrolled .menu-toggle span { background: var(--gray-800); }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); background: var(--gray-800); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); background: var(--gray-800); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37,99,235,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(245,158,11,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(37,99,235,0.06) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  top: -10%; right: -5%;
  background: rgba(37,99,235,0.1);
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -15%; left: 5%;
  background: rgba(245,158,11,0.06);
  animation-delay: -4s; animation-duration: 15s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -25px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 48px;
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px 8px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  color: var(--warm-light);
  font-size: 13px; font-weight: 500; letter-spacing: 0.3px;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; background: var(--warm);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -1.5px;
  word-break: keep-all;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-light), var(--warm-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.8;
  font-weight: 400;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: all 0.3s var(--ease);
  cursor: pointer; border: none;
  letter-spacing: -0.2px;
}
.btn svg { flex-shrink: 0; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 4px 16px rgba(37,99,235,0.25);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.35); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span {
  font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ===== Stats Band ===== */
.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 48px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  max-width: var(--container); margin: 0 auto; padding: 0 48px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item::after {
  content: ''; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 32px; background: var(--gray-200);
}
.stat-item:last-child::after { display: none; }
.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 36px; font-weight: 800; color: var(--primary);
  letter-spacing: -1px; line-height: 1; margin-bottom: 8px;
}
.stat-number span { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--gray-500); font-weight: 400; }

/* ===== Section Common ===== */
.section { padding: var(--section-padding); overflow-x: hidden; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: var(--accent-glow);
  border-radius: 6px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; line-height: 1.35;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 16px; color: var(--gray-500);
  max-width: 560px; margin: 0 auto;
  line-height: 1.8; font-weight: 300;
}

/* ===== Animations ===== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== About ===== */
.about { background: var(--white); }
.about-lead {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.about-visual { position: relative; overflow: visible; }
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #0f172a 100%);
}
.about-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(37,99,235,0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(245,158,11,0.12) 0%, transparent 50%);
  z-index: 1;
}
.about-img-wrap .icon-plane {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; opacity: 0.12;
}
.about-img-wrap .logo-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3; width: 120px;
  filter: brightness(10);
}
.about-float-card {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  z-index: 4;
  border: 1px solid var(--gray-100);
}
.about-float-card b {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 800; color: var(--accent);
  line-height: 1; margin-bottom: 4px;
}
.about-float-card span { font-size: 12px; color: var(--gray-500); }
.about-text h3 {
  font-size: 34px; font-weight: 800; line-height: 1.45;
  margin-bottom: 20px; letter-spacing: -0.5px;
}
.about-text h3 em { font-style: normal; color: var(--accent); }
.about-text .lead {
  font-size: 16px; color: var(--gray-600); line-height: 1.9;
  margin-bottom: 32px;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span {
  padding: 6px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px; color: var(--gray-600); font-weight: 500;
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  padding: 44px 32px 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.06);
  border-color: var(--gray-100);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card .s-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-card .s-icon svg { width: 22px; height: 22px; }
.service-card h4 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 14px; color: var(--primary);
}
.service-card p {
  font-size: 14px; color: var(--gray-500);
  line-height: 1.8; font-weight: 300;
}

/* ===== Solution ===== */
.solution { background: var(--gray-50); }
.solution-products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 64px;
}
.sol-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.sol-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.08);
  border-color: transparent;
}
.sol-card-header {
  position: relative;
  padding: 40px 32px 32px;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.sol-card:nth-child(1) .sol-card-header {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
}
.sol-card:nth-child(2) .sol-card-header {
  background: linear-gradient(160deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
}
.sol-card:nth-child(3) .sol-card-header {
  background: linear-gradient(160deg, #0f172a 0%, #164e63 50%, #155e75 100%);
}
.sol-card-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.sol-card-header .sol-icon {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.sol-card-header .sol-icon svg { width: 20px; height: 20px; color: rgba(255,255,255,0.8); }
.sol-card-header .sol-badge {
  position: relative; z-index: 1;
  display: inline-block; width: fit-content;
  padding: 3px 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.sol-card-header h3 {
  position: relative; z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.sol-card-header h3 small {
  display: block;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  letter-spacing: 0;
}
.sol-card-body {
  padding: 32px;
  flex: 1;
  display: flex; flex-direction: column;
}
.sol-card-body > p {
  font-size: 14px; color: var(--gray-500);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 24px;
  flex: 1;
}
.sol-features {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.sol-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--gray-600); line-height: 1.5;
}
.sol-features li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 7px;
}
.sol-card-body .sol-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sol-card-body .sol-tags span {
  padding: 4px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 11px; color: var(--gray-500); font-weight: 500;
}
.sol-card-body .sol-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.sol-card-body .sol-link:hover { gap: 10px; }
.sol-card-body .sol-link svg { width: 14px; height: 14px; }

/* ===== Portfolio ===== */
.portfolio { background: var(--white); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.port-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
}
.port-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.08);
  border-color: transparent;
}
.port-card .thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10;
}
.port-card .thumb-bg {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}
.port-card:hover .thumb-bg { transform: scale(1.06); }
.port-card .thumb .badge {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 12px;
  background: rgba(15,23,42,0.65);
  backdrop-filter: blur(12px);
  border-radius: 6px;
  font-size: 11px; color: rgba(255,255,255,0.9); font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 2;
}
.port-card .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.3) 100%);
  z-index: 1;
}
.port-card .body { padding: 28px; }
.port-card .body .meta {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.port-card .body .meta span {
  font-size: 12px; color: var(--gray-400); font-weight: 400;
}
.port-card .body .meta .sep { color: var(--gray-300); }
.port-card .body h4 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 10px; color: var(--primary);
}
.port-card .body p {
  font-size: 14px; color: var(--gray-500);
  line-height: 1.7; font-weight: 300;
}
.port-card .body .tag-row {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px;
}
.port-card .body .tag-row span {
  padding: 3px 10px;
  background: var(--gray-50);
  border-radius: 4px;
  font-size: 11px; color: var(--gray-500); font-weight: 500;
}

/* ===== Contact ===== */
.contact { background: var(--gray-50); }
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px;
  align-items: start;
}
.contact-left h3 {
  font-size: 30px; font-weight: 800;
  margin-bottom: 14px; color: var(--primary);
  letter-spacing: -0.3px;
}
.contact-left > p {
  font-size: 15px; color: var(--gray-500);
  margin-bottom: 40px; line-height: 1.8; font-weight: 300;
}
.c-list { display: flex; flex-direction: column; gap: 24px; }
.c-item { display: flex; gap: 16px; align-items: flex-start; }
.c-item .c-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.c-item .c-icon svg { width: 18px; height: 18px; color: #fff; }
.c-item .c-text b {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--primary); margin-bottom: 2px;
}
.c-item .c-text p, .c-item .c-text a {
  font-size: 14px; color: var(--gray-500); line-height: 1.6; font-weight: 300;
}
.c-item .c-text a:hover { color: var(--accent); }
.contact-right {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
}
.contact-right iframe {
  display: block; width: 100%; height: 460px; border: 0;
}

/* ===== CTA Band ===== */
.cta-band {
  background: var(--primary);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 600px; margin: 0 auto;
}
.cta-inner h3 {
  font-size: 28px; font-weight: 700; color: #fff;
  margin-bottom: 14px; letter-spacing: -0.3px;
}
.cta-inner p {
  font-size: 15px; color: rgba(255,255,255,0.65);
  margin-bottom: 36px; line-height: 1.8; font-weight: 400;
}

/* ===== Footer ===== */
.footer {
  background: #080c14;
  padding: 72px 0 40px;
  color: rgba(255,255,255,0.55);
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 20px; filter: brightness(10); opacity: 0.7; }
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 320px; font-weight: 300; }
.footer-nav { display: flex; gap: 56px; }
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-bottom: 10px; font-weight: 400;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-divider {
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 400;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .navbar .container { padding: 0 32px; }
  .stats-grid { padding: 0 32px; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:nth-child(2)::after { display: none; }
  .about-lead { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-products { grid-template-columns: 1fr; max-width: 520px; margin: 64px auto 0; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-padding: 96px 0; }
  .container { padding: 0 24px; }
  .navbar {
    padding: 16px 0;
    padding-top: max(16px, env(safe-area-inset-top));
  }
  .navbar.scrolled {
    padding: 14px 0;
    padding-top: max(14px, env(safe-area-inset-top));
  }
  .navbar .container { padding: 0 24px; min-height: 48px; }
  .nav-links {
    position: fixed; top: 0; right: 0;
    width: 300px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px; padding: 48px;
    transform: translateX(100%);
    transition: all 0.35s var(--ease);
    box-shadow: -16px 0 48px rgba(0,0,0,0.08);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--gray-600) !important; font-size: 16px; font-weight: 500; }
  .nav-links a:hover { color: var(--primary) !important; }
  .nav-links .btn-cta { text-align: center; justify-content: center; }
  .menu-toggle { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-right iframe { height: 300px; }
  .footer-grid { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section-header { margin-bottom: 48px; }
  .hero-content { padding: 0 24px; }
  .about-float-card { right: 0; bottom: -16px; }
  .about-visual { overflow: hidden; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item::after { display: none; }
  .stat-number { font-size: 28px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .footer-nav { flex-direction: column; gap: 28px; }
  .about-tags { justify-content: center; }
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: 24px;
  width: 100%; max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-out);
  position: relative;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-header {
  padding: 36px 36px 0;
}
.modal-header h3 {
  font-size: 22px; font-weight: 800; color: var(--primary);
  margin-bottom: 6px; letter-spacing: -0.3px;
}
.modal-header p {
  font-size: 14px; color: var(--gray-500); font-weight: 300;
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.modal-close:hover { background: var(--gray-100); }
.modal-close svg { width: 16px; height: 16px; color: var(--gray-500); }
.modal-body { padding: 28px 36px 36px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--accent); margin-left: 2px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 14px; color: var(--primary);
  font-family: inherit;
  transition: all 0.2s var(--ease);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400); font-weight: 300;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px;
}
.form-submit:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.form-submit .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}
.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-result {
  text-align: center; padding: 16px;
  border-radius: 10px; margin-top: 16px;
  font-size: 14px; font-weight: 500;
  display: none;
}
.form-result.success {
  display: block;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-result.error {
  display: block;
  background: #fef2f2; border: 1px solid #fecaca;
  color: #991b1b;
}

@media (max-width: 480px) {
  .modal { border-radius: 20px; }
  .modal-header { padding: 28px 24px 0; }
  .modal-body { padding: 20px 24px 28px; }
  .form-row { grid-template-columns: 1fr; }
}
