/* ===================================
   Global Styles & CSS Variables
   =================================== */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --light-bg: #ffffff;
  --light-bg-2: #f8fafc;
  --light-bg-3: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: var(--light-bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--light-bg-3);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.logo i {
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 50%, rgba(240, 147, 251, 0.05) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.4) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.3) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.litho-text {
  color: #10b981;
  font-weight: 700;
}

.quant-text {
  color: #7c3aed;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--primary-light);
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--text-primary);
}

.stat-item span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--primary-light);
}

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ===================================
   Features Section
   =================================== */
.features {
  background-color: var(--light-bg-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--light-bg-3);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-light);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================
   Capabilities Section
   =================================== */
.capabilities-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.capability-category {
  background: var(--light-bg-2);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--primary-light);
}

.capability-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.capability-header i {
  font-size: 2rem;
  color: var(--primary-light);
}

.capability-header h3 {
  color: var(--text-primary);
}

.capability-category ul {
  list-style: none;
}

.capability-category li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.capability-category li i {
  color: var(--secondary-color);
}

/* ===================================
   Screenshots Section
   =================================== */
.screenshots {
  background-color: var(--light-bg-2);
}

/* Featured Screenshot */
.featured-screenshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  background: var(--light-bg-3);
  padding: 2rem;
  border-radius: 15px;
}

.screenshot-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.screenshot-image img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-description h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.screenshot-description h3 i {
  color: var(--primary-light);
  font-size: 1.5rem;
}

.screenshot-description p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li i {
  color: var(--secondary-color);
  font-size: 1rem;
}

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

.screenshot-card {
  background: var(--light-bg-3);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.screenshot-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.screenshot-card-image {
  height: auto;
  min-height: 300px;
  width: 100%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.screenshot-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 400px;
}

.screenshot-card-content {
  padding: 1.5rem;
}

.screenshot-card-content h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.screenshot-card-content p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Legacy screenshot gallery styles */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.screenshot-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  background: var(--light-bg-3);
  display: flex;
  flex-direction: column;
}

.screenshot-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* Styling untuk gambar screenshot */
.screenshot-item img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: center;
  background: var(--light-bg-3);
  display: block;
}

/* Styling untuk teks di bawah screenshot */
.screenshot-item p {
  padding: 1rem;
  text-align: center;
  color: var(--text-secondary);
  font-weight: 600;
  background: var(--light-bg-3);
  margin: 0;
}

.screenshot-placeholder {
  background: var(--light-bg);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.screenshot-placeholder i {
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.5;
}

.screenshot-placeholder p {
  color: var(--text-secondary);
  font-weight: 600;
  padding: 0 1rem;
}

/* ===================================
   Download Section
   =================================== */
.download {
  background: var(--light-bg);
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.download-info h2 {
  margin-bottom: 1rem;
}

.download-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.system-requirements {
  background: var(--light-bg-2);
  padding: 2rem;
  border-radius: 15px;
}

.system-requirements h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.system-requirements ul {
  list-style: none;
}

.system-requirements li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.system-requirements li i {
  color: var(--secondary-color);
}

.download-box {
  background: var(--light-bg-2);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-bg-3);
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.download-box h3 {
  margin-bottom: 1.5rem;
}

.install-steps {
  margin-bottom: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 35px;
  height: 35px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.code-block {
  background: var(--light-bg);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--light-bg-3);
}

.code-block code {
  color: var(--secondary-color);
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  color: var(--primary-light);
}

/* Pricing Info */
.pricing-info {
  background: var(--light-bg-2);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
}

.pricing-info h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-info ul {
  list-style: none;
}

.pricing-info li {
  padding: 0.8rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--light-bg-3);
}

.pricing-info li:last-child {
  border-bottom: none;
}

.pricing-info li i {
  color: var(--primary-light);
  font-size: 1.2rem;
}

.pricing-info strong {
  color: var(--text-primary);
}

/* Contact Info */
.contact-info {
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  background: var(--light-bg-3);
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-light);
  width: 50px;
  text-align: center;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.contact-item a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-light);
}

/* ===================================
   About Section
   =================================== */
.about {
  background-color: var(--light-bg-2);
}

.about-text h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-member i {
  font-size: 3rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.team-member h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.team-member p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--light-bg);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--light-bg-3);
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.footer-section li {
  padding: 0.3rem 0;
}

.footer-section a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--light-bg-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--light-bg-3);
  color: var(--text-muted);
}

.footer-bottom i {
  color: #f43f5e;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background-color: rgba(15, 23, 42, 0.98);
    padding: 2rem;
    gap: 1rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .download-content {
    grid-template-columns: 1fr;
  }

  .featured-screenshot {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
  }

  section {
    padding: 60px 0;
  }

  .features-grid,
  .capabilities-content,
  .screenshot-gallery,
  .screenshots-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .featured-screenshot {
    padding: 1.5rem;
  }
}

/* ===================================
   Page Header (Gallery, News, Developer)
   =================================== */
.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.3rem;
  color: var(--text-secondary);
}

/* ===================================
   Gallery Page
   =================================== */
.gallery-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===================================
   News Page
   =================================== */
.news-section {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.news-card {
  background: var(--light-bg-2);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.news-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.newsletter-signup {
  background: var(--light-bg-2);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
}

.newsletter-signup h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-signup p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--light-bg-3);
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form button {
  white-space: nowrap;
}

/* ===================================
   Developer Page - Tabs
   =================================== */
.developer-section {
  padding: 80px 0;
}

.tab-navigation {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--light-bg-3);
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
}

.tab-content {
  min-height: 400px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.tab-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Team Member Cards */
.team-member-card {
  background: var(--light-bg-2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.member-avatar {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.team-member-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-affiliation,
.member-period,
.member-expertise {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.member-contact {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.member-contact a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.member-contact a:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-card {
  background: var(--light-bg-2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.partner-logo {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.partner-logo-rectangle {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-rectangle img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.partner-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

.partner-description {
  font-size: 0.95rem;
  line-height: 1.6;
}

.support-acknowledgment {
  background: var(--light-bg-2);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--primary-color);
}

.support-acknowledgment h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.support-acknowledgment p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Responsive for new pages */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

  .tab-navigation {
    flex-direction: column;
    gap: 0;
  }

  .tab-btn {
    border-bottom: 1px solid var(--light-bg-3);
  }
}
