/* ================================================================
   INK STUDIO — PREMIUM EXTRAS
   Advanced visual effects, animations, textures
   ================================================================ */

/* ── Noise texture overlay ── */
.noise-overlay::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.04;
  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)'/%3E%3C/svg%3E");
}

/* ── Dot grid pattern ── */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Animated gradient border ── */
.grad-border {
  position: relative; border-radius: 16px;
}
.grad-border::before {
  content: '';
  position: absolute; inset: -1.5px; border-radius: 17px; z-index: -1;
  background: linear-gradient(135deg, #FF6B35, #9D00FF, #4ECDC4, #FF006E, #FF6B35);
  background-size: 300% 300%;
  animation: gradBorderSpin 4s linear infinite;
}
@keyframes gradBorderSpin { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* ── Shimmer / skeleton ── */
.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: shimmerMove 1.8s ease-in-out infinite;
}
@keyframes shimmerMove { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

/* ── Glow pulse ── */
.glow-pulse-orange { animation: glowPulseOrange 2.5s ease-in-out infinite; }
.glow-pulse-teal   { animation: glowPulseTeal   2.5s ease-in-out infinite; }
.glow-pulse-purple { animation: glowPulsePurple 2.5s ease-in-out infinite; }
@keyframes glowPulseOrange { 0%,100%{box-shadow:0 0 16px rgba(255,107,53,0.3)} 50%{box-shadow:0 0 32px rgba(255,107,53,0.7),0 0 64px rgba(255,107,53,0.2)} }
@keyframes glowPulseTeal   { 0%,100%{box-shadow:0 0 16px rgba(78,205,196,0.3)} 50%{box-shadow:0 0 32px rgba(78,205,196,0.7),0 0 64px rgba(78,205,196,0.2)} }
@keyframes glowPulsePurple { 0%,100%{box-shadow:0 0 16px rgba(157,0,255,0.3)} 50%{box-shadow:0 0 32px rgba(157,0,255,0.7),0 0 64px rgba(157,0,255,0.2)} }

/* ── Neon text ── */
.neon-text-orange { color:#FF6B35; text-shadow:0 0 12px rgba(255,107,53,0.8),0 0 32px rgba(255,107,53,0.4); }
.neon-text-teal   { color:#4ECDC4; text-shadow:0 0 12px rgba(78,205,196,0.8),0 0 32px rgba(78,205,196,0.4); }
.neon-text-purple { color:#9D00FF; text-shadow:0 0 12px rgba(157,0,255,0.8),0 0 32px rgba(157,0,255,0.4); }

/* ── Glass 2.0 (backdrop blur) ── */
.glass-blur {
  background: rgba(14,14,26,0.7) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08) !important;
}

/* ── Enhanced stat card ── */
.stat-card-modern {
  background: linear-gradient(145deg, rgba(14,14,26,1) 0%, rgba(19,19,32,1) 100%) !important;
}
.stat-card-modern .stat-value {
  font-size: 2.4rem !important;
  letter-spacing: -1px;
}

/* ── table-modern alias & enhancements ── */
.table-modern {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 0.875rem;
}
.table-modern thead tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.table-modern thead th {
  padding: 12px 16px;
  font-size: 0.68rem; font-weight: 700;
  color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1.2px;
  white-space: nowrap; background: transparent;
}
.table-modern tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.table-modern tbody tr:hover { background: rgba(255,107,53,0.04); }
.table-modern td {
  padding: 14px 16px; color: rgba(255,255,255,0.65);
  vertical-align: middle;
}
.table-modern td:first-child { color: white; font-weight: 500; }
.table-modern tbody tr:last-child td { border-bottom: none; }

/* ── Pricing card ── */
.pricing-card {
  background: linear-gradient(145deg, rgba(14,14,26,1), rgba(19,19,32,1));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF6B35, #9D00FF);
  opacity: 0; transition: opacity 0.3s;
}
.pricing-card:hover { transform: translateY(-6px); border-color: rgba(255,107,53,0.25); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.pricing-card:hover::before { opacity: 1; }

.pricing-card.featured {
  border-color: rgba(255,107,53,0.35);
  background: linear-gradient(145deg, rgba(255,107,53,0.06), rgba(157,0,255,0.06));
  box-shadow: 0 0 0 1px rgba(255,107,53,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}
.pricing-card.featured::before { opacity: 1; }
.pricing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  background: linear-gradient(135deg, #FF6B35, #9D00FF);
  color: white; margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255,107,53,0.35);
}
.pricing-price {
  font-size: 3rem; font-weight: 900; line-height: 1; letter-spacing: -2px;
  background: linear-gradient(135deg, #FF6B35, #9D00FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-price-free {
  background: linear-gradient(135deg, #4ECDC4, #00F5FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
}
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature i { font-size: 0.9rem; margin-top: 1px; flex-shrink: 0; }
.pricing-feature.has i { color: #4ECDC4; }
.pricing-feature.has-pro i { color: #FF6B35; }
.pricing-feature.no  i { color: rgba(255,255,255,0.15); }
.pricing-feature.no  span { color: rgba(255,255,255,0.25); text-decoration: line-through; }
.pricing-img {
  width: 100%; height: 140px; border-radius: 12px; overflow: hidden;
  margin-bottom: 20px; position: relative;
}
.pricing-img img { width: 100%; height: 100%; object-fit: cover; }
.pricing-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,7,13,0.8) 0%, transparent 60%);
}

/* ── Feature icon 2.0 ── */
.feature-icon-modern {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white; flex-shrink: 0;
  background: linear-gradient(135deg, #FF6B35, #9D00FF);
  box-shadow: 0 8px 20px rgba(255,107,53,0.3);
  position: relative; overflow: hidden;
}
.feature-icon-modern::after {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.fi-teal   { background: linear-gradient(135deg, #4ECDC4, #00F5FF); box-shadow: 0 8px 20px rgba(78,205,196,0.3); }
.fi-purple { background: linear-gradient(135deg, #9D00FF, #BB33FF); box-shadow: 0 8px 20px rgba(157,0,255,0.3); }
.fi-pink   { background: linear-gradient(135deg, #FF006E, #FF6B35); box-shadow: 0 8px 20px rgba(255,0,110,0.3); }

/* ── Section chip (pill label) ── */
.section-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(255,107,53,0.1); color: #FF6B35;
  border: 1px solid rgba(255,107,53,0.25);
}

/* ── Section title large ── */
.section-title-lg {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -1px;
  color: white;
}

/* ── Parallax / scroll fade ── */
.scroll-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Card image thumb ── */
.card-thumb {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 12px 12px 0 0; position: relative;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.card-thumb:hover img { transform: scale(1.05); }
.card-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,7,13,0.6) 0%, transparent 50%);
}

/* ── Auth page tattoo collage (left panel) ── */
.auth-tattoo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 140px 160px;
  gap: 8px;
  position: relative;
}
.auth-tattoo-collage .tc-item {
  border-radius: 12px; overflow: hidden; position: relative;
}
.auth-tattoo-collage .tc-item.span2 { grid-column: span 2; }
.auth-tattoo-collage .tc-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
  filter: brightness(0.75) saturate(0.9);
}
.auth-tattoo-collage .tc-item:hover img {
  transform: scale(1.08); filter: brightness(0.9) saturate(1.1);
}
.auth-tattoo-collage::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 80%, rgba(255,107,53,0.15) 0%, transparent 70%);
  pointer-events: none; border-radius: 12px;
}

/* ── Gradient divider ── */
.grad-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.4), rgba(157,0,255,0.4), transparent);
  margin: 40px 0; border: none;
}

/* ── Hover lift card ── */
.hover-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important; }

/* ── Number/stat highlight ── */
.big-number {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1; letter-spacing: -2px;
  background: linear-gradient(135deg, #FF6B35, #9D00FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Tag cloud ── */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); transition: all 0.15s; cursor: default; }
.tag:hover { background: rgba(255,107,53,0.1); border-color: rgba(255,107,53,0.3); color: #FF6B35; }

/* ── Back-of-card shine ── */
.shine-card { position: relative; overflow: hidden; }
.shine-card::after {
  content: '';
  position: absolute; top: -100%; left: -100%;
  width: 60%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  transform: rotate(15deg);
  transition: left 0.6s ease, top 0.6s ease;
  pointer-events: none;
}
.shine-card:hover::after { top: -100%; left: 120%; }

/* ── Sticky pricing CTA ── */
@media (max-width: 768px) {
  .pricing-card { margin-bottom: 16px; }
}

/* ── Tattoo style tags ── */
.style-tag {
  display: inline-block; padding: 3px 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; font-size: 0.7rem; font-weight: 600;
  color: rgba(255,255,255,0.5); letter-spacing: 0.3px;
}

/* ── Scroll indicator ── */
.scroll-indicator {
  width: 28px; height: 44px; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px; position: relative; margin: 0 auto;
}
.scroll-indicator::before {
  content: '';
  width: 4px; height: 8px; background: #FF6B35;
  border-radius: 2px;
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100%{top:6px;opacity:1} 50%{top:22px;opacity:0.3} }

/* ── Animated border button (codehalweb technique) ── */
.btn-border-anim {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none !important;
  color: var(--btn-clr, #FF6B35);
  padding: 14px 36px;
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; letter-spacing: 0.5px;
  border-radius: 10px;
  transition: color 0.3s, background 0.3s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-border-anim::before {
  content: '';
  position: absolute; inset: 0; border-radius: 10px;
  background: rgba(255,107,53,0.08);
  opacity: 0; transition: opacity 0.3s;
}
.btn-border-anim:hover::before { opacity: 1; }
.btn-border-anim span.ba-border {
  position: absolute;
  background: var(--btn-clr, #FF6B35);
}
.btn-border-anim span.ba-border:nth-child(1) {
  top: 0; left: -100%; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--btn-clr, #FF6B35));
  transition: 0.5s; transition-delay: 0s;
}
.btn-border-anim span.ba-border:nth-child(2) {
  top: -100%; right: 0; width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--btn-clr, #FF6B35));
  transition: 0.5s; transition-delay: 0.5s;
}
.btn-border-anim span.ba-border:nth-child(3) {
  bottom: 0; right: -100%; width: 100%; height: 2px;
  background: linear-gradient(270deg, transparent, var(--btn-clr, #FF6B35));
  transition: 0.5s; transition-delay: 1s;
}
.btn-border-anim span.ba-border:nth-child(4) {
  bottom: -100%; left: 0; width: 2px; height: 100%;
  background: linear-gradient(360deg, transparent, var(--btn-clr, #FF6B35));
  transition: 0.5s; transition-delay: 1.5s;
}
.btn-border-anim:hover span.ba-border:nth-child(1) { left: 100%; }
.btn-border-anim:hover span.ba-border:nth-child(2) { top: 100%; }
.btn-border-anim:hover span.ba-border:nth-child(3) { right: 100%; }
.btn-border-anim:hover span.ba-border:nth-child(4) { bottom: 100%; }

/* ── Stat card hover glow ── */
.stat-card-glow {
  transition: all 0.3s cubic-bezier(.4,0,.2,1) !important;
  position: relative;
}
.stat-card-glow::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  box-shadow: 0 0 0 1px rgba(255,107,53,0.3), 0 16px 40px rgba(255,107,53,0.15);
  transition: opacity 0.3s;
  pointer-events: none;
}
.stat-card-glow:hover { transform: translateY(-4px) !important; border-color: rgba(255,107,53,0.2) !important; }
.stat-card-glow:hover::after { opacity: 1; }
.stat-card-glow.teal::after  { box-shadow: 0 0 0 1px rgba(78,205,196,0.3),  0 16px 40px rgba(78,205,196,0.15); }
.stat-card-glow.purple::after{ box-shadow: 0 0 0 1px rgba(157,0,255,0.3),   0 16px 40px rgba(157,0,255,0.15); }
.stat-card-glow.teal:hover   { border-color: rgba(78,205,196,0.2) !important; }
.stat-card-glow.purple:hover { border-color: rgba(157,0,255,0.2) !important; }

/* ── Floating label input (codehalweb technique) ── */
.float-field {
  position: relative; margin-bottom: 20px;
}
.float-field input {
  width: 100%; background: rgba(255,255,255,0.04) !important;
  border: 1.5px solid rgba(255,255,255,0.1) !important;
  color: white !important; border-radius: 10px !important;
  padding: 20px 14px 8px !important; font-size: 0.875rem !important;
  transition: all 0.2s; font-family: 'Inter', sans-serif;
  outline: none;
}
.float-field input:focus {
  border-color: rgba(255,107,53,0.5) !important;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.08) !important;
  background: rgba(255,255,255,0.06) !important;
}
.float-field label {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 0.875rem; color: rgba(255,255,255,0.35);
  pointer-events: none; transition: all 0.2s ease;
  background: transparent;
}
.float-field input:focus ~ label,
.float-field input:not(:placeholder-shown) ~ label {
  top: 10px; transform: none;
  font-size: 0.68rem; font-weight: 700;
  color: #FF6B35; text-transform: uppercase; letter-spacing: 0.8px;
}

/* ── Glassmorphism card enhanced ── */
.glass-card-2 {
  background: rgba(14,14,26,0.6) !important;
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Particle dots background ── */
.particle-bg {
  position: relative; overflow: hidden;
}
.particle-bg::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle 1px at 20% 20%, rgba(255,107,53,0.4) 0%, transparent 0%),
    radial-gradient(circle 1px at 80% 15%, rgba(157,0,255,0.4) 0%, transparent 0%),
    radial-gradient(circle 1px at 60% 50%, rgba(78,205,196,0.4) 0%, transparent 0%),
    radial-gradient(circle 1px at 10% 70%, rgba(255,107,53,0.3) 0%, transparent 0%),
    radial-gradient(circle 1px at 90% 80%, rgba(157,0,255,0.3) 0%, transparent 0%),
    radial-gradient(circle 2px at 40% 85%, rgba(255,107,53,0.5) 0%, transparent 0%),
    radial-gradient(circle 1px at 70% 35%, rgba(78,205,196,0.3) 0%, transparent 0%);
  background-size: 100% 100%;
  animation: particleFloat 8s ease-in-out infinite alternate;
}
@keyframes particleFloat {
  0%  { transform: translateY(0px); }
  100%{ transform: translateY(-20px); }
}

/* ── Ink drip animated accent ── */
@keyframes inkDrip {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0.7; }
}
.ink-drip-line {
  width: 2px; background: linear-gradient(180deg, #FF6B35, transparent);
  animation: inkDrip 2s ease-out forwards;
}
