/* ClikDone Landing Page Styles - New Design */
/* Custom styles that complement Tailwind CSS */

/* Glass Panel Effect */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hero Grid Background */
.hero-grid {
  background-image: radial-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Page Transition Utility */
.hidden-page {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

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

/* Step Connector for How It Works */
.step-connector::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 40px;
  background: #e2e8f0;
  transform: translateX(-50%);
  z-index: 0;
}

@media (min-width: 768px) {
  .step-connector::after {
    top: 50%;
    left: 100%;
    width: 40px;
    height: 2px;
    transform: translateY(-50%);
  }
}

/* Dropdown Logic */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 240px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  z-index: 50;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 40s linear infinite;
}

/* Sheen Effect */
@keyframes sheen {
  0% { transform: skewX(-15deg) translateX(-150%); }
  50% { transform: skewX(-15deg) translateX(150%); }
  100% { transform: skewX(-15deg) translateX(150%); }
}

/* Wiggle Animation */
@keyframes wiggle {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
}

/* Typing Cursor */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-start infinite;
  color: #60a5fa;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 40;
  padding: 1rem;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

/* Form Focus States */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::-moz-selection {
  background-color: #dbeafe;
  color: #1e3a8a;
}
::selection {
  background-color: #dbeafe;
  color: #1e3a8a;
}
