@font-face {
  font-family: "TildaSans";
  src: url("fonts/TildaSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TildaSans";
  src: url("fonts/TildaSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TildaSans";
  src: url("fonts/TildaSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TildaSans";
  src: url("fonts/TildaSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TildaSans";
  src: url("fonts/TildaSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TildaSans";
  src: url("fonts/TildaSans-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TildaSans";
  src: url("fonts/TildaSans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-main: #0a0f1c;
  --bg-surface: rgba(20, 27, 45, 0.6);
  --primary: #6666ff;
  --accent: #f43f5e;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "TildaSans", system-ui, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

.w-full {
  width: 100%;
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.strict-nowrap {
  white-space: nowrap !important;
}

.glass {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: rgba(102, 102, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(102, 102, 255, 0.4);
  color: #fff;
}

.btn-primary:hover {
  background: rgba(102, 102, 255, 0.25);
  border-color: rgba(102, 102, 255, 0.6);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 45px;
  font-size: 1.15rem;
  border-radius: 14px;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-thin {
  padding: 8px 24px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--glass-border);
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.3s;
}

.btn-thin:hover {
  background: rgba(255, 255, 255, 0.1);
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition:
    background 0.3s,
    backdrop-filter 0.3s,
    padding 0.3s;
}

header.scrolled {
  padding: 12px 0;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-nav {
  display: flex;
  gap: 20px;
}

.header-nav a {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.3s;
}

.header-nav a:hover {
  color: #fff;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--bg-main) 0%,
    rgba(10, 15, 28, 0.8) 35%,
    transparent 100%
  );
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  line-height: 0.95;
}

.h1-large {
  display: inline-block;
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 0.95;
}

.h1-sub {
  display: inline-block;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--primary);
  margin-top: 15px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 30px 0 40px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.hero-micro-text,
.micro-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.5;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: rgba(0, 0, 0, 0.2);
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-inline: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.grid-narrow {
  max-width: 960px;
  margin: 0 auto;
}

.card {
  padding: 30px 25px;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-icon-svg {
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  display: block;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: justify;
}

.interactive-scene {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.scene-laptop {
  position: relative;
  width: 72%;
  max-width: 850px;
  z-index: 1;
}

.device-frame {
  width: 100%;
  height: auto;
  display: block;
}

.laptop-cards-container {
  position: absolute;
  top: 19%;
  bottom: 21%;
  left: 12%;
  right: 12%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4%;
}

.laptop-card {
  width: 28%;
  aspect-ratio: 2/3;
  position: relative;
}

.laptop-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.laptop-flip-slot {
  perspective: 1000px;
}

.flip-card-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card-inner.flipped {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.scene-phone {
  position: relative;
  width: 18%;
  max-width: 220px;
  z-index: 5;
}

.phone-interactive-zone {
  position: absolute;
  top: 24%;
  bottom: 11%;
  left: 10%;
  right: 10%;
  padding: 5px;
  overflow: hidden;
}

.phone-interactive-zone::-webkit-scrollbar {
  display: none;
}

.phone-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.clickable-card {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition:
    transform 0.2s,
    border 0.2s,
    box-shadow 0.2s;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.clickable-card:hover {
  transform: scale(1.03);
}

.clickable-card.active {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(102, 102, 255, 0.5);
}

.click-hint {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 15px rgba(102, 102, 255, 0.4);
  pointer-events: none;
  animation: pulse-hint 2s infinite ease-in-out;
}

@keyframes pulse-hint {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.video-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

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

.video-title {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 15, 28, 0.4);
}

.decks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.deck-card {
  overflow: hidden;
  transition: transform 0.3s;
  padding-bottom: 25px;
}

.deck-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.deck-cover {
  height: 140px;
  width: 100%;
  object-fit: cover;
}

.deck-card h3 {
  padding: 20px 20px 5px;
  font-size: 1.1rem;
}

.deck-card p {
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.use-case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--glass-border);
}

.use-case-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: justify;
}

.use-case-content h3 {
  margin-bottom: 15px;
  color: #c4b5fd;
  font-size: 1.1rem;
}

.use-case-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: italic;
}

.use-case-content span {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}

.pricing-single {
  display: flex;
  max-width: 950px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  padding: 40px 50px;
  gap: 80px;
  align-items: center;
}

.pricing-card-inner {
  flex: 0 0 280px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--primary);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card-inner h3 {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pricing-card-inner .price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #fff;
  line-height: 1;
}

.pricing-card-inner .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card-inner .trial-text {
  color: #fff;
  font-weight: 600;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.pricing-card-inner .guarantee {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 15px;
}

.pricing-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-list.modern {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features-list.modern li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.features-list.modern li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(102, 102, 255, 0.15);
}

.features-list.modern li strong {
  color: #fff;
  font-weight: 500;
}

.faq-container {
  width: 100%;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: #fff;
}

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

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

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.faq-question span {
  transition: transform 0.3s ease;
  color: var(--primary);
  font-size: 1.2rem;
}

.footer {
  padding: 60px 0 30px 0;
  background: #050811;
  border-top: 1px solid var(--glass-border);
}

.footer-cta-clean {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 80px;
  padding: 40px 0;
  border-bottom: 1px solid var(--glass-border);
}

.cta-text {
  flex: 1;
  max-width: 600px;
}

.cta-text h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.2;
}

.cta-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copyright {
  line-height: 1.5;
}

.labs-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.labs-link:hover {
  color: #fff;
}

.designby-logo {
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.designby-logo:hover {
  opacity: 1;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.modal {
  margin: auto;
  padding: 40px 30px;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  max-width: 420px;
  width: 90%;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  text-align: center;
}

.close-modal {
  position: absolute;
  top: -20px;
  right: -15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
}

.close-modal:hover {
  color: #fff;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.modal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modern-form input {
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  color: #fff;
  outline: none;
  font-size: 1rem;
  transition: border 0.3s;
}

.modern-form input:focus {
  border-color: var(--primary);
}

.mobile-title {
  display: none;
}

@media (max-width: 968px) {
  .hero-bg {
    width: 100%;
  }
  .hero-bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10, 15, 28, 0.95) 0%,
      rgba(10, 15, 28, 0.7) 100%
    );
  }
  .hero-container {
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .pricing-single {
    flex-direction: column;
    padding: 30px;
    gap: 40px;
  }
  .pricing-card-inner {
    flex: auto;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  .pricing-right {
    width: 100%;
  }
  .footer-cta-clean {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 30px;
  }
  .cta-text {
    max-width: 100%;
  }
  .cta-action {
    align-items: center;
  }
  .interactive-scene {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 20px;
  }
  .scene-laptop {
    width: 100%;
    max-width: 100%;
  }
  .scene-phone {
    width: 40%;
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .nowrap,
  .strict-nowrap {
    white-space: normal !important;
  }
  .desktop-title {
    display: none !important;
  }
  .mobile-title {
    display: block !important;
  }
  .mobile-nowrap {
    white-space: nowrap !important;
  }
  .header-nav {
    display: none;
  }
  .header-container {
    padding: 0 15px;
  }
  .btn-thin {
    padding: 8px 18px;
  }
  .hero {
    padding-top: 160px;
    padding-bottom: 25px;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: stretch;
  }
  .hero-bg img {
    object-position: center center;
  }
  .hero-container,
  .hero-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
  }
  .h1-large {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.05;
  }
  .h1-sub {
    font-size: clamp(22px, 6vw, 30px);
    margin-top: 10px;
  }
  .hero-desc {
    font-size: 1rem;
    margin: 20px 0 20px;
  }
  .hero-buttons {
    margin-top: auto;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-micro-text {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
    margin-bottom: 10px;
  }
  .grid,
  .decks-grid,
  .use-cases-grid {
    gap: 20px;
  }
  .card,
  .use-case-content {
    padding: 20px;
  }
  .pricing-single {
    padding: 25px 15px;
  }
  .pricing-card-inner {
    padding: 30px 20px;
  }
  .pricing-card-inner .price {
    font-size: 2.5rem;
  }
  .features-list.modern li {
    text-align: left;
  }
  .interactive-scene {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 0;
    overflow: visible;
    width: 100%;
  }
  .scene-laptop {
    width: 200%;
    flex-shrink: 0;
    margin-right: -5%;
    z-index: 1;
  }
  .scene-phone {
    width: 32%;
    flex-shrink: 0;
    z-index: 5;
    max-width: none;
  }
  .click-hint {
    font-size: 9px;
    padding: 6px 0;
    white-space: nowrap;
  }
  .footer-bottom,
  .footer-meta {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer-links {
    justify-content: center;
    gap: 15px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    width: 90%;
    padding: 15px;
    bottom: 15px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }
  .cta-text h2 {
    font-size: 1.8rem;
  }
  .faq-question {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 0 20px 15px;
  }
  .features-list.modern li {
    font-size: 0.9rem;
  }
}
