@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400&family=Unbounded:wght@200;300;400;500&display=swap");

:root {
  --primary-color: #ff6b00;
  --primary-light: #ff8533;
  --primary-dark: #e55a00;
  --secondary-color: #0066cc;
  --secondary-light: #3388dd;
  --accent-color: #00d4aa;
  --background-color: #0a0e1a;
  --surface-color: #1a1f2e;
  --surface-light: #252b3d;
  --text-color: #ffffff;
  --text-secondary: #b8c5d1;
  --text-muted: #7a8a9a;
  --nav-height: 60px;
  --container-width: 1200px;
  --gradient-primary: linear-gradient(135deg, #ff6b00, #ff8533);
  --gradient-secondary: linear-gradient(135deg, #0066cc, #3388dd);
  --gradient-accent: linear-gradient(135deg, #00d4aa, #00b894);
  --gradient-dark: linear-gradient(135deg, #0a0e1a, #1a1f2e);
  --title-font: "Unbounded", cursive;
  --subtitle-font: "Lexend", sans-serif;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: var(--gradient-dark);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 107, 0, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 102, 204, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(0, 212, 170, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 0, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover {
  color: var(--primary-color);
  background: rgba(255, 107, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 0, 0.2);
}

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

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 107, 0, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.social-links a:hover::before {
  width: 100%;
  height: 100%;
}

.social-links a:hover {
  color: var(--primary-color);
  background: rgba(255, 107, 0, 0.1);
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(17, 24, 39, 0.7),
    rgba(17, 24, 39, 0.3)
  );
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(255, 107, 0, 0.08) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(0, 102, 204, 0.08) 0%,
      transparent 30%
    );
  z-index: 1;
  animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.hero video,
.hero img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 110%;
  min-height: 110%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  animation: helicopter 20s ease-in-out infinite;
}

@keyframes helicopter {
  0% {
    /* center */
    transform: translate(-50%, -50%) scale(1.02);
  }
  12% {
    /* low left */
    transform: translate(-50.5%, -49.5%) scale(1.03);
  }
  25% {
    /* high center */
    transform: translate(-50%, -50.5%) scale(1.03);
  }
  38% {
    /* higher left */
    transform: translate(-50.5%, -51%) scale(1.02);
  }
  50% {
    /* center right */
    transform: translate(-49.5%, -50%) scale(1.01);
  }
  62% {
    /* lower right */
    transform: translate(-49.5%, -49.5%) scale(1.02);
  }
  75% {
    /* lower center */
    transform: translate(-50%, -51%) scale(1.03);
  }
  88% {
    /* low center */
    transform: translate(-50%, -49%) scale(1.03);
  }
  100% {
    /* center left */
    transform: translate(-50.5%, -50%) scale(1.02);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--title-font);
  font-size: 5.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 300;
  letter-spacing: -1px;
  animation: textFloat 6s ease-in-out infinite;
}

@keyframes textFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hero-content p {
  font-family: var(--subtitle-font);
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.5s both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.plugins-header {
  margin: 120px 0 40px;
  text-align: center;
}

.plugins-header a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.plugins-header a:hover {
  background: rgba(255, 107, 0, 0.1);
  text-decoration: underline;
}

.plugin-card {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 107, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.plugin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 0, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.plugin-card:hover::before {
  left: 100%;
}

.plugin-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 107, 0, 0.3),
    0 0 20px rgba(255, 107, 0, 0.2);
  border-color: rgba(255, 107, 0, 0.4);
  background: rgba(31, 41, 55, 0.9);
}

.plugin-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.plugin-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.plugin-card h3 img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin: 0;
}

.plugin-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.plugin-description {
  flex-grow: 1;
}

.plugin-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plugin-links {
  display: flex;
  gap: 1rem;
}

.plugin-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.plugin-links a:hover {
  text-decoration: underline;
}

.status {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.status-development {
  background: var(--gradient-primary);
  color: var(--text-color);
}

.status-released {
  background: linear-gradient(135deg, #00b894, #00d1a7);
  color: var(--text-color);
}

.status-archived {
  background: linear-gradient(135deg, #636e72, #7a848a);
  color: var(--text-color);
}

@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 0.5rem 0;
  }

  .nav-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    gap: 1rem;
  }

  .nav-links {
    order: 2;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem 0;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .social-links {
    order: 1;
  }

  .social-links a {
    font-size: 0.9rem;
    padding: 0.4rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .plugin-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .plugin-card {
    padding: 1.5rem;
  }

  .status {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

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

  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    padding: 0.3rem 0.6rem;
  }
}

/* About Page Styles */
.about-header {
  height: 60vh;
  position: relative;
  background: var(--surface-color);
  overflow: hidden;
  margin-top: var(--nav-height);
}

.about-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.about-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(0deg, var(--surface-color) 0%, transparent 100%);
}

.about-content {
  margin: -100px auto 60px;
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.about-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-intro {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-weight: 300;
}

.about-section {
  margin: 2rem 0;
}

.about-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about-section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.workspace-photo {
  margin: 2rem -40px;
  height: 400px;
}

.workspace-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.tech-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .about-header {
    height: 40vh;
  }

  .about-content {
    margin-top: -50px;
  }

  .about-card {
    padding: 20px;
  }

  .workspace-photo {
    margin: 2rem -20px;
    height: 300px;
  }

  .about-intro {
    font-size: 1.2rem;
  }
}

.about-section a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
}

.about-section a:hover {
  background: rgba(255, 107, 0, 0.1);
}

.about-section a::after {
  content: "";
  position: absolute;
  width: calc(100% - 0.6rem);
  height: 1px;
  bottom: 0;
  left: 0.3rem;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.about-section a:hover::after {
  transform: scaleX(1);
}

/* News Section Styles */
.news-section {
  margin: 4rem auto;
  max-width: 900px;
}

.news-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-family: var(--title-font);
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 300;
}

.news-item {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
  color: var(--text-color);
  font-family: var(--subtitle-font);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.news-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin-bottom: 2rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.news-item p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .news-section {
    margin: 3rem auto;
  }

  .news-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .news-item {
    padding: 1.5rem;
  }

  .news-item h3 {
    font-size: 1.5rem;
  }

  .news-item p {
    font-size: 1rem;
  }
}

.news-content {
  position: relative;
}

.expandable-content {
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.read-more-btn {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: var(--primary-color);
  color: var(--text-color);
}

.read-more-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.3);
}

/* List Styles */
.news-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.news-section li {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}

.news-section li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.8rem;
  top: 0.1rem;
}

.news-section li strong {
  color: var(--text-color);
}

.news-section h4 {
  color: var(--primary-color);
  margin: 2rem 0 1rem 0;
  font-size: 1.3rem;
  font-weight: 500;
}

.news-section figure {
  margin: 1rem 0;
  text-align: center;
}

.news-section figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-section figcaption {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .read-more-btn {
    width: 100%;
    text-align: center;
  }
}
