/* ==========================================================
   Play at the Wall
   Standalone Adilas landing page
   ========================================================== */

:root {
  --color-ink: #12324a;
  --color-ink-soft: #0d5d88;
  --color-brand: #00a6d6;
  --color-brand-pale: #e7f9ff;
  --color-surface: #ffffff;
  --color-surface-soft: #f7fbfd;
  --color-surface-alt: #f7fcfe;
  --color-border: #e7f1f6;

  --shadow-small: 0 8px 24px rgb(0 0 0 / 8%);
  --shadow-card: 0 12px 35px rgb(0 0 0 / 8%);
  --shadow-card-hover: 0 22px 55px rgb(0 0 0 / 13%);

  --radius-small: 16px;
  --radius-card: 28px;
  --radius-large: 32px;
  --radius-pill: 999px;

  --page-width: 1200px;
  --wide-width: 1900px;
  --section-space: 100px;
  --transition: 0.25s ease;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}

/* Shared layout */
.section,
.hero,
.nav-container {
  width: min(95%, var(--page-width));
  margin-inline: auto;
}

.section,
.product-tour,
.difference-section,
.about-section {
  padding-block: var(--section-space);
}

.alt-section {
  background: var(--color-surface-alt);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 20px;
  color: var(--color-ink);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
}

.section-header p {
  margin: 0;
  line-height: 1.7;
}

#success .section-header {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

#success .section-header h2 {
  margin: 0 0 20px;
  white-space: normal;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-brand);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card-grid,
