/* ============================================
   RUKHSANA AHMED-SUAREZ — AI AGENCY WEBSITE
   Custom Styles — Warm Dark / Editorial Premium
   ============================================ */

/* ---- Fonts ---- */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-space {
  font-family: 'Space Grotesk', sans-serif;
}

/* ---- Smooth Scroll ---- */
html {
  scroll-behavior: smooth;
}

/* ---- Signature italic phrase · Cormorant Garamond, italic, light weight.
       Pair with .gradient-text or .gradient-text-jewel for the full treatment. ---- */
.italic-phrase {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
}

/* ---- Gradient Text · Gold to Fuchsia (signature look) ---- */
.gradient-text {
  background: linear-gradient(135deg, #E0B550 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #B88A3E 0%, #E0B550 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Gradient Text · Fuchsia to Emerald (one special CTA moment) ---- */
.gradient-text-jewel {
  background: linear-gradient(135deg, #EC4899 0%, #14B87F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Background Patterns ---- */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(184, 138, 62, 0.09) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* Hero radial glow · matches color-preview.html hero ::before
   Pink ellipse top-left area + gold ellipse bottom-right area. */
.hero-glow-preview {
  position: relative;
  overflow: hidden;
}
.hero-glow-preview::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 60% 40% at 30% 40%, rgba(236, 72, 153, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 60%, rgba(184, 138, 62, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-preview > * {
  position: relative;
  z-index: 1;
}

/* Final CTA radial glow · pink + emerald ellipses. */
.cta-glow-preview {
  position: relative;
  overflow: hidden;
}
.cta-glow-preview::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(236, 72, 153, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 75% 50%, rgba(20, 184, 127, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-glow-preview > * {
  position: relative;
  z-index: 1;
}

/* Demo section uses the same treatment as Final CTA for consistency. */
.demo-glow-preview {
  position: relative;
  overflow: hidden;
}
.demo-glow-preview::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1100px;
  height: 600px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 75% 50%, rgba(20, 184, 127, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.demo-glow-preview > * {
  position: relative;
  z-index: 1;
}

/* Before/After section · softer side-positioned glow so it reads distinct from hero. */
.before-after-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(184, 138, 62, 0.12);
}
.before-after-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 500px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 40% 60% at 15% 30%, rgba(236, 72, 153, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 85% 70%, rgba(184, 138, 62, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.before-after-section > * {
  position: relative;
  z-index: 1;
}

/* Centered gradient divider · short, decorative, used above section labels to break flow. */
.section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #B88A3E 30%, #EC4899 70%, transparent 100%);
  border-radius: 2px;
}

/* Keep legacy class so any remaining references don't break. */
.hero-glow {
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184, 138, 62, 0.10) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 20% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
}

/* ---- Navigation ---- */
#navbar {
  background-color: rgba(14, 13, 11, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 1px 0 rgba(184, 138, 62, 0.08), 0 4px 32px rgba(184, 138, 62, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background-color: rgba(14, 13, 11, 0.96);
  border-bottom: 1px solid rgba(184, 138, 62, 0.15);
  box-shadow: 0 1px 0 rgba(184, 138, 62, 0.15), 0 4px 40px rgba(184, 138, 62, 0.1);
}

/* ---- Buttons ---- */
.btn-gold {
  background-color: #B88A3E;
  color: #1C1208;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  padding: 14px 32px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-gold:hover {
  background-color: #E0B550;
  box-shadow: 0 8px 32px rgba(184, 138, 62, 0.45), 0 0 0 4px rgba(236, 72, 153, 0.12);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid #EC4899;
  color: #EC4899;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  padding: 12px 32px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: transparent;
}

.btn-outline:hover {
  background-color: #EC4899;
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.35);
  transform: translateY(-1px);
}

.btn-outline-emerald {
  border: 2px solid #14B87F;
  color: #14B87F;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  padding: 12px 32px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: transparent;
}

.btn-outline-emerald:hover {
  background-color: #14B87F;
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(20, 184, 127, 0.35);
  transform: translateY(-1px);
}

.btn-emerald {
  background-color: #14B87F;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  padding: 14px 32px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-emerald:hover {
  background-color: #1FD18E;
  box-shadow: 0 8px 32px rgba(20, 184, 127, 0.45), 0 0 0 4px rgba(236, 72, 153, 0.12);
  transform: translateY(-1px);
}

/* ---- Cards ---- */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(194, 24, 91, 0.10), 0 2px 6px rgba(28, 18, 8, 0.04);
  border-color: rgba(236, 72, 153, 0.3) !important;
}

.pain-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(28, 18, 8, 0.06);
  border-color: rgba(184, 138, 62, 0.3) !important;
}

.testimonial-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28, 18, 8, 0.08);
}

/* ---- Voice Agent Demo Section ---- */
.voice-demo-widget {
  background: linear-gradient(135deg, #12100E 0%, #1A1612 50%, #0E0D0B 100%);
  border: 1px solid rgba(184, 138, 62, 0.25);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(184, 138, 62, 0.06), inset 0 1px 0 rgba(255,255,255,0.04);
}

.voice-demo-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* ---- Pulse Animation · ring around primary gold button ---- */
.pulse-btn {
  position: relative;
  display: inline-block;
}

.pulse-btn::before,
.pulse-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(184, 138, 62, 0.3);
  animation: pulse-ring 2.5s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

.pulse-btn::after {
  animation-delay: 0.8s;
}

.pulse-btn > .btn-gold {
  position: relative;
  z-index: 1;
}

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ---- Workflow Cards (Hero Visual) ---- */
.workflow-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.workflow-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, #B88A3E, #EC4899);
  margin: 0 auto;
  border-radius: 4px;
}

/* ---- Float animation for hero visual ---- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.float-animation {
  animation: float 5s ease-in-out infinite;
}

/* ---- Badge / Pill ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 138, 62, 0.1);
  border: 1px solid rgba(184, 138, 62, 0.35);
  color: #E0B550;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  padding: 10px 22px;
  border-radius: 9999px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EC4899;
  display: inline-block;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- Section Labels ---- */
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #B88A3E;
}

/* ---- Divider ---- */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 62, 0.25), transparent);
}

