/* ROI Logic - Custom Styles | Modern Glassmorphic Digital Agency */
:root {
  --roi-dark: #1B1C1E;
  --roi-green: #24A17D;
  --roi-teal: #0D837E;
  --roi-gray: #BEBEC0;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  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);
}

/* Dashboard / Metric Cards */
.metric-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: scale(1.03) translateY(-4px);
}

/* Buttons */
.btn-primary {
  background-color: var(--roi-green);
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--roi-teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.btn-primary:active {
  transform: scale(0.985);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid var(--roi-gray);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: var(--roi-green);
  color: var(--roi-green);
}

/* Navigation */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--roi-green);
  transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu {
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modal */
.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); }
}

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

.timeline-step:not(:last-child):after {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 3rem;
  bottom: -1.5rem;
  width: 3px;
  background: linear-gradient(to bottom, var(--roi-green), var(--roi-teal));
  opacity: 0.3;
}

/* FAQ Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
}

.accordion-content.open {
  max-height: 200px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Case Study & Testimonial Cards */
.case-card, .testimonial-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover, .testimonial-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);
}

/* Form Styles */
.form-input {
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--roi-green);
  box-shadow: 0 0 0 3px rgba(36, 161, 125, 0.15);
  outline: none;
}

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

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

/* Disclosure Bar */
.disclosure-bar {
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .glass {
    backdrop-filter: blur(12px);
  }
}

/* Professional touches */
.section-header {
  position: relative;
  display: inline-block;
}

.section-header:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--roi-green), var(--roi-teal));
  border-radius: 3px;
}