@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #0b0f19;
  --surface-color: #1a2235;
  --surface-color-hover: #232d46;
  --accent-color: #0ddbf2;
  --accent-color-glow: rgba(13, 219, 242, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.05);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Space Grotesk', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-shadow: 0 0 8px var(--accent-color-glow);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main-content {
  flex: 1;
  padding: 4rem 0;
}

/* Navbar */
.navbar {
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--accent-color-glow);
}

/* Cards */
.card {
  background-color: var(--surface-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-color-glow);
  border-color: rgba(13, 219, 242, 0.3);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.card-content {
  padding: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-family);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #000;
}

.btn-primary:hover {
  background-color: #fff;
  box-shadow: 0 0 15px var(--accent-color-glow);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color-glow);
}

/* Grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Footer */
footer {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  margin-top: auto;
}

/* Skeleton Loading Animation */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.skeleton {
  background: #1a2235;
  background-image: linear-gradient(to right, #1a2235 0%, #232d46 20%, #1a2235 40%, #1a2235 100%);
  background-repeat: no-repeat;
  background-size: 1000px 100%; 
  animation-duration: 2s;
  animation-fill-mode: forwards; 
  animation-iteration-count: infinite;
  animation-name: shimmer;
  animation-timing-function: linear;
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
}
.skeleton-title {
  height: 2rem;
  width: 70%;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
}
.skeleton-img {
  height: 200px;
  width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Helpers */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }


/* Profile Switcher (Biz Kimiz) */
.profile-switcher-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 3rem 0;
}

.profile-switcher {
  position: relative;
  display: flex;
  background: var(--surface-color);
  border: 2px dashed rgba(13, 219, 242, 0.4); /* Stitched border design */
  border-radius: var(--radius-full);
  padding: 0.5rem;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.switcher-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
  text-align: center;
}

.switcher-btn.active {
  color: #000;
}

.switcher-slider {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.5rem;
  width: calc(50% - 0.5rem);
  background: var(--accent-color);
  border-radius: var(--radius-full);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1;
  box-shadow: 0 0 15px var(--accent-color-glow);
}

.switcher-btn:nth-child(2).active ~ .switcher-slider {
  transform: translateX(100%);
}

.profile-section {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.profile-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 2rem;
}

.profile-avatar {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--surface-color-hover), var(--bg-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent-color);
  border: 2px dashed var(--accent-color); /* Stitched avatar border */
  box-shadow: 0 0 20px var(--accent-color-glow);
  flex-shrink: 0;
}

.profile-info h2 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 2.5rem;
}

.profile-info .role {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccd6f6;
}

.profile-body p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
}
