/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 30%, rgba(30, 144, 255, 0.12) 0%, transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(220, 220, 220, 0.09) 0%, transparent 28%),
    radial-gradient(circle at 30% 70%, rgba(148, 0, 211, 0.14) 0%, transparent 26%),
    radial-gradient(circle at 70% 80%, rgba(0, 191, 255, 0.11) 0%, transparent 30%),
    radial-gradient(circle at 10% 60%, rgba(245, 245, 245, 0.07) 0%, transparent 25%),
    radial-gradient(circle at 90% 50%, rgba(138, 43, 226, 0.12) 0%, transparent 27%),
    radial-gradient(circle at 40% 10%, rgba(192, 192, 192, 0.08) 0%, transparent 29%),
    radial-gradient(circle at 60% 40%, rgba(65, 105, 225, 0.11) 0%, transparent 26%),
    radial-gradient(circle at 15% 15%, rgba(0, 100, 255, 0.10) 0%, transparent 22%),
    radial-gradient(circle at 85% 85%, rgba(160, 32, 240, 0.12) 0%, transparent 24%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.06) 0%, transparent 23%),
    radial-gradient(circle at 25% 50%, rgba(75, 0, 130, 0.10) 0%, transparent 25%),
    radial-gradient(circle at 75% 30%, rgba(0, 206, 209, 0.09) 0%, transparent 22%),
    radial-gradient(circle at 35% 85%, rgba(123, 104, 238, 0.11) 0%, transparent 26%),
    radial-gradient(circle at 55% 60%, rgba(211, 211, 211, 0.07) 0%, transparent 24%),
    radial-gradient(circle at 5% 35%, rgba(70, 130, 180, 0.10) 0%, transparent 23%),
    radial-gradient(circle at 95% 70%, rgba(169, 169, 169, 0.08) 0%, transparent 27%),
    radial-gradient(circle at 45% 25%, rgba(106, 90, 205, 0.09) 0%, transparent 25%),
    radial-gradient(circle at 65% 90%, rgba(72, 61, 139, 0.07) 0%, transparent 28%),
    radial-gradient(circle at 25% 25%, rgba(0, 191, 255, 0.09) 0%, transparent 24%),
    linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #141414 50%, #181818 75%, #0f0f0f 100%);
  color: #e6e6e6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Layout Components */
.main-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Left Panel */
.left-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(
      to bottom,
      rgba(58, 123, 200, 0.8) 0%,
      rgba(56, 116, 187, 0.8) 5%,
      rgba(54, 109, 174, 0.8) 10%,
      rgba(52, 101, 161, 0.8) 15%,
      rgba(50, 93, 148, 0.8) 20%,
      rgba(48, 85, 135, 0.8) 25%,
      rgba(46, 77, 122, 0.8) 30%,
      rgba(44, 69, 109, 0.8) 35%,
      rgba(42, 61, 96, 0.8) 40%,
      rgba(40, 53, 83, 0.8) 45%,
      rgba(38, 45, 70, 0.8) 50%,
      rgba(36, 37, 57, 0.8) 55%,
      rgba(34, 29, 44, 0.8) 60%,
      rgba(32, 26, 40, 0.8) 65%,
      rgba(30, 23, 36, 0.8) 70%,
      rgba(28, 20, 32, 0.8) 75%,
      rgba(26, 17, 28, 0.8) 80%,
      rgba(24, 14, 24, 0.8) 85%,
      rgba(22, 11, 20, 0.8) 90%,
      rgba(20, 8, 16, 0.8) 95%,
      rgba(10, 10, 26, 0.9) 100%
    );
  backdrop-filter: blur(25px) saturate(200%) brightness(120%);
  -webkit-backdrop-filter: blur(25px) saturate(200%) brightness(120%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding: 2rem;
  z-index: 10;
}

.left-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.name-section {
  text-align: center;
  position: relative;
  z-index: 2;
}

.main-name {
  font-size: 4rem;
  font-weight: 600;
  color: #4a90e2;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(74, 144, 226, 0.4);
  letter-spacing: -0.02em;
}

.tagline {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 1.3rem;
  color: #a0a0a0;
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* Separator */
.separator {
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    #4a90e2 20%,
    #6bb6ff 50%,
    #4a90e2 80%,
    transparent 100%
  );
  position: relative;
}

