/* Base Theme & Utilities - Light Mode Redesign */
:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc; /* Slate 50 */
  --color-text-main: #0f172a; /* Slate 900 */
  --color-text-muted: #64748b; /* Slate 500 */
  --color-border: #e2e8f0; /* Slate 200 */
  --color-border-hover: #cbd5e1; /* Slate 300 */

  --accent-1: #06b6d4; /* Teal 500 */
  --accent-2: #3b82f6; /* Blue 500 */

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05),
    0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05),
    0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.05),
    0 8px 10px -6px rgb(0 0 0 / 0.01);
  --shadow-accent: 0 10px 30px -10px rgba(6, 182, 212, 0.25);

  --logo-color: #0e3b63;
  --accent-red: #e03a3a;
  --accent-white: #eef2f6;
  --accent-blue: #0d3b63;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

/* Glass Navigation - Light */
.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* Glass Cards - Light & Clean */
.glass-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .glass-card {
  transform: translateY(-4px);
  border-color: var(--accent-1);
  box-shadow: var(--shadow-xl), var(--shadow-accent);
}

/* Inputs & Forms */
input,
textarea,
select {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

/* Filter Buttons */
.filter-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid transparent;
}

.filter-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.filter-btn.active {
  background: var(--accent-1);
  color: white;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Modal Overlay */
.modal-overlay {
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(8px);
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Logo */
.logo {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--logo-color);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  user-select: none;
  position: relative;
}

.logo .n-wrap {
  position: relative;
  display: inline-block;
  transform: translateY(0.01em);
}

.logo .n-wrap::after {
  content: "";
  position: absolute;
  right: 3.1px;
  top: 6.1px;
  width: 5.9px;
  height: 5.8px;

  background: linear-gradient(
    to bottom,
    #ffffff 0% 30%,
    #e03a3a 30% 50%,
    transparent 50% 70%,
    #ffffff 70% 100%
  );

  pointer-events: none;
}

/* ---------- MOBILE  (max-width: 480px) ---------- */
@media (max-width: 480px) {
  .logo {
    font-size: 20px;
    letter-spacing: 0.6px;
    gap: 0.3px;
  }

  .logo .n-wrap::after {
    right: 2.1px;
    top: 4.8px;
    width: 4px;
    height: 4.8px;
  }
}
