﻿/* ==========================================================================
   TEST END - Custom Styles & Engineering Industrial Tech Theme
   ========================================================================== */

:root {
  --bg-dark-950: #020d0f;
  --bg-dark-900: #051a1e;
  --bg-dark-800: #08282e;
  --bg-dark-700: #0e3942;
  --bg-dark-600: #144e59;
  --brand-teal: #1cb589;
  --brand-emerald: #10b981;
  --brand-cyan: #14b8a6;
  --brand-yellow: #facc15;
  --brand-yellow-hover: #eab308;
  --brand-yellow-glow: rgba(250, 204, 21, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(28, 181, 137, 0.35);
  --glass-bg: rgba(8, 40, 46, 0.7);
}

/* Smooth Scrolling & Base */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-dark-950);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-dark-950);
}

/* Background Gradients & Grid Pattern */
.bg-tech-pattern {
  background-color: #031215;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(28, 181, 137, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 100% 60%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 0% 90%, rgba(250, 204, 21, 0.06) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(8, 38, 44, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(28, 181, 137, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px 0 rgba(28, 181, 137, 0.18);
}

/* High-Conversion Yellow CTA Button */
.btn-cta-yellow {
  background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #eab308 100%);
  color: #031417;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cta-yellow:hover {
  background: linear-gradient(135deg, #fef08a 0%, #fde047 50%, #facc15 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #000000;
}

.btn-cta-yellow:active {
  transform: translateY(0) scale(0.98);
}

.btn-cta-yellow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { left: -60%; }
  20% { left: 140%; }
  100% { left: 140%; }
}

/* Secondary Button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(28, 181, 137, 0.55);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Plan Cards */
.plan-card {
  background: rgba(8, 38, 44, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(28, 181, 137, 0.4);
}

/* Featured Monthly Plan */
.plan-card-featured {
  background: linear-gradient(180deg, rgba(14, 58, 67, 0.95) 0%, rgba(7, 33, 38, 0.98) 100%);
  border: 2px solid #facc15;
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.22), 0 20px 45px rgba(0, 0, 0, 0.6);
  transform: scale(1.03);
  z-index: 10;
}

.plan-card-featured:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 0 45px rgba(250, 204, 21, 0.35), 0 25px 50px rgba(0, 0, 0, 0.7);
}

@media (max-width: 1024px) {
  .plan-card-featured {
    transform: none;
  }
  .plan-card-featured:hover {
    transform: translateY(-6px);
  }
}

/* Annual Plan - Best Value */
.plan-card-annual {
  border: 1px solid rgba(28, 181, 137, 0.5);
  box-shadow: 0 0 25px rgba(28, 181, 137, 0.15);
}

/* Badges */
.badge-tech {
  background: rgba(28, 181, 137, 0.12);
  border: 1px solid rgba(28, 181, 137, 0.35);
  color: #34d399;
}

.badge-yellow {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde047;
}

/* Modality Card Styling */
.modality-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(12, 45, 51, 0.85) 0%, rgba(4, 19, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s ease;
}

.modality-card:hover {
  border-color: #1cb589;
  transform: translateY(-6px);
  box-shadow: 0 16px 35px -5px rgba(0, 0, 0, 0.6), 0 0 30px rgba(28, 181, 137, 0.22);
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(8, 38, 44, 0.5);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(28, 181, 137, 0.3);
  background: rgba(8, 38, 44, 0.7);
}

.faq-header {
  cursor: pointer;
  user-select: none;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-inner {
  overflow: hidden;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #facc15;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

/* Custom Modal */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Technical grid lines */
.tech-border-glow {
  position: relative;
}

.tech-border-glow::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #1cb589, transparent);
}
