/* Alphabell — custom brand styles (Tailwind utilities are loaded via CDN) */

/* Brand palette */
:root {
  --ab-blue-dark:   #082EB5;
  --ab-blue-darker: #0B1436;
  --ab-blue:        #2563EB;
  --ab-gray-dark:   #282A3E;
  --ab-gray-light:  #8894AA;
  --ab-gray-lighter:#F4F7FA;
  --ab-body:        #4a4a53;
}

html, body { font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }
body { color: var(--ab-body); }
h1, h2, h3, h4, h5 { color: #000; font-weight: 500; }

/* Layout container */
.container-narrow {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 72rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (min-width: 1280px) {
  .container-narrow { padding-left: 1rem; padding-right: 1rem; }
}

/* Hero (home) */
.home-hero {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(276deg, #007aff 30%, #ff00cf);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Page hero (services, pricing, blog) */
.page-hero {
  background-color: #323232;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(276deg, #007aff 30%, #ff00cf);
  mix-blend-mode: multiply;
}

/* Brand color helpers (mirror the Tailwind extensions on the original) */
.bg-blue-dark   { background-color: var(--ab-blue-dark); }
.bg-blue-darker { background-color: var(--ab-blue-darker); }
.bg-gray-lighter{ background-color: var(--ab-gray-lighter); }
.text-blue-dark { color: var(--ab-blue-dark); }
.text-blue      { color: var(--ab-blue); }
.text-gray-dark { color: var(--ab-gray-dark); }
.text-dark-gray { color: var(--ab-gray-dark); }
.text-muted-gray{ color: #6b7280; }
.text-muted     { color: #9aa0aa; }
.border-gray-light { border-color: var(--ab-gray-light); }

/* Animated "Know More" button on home cards */
.exp-btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
.exp-btn.btn { width: 12rem; height: auto; }
.exp-btn.btn .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #282936;
  border-radius: 1.625rem;
}
.exp-btn.btn .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}
.exp-btn.btn .circle .icon.arrow {
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
.exp-btn.btn .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}
.exp-btn.btn .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  inset: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #282936;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}
.exp-btn:hover .circle { width: 100%; }
.exp-btn:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem);
}
.exp-btn:hover .button-text { color: #fff; }

/* Floating form labels */
.form-field { position: relative; padding-bottom: 1.5rem; }
.form-field label {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(14px, 14px) scale(1);
  transform-origin: top left;
  transition: transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
  z-index: 1;
  padding: 0 4px;
  color: #acacac;
  background: #fff;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  transform: translate(14px, -8px) scale(0.75);
  color: var(--ab-blue-dark);
  z-index: 2;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--ab-gray-light);
  background: transparent;
  border-radius: 2px;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--ab-blue-dark); }

/* Pricing card shadow */
.box-shadow { box-shadow: 0 10px 30px rgba(13, 22, 50, 0.08); }

/* Nav transitions */
.nav-bg-transparent { background-color: transparent; }
.nav-bg-white { background-color: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }

/* Blog card hover */
.blog-card { transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }

/* Misc */
section h1, section h2 { letter-spacing: -0.01em; }
a { transition: color .15s ease, opacity .15s ease; }
