/* ═══════════════════════════════════════════════
   CREDIT AMAZE LLC — style.css
   Aesthetic: Refined Luxury Finance × Deep Navy
   Fonts: Cormorant Garamond (display) + DM Sans (body)
═══════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────── */
:root {
  --navy-950: #030d1f;
  --navy-900: #06152e;
  --navy-800: #0a1e42;
  --navy-700: #0e2a5a;
  --navy-600: #123472;
  --blue-500: #1a4fbe;
  --blue-400: #2563eb;
  --blue-300: #3b82f6;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --cyan:     #38bdf8;
  --gold:     #c9a84c;
  --white:    #ffffff;
  --text-primary:   #e8edf8;
  --text-secondary: #94aad0;
  --text-muted:     #5b7299;
  --border:         rgba(59, 130, 246, 0.18);
  --border-light:   rgba(59, 130, 246, 0.10);
  --glass:          rgba(10, 30, 66, 0.60);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:  0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md:  0 8px 32px rgba(0, 0, 0, 0.50);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.20);
}

/* ─── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--navy-950);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
address { font-style: normal; }

ul { list-style: none; }

/* ─── Container ──────────────────────────────── */
.container {
  width: 90%;
  max-width: 1160px;
  margin-inline: auto;
}

/* ─── Typography helpers ─────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  color: var(--cyan);
}

.section-title.centered,
.section-sub.centered,
.section-label.centered {
  text-align: center;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 3rem;
}

.section-sub.centered { margin-inline: auto; }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue-400);
  color: var(--white);
  border-color: var(--blue-400);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.40);
}

.btn--primary:hover {
  background: var(--blue-300);
  border-color: var(--blue-300);
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.55);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-200);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: rgba(37, 99, 235, 0.10);
  border-color: var(--blue-300);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.6rem 1.35rem; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 1.1rem 0;
  transition: background var(--transition), border-color var(--transition), padding var(--transition);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(3, 13, 31, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--border);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  text-decoration: none;
  line-height: 1;
}

.logo-credit {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.logo-amaze {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.03em;
}

.logo-llc {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  align-self: center;
}

.logo--sm .logo-credit,
.logo--sm .logo-amaze { font-size: 1.2rem; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  background: var(--blue-400);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 2px 12px rgba(37,99,235,0.35);
}

.nav-cta:hover {
  background: var(--blue-300);
  box-shadow: 0 4px 18px rgba(59,130,246,0.50);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%);
  bottom: 0;
  right: -5%;
  animation: orbFloat2 15s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(40px, 30px); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-30px, -25px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
  animation: heroReveal 1s ease forwards;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--cyan);
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
#about {
  padding: 7rem 0;
  border-top: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
}

.about-text .btn { margin-top: 0.75rem; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.value-card {
  background: linear-gradient(135deg, rgba(10,30,66,0.8), rgba(6,21,46,0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  border-color: rgba(59,130,246,0.40);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.value-icon {
  font-size: 1.4rem;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.1rem;
  line-height: 1;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
#services {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 50%, rgba(18,52,114,0.30) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(56,189,248,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  background: linear-gradient(155deg, rgba(14,42,90,0.6) 0%, rgba(6,21,46,0.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.07), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(59,130,246,0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(37,99,235,0.15);
}

.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(37,99,235,0.20);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card > p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-features li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-size: 0.75rem;
}

/* CTA card */
.service-card--cta {
  background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(18,52,114,0.60));
  border-color: rgba(37,99,235,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-card-inner {
  text-align: center;
}

.cta-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.cta-card-inner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cta-card-inner > p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
#faq {
  padding: 7rem 0;
  border-top: 1px solid var(--border-light);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--white); }

.faq-question[aria-expanded="true"] { color: var(--cyan); }

.faq-icon {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--blue-300);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 1.35rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-answer a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
#contact {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(18,52,114,0.30) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
  margin-top: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.25rem;
  color: var(--cyan);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

a.contact-value:hover { color: var(--cyan); }

/* Form */
.contact-form {
  background: linear-gradient(155deg, rgba(14,42,90,0.45) 0%, rgba(6,21,46,0.75) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(6,21,46,0.70);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  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='%235b7299' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group select option { background: var(--navy-800); color: var(--text-primary); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -0.25rem;
}

.form-success {
  font-size: 0.9rem;
  color: var(--cyan);
  text-align: center;
  min-height: 1.4em;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#footer {
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   SECTION SPACING
═══════════════════════════════════════════════ */
section { padding-block: 7rem; }
#hero   { padding-block: 0; }
#footer { padding-block: 2.5rem; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet
═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-title    { font-size: clamp(2.5rem, 6vw, 4rem); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile
═══════════════════════════════════════════════ */
@media (max-width: 660px) {
  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    inset-inline: 0;
    background: rgba(3,13,31,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.5rem 2rem;
    gap: 0.25rem;
  }

  .nav.open { display: flex; }

  .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 1rem;
  }

  .nav-cta { text-align: center; }

  .burger { display: flex; }

  .hero-inner    { max-width: 100%; }
  .hero-title    { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-actions  { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .services-grid  { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form   { padding: 1.75rem; }

  section { padding-block: 5rem; }
}

/* ─── AOS overrides ──────────────────────────── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }
