/* DALBYCO Marketing Agency - Premium Digital Agency Styles */
/* Modern Tech | Glassmorphism | Professional | Mobile-First */

:root {
  --primary: #56358B;
  --primary-dark: #4E317A;
  --navy: #171C48;
  --dark: #232323;
  --accent: #8B5CF6;
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system_ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #171C48;
  color: #F8FAFC;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.card {
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(86 53 139 / 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #56358B, #8B5CF6);
  color: white;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 25px -5px rgb(86 53 139 / 0.4);
}

/* Header & Navigation */
header {
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-weight: 500;
  color: #E2E8F0;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  width: calc(100% - 32px);
  height: 2px;
  background: linear-gradient(to right, #56358B, #8B5CF6);
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.mobile-menu.open {
  max-height: 600px;
}

/* Service Cards & Modals */
.service-card {
  cursor: pointer;
}

.modal {
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Case Study Cards */
.case-card {
  overflow: hidden;
}

.case-card .metric {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #56358B, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Testimonial Cards */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: rgba(86, 53, 139, 0.15);
  line-height: 1;
  z-index: 0;
}

/* Form Styles */
input, select, textarea {
  background-color: #1E2937;
  border: 1px solid #475569;
  color: #F8FAFC;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #56358B;
  box-shadow: 0 0 0 4px rgba(86, 53, 139, 0.15);
}

input::placeholder, textarea::placeholder {
  color: #64748B;
}

/* Disclosure Bar */
.disclosure-bar {
  background-color: #0F172A;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Cookie Banner */
.cookie-banner {
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* FAQ Accordion */
.accordion-header {
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-content.open {
  max-height: 300px;
}

/* Blog Cards */
.blog-card {
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

/* Timeline / How it Works */
.timeline-step {
  position: relative;
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(to bottom, #56358B, transparent);
}

/* Stats / Trust */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.75rem !important;
    line-height: 1.05 !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #1E2937;
}
::-webkit-scrollbar-thumb {
  background: #56358B;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8B5CF6;
}

/* Print styles for legal pages */
@media print {
  header, footer, .disclosure-bar, .btn-primary, .btn-secondary {
    display: none !important;
  }
  body {
    background: white;
    color: #111827;
  }
}

/* === Additional Animations === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.logo-hover svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-hover:hover svg {
  transform: rotate(8deg) scale(1.05);
}

/* Team card entrance */
.team-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px) scale(1.01);
}