/* ==============================
   URBANIQ — Main Stylesheet
   ============================== */

:root {
  --black: #0a0a0a;
  --dark: #111214;
  --dark-2: #1a1c20;
  --dark-3: #242629;
  --orange: #f4622a;
  --orange-light: #ff7d4d;
  --orange-dim: rgba(244, 98, 42, 0.12);
  --white: #ffffff;
  --off-white: #f5f4f2;
  --gray: #9a9a9a;
  --gray-2: #6b6b6b;
  --text: #e8e6e3;
  --text-muted: #8a8884;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.22s ease;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

/* ==============================
   CONTAINERS
   ============================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.15s, box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 22px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(244, 98, 42, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-color: rgba(255,255,255,0.15);
}

.btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }

/* ==============================
   SECTION BASE
   ============================== */
.section {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

.section-intro {
  text-align: center;
  margin-bottom: 60px;
}
.section-intro h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.section-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ==============================
   REVEAL ANIMATION
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   HEADER / NAV
   ============================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta { margin-left: 8px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.mobile-menu a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.1) 30%,
    rgba(10,10,10,0.55) 60%,
    rgba(10,10,10,0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: heroFadeIn 0.9s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(244,98,42,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(232, 230, 227, 0.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ==============================
   HOW IT WORKS
   ============================== */
.how-it-works { background: var(--dark); }

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 60px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  display: flex;
  gap: 20px;
  padding: 36px 32px;
  background: var(--dark-2);
  transition: background var(--transition);
}
.step:hover { background: var(--dark-3); }

.step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 4px;
}

.step-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-body p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; }

.how-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
}
.how-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

/* ==============================
   FOR WHOM
   ============================== */
.for-whom { background: var(--black); }

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

.audience-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform 0.2s;
}
.audience-card:hover {
  border-color: rgba(244,98,42,0.3);
  transform: translateY(-3px);
}

.audience-icon {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 16px;
}
.audience-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.audience-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 960px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ==============================
   PROGRAM
   ============================== */
.program { background: var(--dark); }

.program-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.program-intro h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.program-intro p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.program-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.program-item {
  padding: 28px 32px;
  background: var(--dark-2);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.program-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.program-item:last-child { border-radius: 0 0 var(--radius) var(--radius); border-bottom: none; }
.program-item:hover { background: var(--dark-3); }

.program-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.program-item h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.program-item p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 12px; }
.program-meta {
  font-size: 0.8rem;
  color: var(--gray-2);
  font-weight: 500;
}

@media (max-width: 860px) {
  .program-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ==============================
   ONLINE HIGHLIGHT
   ============================== */
.online-highlight { background: var(--black); }

.online-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.online-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.online-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.online-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.online-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.online-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.online-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.online-perks li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .online-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ==============================
   FAQ
   ============================== */
.faq { background: var(--dark); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--dark-2);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: background var(--transition);
}
.faq-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.faq-item:last-child { border-radius: 0 0 var(--radius) var(--radius); border-bottom: none; }
.faq-item[open] { background: var(--dark-3); }

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--white);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover { color: var(--orange); }

.faq-item p {
  padding: 0 28px 22px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==============================
   LEAD FORM SECTION
   ============================== */
.lead-form-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.lead-bg {
  position: absolute;
  inset: 0;
}
.lead-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lead-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.95) 40%,
    rgba(10,10,10,0.75) 100%
  );
}

.lead-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lead-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.lead-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lead-form {
  background: rgba(26, 28, 32, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.form-field input,
.form-field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9a9a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-field input::placeholder { color: var(--gray-2); }
.form-field input:focus,
.form-field select:focus {
  border-color: rgba(244,98,42,0.5);
  background: rgba(255,255,255,0.07);
}
.form-field input.error,
.form-field select.error { border-color: #e05555; }

.field-error {
  font-size: 0.8rem;
  color: #e05555;
  min-height: 18px;
}

.form-consent {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
  margin-top: 2px;
}
.consent-label a { color: var(--orange); text-decoration: underline; }

.btn-submit {
  width: 100%;
  position: relative;
}
.btn-loading {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .btn-loading { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
  .lead-layout { grid-template-columns: 1fr; gap: 40px; }
  .lead-form { padding: 28px 20px; }
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 10px 0 18px;
}
.footer-company {
  font-size: 0.78rem;
  color: var(--gray-2);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 60px;
  justify-content: flex-end;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--gray-2);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-2);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { flex-direction: column; gap: 28px; justify-content: flex-start; }
}

/* ==============================
   COOKIE BANNER
   ============================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 200;
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-content p {
  font-size: 0.87rem;
  color: var(--text-muted);
}
.cookie-content a { color: var(--orange); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ==============================
   LEGAL PAGES (privacy, terms, cookie)
   ============================== */
.legal-page {
  padding-top: 120px;
  padding-bottom: 96px;
  min-height: 100vh;
  background: var(--black);
}
.legal-inner {
  max-width: 780px;
  margin: 0 auto;
}
.legal-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.legal-date {
  font-size: 0.85rem;
  color: var(--gray-2);
  margin-bottom: 48px;
}
.legal-inner h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 36px 0 12px;
}
.legal-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-inner ul {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
  padding-left: 20px;
}
.legal-inner li { margin-bottom: 6px; }
.legal-inner a { color: var(--orange); }

/* ==============================
   SUCCESS PAGE
   ============================== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  text-align: center;
  padding: 40px 24px;
}
.success-inner {
  max-width: 480px;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 2px solid rgba(244,98,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
}
.success-inner h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.success-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ==============================
   RESPONSIVE TWEAKS
   ============================== */
@media (max-width: 540px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 14px; }
  .stat-sep { display: none; }
  .step { padding: 22px 20px; }
}
