/* ============================================================
   Edge Solutions - Main Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ---------- Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #0f0f23;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 540px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline {
  background: transparent;
  color: #667eea;
  border-color: #667eea;
}

.btn-outline:hover {
  background: #667eea;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.footer-logo .logo-icon {
  width: 20px;
  height: 20px;
}

.logo-edge {
  color: #667eea;
}

.logo-solutions {
  color: #1a1a2e;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s;
}

.nav-link:hover { color: #667eea; }
.nav-link:hover::after { width: 100%; }

.nav-link-agentic {
  color: #fff !important;
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 0.35rem 0.9rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-link-agentic::after { display: none; }

.nav-link-agentic:hover {
  color: #fff !important;
  opacity: 0.88;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #4b5563;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9ff 0%, #ede9fe 50%, #e0e7ff 100%);
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.c1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.c2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  bottom: -100px;
  left: -80px;
  animation-delay: 2s;
}

.c3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  top: 40%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(102, 126, 234, 0.12);
  color: #667eea;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.25);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  color: #0f0f23;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #d1d5db;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: #9ca3af;
  font-size: 0.75rem;
  animation: bounce 2s ease infinite;
}

.scroll-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Services ---------- */
.services-section {
  background: #f8f9ff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-blue::before   { background: linear-gradient(90deg, #667eea, #764ba2); }
.card-indigo::before { background: linear-gradient(90deg, #4f46e5, #7c3aed); }
.card-sky::before    { background: linear-gradient(90deg, #0284c7, #0ea5e9); }
.card-green::before  { background: linear-gradient(90deg, #059669, #10b981); }
.card-purple::before { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.card-orange::before { background: linear-gradient(90deg, #ea580c, #f97316); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f0f23;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.service-list {
  margin-bottom: 1.5rem;
}

.service-list li {
  font-size: 0.875rem;
  color: #4b5563;
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: 700;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #667eea;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.service-btn:hover {
  border-bottom-color: #667eea;
  gap: 0.7rem;
}

/* ---------- Why Section ---------- */
.why-section {
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #ede9fe 100%);
  border: 1px solid #e0e7ff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f0f23;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ---------- About ---------- */
.about-section {
  background: #07071a;
  color: #fff;
  padding-bottom: 5rem;
}

/* About Hero */
.about-hero {
  text-align: center;
  padding: 1rem 0 4rem;
}

.about-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin: 1.2rem 0 1.2rem;
  letter-spacing: -0.02em;
}

.about-hero-accent {
  background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-sub {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Tech Trinity */
.tech-trinity {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}

.trinity-card {
  flex: 1;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.03);
  transition: background 0.3s;
  position: relative;
}

.trinity-card:hover {
  background: rgba(103, 232, 249, 0.06);
}

.trinity-card + .trinity-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  font-size: 1.5rem;
  color: rgba(103, 232, 249, 0.4);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
  font-weight: 300;
}

.trinity-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.trinity-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 0.9rem;
  line-height: 1.3;
}

.trinity-card p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.7;
}

.trinity-card p strong {
  color: #67e8f9;
  font-weight: 600;
}

/* Product Showcase */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 3rem;
}

.product-image-wrap {
  position: relative;
  text-align: center;
}

.product-img {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.18), 0 20px 60px rgba(0,0,0,0.5);
  margin: 0 auto;
  display: block;
  transition: transform 0.4s, box-shadow 0.4s;
}

.product-img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 0 80px rgba(34, 211, 238, 0.28), 0 30px 80px rgba(0,0,0,0.6);
}

.product-img-badge {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.product-tag {
  display: inline-block;
  background: linear-gradient(135deg, #22d3ee20, #a78bfa20);
  border: 1px solid #a78bfa40;
  color: #c4b5fd;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.product-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.product-body {
  font-size: 0.93rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

.product-body strong {
  color: #e2e8f0;
  font-weight: 600;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.spec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.spec-dot.green {
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* Apply Grid */
.apply-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 4.5rem;
}

.apply-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: all 0.3s;
}

.apply-card:hover {
  background: rgba(34, 211, 238, 0.07);
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-4px);
}

.apply-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.apply-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.apply-card p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
}

/* About Info Block */
.about-info-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 2.5rem 3rem;
}

.about-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.about-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 3rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.8rem;
}

.info-label {
  color: #64748b;
  min-width: 90px;
  font-weight: 500;
  flex-shrink: 0;
}

.info-value {
  color: #cbd5e1;
}

.info-value a {
  color: #67e8f9;
}

.info-value a:hover {
  color: #a5f3fc;
}

/* ---------- Portfolio ---------- */
.portfolio-section {
  background: #f8f9ff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.portfolio-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ede9fe, #e0e7ff);
  color: #7c3aed;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f0f23;
  margin-bottom: 0.75rem;
}

.portfolio-card p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-tech span {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Agentic AI iframe ---------- */
.agenticai-section {
  background: #f8f7ff;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

.agenticai-frame-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* iframe을 -92px 위로 올려 외부 nav 숨김 */
.agenticai-frame {
  width: 100%;
  display: block;
  border: none;
  margin-top: -92px;
  height: calc(100vh + 92px);
  min-height: 892px;
  pointer-events: none; /* 기본: 메인 스크롤 허용 */
  position: relative;
  z-index: 1;
}

/* 활성화 후 iframe 스크롤 허용 */
.agenticai-frame.active {
  pointer-events: auto;
}

/* 클릭 활성화 방패막 — iframe 위에 z-index로 올림 */
.agenticai-shield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: rgba(248, 247, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.agenticai-shield.hidden {
  display: none;
}

.agenticai-activate-btn {
  background: rgba(102, 126, 234, 0.95);
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(102,126,234,0.5);
  transition: background 0.2s, transform 0.2s;
  position: relative;
  z-index: 11;
}

.agenticai-activate-btn:hover {
  background: #667eea;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .agenticai-frame {
    height: calc(100vh + 92px);
    min-height: 692px;
  }
}

/* ---------- Portfolio Case Studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.10);
  border: 1px solid #ede9fe;
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.18);
}

.case-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1117;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s;
}

.case-card:hover .case-img {
  transform: scale(1.03);
}

.case-body {
  padding: 1.4rem 1.6rem 1.6rem;
}

.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #7c3aed;
  background: #ede9fe;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.case-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.case-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Portfolio Coming Soon ---------- */
.portfolio-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #faf0ff 100%);
  border-radius: 24px;
  border: 2px dashed #c4b5fd;
  text-align: center;
}

.coming-icon {
  font-size: 4rem;
  margin-bottom: 1.2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.coming-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.coming-desc {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.8;
  max-width: 480px;
}

/* ---------- Pricing ---------- */
.pricing-section {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: #c4b5fd;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.12);
}

.pricing-featured {
  border-color: #667eea;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
  transform: scale(1.02);
}

.pricing-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 1rem;
  border-radius: 999px;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f0f23;
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.price-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-unit {
  font-size: 0.9rem;
  color: #9ca3af;
}

.pricing-list {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-list li {
  font-size: 0.9rem;
  color: #4b5563;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.pricing-list li:last-child {
  border-bottom: none;
}

/* ---------- Contact ---------- */
.contact-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #ede9fe 100%);
}

.contact-inner {
  display: flex;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item p {
  font-size: 0.9rem;
  color: #667eea;
}

.contact-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cf-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #4b5563;
  background: rgba(255,255,255,0.7);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.cf-item span {
  font-size: 1rem;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #fafafa;
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

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

.form-message {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #059669;
  min-height: 1.4rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #0f0f23;
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

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

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #a5b4fc;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-bottom a {
  color: #9ca3af;
}

.footer-bottom a:hover {
  color: #a5b4fc;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tech-trinity {
    flex-direction: column;
  }

  .trinity-plus {
    padding: 0.5rem 0;
    transform: rotate(90deg);
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .about-info {
    grid-template-columns: 1fr;
  }

  .about-info-block {
    padding: 2rem 1.5rem;
  }

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

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

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #e5e7eb;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

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

  .product-showcase {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .pricing-featured {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .services-grid,
  .portfolio-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

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

  .tech-trinity {
    border-radius: 12px;
  }

  .trinity-card {
    padding: 1.8rem 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}
