/*
 * INTRODUCE Theme — product.css
 * Yazılım ürün sayfası stilleri
 * INTRODUCE LLC © 2025
 */

/* PRODUCT HERO */
.int-product-hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.int-product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.int-product-hero__cats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.int-product-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.05;
}

.int-product-hero__short {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.int-product-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.int-product-hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.int-product-hero__meta-item {
  font-size: 13px;
  color: var(--text-muted);
}

.int-product-hero__meta-item strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1px;
}

/* Product sidebar card */
.int-product-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.int-product-card__title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

.int-product-card__pricing {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.int-product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.int-product-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.int-product-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.int-product-card__features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067b8' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}

/* PRODUCT CONTENT LAYOUT */
.int-product-content {
  padding: 64px 0;
}

.int-product-content__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: start;
}

.int-product-main { min-width: 0; }

.int-product-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

/* Section titles inside product */
.int-product-main h2 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.int-product-main h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Features grid */
.int-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.int-feature-item {
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.int-feature-item:hover { border-color: var(--accent); }

.int-feature-item__icon {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--accent);
}

.int-feature-item__title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.int-feature-item__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Modules list */
.int-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.int-module-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.int-module-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

.int-module-item__title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3px;
}

.int-module-item__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Screenshot gallery */
.int-screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.int-screenshot {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.int-screenshot:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-md);
}

.int-screenshot img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Video embed */
.int-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.int-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Tech stack */
.int-tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.int-tech-tag {
  padding: 6px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text);
  font-weight: 400;
}

/* Integrations */
.int-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.int-integration-tag {
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 500;
}

/* Benefits */
.int-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.int-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.int-benefit::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  line-height: 24px;
  text-align: center;
}

/* Use cases */
.int-usecases {
  display: grid;
  gap: 12px;
  counter-reset: usecase;
}

.int-usecase {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  align-items: flex-start;
}

.int-usecase__num {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--border);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}

/* Customer testimonial */
.int-quote {
  padding: 32px 36px;
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}

.int-quote__text {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
}

.int-quote__author {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.int-quote__author span {
  color: var(--text-light);
  font-weight: 400;
}

/* FAQ / SSS */
.int-faq-list { display: grid; gap: 2px; }

.int-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.int-faq-item + .int-faq-item { margin-top: 4px; }

.int-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--bg);
  border: none;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  gap: 12px;
  transition: background 0.15s;
}

.int-faq-trigger:hover { background: var(--bg-soft); }

.int-faq-trigger svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.int-faq-item.is-open .int-faq-trigger svg {
  transform: rotate(45deg);
}

.int-faq-body {
  display: none;
  padding: 4px 20px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--bg);
}

.int-faq-item.is-open .int-faq-body { display: block; }

/* Sidebar nav */
.int-product-toc {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.int-product-toc h4 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.int-product-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.int-product-toc li {
  margin-bottom: 4px;
}

.int-product-toc a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all 0.15s;
}

.int-product-toc a:hover,
.int-product-toc a.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-light);
}

/* Demo Form Section */
.int-demo-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.int-demo-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.int-demo-section__left .int-subtitle {
  max-width: 400px;
}

.int-demo-section__check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.int-demo-section__check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.int-demo-section__check-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* MOBILE */
@media (max-width: 900px) {
  .int-product-hero__inner {
    grid-template-columns: 1fr;
  }
  .int-product-card { position: static; }
  .int-product-content__inner {
    grid-template-columns: 1fr;
  }
  .int-product-sidebar { display: none; }
  .int-demo-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .int-features-grid { grid-template-columns: 1fr; }
  .int-modules { grid-template-columns: 1fr; }
  .int-screenshots { grid-template-columns: 1fr; }
}
