/* ============================================
   CAMPAIGN LANDING PAGES (e.g. /startup/)
   Builds on style.css tokens and components.
   ============================================ */

/* Show only the active language */
html[lang="ar"] [data-lang="en"],
html[lang="en"] [data-lang="ar"] {
  display: none !important;
}

.landing section {
  padding: 72px 0;
}

/* Top bar */
.lp-top {
  position: sticky;
  top: 0;
  z-index: var(--z-navbar);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.lp-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.lp-logo img {
  height: 30px;
  width: auto;
}

.lp-form-card .contact-form {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.lp-top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-lang {
  padding: 8px 14px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
}

.lp-top-wa {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

/* Hero */
.landing .lp-hero {
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25), transparent 65%);
  z-index: -1;
}

.lp-hero-inner {
  max-width: 820px;
}

.lp-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

/* Highlighted part ("in 7 days") always on its own line, never split */
.lp-title .gradient-text {
  display: block;
  white-space: nowrap;
}

.lp-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.lp-price[hidden] {
  display: none;
}

.lp-price {
  display: inline-block;
  margin-bottom: 1.75rem;
  padding: 0.6rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-family: var(--font-body);
  color: var(--text-secondary);
}

.lp-price strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.lp-price-from {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.lp-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.lp-assurances i {
  color: var(--secondary-color);
  margin-inline-end: 0.35rem;
}

/* Trusted by */
.landing .lp-logos {
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.lp-logos-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.lp-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.lp-logos-row img {
  height: 30px;
  width: auto;
  filter: var(--client-logo-filter);
  opacity: var(--client-logo-opacity);
}

/* Sections */
.lp-alt {
  background: var(--bg-secondary);
}

.landing .section-header {
  margin-bottom: 2.5rem;
}

.landing .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* Features */
.lp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .lp-features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .lp-features { grid-template-columns: repeat(4, 1fr); }
}

.lp-feature {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.lp-feature i {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.lp-feature h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.lp-feature p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Work */
.lp-work {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .lp-work { grid-template-columns: repeat(3, 1fr); }
}

.lp-work-item {
  display: block;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.lp-work-item:hover {
  transform: translateY(-4px);
}

.lp-work-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.lp-work-item span {
  display: block;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-heading);
}

/* Form */
.lp-form-wrap > * {
  min-width: 0;
}

.lp-form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .lp-form-wrap { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.lp-form-intro p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.lp-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-form-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
}

.lp-submit {
  width: 100%;
  justify-content: center;
}

.lp-form-error {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #ff6b6b;
}

.lp-success {
  text-align: center;
  padding: 2rem 0;
  font-family: var(--font-body);
}

.lp-success i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.lp-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* Footer */
.lp-footer {
  padding: 2rem 0 6rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

.lp-footer a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Sticky WhatsApp bar (phones only) */
.lp-sticky {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--z-navbar);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lp-sticky i {
  font-size: 1.3rem;
}

@media (min-width: 768px) {
  .lp-sticky { display: none; }
  .lp-footer { padding-bottom: 2rem; }
}

@media (max-width: 480px) {
  .lp-top-wa span { display: none !important; }
  .landing .container { padding: 0 1rem; }
  .lp-form-card { padding: 1.25rem; }
  .landing section { padding: 56px 0; }
  .lp-cta .btn { width: 100%; justify-content: center; }
}
