* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-tertiary: #666666;
  --border-color: #2a2a2a;
  --accent: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background with rotating images */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.background-image.active {
  opacity: 0.08;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.98));
  z-index: 1;
}

/* Header */
header {
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  z-index: 10;
}

.profile-avatar {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #666666, #888888, #aaaaaa);
  padding: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.profile-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  font-size: 3rem;
}

header h1 {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

header .subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

header .tagline {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 300;
}

/* Main Container */
main {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  z-index: 10;
}

/* Quick Navigation */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.nav-card {
  background: linear-gradient(135deg, #0a0a0a, #000000);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  display: block;
  group: "nav-card";
}

.nav-card:hover {
  border-color: var(--text-secondary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

.nav-card svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  transition: color 0.5s ease;
}

.nav-card:hover svg {
  color: var(--text-primary);
}

.nav-card h3 {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.nav-card p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

.nav-card-arrow {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  transition: color 0.5s ease;
}

.nav-card:hover .nav-card-arrow {
  color: var(--text-secondary);
}

/* Section */
section {
  margin-bottom: 6rem;
}

section h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 3rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--text-secondary), transparent);
  margin-bottom: 1rem;
}

section > p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 3rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: linear-gradient(135deg, #0a0a0a, #000000);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card:hover {
  border-color: var(--text-secondary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}

.card-header {
  height: 12rem;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.card-header-icon {
  font-size: 4rem;
  opacity: 0.2;
  transition: opacity 0.5s ease;
}

.card:hover .card-header-icon {
  opacity: 0.4;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.card:hover .card-image {
  opacity: 0.6;
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-button {
  display: inline-block;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.5s ease;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.card-button:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0a0a0a, #000000);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-section h3 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
  padding: 0.875rem 2rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.5s ease;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Footer */
footer {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  z-index: 10;
  margin-top: 3rem;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--text-primary);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
}

.footer-section ul li a:hover {
  color: var(--text-primary);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.footer-divider {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 2rem 1rem;
  }

  header h1 {
    font-size: 2.5rem;
  }

  header .subtitle {
    font-size: 1rem;
  }

  main {
    padding: 0 1rem 3rem;
  }

  .quick-nav {
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .cards-grid {
    gap: 1.5rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .cta-section {
    padding: 2rem;
  }

  .cta-section h3 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  header .subtitle {
    font-size: 0.95rem;
  }

  .quick-nav {
    grid-template-columns: 1fr;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

