/*
Theme Name: Zone Logic Child
Theme URI: https://example.com/
Description: Hello Elementor child theme styled for the Zone Logic brand.
Author: OpenAI
Template: hello-elementor
Version: 1.0.0
Text Domain: zone-logic-child
*/

:root {
  --zl-bg: #0b2447;
  --zl-bg-deep: #08182b;
  --zl-surface: #132b4a;
  --zl-surface-2: #17365c;
  --zl-accent: #0771f2;
  --zl-accent-2: #5ad46f;
  --zl-text: #ffffff;
  --zl-text-muted: #c9d4e5;
  --zl-border: rgba(255, 255, 255, 0.08);
  --zl-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  --zl-radius: 18px;
  --zl-radius-sm: 12px;
  --zl-max: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--zl-bg);
  color: var(--zl-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body:not(.elementor-editor-active) {
  background:
    radial-gradient(circle at top right, rgba(7, 113, 242, 0.08), transparent 22%),
    linear-gradient(180deg, var(--zl-bg) 0%, var(--zl-bg-deep) 100%);
}

a {
  color: var(--zl-accent);
}

a:hover,
a:focus {
  color: #4aa1ff;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--zl-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p, li {
  color: var(--zl-text-muted);
}

.site-header,
header.site-header,
[data-elementor-type="header"] {
  backdrop-filter: blur(10px);
}

.zl-site-shell,
.zl-section-inner {
  width: min(var(--zl-max), calc(100% - 40px));
  margin-inline: auto;
}

.zl-homepage {
  overflow: hidden;
}

.zl-hero {
  position: relative;
  padding: 96px 0 72px;
}

.zl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(7, 113, 242, 0.14), transparent 25%),
    radial-gradient(circle at 80% 10%, rgba(90, 212, 111, 0.12), transparent 20%);
  pointer-events: none;
}

.zl-grid {
  display: grid;
  gap: 32px;
}

.zl-grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.zl-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zl-card {
  background: linear-gradient(180deg, var(--zl-surface) 0%, rgba(19, 43, 74, 0.96) 100%);
  border: 1px solid var(--zl-border);
  border-radius: var(--zl-radius);
  box-shadow: var(--zl-shadow);
}

.zl-hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 18px;
}

.zl-hero-copy p {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 0 28px;
}

.zl-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.zl-button,
.zl-button-outline,
.elementor-button,
button,
input[type="button"],
input[type="submit"] {
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.zl-button,
.elementor-button,
input[type="submit"] {
  background: linear-gradient(180deg, #1c86ff 0%, var(--zl-accent) 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(7, 113, 242, 0.28);
}

.zl-button:hover,
.elementor-button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(7, 113, 242, 0.32);
}

.zl-button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--zl-text);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.zl-button-outline:hover {
  color: var(--zl-text);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
}

.zl-mockup {
  padding: 18px;
}

.zl-mockup-screen {
  min-height: 420px;
  border-radius: 16px;
  border: 1px solid var(--zl-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #103760 0%, #0f2744 100%);
  overflow: hidden;
  position: relative;
}

.zl-mockup-screen::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.zl-mockup-screen::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  top: 98px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    radial-gradient(circle at 75% 20%, rgba(7,113,242,0.23), transparent 18%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.zl-section {
  padding: 72px 0;
}

.zl-section-title {
  text-align: center;
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.zl-section-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.zl-feature-card {
  padding: 34px 28px;
  min-height: 250px;
}

.zl-feature-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(7, 113, 242, 0.12);
  color: var(--zl-text);
  font-size: 26px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}

.zl-feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.7rem;
}

.zl-showcase-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  align-items: center;
  margin-bottom: 36px;
}

.zl-showcase-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 16px;
}

.zl-showcase-copy p {
  max-width: 560px;
  margin-bottom: 24px;
}

.zl-showcase-points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.zl-showcase-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.zl-showcase-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zl-accent-2);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.zl-showcase-panel {
  padding: 18px;
}

.zl-panel-screen {
  min-height: 330px;
  border-radius: 16px;
  border: 1px solid var(--zl-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    linear-gradient(145deg, #112f53 0%, #0a1f36 100%);
  position: relative;
  overflow: hidden;
}

.zl-panel-screen .zl-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
}

.zl-chip span {
  height: 14px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
}

.zl-panel-blocks {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 56px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.zl-panel-blocks div {
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.zl-panel-blocks div:last-child {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    radial-gradient(circle at 35% 25%, rgba(7,113,242,0.24), transparent 18%);
}

.zl-cta {
  padding: 86px 32px;
  text-align: center;
  position: relative;
}

.zl-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top center, rgba(7,113,242,0.18), transparent 40%);
  pointer-events: none;
}

.zl-cta h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 0 0 16px;
}

.zl-cta p {
  max-width: 760px;
  margin: 0 auto 28px;
}

.zl-footer-note {
  padding: 34px 0 56px;
  text-align: center;
  color: var(--zl-text-muted);
}

.zl-topbar .site-logo,
.site-branding {
  font-weight: 800;
}

@media (max-width: 1024px) {
  .zl-grid-2,
  .zl-showcase-row,
  .zl-grid-3 {
    grid-template-columns: 1fr;
  }

  .zl-feature-card {
    min-height: auto;
  }

  .zl-showcase-row.reverse .zl-showcase-copy {
    order: 2;
  }

  .zl-showcase-row.reverse .zl-showcase-panel {
    order: 1;
  }
}

@media (max-width: 767px) {
  .zl-hero,
  .zl-section {
    padding: 56px 0;
  }

  .zl-site-shell,
  .zl-section-inner {
    width: min(var(--zl-max), calc(100% - 24px));
  }

  .zl-button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .zl-cta {
    padding: 56px 20px;
  }
}