.separator::after {
  content: "";
  position: absolute;
  top: 0;
  left: 3px;
  width: 25px;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.08) 50%, transparent 80%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}

/* Right Panel */
.right-panel {
  flex: 1;
  padding: 4rem 3rem;
  background: rgba(22, 22, 41, 0.3);
  backdrop-filter: blur(25px) saturate(150%);
  -webkit-backdrop-filter: blur(25px) saturate(150%);
  border-left: 1px solid rgba(74, 144, 226, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

/* Info Cards */
.info-card {
  background: rgba(42, 42, 66, 0.3);
  border: 1px solid rgba(74, 144, 226, 0.4);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(20px) saturate(180%) brightness(110%);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(110%);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(74, 144, 226, 0.3),
    0 1px 0 rgba(74, 144, 226, 0.2);
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: rgba(74, 144, 226, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
}

.card-title {
  font-size: 1.4rem;
  color: #4a90e2;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: #4a90e2;
  border-radius: 2px;
}

/* Contact Section */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-entry {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: rgba(74, 144, 226, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-entry:hover {
  background: rgba(74, 144, 226, 0.1);
  transform: translateX(5px);
}

.contact-icon {
  width: 24px;
  height: 24px;
  fill: #4a90e2;
  flex-shrink: 0;
}

.contact-link {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  color: #e6e6e6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #4a90e2;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-entry {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.faq-entry:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  font-style: italic;
  color: #e6e6e6;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  color: #4a90e2;
}

.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 300;
  font-style: normal;
  color: #4a90e2;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  color: #b0b0b0;
  line-height: 1.6;
  font-size: 0.95rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-bottom 0.3s ease;
  margin-bottom: 0;
}

.faq-answer.active {
  max-height: 200px;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .main-container {
    flex-direction: column;
  }

  .left-panel {
    min-height: 99vh;
  }

  .separator {
    height: 3px;
    width: 100%;
    background: linear-gradient(
      to right,
      transparent 0%,
      #4a90e2 20%,
      #6bb6ff 50%,
      #4a90e2 80%,
      transparent 100%
    );
  }

  .separator::after {
    content: "" !important;
    position: absolute !important;
    top: 3px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: auto !important;
    height: 25px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.08) 50%, transparent 80%) !important;
    filter: blur(8px) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transform: none !important;
  }

  .main-name {
    font-size: 3rem;
  }

  .right-panel {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .main-name {
    font-size: 2.5rem;
  }

  .right-panel {
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  body.light-mode .separator::after {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.06) 50%, transparent 80%) !important;
    transform: none !important;
  }
}

/* Theme Toggle */
.theme-toggle {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 10;
}

.theme-toggle-btn {
  background: rgba(42, 42, 66, 0.8);
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
  border-color: rgba(74, 144, 226, 0.6);
  background: rgba(74, 144, 226, 0.1);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  width: 24px;
  height: 24px;
  color: #4a90e2;
  transition: all 0.3s ease;
}

.sun-icon {
  display: none;
}

.moon-icon {
  display: block;
}

/* Light Mode */
body.light-mode {
  background:
    radial-gradient(circle at 20% 30%, rgba(173, 216, 255, 0.65) 0%, transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(255, 200, 100, 0.55) 0%, transparent 28%),
    radial-gradient(circle at 30% 70%, rgba(255, 150, 180, 0.60) 0%, transparent 26%),
    radial-gradient(circle at 70% 80%, rgba(120, 180, 255, 0.60) 0%, transparent 30%),
    radial-gradient(circle at 10% 60%, rgba(255, 235, 155, 0.50) 0%, transparent 25%),
    radial-gradient(circle at 90% 50%, rgba(180, 150, 255, 0.58) 0%, transparent 27%),
    radial-gradient(circle at 40% 10%, rgba(255, 180, 120, 0.55) 0%, transparent 29%),
    radial-gradient(circle at 60% 40%, rgba(150, 255, 180, 0.65) 0%, transparent 26%),
    radial-gradient(circle at 15% 15%, rgba(255, 100, 150, 0.58) 0%, transparent 22%),
    radial-gradient(circle at 85% 85%, rgba(100, 200, 255, 0.55) 0%, transparent 24%),
    radial-gradient(circle at 50% 10%, rgba(200, 150, 255, 0.45) 0%, transparent 23%),
    radial-gradient(circle at 25% 50%, rgba(255, 180, 80, 0.52) 0%, transparent 25%),
    radial-gradient(circle at 75% 30%, rgba(150, 255, 150, 0.57) 0%, transparent 22%),
    radial-gradient(circle at 35% 85%, rgba(255, 120, 200, 0.56) 0%, transparent 26%),
    radial-gradient(circle at 55% 60%, rgba(180, 200, 255, 0.58) 0%, transparent 24%),
    radial-gradient(circle at 5% 35%, rgba(100, 255, 150, 0.60) 0%, transparent 23%),
    radial-gradient(circle at 95% 70%, rgba(255, 150, 100, 0.52) 0%, transparent 27%),
    radial-gradient(circle at 45% 25%, rgba(150, 180, 255, 0.58) 0%, transparent 25%),
    radial-gradient(circle at 65% 90%, rgba(255, 200, 150, 0.50) 0%, transparent 28%),
    radial-gradient(circle at 25% 25%, rgba(200, 255, 180, 0.60) 0%, transparent 24%),
    linear-gradient(135deg, #fafafa 0%, #f5f5f5 25%, #f8f8f8 50%, #f3f3f3 75%, #fafafa 100%);
  color: #2c3e50;
}

body.light-mode .left-panel {
  background:
    linear-gradient(
      to bottom,
      rgba(227, 242, 253, 0.7) 0%,
      rgba(187, 222, 251, 0.7) 15%,
      rgba(144, 202, 249, 0.7) 30%,
      rgba(100, 181, 246, 0.7) 45%,
      rgba(66, 165, 245, 0.7) 60%,
      rgba(33, 150, 243, 0.8) 75%,
      rgba(25, 118, 210, 0.8) 90%,
      rgba(13, 71, 161, 0.9) 100%
    );
  backdrop-filter: blur(25px) saturate(180%) brightness(110%);
  -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(110%);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

body.light-mode .main-name {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(25, 118, 210, 0.6);
}

body.light-mode .tagline {
  color: #424242;
}

body.light-mode .separator {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    #1976d2 20%,
    #2196f3 50%,
    #1976d2 80%,
    transparent 100%
  );
}

body.light-mode .separator::after {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.06) 50%, transparent 80%);
}

body.light-mode .right-panel {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

body.light-mode .info-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(25px) saturate(200%) brightness(110%);
  -webkit-backdrop-filter: blur(25px) saturate(200%) brightness(110%);
}

body.light-mode .info-card:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px) saturate(220%) brightness(115%);
  -webkit-backdrop-filter: blur(30px) saturate(220%) brightness(115%);
  transform: translateY(-2px) scale(1.01);
}

