/* Prism Ledger - Custom Styles */

/* ===========================
   SMOOTH SCROLLING
   =========================== */
html {
  scroll-behavior: smooth;
}

/* ===========================
   MOBILE NAVIGATION
   =========================== */
#mobile-nav {
  transition: opacity 0.3s ease;
}

#burger-menu {
  cursor: pointer;
  transition: transform 0.3s ease;
}

#burger-menu:hover {
  transform: scale(1.05);
}

/* ===========================
   COOKIE MODAL
   =========================== */
#cookie-modal {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-modal.hidden {
  display: none;
}

#cookie-accept,
#cookie-reject {
  transition: all 0.3s ease;
}

#cookie-accept:hover {
  opacity: 0.9;
}

#cookie-reject:hover {
  background-color: #f3f4f6;
}

/* ===========================
   FORM STYLES
   =========================== */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

input,
textarea,
select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===========================
   BUTTON HOVER EFFECTS
   =========================== */
button {
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

a.button {
  transition: all 0.3s ease;
}

a.button:hover {
  transform: translateY(-2px);
}

/* ===========================
   CARD HOVER EFFECTS
   =========================== */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* ===========================
   IMAGE HOVER EFFECTS
   =========================== */
img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.03);
}

/* ===========================
   LINK HOVER EFFECTS
   =========================== */
a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.8;
}

footer a:hover {
  color: #ffffff !important;
}

/* ===========================
   GRADIENT BACKGROUNDS
   =========================== */
.gradient-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #F97316 100%);
}

.gradient-overlay {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
}

/* ===========================
   AVATAR STYLES
   =========================== */
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7C3AED 0%, #F97316 100%);
  color: white;
  font-weight: 700;
  font-size: 1.75rem;
  font-family: 'Sora', sans-serif;
}

.avatar-sm {
  width: 60px;
  height: 60px;
  font-size: 1.25rem;
}

/* ===========================
   DETAILS/ACCORDION STYLES
   =========================== */
details {
  transition: all 0.3s ease;
}

details summary {
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

details summary:hover {
  color: #7C3AED;
}

details[open] summary {
  color: #7C3AED;
  margin-bottom: 1rem;
}

details summary::marker {
  color: #7C3AED;
}

/* ===========================
   STAR RATING STYLES
   =========================== */
.stars {
  color: #F59E0B;
}

.stars i {
  margin-right: 2px;
}

/* ===========================
   TESTIMONIAL CARD STYLES
   =========================== */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* ===========================
   SERVICE CARD STYLES
   =========================== */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.15);
}

/* ===========================
   LOGO STYLES
   =========================== */
.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* ===========================
   ICON CONTAINER STYLES
   =========================== */
.icon-container {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.icon-container:hover {
  background-color: rgba(124, 58, 237, 0.2);
  transform: scale(1.05);
}

/* ===========================
   BANK LOGO STYLES
   =========================== */
.bank-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bank-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===========================
   TOGGLE SWITCH STYLES
   =========================== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: background-color 0.3s ease;
  border-radius: 28px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: transform 0.3s ease;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #7C3AED;
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===========================
   NOTIFICATION STYLES
   =========================== */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #22C55E;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* ===========================
   COMPARISON TABLE STYLES
   =========================== */
table {
  border-collapse: collapse;
  width: 100%;
}

th {
  background-color: #F8FAFC;
  font-weight: 600;
  text-align: left;
  padding: 12px;
  border-bottom: 2px solid #E2E8F0;
}

td {
  padding: 12px;
  border-bottom: 1px solid #E2E8F0;
}

tr:hover {
  background-color: #F8FAFC;
}

/* ===========================
   RESPONSIVE UTILITIES
   =========================== */
@media (max-width: 768px) {
  .mobile-menu-open {
    overflow: hidden;
  }
  
  #mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 999;
    overflow-y: auto;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .testimonial-card,
  .service-card {
    margin-bottom: 1.5rem;
  }
}

/* ===========================
   SCROLLBAR STYLES
   =========================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #7C3AED;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6D28D9;
}

/* ===========================
   SELECTION STYLES
   =========================== */
::selection {
  background-color: #7C3AED;
  color: white;
}

::-moz-selection {
  background-color: #7C3AED;
  color: white;
}

/* ===========================
   FOCUS VISIBLE STYLES
   =========================== */
*:focus-visible {
  outline: 2px solid #7C3AED;
  outline-offset: 2px;
}

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
  #cookie-modal,
  #mobile-nav,
  #burger-menu {
    display: none !important;
  }
  
  a[href]:after {
    content: none !important;
  }
}
