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

:root {
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #0a0a0a;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-accent: #34d399;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* === Nav === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--gray-200);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition);
}

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

.nav-cta {
  background: var(--gray-900);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--black) !important;
}

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

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gray-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--gray-500);
  color: var(--gray-900);
}

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.text-accent {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup {
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
}

.mockup-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

.mockup-body {
  display: flex;
  min-height: 300px;
}

.mockup-sidebar {
  width: 140px;
  flex-shrink: 0;
  padding: 16px 12px;
  border-right: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mockup-nav-item.active {
  background: var(--gray-100);
}

.mockup-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.mockup-nav-item.active .mockup-icon {
  background: var(--green-500);
}

.mockup-label-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
}

.mockup-nav-item.active .mockup-label-bar {
  background: var(--gray-300);
}

.mockup-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.mockup-heading-bar {
  width: 45%;
  height: 12px;
  border-radius: 6px;
  background: var(--gray-200);
}

.mockup-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-600);
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.mockup-stats {
  display: flex;
  gap: 12px;
}

.mockup-stat {
  flex: 1;
  background: var(--gray-50);
  border-radius: 10px;
  padding: 12px;
}

.mockup-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.mockup-stat-label {
  font-size: 0.6rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.mockup-stat-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
}

.mockup-stat-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--green-500);
  width: 0% !important;
  animation: fillBar 1.5s ease-out forwards;
  animation-play-state: paused;
}

.mockup.animate .mockup-stat-fill {
  animation-play-state: running;
}

.mockup-stat:nth-child(1) .mockup-stat-fill { animation-delay: 0.3s; }
.mockup-stat:nth-child(2) .mockup-stat-fill { animation-delay: 0.5s; }
.mockup-stat:nth-child(3) .mockup-stat-fill { animation-delay: 0.7s; }

@keyframes fillBar {
  to { width: var(--fill) !important; }
}

.mockup-activity {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-activity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mockup.animate .mockup-activity-row {
  opacity: 1;
  transform: translateX(0);
}

.mockup.animate .mockup-activity-row:nth-child(1) { transition-delay: 1s; }
.mockup.animate .mockup-activity-row:nth-child(2) { transition-delay: 1.3s; }
.mockup.animate .mockup-activity-row:nth-child(3) { transition-delay: 1.6s; }

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

.mockup-dot.green {
  background: var(--green-500);
}

.mockup-dot.gray {
  background: var(--gray-300);
}

.mockup-text-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--gray-100);
}

/* === Scroll Line Divider === */
.scroll-line {
  position: relative;
  height: 1px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--gray-900);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-line.drawn::after {
  transform: scaleX(1);
}

/* === Section Shared === */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 640px;
}

/* === Mission === */
.mission {
  padding: 100px 0;
  background: var(--white);
}

.mission-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.mission h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.mission-body {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
}

.mission-body em {
  color: var(--gray-700);
  font-style: italic;
}

/* === Services === */
.services {
  padding: 100px 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--green-400);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* === How It Works === */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -16px;
  width: calc(100% - 56px);
  height: 1px;
  background: var(--gray-200);
}

.step:last-child::after {
  display: none;
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-200);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* === Request Form === */
.request {
  padding: 100px 0 120px;
  background: var(--gray-50);
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 48px;
}

.form-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.form-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.925rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M4.47 5.97a.75.75 0 011.06 0L8 8.44l2.47-2.47a.75.75 0 111.06 1.06l-3 3a.75.75 0 01-1.06 0l-3-3a.75.75 0 010-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--white);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-500);
  max-width: 400px;
  margin: 0 auto;
}

/* === Use Cases === */
.use-cases {
  padding: 100px 0;
  background: var(--white);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  padding: 32px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.case-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.case-industry {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 12px;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.case-card strong {
  color: var(--gray-700);
}

/* === About === */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.about-body {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 48px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.about-value h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.about-value p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* === Footer === */
.footer {
  padding: 56px 0 32px;
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-800);
  color: var(--gray-400);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gray-700);
  color: var(--white);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

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

  .step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

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

  .about-values {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