/* ---- Stat Numbers · gold for editorial weight ---- */
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #E0B550;
  line-height: 1;
}

/* ---- About section photo ---- */
.about-photo {
  height: auto;
  border-radius: 24px;
  display: block;
}

/* ---- About section image placeholder ---- */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #EDE5D8 0%, #F0EAE0 50%, #E8E0D5 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7A6A55;
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;
  border: 1px dashed rgba(184, 138, 62, 0.35);
  position: relative;
  overflow: hidden;
}

.photo-placeholder::after {
  content: 'Your photo here';
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(184, 138, 62, 0.12);
  border: 1px solid rgba(184, 138, 62, 0.3);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 12px;
  color: #7A5F20;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- Mobile Menu ---- */
#mobile-menu {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
  display: none;
}

/* ---- Credential chips ---- */
.credential-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #C4C4D0;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
}

/* ---- Testimonial quote mark ---- */
.quote-mark {
  font-size: 84px;
  line-height: 0.6;
  color: rgba(212, 168, 67, 0.2);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

/* ---- Cream sections · About & Testimonials ---- */
#about h2 {
  color: #1C1208;
}

#about p {
  color: #4A3828;
}

#about .credential-chip {
  background: rgba(28, 18, 8, 0.06);
  border-color: rgba(28, 18, 8, 0.12);
  color: #4A3828;
}

#about .photo-placeholder {
  background: linear-gradient(135deg, #EDE5D8 0%, #F0EAE0 50%, #E8E0D5 100%);
  border-color: rgba(184, 138, 62, 0.35);
}

#testimonials h2 {
  color: #1C1208;
}

#testimonials .quote-mark {
  color: rgba(184, 138, 62, 0.5);
}

/* ---- Projects section · "Recent Work" ---- */
.project-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28, 18, 8, 0.08);
}

.project-number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  color: #B88A3E;
  display: block;
  margin-bottom: 16px;
}

.project-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7A6A55;
}

#projects .section-label {
  color: #C2185B;
}

/* All three project numbers use the default gold (#B88A3E) from the .project-number rule above. */

/* ---- Cream-section flips · Pain, Services, Contact ----
   These sections were dark. They are now cream.
   Overrides flip dark-oriented Tailwind utilities to ink-on-cream. */

#pain, #services, #contact {
  color: #1C1208;
}

#pain .text-white,
#services .text-white,
#contact .text-white {
  color: #1C1208 !important;
}

#pain [class*="border-white"],
#services [class*="border-white"],
#contact [class*="border-white"]:not(input):not(textarea) {
  border-color: rgba(28, 18, 8, 0.08) !important;
}

/* ---- Form inputs on cream bg ---- */
input[type="text"],
input[type="email"],
textarea {
  background: rgba(242, 235, 224, 0.5) !important;
  border-color: rgba(28, 18, 8, 0.12) !important;
  color: #1C1208 !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: #7A6A55 !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #B88A3E !important;
  background: #FFFFFF !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 138, 62, 0.15);
}

/* ---- Services section · soft radial ambience (pink + gold in opposite corners) ---- */
#services {
  position: relative;
  overflow: hidden;
}

#services::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#services::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 138, 62, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#services > div {
  position: relative;
  z-index: 1;
}

/* ---- Fuchsia eyebrow labels on cream sections ---- */
#services .section-label,
#pain .section-label,
#about .section-label,
#testimonials .section-label {
  color: #C2185B;
}

/* ---- Bright fuchsia eyebrow on dark Demo section ---- */
#demo .section-label {
  color: #EC4899;
}

/* ---- Service card icon box · unified gold across all three cards ---- */
#services .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 700;
  background: rgba(184, 138, 62, 0.12);
  color: #B88A3E;
}

/* ---- Preview-style bullet list with emerald checkmarks ---- */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #4A3828;
}
.service-list li {
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #047857;
  font-weight: 700;
}

/* ---- Responsive adjustments ---- */
@media (max-width: 768px) {
  .btn-gold, .btn-outline, .btn-outline-emerald {
    padding: 13px 24px;
    font-size: 15px;
  }

  .voice-demo-widget {
    padding: 36px 24px;
  }
}
