/* ==========================================================================
   CutMaker Robotic — koyu çelik / ağır iş makinesi sarısı
   ========================================================================== */

:root {
  /* sıcak metalik grafit rampası */
  --bg: #141311;
  --surface: #1D1B18;
  --surface-2: #262320;
  --border: rgba(244, 242, 238, 0.08);
  --border-hover: rgba(244, 242, 238, 0.16);

  /* üç metin rolü */
  --text-1: #F4F2EE;
  --text-2: #B3AEA5;
  --text-3: #7E7970;

  /* aksan — ağır iş makinesi sarısı */
  --accent: #FFC400;
  --accent-hover: #FFD54A;
  --on-accent: #141311;

  --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', var(--font-main);

  --transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
  --radius: 16px;
  --radius-sm: 10px;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ikonlar — tek set, tek boyut, tek stroke */
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.accent {
  color: var(--accent);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 19, 17, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text-1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-1);
}

.nav-btn {
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--accent-hover);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-1);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  padding: 152px 0 96px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 24px;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.accent-text {
  color: var(--accent);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-desc strong {
  color: var(--text-1);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-1);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}

/* Hero görsel — sayfanın "anı" */
.hero-visual {
  min-width: 0;
}

.visual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  margin: 0;
}

.hero-robot-img {
  width: 100%;
  height: auto;
}

.visual-caption {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: 16px;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Section ortak
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

/* imza detay: plazma kerf çizgisi */
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  border-top: 2px dashed var(--accent);
  margin: 16px auto 0;
}

.section-lead {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-top: 16px;
}

/* Kart zemini — düz yüzey + saç teli */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.card:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
}

/* ==========================================================================
   Problem
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  display: flex;
  flex-direction: column;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--text-2);
  margin-bottom: 16px;
}

.card-metric {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
  margin-bottom: 8px;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ==========================================================================
   Solution
   ========================================================================== */
.features-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-box {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
}

.feature-box:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--text-2);
  flex-shrink: 0;
}

.feature-box h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.feature-box p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.tech-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  padding: 12px;
}

.tech-caption strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.tech-caption p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  border-color: var(--border-hover);
}

.gallery-img-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--surface-2);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* dikey fotoğraflarda konu ortalı kalsın */
.gallery-grid .gallery-card:nth-child(1) .gallery-img-wrap img { object-position: center 25%; }
.gallery-grid .gallery-card:nth-child(2) .gallery-img-wrap img { object-position: center 48%; }
.gallery-grid .gallery-card:nth-child(4) .gallery-img-wrap img { object-position: center 40%; }

.gallery-info {
  padding: 24px;
  flex: 1;
}

.gallery-tag {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 8px;
}

.gallery-info h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

.gallery-info p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ==========================================================================
   Specs
   ========================================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
  margin-bottom: 12px;
}

.spec-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.spec-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ==========================================================================
   Market
   ========================================================================== */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.market-card {
  text-align: center;
}

/* tek vurgu: SAM kartı */
.market-card.highlight {
  border-color: var(--accent);
}

.market-badge {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 12px;
}

.market-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
  margin-bottom: 12px;
}

.market-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 950px;
  margin: 0 auto;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--surface-2);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.team-content {
  padding: 24px;
  flex: 1;
}

.team-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 2px;
}

.team-company {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 48px;
}

.contact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.info-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--text-2);
  margin-top: 2px;
}

.info-card strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.info-card p,
.info-card a {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

.info-card a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0F0E0C;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

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

.footer-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 12px;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-content: start;
}

.footer-links h4 {
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
}

.footer-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-1);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}

/* ==========================================================================
   Giriş animasyonu — tek sefer, kısa fade + yükselme
   ========================================================================== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text > *,
.hero-visual {
  animation: rise 400ms ease-out backwards;
}

.hero-text > :nth-child(2) { animation-delay: 40ms; }
.hero-text > :nth-child(3) { animation-delay: 80ms; }
.hero-text > :nth-child(4) { animation-delay: 120ms; }
.hero-text > :nth-child(5) { animation-delay: 160ms; }
.hero-visual { animation-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-text > *,
  .hero-visual {
    animation: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-desc,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    max-width: 640px;
  }
  .features-dual {
    grid-template-columns: 1fr;
  }
  .cards-grid, .specs-grid, .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 200ms ease-out;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
  .container {
    padding: 0 24px;
  }
  .section {
    padding: 64px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .hero-section {
    padding: 120px 0 64px;
  }
  .hero-title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cards-grid, .specs-grid, .market-grid, .gallery-grid, .team-grid, .contact-info {
    grid-template-columns: 1fr;
  }
  .contact-box {
    padding: 32px 20px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