body.light-mode .card-title {
  color: #1976d2;
}

body.light-mode .card-title::before {
  background: #1976d2;
}

body.light-mode .contact-entry {
  background: rgba(33, 150, 243, 0.05);
}

body.light-mode .contact-entry:hover {
  background: rgba(33, 150, 243, 0.1);
}

body.light-mode .contact-icon {
  fill: #1976d2;
}

body.light-mode .contact-link {
  color: #2c3e50;
}

body.light-mode .contact-link:hover {
  color: #1976d2;
}

body.light-mode .faq-question {
  color: #2c3e50;
}

body.light-mode .faq-question:hover {
  color: #1976d2;
}

body.light-mode .faq-question::after {
  color: #1976d2;
}

body.light-mode .faq-answer {
  color: #546e7a;
}

body.light-mode .faq-entry {
  border-bottom: 1px solid rgba(33, 150, 243, 0.1);
}

body.light-mode .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(33, 150, 243, 0.3);
}

body.light-mode .theme-toggle-btn:hover {
  border-color: rgba(33, 150, 243, 0.6);
  background: rgba(33, 150, 243, 0.1);
}

body.light-mode .theme-toggle-btn svg {
  color: #1976d2;
}

body.light-mode .sun-icon {
  display: block;
}

body.light-mode .moon-icon {
  display: none;
}
