/* =============================================
   PRAISE | Portfolio — Custom Styles
   ============================================= */

:root {
  --gold: #F5C518;
  --gold-light: #FFD54F;
  --gold-dark: #C8A400;
  --dark: #070707;
  --dark-2: #0f0f0f;
  --dark-3: #181818;
  --dark-4: #222222;
  --dark-5: #2c2c2c;
  --text-muted: #888;
  --text-dim: #555;
  --white: #ffffff;
  --off-white: #f0ede8;
  --radius: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ===== CUSTOM CURSOR ===== */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}

#cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(245, 197, 24, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease-out, top 0.12s ease-out, width 0.3s ease, height 0.3s ease;
}

body:hover #cursor { opacity: 1; }

a, button, .cursor-hover {
  cursor: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ===== SELECTION ===== */
::selection { background: var(--gold); color: var(--dark); }

/* ===== TYPOGRAPHY ===== */
.font-display { font-family: 'Playfair Display', serif; }

.text-gradient {
  background: linear-gradient(135deg, #F5C518 0%, #FFE57A 50%, #C8A400 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-stroke {
  -webkit-text-stroke: 1px var(--gold);
  color: transparent;
}

/* ===== NOISE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px 0;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.1);
  padding: 14px 0;
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(245,197,24,0.3); }
.btn-primary:hover::before { left: 100%; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(245,197,24,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 10% 80%, rgba(245,197,24,0.04) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(245,197,24,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,197,24,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge span {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 520px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold), transparent 60%, var(--gold-dark));
  border-radius: 20px;
  z-index: 0;
}

.hero-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.hero-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px 22px;
  text-align: center;
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

/* floating card on hero */
.float-card {
  background: rgba(15,15,15,0.9);
  border: 1px solid rgba(245,197,24,0.15);
  backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== SECTION STYLES ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}

/* ===== MARQUEE ===== */
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee-scroll 20s linear infinite;
  width: max-content;
}

.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== TRUST CARDS ===== */
.trust-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.trust-card:hover {
  border-color: rgba(245,197,24,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

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

.trust-icon {
  width: 48px; height: 48px;
  background: rgba(245,197,24,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

/* ===== BENEFIT ITEMS ===== */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s ease;
}

.benefit-item:hover { background: rgba(245,197,24,0.02); }

.benefit-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(245,197,24,0.12);
  line-height: 1;
  min-width: 60px;
}

/* ===== CASE STUDIES ===== */
.case-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
}

.case-card:hover { transform: translateY(-6px); border-color: rgba(245,197,24,0.2); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

.case-metric {
  text-align: center;
  padding: 16px;
  background: rgba(245,197,24,0.05);
  border: 1px solid rgba(245,197,24,0.1);
  border-radius: 10px;
}

.case-metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.case-metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== PROJECT GRID ===== */
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.project-card:hover { border-color: rgba(245,197,24,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.project-card:hover img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,7,0.95) 0%, rgba(7,7,7,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===== PRICING ===== */
.pricing-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all 0.4s ease;
}

.pricing-card.popular {
  background: linear-gradient(135deg, rgba(245,197,24,0.08) 0%, rgba(15,15,15,1) 50%);
  border-color: rgba(245,197,24,0.3);
}

.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 28px 70px rgba(0,0,0,0.5); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
}

.price-currency-symbol {
  font-size: 1.4rem;
  vertical-align: super;
  color: var(--gold);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-feature:last-child { border-bottom: none; }

.feature-check {
  width: 18px; height: 18px;
  background: rgba(245,197,24,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 10px;
}

/* Currency Switcher */
.currency-btn {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: none;
  transition: all 0.3s ease;
}

.currency-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 600;
}

.currency-btn:hover:not(.active) {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(245,197,24,0.15);
  transform: translateY(-4px);
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 0.8;
  color: rgba(245,197,24,0.1);
  margin-bottom: 8px;
  display: block;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 22px 0;
  cursor: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s ease;
}

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

.faq-icon {
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  color: var(--gold);
}

.faq-item.open .faq-icon {
  background: var(--gold);
  color: var(--dark);
  transform: rotate(45deg);
  border-color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ===== CONTACT ===== */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
  -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select {
  border-color: rgba(245,197,24,0.3);
  background: rgba(245,197,24,0.03);
}

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

.contact-form select option {
  background: var(--dark-3);
  color: var(--white);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--white);
}

.contact-info-item:hover {
  border-color: rgba(245,197,24,0.2);
  background: rgba(245,197,24,0.03);
}

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(245,197,24,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

/* ===== WHATSAPP FLOAT ===== */
#whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9998;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.6);
}

/* ===== SKILLS PILLS ===== */
.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.skill-pill:hover {
  background: rgba(245,197,24,0.1);
  border-color: rgba(245,197,24,0.3);
  color: var(--gold);
}

/* ===== ANIMATIONS / REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-link {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-link:hover { color: var(--gold); }

.social-btn {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,197,24,0.05);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7,7,7,0.97);
  backdrop-filter: blur(20px);
  z-index: 9990;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.18,1);
}

#mobile-menu.open {
  transform: translateY(0);
}

.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover { color: var(--gold); }

/* ===== SECTION BACKGROUNDS ===== */
.bg-dark-2 { background-color: var(--dark-2); }
.bg-dark-3 { background-color: var(--dark-3); }

/* line between sections */
.section-border {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* horizontal glow line */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor, #cursor-follower { display: none; }
  a, button, .cursor-hover { cursor: pointer; }

  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
  .price-amount { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn-primary, .btn-outline { padding: 12px 20px; font-size: 0.85rem; }
}
