:root {
  --bg: #f5f5f4;
  --bg-2: #ffffff;
  --text: #121417;
  --muted: #5c6168;
  --line: rgba(18, 20, 24, 0.08);
  --card: rgba(255, 255, 255, 0.82);
  --accent: #2b6de9;
  --accent-2: #7fb8ff;
  --accent-glow: rgba(43, 109, 233, 0.28);
  --shadow-lg: 0 32px 80px rgba(12, 16, 24, 0.12);
  --shadow-md: 0 20px 50px rgba(12, 16, 24, 0.1);
  --shadow-sm: 0 12px 28px rgba(12, 16, 24, 0.08);
  --radius: 18px;
  --max: 1180px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  background-color: var(--bg);
  background-image: var(--noise),
    radial-gradient(1200px 600px at 10% -20%, rgba(43, 109, 233, 0.08), transparent 60%),
    radial-gradient(1000px 600px at 110% -10%, rgba(127, 184, 255, 0.12), transparent 55%);
  background-size: 160px 160px, auto, auto;
  background-blend-mode: soft-light, normal, normal;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 245, 244, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 109, 233, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 30px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 12px 26px rgba(43, 109, 233, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(43, 109, 233, 0.28);
  box-shadow: 0 10px 24px rgba(12, 16, 24, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.btn:focus-visible {
  outline: 2px solid rgba(43, 109, 233, 0.5);
  outline-offset: 2px;
}

main {
  display: block;
}

.hero {
  padding: 110px 0 120px;
}

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

.hero-copy {
  will-change: transform;
}

h1 {
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.morphing-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  min-width: 280px;
  text-align: left;
}

.morphing-text::before {
  content: attr(data-current);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: morphIn 0.6s ease-in-out forwards;
}

@keyframes morphIn {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
  }
}

@keyframes morphOut {
  0% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(10px) scale(0.95);
  }
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.micro {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.product-preview {
  position: relative;
  --preview-card: clamp(240px, 34vw, 380px);
  --preview-gap: 2px;
  --preview-speed: 20s;
  will-change: transform, opacity;
  transition: opacity 0.3s ease;
}


.preview-grid {
  display: grid;
  place-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.preview-row {
  position: relative;
  overflow: hidden;
  width: min(100%, var(--preview-card));
  height: calc(var(--preview-card) * 4 / 3);
  border-radius: 22px;
}

.preview-track {
  display: flex;
  gap: var(--preview-gap);
  width: max-content;
  height: 100%;
  animation: conveyor var(--preview-speed) linear infinite;
  will-change: transform;
}

.preview-card {
  flex: 0 0 var(--preview-card);
  width: var(--preview-card);
  height: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(43, 109, 233, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 36px rgba(12, 16, 24, 0.18);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.preview-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4), transparent 55%);
  opacity: 0.4;
  transform: translate3d(-4%, -4%, 0);
  animation: ambient-glow 12s ease-in-out infinite;
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.14;
  mix-blend-mode: soft-light;
}

.preview-card[data-image="1"] { background-image: url("../assets/preview-1.png"); }
.preview-card[data-image="2"] { background-image: url("../assets/preview-2.png"); }
.preview-card[data-image="3"] { background-image: url("../assets/preview-3.jpg"); }
.preview-card[data-image="4"] { background-image: url("../assets/preview-4.png"); }
.preview-card[data-image="5"] { background-image: url("../assets/preview-5.png"); }
.preview-card[data-image="6"] { background-image: url("../assets/preview-6.png"); }
.preview-card[data-image="7"] { background-image: url("../assets/preview-7.png"); }
.preview-card[data-image="8"] { background-image: url("../assets/preview-8.png"); }

@keyframes shimmer {
  0% {
    transform: translateX(-60%);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  50% {
    transform: translateX(30%);
    opacity: 0.2;
  }
  100% {
    transform: translateX(80%);
    opacity: 0;
  }
}

@keyframes ambient-glow {
  0% {
    transform: translate3d(-5%, -4%, 0);
    opacity: 0.32;
  }
  50% {
    transform: translate3d(4%, 2%, 0);
    opacity: 0.48;
  }
  100% {
    transform: translate3d(-2%, 6%, 0);
    opacity: 0.38;
  }
}

@keyframes panel-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.01);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes conveyor {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(0px - ((var(--preview-card) * 8) + (var(--preview-gap) * 8))), 0, 0);
  }
}

@keyframes orb-drift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(18px, -10px, 0);
    opacity: 0.55;
  }
  100% {
    transform: translate3d(-10px, 16px, 0);
    opacity: 0.7;
  }
}

