@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-blue: #4544c3;
  --color-gray-dark: #666666;
  --color-gray-light: #999999;
  --color-border: rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-white);
  color: var(--color-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0px 30px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--color-border);
}

/* Hero Section */
.hero {
  padding: 64px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 500px;
  grid-template-rows: auto auto auto auto;
  gap: 0 80px;
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 900px;
}

.hero-badge {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.badge-text {
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--color-gray-dark);
}

.hero-title {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(40px, 3vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

.hero-subtitle {
  grid-column: 1;
  grid-row: 3;
  font-size: 21px;
  line-height: 1.6;
  color: var(--color-gray-dark);
  font-weight: 400;
  margin-bottom: 48px;
}

.hero-cta {
  grid-column: 1;
  grid-row: 4;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-blue);
}

.btn-secondary {
  border: 2px solid var(--color-black);
  color: var(--color-black);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.hero-image {
  grid-column: 2;
  grid-row: 1 / 5;
  width: 500px;
  height: 500px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.5s ease;
}

.hero-image:hover img {
  /* Removed grayscale filter */
}

/* Process Section */
.process {
  padding: 160px 0;
}

.section-header {
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(32px, 3vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 19px;
  color: var(--color-gray-dark);
  max-width: 720px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.process-card {
  background: var(--color-white);
  padding: 40px;
  transition: all 0.5s ease;
  cursor: default;
}

.process-card:hover {
  background: var(--color-blue);
}

.process-number {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-blue);
  margin-bottom: 24px;
  transition: color 0.5s ease;
}

.process-card:hover .process-number {
  color: var(--color-white);
}

.process-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 24px;
  transition: color 0.5s ease;
}

.process-card:hover .process-title {
  color: var(--color-white);
}

.process-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray-dark);
  transition: color 0.5s ease;
}

.process-card:hover .process-description {
  color: rgba(255, 255, 255, 0.9);
}

/* Projects Section */
.projects {
  padding: 160px 0;
}

.projects-list {
  background: var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px;
  background: var(--color-white);
  align-items: center;
  text-decoration: none;
  color: var(--color-black);
  transition: all 0.5s ease;
}

.project-card:hover {
  background: var(--color-black);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.project-year {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-blue);
  transition: color 0.5s ease;
}

.project-card:hover .project-year {
  color: var(--color-white);
}

.project-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
  transition: background 0.5s ease;
}

.project-card:hover .project-line {
  background: rgba(255, 255, 255, 0.2);
}

.project-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
  transition: color 0.5s ease;
}

.project-card:hover .project-name {
  color: var(--color-white);
}

.project-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-gray-dark);
  margin-bottom: 24px;
  transition: color 0.5s ease;
}

.project-card:hover .project-description {
  color: rgba(255, 255, 255, 0.8);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
}

.project-card:hover .project-link {
  color: var(--color-white);
}

.project-link svg {
  transition: transform 0.3s ease;
}

.project-card:hover .project-link svg {
  transform: translateX(4px);
}

.project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: border-color 0.5s ease;
}

.project-card:hover .project-image {
  border-color: rgba(255, 255, 255, 0.2);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease;
}

.project-card:hover .project-image img {
  filter: grayscale(0%);
}

/* Capabilities Section */
.capabilities {
  padding: 160px 0;
  background: var(--color-gray-light);
}

.capabilities-layout {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.capabilities-header {
  max-width: 800px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.capability {
  background: var(--color-white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.4s ease;
  position: relative;
}

.capability:hover {
  background: var(--color-black);
}

.capability:hover .capability-number {
  color: var(--color-blue);
}

.capability:hover .capability-title {
  color: var(--color-white);
}

.capability:hover .capability-meta {
  color: rgba(255, 255, 255, 0.6);
}

.capability:hover .capability-list li {
  color: rgba(255, 255, 255, 0.8);
}

.capability:hover .capability-list li::before {
  background: var(--color-blue);
}

.capability-number {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-blue);
  transition: color 0.4s ease;
}

.capability-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.4s ease;
}

.capability-meta {
  font-size: 14px;
  color: var(--color-gray-dark);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}

.capability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.capability-list li {
  display: flex;
  align-items: start;
  gap: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray-dark);
  transition: color 0.4s ease;
}

.capability-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
  transition: background 0.4s ease;
}

/* Contact Section */
.contact {
  padding: 160px 0;
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-email {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.contact-links {
  display: flex;
  gap: 24px;
  padding-top: 16px;
}

.contact-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gray-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: var(--color-blue);
}

/* Footer */
.footer {
  border-top: 2px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 0;
}

.footer-content p {
  font-size: 14px;
  color: var(--color-gray-light);
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }

  .hero-badge {
    order: 1;
    margin-bottom: 16px;
  }

  .hero-image {
    order: 2;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
  }

  .hero-image img {
    border-radius: 50%;
    object-fit: cover;
  }

  .hero-title {
    order: 3;
    font-size: 36px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    order: 4;
    font-size: 18px;
    margin-bottom: 16px;
  }

  .hero-cta {
    order: 5;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 48px 0;
    min-height: auto;
  }

  .hero-content {
    gap: 32px;
  }

  .hero-image {
    width: 240px;
    height: 240px;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .process {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .projects {
    padding: 80px 0;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .project-image {
    order: -1;
  }

  .capabilities {
    padding: 80px 0;
  }

  .capabilities-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact {
    padding: 80px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 0;
  }
}
