/* Open Sky ROI - Premium Digital Advertising Agency Styles */
/* San Francisco inspired modern tech aesthetic with glassmorphism */

:root {
  --primary: #003A9B;
  --primary-dark: #002a75;
  --dark: #2D2D2D;
  --light: #F8FAFC;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-dark: rgba(45, 45, 45, 0.85);
}

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

/* Glassmorphism Components */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-dark {
  background: var(--glass-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Buttons */
.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 58, 155, 0.3);
  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 8px 25px rgba(0, 58, 155, 0.4);
}

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

.btn-secondary:hover {
  background-color: #f0f4ff;
  transform: translateY(-2px);
}

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

/* Section Headers */
.section-header {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (max-width: 768px) {
  .section-header {
    font-size: 32px;
  }
}

/* Navigation */
.nav-link {
  position: relative;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s ease;
}

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

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

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

/* Form Styles */
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.2s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 58, 155, 0.1);
}

.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: 15px;
  background: white;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

/* Disclosure Bar */
.disclosure-bar {
  background-color: #F3F4F6;
  border-top: 1px solid #E5E7EB;
  font-size: 12px;
  line-height: 1.5;
  color: #6B7280;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  animation: slideUp 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

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

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

/* FAQ Accordion */
.faq-question {
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 200px;
  padding-top: 12px;
}

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

.case-study-card img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card:hover img {
  transform: scale(1.05);
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), #60A5FA);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: #E5E7EB;
  line-height: 1;
  z-index: -1;
}

/* Stepper for How It Works */
.step {
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: -24px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), #93C5FD);
  z-index: 0;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  background: white;
  border: 3px solid var(--primary);
  color: var(--primary);
  border-radius: 9999px;
  position: relative;
  z-index: 1;
}

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

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

/* Responsive adjustments */
@media (max-width: 640px) {
  .section-header {
    font-size: 28px;
  }
}

/* Print styles for legal pages */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    font-size: 11pt;
    color: #111;
  }
}