section {
  padding: 96px 0;
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 12px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 44px;
  max-width: 640px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.example-card {
  position: relative;
  border-radius: 16px;
  padding: 18px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(43, 109, 233, 0.08));
  border: none;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.example-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.example-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 32px 80px rgba(43, 109, 233, 0.35);
  border-radius: 20px;
}

.example-card:hover::before {
  opacity: 0.8;
}

.example-card:focus-visible {
  outline: 2px solid rgba(43, 109, 233, 0.5);
  outline-offset: 3px;
}

.example-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.08;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.example-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.example-card:hover .example-label {
  transform: translateY(-4px);
}

.example-card[data-style="Business"] {
  background-image: url("../assets/examples/examples-Business-1.png");
  background-size: cover;
  background-position: center;
}

.example-card[data-style="Winter"] {
  background-image: url("../assets/examples/examples-Winter-2.png");
  background-size: cover;
  background-position: center;
}

.example-card[data-style="Street"] {
  background-image: url("../assets/examples/examples-Street-3.png");
  background-size: cover;
  background-position: center;
}

.example-card[data-style="Luxury"] {
  background-image: url("../assets/examples/examples-Luxury-4.png");
  background-size: cover;
  background-position: center;
}

.example-card[data-style="Travel"] {
  background-image: url("../assets/examples/examples-Travel-5.png");
  background-size: cover;
  background-position: center;
}

.example-card[data-style="Studio"] {
  background-image: url("../assets/examples/examples-Studio-6.png");
  background-size: cover;
  background-position: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 18, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
  backdrop-filter: blur(6px) saturate(120%);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 700px;
  width: 90%;
  background: var(--bg-2);
  border-radius: 22px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.lightbox-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-title {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 0;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(43, 109, 233, 0.2);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 18px rgba(12, 16, 24, 0.12);
}

.lightbox-close:hover {
  background: rgba(43, 109, 233, 0.1);
  border-color: rgba(43, 109, 233, 0.35);
  transform: rotate(4deg);
}

.lightbox-close:focus-visible {
  outline: 2px solid rgba(43, 109, 233, 0.5);
  outline-offset: 2px;
}

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

.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  min-height: 170px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
  align-content: start;
}

.step-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.step-title {
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

.step-sub {
  color: var(--muted);
  font-size: 14px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(43, 109, 233, 0.14);
  box-shadow: var(--shadow-md);
}

.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question span {
  color: var(--muted);
  font-weight: 400;
  font-size: 18px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.faq-question:focus-visible {
  outline: 2px solid rgba(43, 109, 233, 0.5);
  outline-offset: 3px;
  border-radius: 12px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--muted);
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
  margin: 0 0 18px;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 20px 10px;
}

.cta {
  background: linear-gradient(120deg, rgba(43, 109, 233, 0.12), rgba(255, 255, 255, 0.92));
  border-radius: 24px;
  padding: 56px 60px;
  border: 1px solid rgba(43, 109, 233, 0.15);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
}

.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

footer {
  position: relative;
  padding: 44px 0 84px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-inner .brand {
  order: 1;
}

.footer-inner .micro {
  order: 3;
  color: var(--muted);
}

.footer-links {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links a {
  transition: color 0.2s ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(43, 109, 233, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 30;
  backdrop-filter: blur(12px) saturate(140%);
}

.mobile-cta .btn {
  width: 100%;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .cta {
    padding: 40px 32px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 80px 0 90px;
  }
  section {
    padding: 72px 0;
  }
  .examples-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
  .mobile-cta {
    display: block;
  }
  .cta {
    padding: 32px 24px;
  }
  body {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .footer-links {
    gap: 8px 16px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
