/* ===========================
   finalcta.css — UlapTax
   Brand: #ff7704 · #161616 · #fafbfd
   Fonts: Fira Sans · Inter
   =========================== */

* {
  box-sizing: border-box;
}

:root {
  /* UlapBiz Design System */
  --clr-primary: #ff7704;
  --clr-primary-light: #ff9933;
  --clr-primary-pale: #fff5eb;
  --clr-primary-dark: #e66000;
  --clr-black: #161616;
  --clr-white: #ffffff;
  --clr-bg: #fafbfd;

  --ff-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-content: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-alt: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --fs-hero: 3rem;
  --fs-section: 2rem;
  --fs-content: 1rem;
  --fs-small: 0.875rem;

  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Updated Section Design ── */
.cta-section {
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
  box-sizing: border-box;
  background: var(--clr-bg);
  overflow: hidden;
}

.cta-card {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(135deg, #ff7704 0%, #161616 100%);
  border-radius: 16px;
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  border: 1px solid rgba(255, 119, 4, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Subtle background glow */
.cta-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 119, 4, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-content {
  flex: 1;
  text-align: left;
}

.cta-title {
  font-family: var(--ff-primary);
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-family: var(--ff-content);
  font-size: var(--fs-content);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--ff-content);
  font-size: var(--fs-content);
  font-weight: 600;
  text-decoration: none;
  /* transition: all 0.3s var(--transition); */
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn--primary:hover {
  background: var(--clr-primary-light);
  /* transform: translateY(-2px); */
  box-shadow: 0 8px 20px rgba(255, 119, 4, 0.3);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  /* transform: translateY(-2px); */
}

.btn:active {
  transform: scale(1);
  box-shadow: none;
}

/* ── Ripple Effect ─────────────────────────────────────────────────── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .cta-section {
    padding: 40px 16px;
  }
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 48px 24px;
    width: 100%;
    gap: 32px;
  }
  .cta-content {
    text-align: center;
    width: 100%;
  }
  .cta-title {
    font-size: 1.75rem;
  }
  .cta-sub {
    margin: 0 auto 24px;
    font-size: 0.95rem;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    flex-shrink: 1;
    margin-top: 32px;
  }
  .btn {
    width: 100%;
    padding: 14px 20px;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .cta-card {
    padding: 40px 20px;
  }
  .cta-title {
    font-size: 1.5rem;
  }
}
