/* ===== WARM THEME — Cozy, earthy, inviting ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

:root {
  --primary: #d97706;
  --primary-dark: #b45309;
  --primary-light: #f59e0b;
  --accent: #ea580c;
  --bg: #1c1108;
  --surface: #261a10;
  --surface-hover: #2e2018;
  --text: #fef3e2;
  --text-muted: rgba(254, 243, 226, 0.6);
  --text-dim: rgba(254, 243, 226, 0.35);
  --border: rgba(217, 119, 6, 0.1);
  --border-hover: rgba(217, 119, 6, 0.25);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 40px -10px rgba(217, 119, 6, 0.15);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 8px 24px -6px rgba(217, 119, 6, 0.3);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", "DM Sans", system-ui, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

/* ===== LOADING SCREEN — Warm pulse ===== */
.loading-screen {
  background: var(--bg) !important;
  z-index: 99999;
}
.loading-logo {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 600;
  position: relative;
}
.loading-logo span {
  color: var(--primary);
}
.loading-screen::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.2), transparent 70%);
  animation: warm-pulse 1.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes warm-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* ===== BACKGROUND LAYERS ===== */
.noir-bg {
  background: linear-gradient(170deg, #2a1a0c 0%, #1c1108 50%, #150d06 100%) !important;
}
.noir-grid {
  opacity: 0.25;
}
.noir-glow {
  background: radial-gradient(ellipse 600px 600px at 50% 40%, rgba(217, 119, 6, 0.07), transparent 70%) !important;
}
.grain-overlay {
  opacity: 0.025;
}

/* ===== FLOATING GLOW ORBS ===== */
.hero-section::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.06), transparent 70%);
  animation: float-orb-1 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05), transparent 70%);
  animation: float-orb-2 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.1); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}
@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, -30px) scale(1.15); }
}

/* ===== HEADER ===== */
.header {
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  background: rgba(28, 17, 8, 0.8);
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
}
.logo span {
  color: var(--primary);
}

/* ===== HERO ===== */
.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-eyebrow {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--primary-light);
  opacity: 0;
}
.hero-eyebrow.revealed {
  opacity: 1;
}
.gradient-text-blue-animated {
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-size: 200% 200%;
  animation: warm-gradient-shift 4s ease infinite;
}
@keyframes warm-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.gradient-text-blue {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Hero char animation */
.hero-char {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s;
}
.hero-char.warm-glow {
  text-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-primary-hero {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #1c1108 !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary::before,
.btn-primary-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::before,
.btn-primary-hero:hover::before {
  transform: translateX(100%);
}
.btn-primary:hover,
.btn-primary-hero:hover {
  box-shadow: 0 8px 32px -4px rgba(217, 119, 6, 0.4), 0 0 60px -10px rgba(234, 88, 12, 0.2);
  transform: translateY(-3px);
}
.btn-ghost-hero {
  border-color: var(--border);
  color: var(--text);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}
.btn-ghost-hero:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.1);
}
.btn-shiny {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  border-radius: var(--radius-full);
  color: #1c1108 !important;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.btn-shiny:hover {
  box-shadow: 0 8px 32px -4px rgba(217, 119, 6, 0.4);
  transform: translateY(-3px);
}

/* ===== CARDS — Warm glow hover ===== */
.service-card-full {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--surface) !important;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.service-card-full::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 250px at var(--glow-x, 50%) var(--glow-y, 50%), rgba(217, 119, 6, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card-full:hover::before {
  opacity: 1;
}
.service-card-full:hover {
  border-color: var(--border-hover) !important;
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -12px rgba(217, 119, 6, 0.15);
}
.service-card-num {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  opacity: 0.35;
  font-size: 2rem;
}
.service-card-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
}
.service-tag {
  border-color: var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: border-color 0.3s, color 0.3s;
}
.service-card-full:hover .service-tag {
  border-color: var(--border-hover);
  color: var(--text);
}

/* ===== PROCESS CARDS ===== */
.process-card {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--surface) !important;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 200px at var(--glow-x, 50%) var(--glow-y, 50%), rgba(217, 119, 6, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.process-card:hover::before {
  opacity: 1;
}
.process-card:hover {
  border-color: var(--border-hover) !important;
  transform: translateY(-4px);
}
.process-num {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  opacity: 0.35;
  font-size: 2rem;
}
.process-icon {
  color: var(--primary);
}
.process-card-line {
  background: linear-gradient(90deg, var(--primary), transparent) !important;
}

/* ===== PORTFOLIO ===== */
.portfolio-browser-chrome {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
.portfolio-item {
  border-radius: var(--radius) !important;
  overflow: hidden;
}
.portfolio-badge {
  background: rgba(217, 119, 6, 0.15) !important;
  color: var(--primary) !important;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}
.portfolio-badge-dot {
  background: var(--primary) !important;
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--surface) !important;
  transition: border-color 0.3s;
}
.faq-item:hover,
.faq-item[open] {
  border-color: var(--border-hover) !important;
}
.faq-question {
  font-family: var(--font-display);
  font-weight: 500;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-icon::before,
.faq-icon::after {
  background: var(--primary);
}
.faq-item[open] .faq-icon::after {
  background: var(--primary);
}

/* ===== TICKER ===== */
.ticker-word--accent {
  color: var(--primary) !important;
}
.ticker-word--bold {
  color: var(--text);
  font-weight: 700;
}

/* ===== CTA ===== */
.cta-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.cta-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(217, 119, 6, 0.03), transparent, rgba(234, 88, 12, 0.02), transparent);
  animation: cta-rotate 20s linear infinite;
  pointer-events: none;
}
@keyframes cta-rotate {
  to { transform: rotate(360deg); }
}

/* ===== SECTION HEADERS ===== */
.section-label {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ===== FOOTER ===== */
.footer {
  border-top-color: var(--border);
}
.footer-brand .logo span {
  color: var(--primary);
}
.footer-col h4 {
  color: var(--primary);
}
.review-cta {
  color: var(--primary);
  transition: color 0.3s;
}
.review-cta:hover {
  color: var(--primary-light);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.scroll-top:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.15);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  background: linear-gradient(90deg, var(--primary), var(--accent)) !important;
  height: 3px;
}

/* ===== HERO PROOF ITEMS ===== */
.hero-proof-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-proof-item.proof-revealed {
  opacity: 1;
  transform: translateY(0);
}
.hero-proof-dot {
  background: var(--primary) !important;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.4);
}
