/* ===== ZAKA HOME — Premium Cinematic Styles ===== */

/* Hero */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-black-deep);
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.95) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-home .hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.30;
  filter: grayscale(20%) contrast(115%) brightness(0.85);
  transform: scale(1.08) translateZ(0);
  transition: transform 12s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Breathing overlay */
.hero-organic-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 85%, rgba(212,175,55,0.03) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 25%, rgba(10,132,255,0.02) 0%, transparent 50%);
  animation: home-breathe 16s ease-in-out infinite alternate;
}
@keyframes home-breathe {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

/* Scan lines */
.home-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.025;
  background-image: linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 100% 140px;
  animation: home-scan-drift 100s linear infinite;
  pointer-events: none;
}
@keyframes home-scan-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-140px); }
}

/* Hero particles */
#home-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

/* Hero content */
.hero-home .hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-gold-muted);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-white);
  max-width: 900px;
  margin-bottom: var(--space-lg);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-gray-text);
  max-width: 680px;
  margin-bottom: var(--space-xl);
}

/* CTA buttons */
.cta-primary {
  display: inline-block;
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 300;
  font-family: var(--font-primary);
  transition: opacity var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.cta-primary:hover {
  opacity: 0.75;
  border-color: var(--color-accent-gold);
}

.cta-secondary {
  display: inline-block;
  color: var(--color-gray-text);
  text-decoration: none;
  padding-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 300;
  font-family: var(--font-primary);
  transition: color var(--duration-fast) ease;
}
.cta-secondary:hover {
  color: var(--color-white);
}

/* ===== MANIFESTO ===== */
.manifesto-section {
  padding: clamp(8rem, 12vw, 16rem) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
}

.manifesto-headline {
  font-size: clamp(2.2rem, 3.8vw, 4.5rem);
  font-weight: 200;
  line-height: 1.15;
  color: var(--color-white);
  max-width: 1000px;
  margin: 0 auto var(--space-lg) auto;
}

.manifesto-text {
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-gray-text);
  max-width: 640px;
  margin: 0 auto;
}

.manifesto-text .manifesto-emphasis {
  display: block;
  margin-top: var(--space-md);
  color: rgba(255,255,255,0.5);
  font-style: italic;
  font-weight: 300;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
  padding: clamp(8rem, 12vw, 16rem) 0;
  position: relative;
  overflow: hidden;
  background: var(--color-graphite);
}

.problem-section .problem-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.problem-section .problem-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(140%);
  opacity: 0.06;
}

.problem-section .container {
  position: relative;
  z-index: 2;
}

.problem-headline {
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 200;
  line-height: 1.12;
  color: var(--color-white);
  max-width: 900px;
  margin-bottom: var(--space-xl);
}

.problem-body {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-gray-text);
  max-width: 640px;
}

.problem-body .problem-bold {
  display: block;
  margin-top: var(--space-md);
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* ===== WHAT ZAKA DOES ===== */
.solution-section {
  padding: clamp(8rem, 12vw, 16rem) 0;
}

.solution-headline {
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 200;
  line-height: 1.12;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.solution-list {
  list-style: none;
  padding: 0;
}

.solution-list li {
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 2.2;
  color: var(--color-gray-text);
  padding-left: 1.5rem;
  position: relative;
}

.solution-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: rgba(212,175,55,0.35);
}

.solution-conclusion {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white-warm);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ===== PRODUCTS ===== */
.products-section {
  padding: clamp(8rem, 12vw, 16rem) 0;
  background: var(--color-graphite);
}

.products-section .section-header {
  margin-bottom: clamp(4rem, 6vw, 8rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-gold-muted);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.section-headline {
  font-size: clamp(2.2rem, 3.5vw, 4.5rem);
  font-weight: 200;
  line-height: 1.12;
  color: var(--color-white);
}

/* Product cards — large cinematic */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 2vw, 2.5rem);
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  background: var(--color-charcoal);
  border-radius: 2px;
  height: clamp(400px, 35vw, 550px);
  transform-style: preserve-3d;
  cursor: pointer;
  transition: border-color var(--duration-medium) var(--ease-cinematic),
              box-shadow var(--duration-medium) var(--ease-cinematic);
}

.product-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 40px rgba(10,132,255,0.06);
}

.product-card .product-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05) translateZ(0);
  transition: transform 4s cubic-bezier(0.16, 1, 0.3, 1),
              filter var(--duration-medium) ease;
  filter: grayscale(30%) contrast(110%) brightness(0.7);
}

.product-card:hover .product-bg {
  transform: scale(1.12) translateZ(0);
  filter: grayscale(10%) contrast(115%) brightness(0.8);
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,3,3,0.92) 0%, rgba(3,3,3,0.3) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Glass reflection sweep */
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg) translateZ(0);
  transition: left 1.8s var(--ease-slow);
  z-index: 3;
  pointer-events: none;
}
.product-card:hover::before {
  left: 200%;
}

.product-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(2rem, 3vw, 3rem);
  z-index: 2;
}

.product-card-content h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.product-card-content p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Specter special */
.product-card--specter {
  border-color: rgba(212,175,55,0.15);
}
.product-card--specter:hover {
  border-color: rgba(212,175,55,0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 40px rgba(212,175,55,0.06);
}

/* Full-width last card when odd count */
.product-grid .product-card--full {
  grid-column: span 2;
  height: clamp(350px, 28vw, 450px);
}

/* ===== DIFFERENTIALS ===== */
.differentials-section {
  padding: clamp(8rem, 12vw, 16rem) 0;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
  margin-top: clamp(4rem, 6vw, 8rem);
}

.diff-item {
  padding: clamp(2rem, 3vw, 3.5rem);
  background: var(--color-black);
  transition: background var(--duration-medium) var(--ease-cinematic);
  position: relative;
}

.diff-item:hover {
  background: var(--color-graphite);
}

.diff-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--color-accent-gold-muted);
  transition: height var(--duration-medium) var(--ease-cinematic), top var(--duration-medium) var(--ease-cinematic);
}

.diff-item:hover::before {
  height: 40%;
  top: 30%;
}

.diff-item h4 {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  color: var(--color-white-warm);
  line-height: 1.4;
}

/* ===== PHILOSOPHY ===== */
.philosophy-section {
  padding: clamp(8rem, 12vw, 16rem) 0;
  background: var(--color-graphite);
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.philosophy-headline {
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 200;
  line-height: 1.15;
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto var(--space-lg) auto;
}

.philosophy-text {
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-gray-text);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== WORKFLOW ===== */
.workflow-section {
  padding: clamp(8rem, 12vw, 16rem) 0;
}

.workflow-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: var(--space-xl) 0;
  max-width: 1000px;
  margin: 0 auto;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212,175,55,0.15) 20%,
    rgba(10,132,255,0.08) 50%,
    rgba(212,175,55,0.15) 80%,
    transparent 100%
  );
  z-index: 0;
}

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

.workflow-step .step-number {
  font-family: var(--font-secondary);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-accent-gold-muted);
  margin-bottom: var(--space-xs);
  display: block;
}

.workflow-step .step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(212,175,55,0.4);
  margin: 0 auto var(--space-sm) auto;
  transition: all 0.5s ease;
  position: relative;
}

.workflow-step .step-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.1);
  transition: all 0.5s ease;
}

.workflow-step:hover .step-dot {
  background: var(--color-accent-gold);
  box-shadow: 0 0 16px rgba(212,175,55,0.2);
}

.workflow-step:hover .step-dot::after {
  border-color: rgba(212,175,55,0.3);
  inset: -10px;
}

.workflow-step .step-label {
  font-family: var(--font-primary);
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: var(--color-gray-text);
  font-weight: 300;
  transition: color 0.3s ease;
}

.workflow-step:hover .step-label {
  color: var(--color-white);
}

/* ===== FINAL CTA ===== */
.final-cta-section {
  padding: clamp(10rem, 14vw, 20rem) 0;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(10,132,255,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 0%, rgba(212,175,55,0.02) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-headline {
  font-size: clamp(2.5rem, 4vw, 5rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.final-cta-sub {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-gray-text);
  max-width: 640px;
  margin: 0 auto var(--space-xl) auto;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: clamp(4rem, 6vw, 8rem) 0 clamp(2rem, 3vw, 4rem) 0;
  background: var(--color-black-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-gray-text);
  font-weight: 300;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-sm);
}

.footer-label {
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray-text);
  margin-bottom: 0.5rem;
}

.footer-link {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--duration-fast) ease;
  font-weight: 300;
}
.footer-link:hover {
  color: var(--color-white);
}

.footer-bottom {
  margin-top: clamp(3rem, 4vw, 6rem);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: right;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-grid .product-card--full {
    grid-column: span 1;
  }
  .diff-grid {
    grid-template-columns: 1fr;
  }
  .workflow-timeline {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  .workflow-timeline::before {
    display: none;
  }
  .workflow-step {
    flex: 0 0 calc(33.33% - 1rem);
    margin-bottom: var(--space-sm);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .hero-home { min-height: 90vh; }
  .home-scan { display: none; }
  .hero-organic-overlay { animation: none; opacity: 0.6; }
  
  .product-card {
    height: clamp(300px, 50vw, 380px);
  }
  
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .workflow-step {
    flex: 0 0 50%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .footer-bottom {
    text-align: center;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .home-scan { animation: none; }
  .hero-organic-overlay { animation: none; }
  .hero-home .hero-bg { transition: none; transform: scale(1); }
  .product-card .product-bg { transition: none; }
  .diff-item, .diff-item::before { transition: none; }
  .workflow-step .step-dot,
  .workflow-step .step-dot::after { transition: none; }
}

/* ===== UTILITY ===== */
.display-block { display: block; }
.text-white { color: var(--color-white) !important; }
.mt-sm { margin-top: var(--space-sm); }
