:root {
  --primary: #4f46e5;
  --secondary: #ec4899;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --gray: #94a3b8;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  --card-bg: rgba(30, 41, 59, 0.7);
  --border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--darker);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  user-select: none;
}

::-webkit-scrollbar {
  width: 3px;

}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 4px;
}

.highlight {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
ul li a {
  background: linear-gradient(135deg, #fff 0%, #00ccff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
}
h4 {
  background: linear-gradient(135deg, #fff 0%, #00ccff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fallback */
  display: inline-block;
}

p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.question .feature-box h3 {
  background: linear-gradient(135deg, #c4c4c4 0%, #facc15e1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.question .feature-box p {
  font-size: 14.5px !important;
  font-weight: bold;
}


.btn-login {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 8px;
  color: white !important;
  border: 1px solid var(--border);
  text-decoration: none;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  padding: 10rem 5% 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15), transparent 40%);
}

.hero-content {
  width: 49vw;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.6);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 20px;
  text-align: left;
}

/* How It Works */
.section {
  padding: 5rem 5% 6rem 5%;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-items: center;
  gap: 1.5rem;
}

.feature-box {
  background: var(--card-bg);
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.grid .feature-box {
  width: 265px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-content {
  height: 125px;
  margin-bottom: 15px;
  font-weight: bold;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.feature-box p {
  margin: 12px 0;
  font-size: 13px;
}

.comment p {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
}

.feature-box h3 {
  font-size: 1.9vh;
  text-align: center;
}

.feature-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.feature-meta-list {
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: left;
  margin-left: 10px;
  line-height: 1.4;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.icon {
  font-size: 3rem;
  margin-bottom: 0;
  display: block;
  text-align: center;
}

.icon i {
  color: #d347a5cc;
}

.task-icon i {
  color: #c5fcffc7;
}

/* Premium */
.premium-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--accent);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.premium-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.price {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin: 1.5rem 0;
}

.price span {
  font-size: 1.2rem;
  color: var(--gray);
  font-weight: 400;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 1rem 5%;
  text-align: center;
  color: var(--gray);
}

/* Mobile Responsive */
@media (max-width: 968px) {

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 9rem;
    gap: 4rem;
  }

  .hero-content {
    margin: 0 auto;
    width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    transform: scale(0.9);
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 488px) {
  .btn-login {
    padding: 0.3rem 0.5rem;
  }

  .hero-buttons .btn-login,
  .hero-buttons .btn-primary {
    padding: 0.3rem 0.5rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .hero {
    padding: 8rem 3% 0rem;
    gap: 2.3rem;
  }

  .section {
    padding: 2rem 5% 4rem 5%;
  }

  footer {
    margin: 0;
  }

  p {
    font-size: 2.05vh;
  }

  .feature-box h3 {
    font-size: 2.4vh;
  }
}

/* Hero Card Animations */
.hero-card-container {
  position: relative;
  width: 375px;
  height: 515px;
  perspective: 1000px;
}

.hero-card {
  position: absolute;
  width: 100%;
  height: 88%;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 1.5rem;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
}

.hero-card.front {
  z-index: 2;
  transform: rotate(-5deg);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
}

.hero-card.back {
  z-index: 1;
  top: 20px;
  left: 40px;
  transform: rotate(5deg) scale(0.95);
  background: #0f172a;
  opacity: 0.6;
  pointer-events: none;
}

.hero-card.swap-active {
  animation: swapCards 0.6s forwards;
}

@keyframes swapCards {
  0% {
    transform: rotate(-5deg) translateX(0);
    z-index: 2;
  }

  50% {
    transform: rotate(10deg) translateX(150px);
    z-index: 2;
  }

  51% {
    z-index: 0;
  }

  100% {
    transform: rotate(5deg) scale(0.95) translate(40px, 20px);
    z-index: 0;
    opacity: 0.6;
  }
}

.hero-card:hover {
  transform: rotate(-2deg) translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.hero-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.hero-card-title>span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.hero-card-logo {
  width: auto;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
}

.task-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid transparent;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.task-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.task-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
}

.task-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: #e2e8f0;
}

.task-info p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

/* Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered Animations for Children */
.fade-in-section .feature-box,
.fade-in-section .grid>div {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible .feature-box,
.fade-in-section.is-visible .grid>div {
  opacity: 1;
  transform: none;
}

.fade-in-section.is-visible .feature-box:nth-child(1) {
  transition-delay: 0.1s;
}

.fade-in-section.is-visible .feature-box:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in-section.is-visible .feature-box:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in-section.is-visible .feature-box:nth-child(4) {
  transition-delay: 0.4s;
}

/* =========================================
   LOGIN PAGE V2 (Premium Redesign)
   ========================================= */

body.login-page {
  background-color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  overflow-y: auto;
  position: relative;
}

/* Dynamic Background Glows */
body.login-page::before,
body.login-page::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
  animation: floatGlow 10s infinite alternate ease-in-out;
}

body.login-page::before {
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  top: 0;
  left: 0;
}

body.login-page::after {
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  bottom: 150px;
  right: 150px;
  animation-delay: -5s;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.01);
  }
}

.login-container-v2 {
  display: flex;
  margin-top: 65px;
  width: 900px;

  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
}

/* Left Side: Form */
.login-left {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
}

.login-left h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.auth-message {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  animation: slideIn 0.3s ease-out;
}

.auth-message.error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-message.success {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-left p.subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
}

.input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.input-group input {
  width: 100%;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  transition: all 0.3s;
  font-size: 1rem;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  background: rgba(2, 6, 23, 0.8);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.submit-btn:hover {
  opacity: 0.9;
}

/* 2FA Split Input Styles */
.digit-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.digit-input {
  width: 50px;
  height: 60px;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.digit-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(2, 6, 23, 0.8);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  transform: translateY(-2px);
}


.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}

/* Right Side: Visual */
.login-right {
  flex: 1;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(236, 72, 153, 0.2));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;

  /* Form Feedback Messages */
  .form-message {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    animation: slideIn 0.3s ease-out;
    text-align: center;
  }

  .form-message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.2);
  }

  .form-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
  }

  .form-message.info {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.2);
  }
}

.login-right h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.login-right p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 300px;
}

.floating-icon {
  font-size: 8rem;
  margin-bottom: 2rem;
  animation: floatIcon 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Mobile Styling for Login */
@media (max-width: 900px) {
  .login-container-v2 {
    flex-direction: column;
    width: 90%;
    height: auto;
    min-height: 600px;
  }

  .login-right {
    display: none;
  }

  .login-left {
    padding: 2rem 1rem 3.5rem;
  }
}

.form-message {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  font-weight: bold;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid transparent;
  animation: fadeSlide 0.3s ease;
}

/* SUCCESS */
.form-message.success {
  background: linear-gradient(135deg, #c1e5d1, #7aab95);
  color: #000000;
  border-color: #a6e9c5;
}

/* ERROR */
.form-message.error {
  background: linear-gradient(135deg, #ffe9e9, #fff5f5);
  color: #842029;
  border-color: #f1aeb5;
}

/* WARNING */
.form-message.warning {
  background: linear-gradient(135deg, #fff7e0, #fffbea);
  color: #664d03;
  border-color: #ffecb5;
}

/* INFO */
.form-message.info {
  background: linear-gradient(135deg, #e7f1ff, #f2f7ff);
  color: #084298;
  border-color: #b6d4fe;
}

/* Animasyon */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TICKET SYSTEM STYLES */

/* Badges */
.badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.badge-open {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-answered {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-resolved {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-closed {
  background: rgba(100, 116, 139, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Filter Buttons */
.filter-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}