.industry-grid,
.workflow-grid {
  display: grid;
  gap: 30px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.industry-grid,
.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  box-shadow: 0 2px 10px rgb(0 0 0 / 8%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.logo-container img {
  width: 160px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-links a:not(.visit-button):hover {
  color: var(--color-brand);
}

.nav-toggle {
  display: none;
  padding: 10px 16px;
  color: var(--color-ink);
  background: #effcff;
  border: 1px solid #b9e7f4;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Buttons */
.primary-button,
.secondary-button,
.visit-button,
.demo-main-button {
  display: inline-block;
  border-radius: var(--radius-pill);
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.primary-button,
.secondary-button {
  padding: 15px 28px;
}

.primary-button,
.visit-button {
  color: #fff;
  background: var(--color-brand);
}

.secondary-button {
  color: var(--color-brand);
  border: 2px solid var(--color-brand);
}

.visit-button {
  padding: 12px 20px;
}

.primary-button:hover,
.secondary-button:hover,
.visit-button:hover,
.demo-main-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgb(0 0 0 / 15%);
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(95%, 1500px);
    padding-top: 45px;
}

.hero-text {
    flex: 1.65;
    min-width: 0;
}

.hero-text h1,
.hero-text p,
.hero-buttons {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.hero-text p {
    max-width: 600px;
    margin-bottom: 35px;
}

.hero-buttons {
    justify-content: center;
}

.adi-container {
  flex: 0.75;
  text-align: center;
  animation: adiFloat 4s ease-in-out infinite;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  margin: 0 0 25px;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  text-align: center;
}

@media (min-width: 901px) {
  .hero-text h1 {
    white-space: nowrap;
  }
}

.hero-text h1 span {
  color: var(--color-brand);
}

.hero-text p {
  max-width: 600px;
  margin: 0 auto 35px;
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-buttons,
.about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-buttons {
    justify-content: center;
}

.adi-container {
  flex: 0.75;
  text-align: center;
}

.adi-image {
  width: auto;
  height: auto;
  margin-inline: auto;
}

.adi-bubble {
  display: inline-block;
  margin-top: 20px;
  padding: 18px 24px;
  background: #effcff;
  border-radius: 20px;
  font-weight: 600;
}

/* Solution cards */
.solution-card,
.industry-card,
.workflow-card,
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.solution-card,
.industry-card,
.workflow-card {
  color: var(--color-ink);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.solution-card:hover,
.industry-card:hover,
.workflow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.solution-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.solution-icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-brand);
  background: var(--color-brand-pale);
  border-radius: 18px;
}

.solution-category {
  display: block;
  margin-bottom: 14px;
  color: var(--color-ink-soft);
  font-weight: 800;
}

.solution-card h3 {
  margin: 0 0 18px;
  font-size: 1.8rem;
  line-height: 1.15;
}

.solution-card p,
.industry-card p,
.service-card p {
  line-height: 1.7;
}

.solution-link {
  margin-top: 28px;
  color: var(--color-brand);
  font-weight: 800;
  transition: transform var(--transition);
}

.solution-card:hover .solution-link {
  transform: translateX(6px);
}

/* Adilas difference */
.difference-section {
  width: min(95%, var(--wide-width));
  margin-inline: auto;
  padding-top: 45px;
}

@media (min-width: 1200px) {
  .difference-section .section-header {
    max-width: 1000px;
    text-align: center;
  }

  .difference-section .section-header h2 {
    white-space: nowrap;
    text-align: center;
  }
}

.difference-list {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.difference-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
  padding-block: 70px;
  color: var(--color-ink);
  border-top: 1px solid var(--color-border);
  text-decoration: none;
}

.difference-panel:last-child {
  border-bottom: 1px solid var(--color-border);
}

.difference-panel.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.difference-panel.reverse .difference-graphic {
  order: 2;
}

.difference-panel.reverse .difference-content {
  order: 1;
}

.difference-graphic {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  transition: transform var(--transition), box-shadow var(--transition);
}

.difference-panel:hover .difference-graphic {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.difference-number-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}

.difference-number {
  color: var(--color-brand);
  opacity: 0.22;
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 1;
}

.difference-icon {
  justify-self: center;
  color: var(--color-brand);
  opacity: 0.88;
}

.difference-graphic p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.difference-content span {
  display: block;
  margin-bottom: 16px;
  color: var(--color-brand);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.difference-content h3 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.difference-content p {
  max-width: 720px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.difference-panel:hover .difference-content h3 {
  color: var(--color-ink-soft);
}

/* Workflow tour */
.product-tour {
  width: min(95%, 2200px);
  margin-inline: auto;
}

.workflow-card {
  padding: 28px;
}

.workflow-window {
  margin-bottom: 22px;
  padding: 24px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: 24px;
}

.window-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  background: var(--color-brand);
  border-radius: 50%;
  opacity: 0.45;
}

.workflow-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-brand);
  font-weight: 800;
}

.workflow-window h3 {
  margin: 0 0 22px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.workflow-steps,
.workflow-step-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workflow-step-wrap {
  width: 75%;
}

.workflow-step {
  width: 100%;
  padding: 13px 16px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-small);
  box-shadow: 0 6px 18px rgb(0 0 0 / 6%);
  font-weight: 700;
}

.workflow-arrow {
  display: flex;
  width: 100%;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.workflow-footer {
  margin-bottom: 22px;
}

.workflow-footer p {
  margin: 0 0 10px;
  color: var(--color-ink-soft);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workflow-footer span {
  padding: 7px 10px;
  color: var(--color-ink-soft);
  background: var(--color-brand-pale);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}

.workflow-link,
.industry-card strong {
  color: var(--color-brand);
  font-weight: 900;
}

.tour-adi {
  margin-top: 40px;
  color: var(--color-ink-soft);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Industry and result cards */
.industry-card,
.service-card {
  padding: 34px;
}

.industry-card h3,
.service-card h3 {
  margin: 0 0 16px;
  font-size: 1.6rem;
}

.industry-card p {
  margin: 0 0 26px;
}

.service-card h3 {
  color: var(--color-brand);
}

.service-card p {
  margin: 0;
}

/* Demo call to action */
.demo-section {
  padding: 130px 40px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--color-ink-soft), var(--color-brand));
}

.simple-demo {
  max-width: 1000px;
  margin-inline: auto;
}

.simple-demo h2 {
  margin: 0 0 28px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.simple-demo > p {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.94;
}

.demo-main-button {
  padding: 17px 30px;
  color: var(--color-ink-soft);
  background: #fff;
  box-shadow: 0 16px 35px rgb(0 0 0 / 18%);
}

.demo-includes {
  max-width: 760px;
  margin: 55px auto 0;
  padding: 34px;
  text-align: left;
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius-card);
  backdrop-filter: blur(10px);
}

.demo-includes h3 {
  margin: 0 0 22px;
  font-size: 1.35rem;
}

.demo-includes ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-includes li::before {
  margin-right: 12px;
  content: "✓";
  font-weight: 900;
}

/* About */
.about-section {
  padding-inline: 40px;
}

.about-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
  gap: 60px;
  max-width: 1800px;
  margin-inline: auto;
}

.about-container h2 {
  margin: 0 0 28px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.08;
}

.about-container p {
  max-width: 850px;
  margin: 0 0 22px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-buttons {
  margin-top: 36px;
}

.about-callout {
  padding: 42px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
}

.about-callout h3 {
  margin: 0 0 14px;
  color: var(--color-ink-soft);
  font-size: 2rem;
}

.about-callout strong {
  display: block;
  margin-top: 28px;
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  background: var(--color-ink);
}

.footer h3 {
  margin: 0 0 20px;
  font-size: 2rem;
}

.footer p {
  margin: 0 0 25px;
}

.footer-text-link {
  padding-bottom: 4px;
  color: #fff;
  border-bottom: 2px solid rgb(255 255 255 / 45%);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-text-link:hover {
  border-bottom-color: #fff;
}

.copyright {
  margin-top: 50px !important;
  opacity: 0.7;
}

@keyframes adiFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (min-width: 1300px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(760px, 850px) 350px;
    justify-content: center;
    align-items: center;
    column-gap: 90px;
  }

  .hero-text {
    min-width: 0;
    text-align: center;
  }

  .hero-text h1 {
    white-space: nowrap;
    padding-top: 40px;
    font-size: clamp(2.2rem, 3.8vw, 3rem);
  }

  .adi-container {
    text-align: center;
  }

  .difference-header {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }

  .difference-header h2 {
      white-space: nowrap;
      text-align: center;
  }
}

@media (min-width: 901px) and (max-width: 1299px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(600px, 1fr) 300px;
    justify-content: center;
    align-items: center;
    column-gap: 60px;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .difference-panel,
  .difference-panel.reverse,
  .about-container {
    grid-template-columns: 1fr;
  }

  .difference-panel,
  .difference-panel.reverse {
    gap: 34px;
    padding-block: 55px;
  }

  .difference-panel.reverse .difference-graphic,
  .difference-panel.reverse .difference-content {
    order: initial;
  }

  .difference-graphic {
    min-height: 220px;
  }

  .about-section {
    padding-inline: 20px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 80px;
  }

  .nav-container {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px;
    text-align: center;
  }

  .nav-links .visit-button {
    align-self: center;
    width: auto;
    padding: 12px 20px;
  }

  .industry-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .product-tour,
  .difference-section {
    width: min(92%, var(--wide-width));
  }

  .demo-section {
    padding: 90px 20px;
  }

  .demo-includes {
    padding: 26px;
  }
}

@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    text-align: center;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .adi-container {
    width: 100%;
    margin-top: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
