/* ===== Hero Section — Monochrome Luxury ===== */

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg-dark);
}

/* Remove gradient overlay */
.hero::before {
  display: none;
}

/* Remove background grid */
.hero-bg-grid {
  display: none;
}

/* Hero grid — editorial layout: text + large photo side by side */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-photo {
  position: relative;
  z-index: 1;
}

/* Photo — large, rectangular, editorial crop (NOT circular) */
.hero-photo-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
  animation: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 800;
  color: var(--text-muted);
}

.hero .badge {
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

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

/* Remove decorative code block */
.hero-code {
  display: none;
}

/* ===== Stats Bar — Editorial numbers with thin separators ===== */

.stats-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0 24px;
}

/* Thin vertical separator between stats */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  inset-inline-end: 0;
  width: 1px;
  background: var(--border-subtle);
}

.stat-item h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--text-primary);
  background-clip: unset;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Services Section ===== */

.services {
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1px;
  background: var(--border-subtle);
}

.services-grid > .card {
  background: var(--bg-dark);
  border: none;
}

.services-grid > .card:hover {
  background: var(--bg-mid);
}

.service-card .card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card .card-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-card ul {
  margin-bottom: 20px;
}

.service-card li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  padding-inline-start: 20px;
}

.service-card li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: var(--text-muted);
}

/* ===== How It Works ===== */

.process {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border-subtle);
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: var(--bg-dark);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-primary);
  margin: 0 auto 20px;
  box-shadow: none;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.step p {
  font-size: 0.9rem;
}

/* ===== Portfolio Section ===== */

.portfolio {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1px;
  background: var(--border-subtle);
}

.portfolio-card {
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-dark);
  border: none;
  transition: all var(--transition);
}

.portfolio-card:hover {
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.portfolio-img {
  aspect-ratio: 16/10;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(100%);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

[data-theme="dark"] .portfolio-overlay {
  background: rgba(255, 255, 255, 0.1);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-body {
  padding: 24px;
}

.portfolio-body h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.portfolio-body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-tags span {
  padding: 4px 12px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== AI Advantage Section ===== */

.advantage {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.advantage::before {
  display: none;
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row.header {
  background: transparent;
  border-bottom: 1px solid var(--border-accent);
}

.comparison-cell {
  padding: 16px 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.comparison-row.header .comparison-cell {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.comparison-cell:not(:last-child) {
  border-inline-end: 1px solid var(--border-subtle);
}

.comparison-cell.highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-cell.dim {
  color: var(--text-muted);
}

/* ===== Testimonials ===== */

.testimonials {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1px;
  background: var(--border-subtle);
}

.testimonial-card {
  background: var(--bg-dark);
  border: none;
  border-radius: 0;
  padding: 40px 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: transparent;
  background: var(--bg-mid);
}

.testimonial-stars {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== FAQ Section ===== */

.faq {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* ===== Contact Section ===== */

.contact {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 32px;
  font-size: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.contact-detail svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.contact-form {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 40px;
  box-shadow: none;
}

/* ===== Footer ===== */

.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 46px;
  width: 46px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--text-primary);
}

.footer-social a img {
  opacity: 0.5;
  transition: opacity var(--transition);
}

.footer-social a:hover img {
  opacity: 1;
}

/* ===== Portfolio Filters ===== */

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  background: transparent;
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-dark);
  border-color: var(--text-primary);
}

.portfolio-card.hidden-extra {
  display: none;
}

.portfolio-card.show-extra {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.show-more-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* ===== Video Showcase ===== */

.video-showcase {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 1px;
  background: var(--border-subtle);
}

.video-card {
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-dark);
  border: none;
  transition: all var(--transition);
}

.video-card:hover {
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-light);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.video-card:hover .video-wrapper video {
  filter: grayscale(0%);
}

.video-wrapper {
  cursor: pointer;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  pointer-events: none;
}

.video-play-btn.playing {
  opacity: 0;
}

.video-play-btn svg {
  width: 48px;
  height: 48px;
  fill: #fff;
  filter: none;
}

.video-card-body {
  padding: 20px 24px;
}

.video-card-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.video-card-body p {
  font-size: 0.9rem;
}

/* ===== Dark mode section overrides ===== */

[data-theme="dark"] .services-grid,
[data-theme="dark"] .portfolio-grid,
[data-theme="dark"] .testimonials-grid,
[data-theme="dark"] .video-grid {
  background: var(--border-subtle);
}

[data-theme="dark"] .services-grid > .card,
[data-theme="dark"] .portfolio-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .video-card {
  background: var(--bg-dark);
}

[data-theme="dark"] .contact-form {
  background: transparent;
  box-shadow: none;
}

[data-theme="dark"] .step-number {
  background: var(--bg-dark);
  box-shadow: none;
}
