/* === Base Settings ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0a0a14;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* === Header & Navigation ===================================== */
header {
  padding: 20px 0;
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.site-logo:hover {
  color: #00c8ff;
}

#top_menus {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
}

#top_menus .nav-link {
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease-in-out;
}

#top_menus .nav-link:hover,
#top_menus .nav-link:focus {
  color: #00c8ff;
}

.purchase-btn {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.purchase-btn:hover {
  background-color: #ffffff;
  color: #0a0a14;
}

/* === Hero Section =========================================== */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 80px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #a0a0a0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-primary {
  background-color: #00c8ff;
  color: #0a0a14;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #0a0a14;
}

/* === Post List ============================================== */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

/* === Post Card ============================================== */
.post-item {
  background: #111122;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Featured Image */
.post-featured-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Title */
.post-item h3 {
  font-size: 1.25rem;
  margin: 20px 20px 10px;
  line-height: 1.4;
}

.post-item h3 a {
  color: #ffffff;
  text-decoration: none;
}

.post-item h3 a:hover {
  color: #00c8ff;
}

/* Excerpt */
.post-item p {
  margin: 0 20px 20px;
  color: #a0a0a0;
  flex: 1 0 auto;
}

/* Read More Link */
.post-item > a:last-of-type {
  align-self: flex-start;
  margin: 0 20px 20px;
  background: #00c8ff;
  color: #0a0a14;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease-in-out;
}

.post-item > a:last-of-type:hover {
  background: #ffffff;
}

/* Post date */
.post-date {
  font-size: 0.875rem;
  color: #a0a0a0;
  margin: 0 20px 10px;
}

/* === Pagination ============================================= */
nav.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px 0 60px;
}

.page-numbers {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #333344;
  border-radius: 5px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
}

.page-numbers.current,
.page-numbers:hover {
  background: #00c8ff;
  color: #0a0a14;
  border-color: #00c8ff;
}

.next.page-numbers,
.prev.page-numbers {
  border-color: transparent;
  color: #ffffff;
}

.next.page-numbers:hover,
.prev.page-numbers:hover {
  color: #00c8ff;
  background: transparent;
}

/* === Single Post/Page Content =============================== */
.page-content {
  max-width: 800px;
  margin: 40px auto 60px;
  padding: 0 20px 40px;
  background: #111122;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Featured Image */
.page-content .post-featured-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* Title */
.page-content h1 {
  font-size: 2rem;
  margin: 30px 0 20px;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
}

/* Content */
.page-content .content {
  color: #d0d0d0;
}

.page-content .content p {
  margin-bottom: 20px;
}

.page-content .content h2 {
  margin: 30px 0 15px;
  color: #ffffff;
}

.page-content .content h3 {
  margin: 25px 0 15px;
  color: #ffffff;
}

.page-content .content ul,
.page-content .content ol {
  margin: 0 0 20px 20px;
}

.page-content .content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 20px 0;
}

/* === Breadcrumbs =========================================== */
.breadcrumbs {
  max-width: 800px;
  margin: 20px auto 0;
  padding: 0 20px;
  font-size: 0.875rem;
  color: #a0a0a0;
}

.breadcrumbs a {
  color: #00c8ff;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #ffffff;
}

/* === Footer ================================================ */
footer {
  background: #111122;
  color: #a0a0a0;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo:hover {
  color: #00c8ff;
}

.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.footer-menu a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #00c8ff;
}

.footer-contact {
  text-align: center;
  margin-bottom: 30px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-contact a {
  color: #00c8ff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #222233;
  font-size: 0.875rem;
}

/* === 404 Page ============================================== */
.error-404 {
  text-align: center;
  padding: 80px 0;
}

.error-404 h1 {
  font-size: 6rem;
  margin-bottom: 20px;
  color: #00c8ff;
}

.error-404 h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.error-404 p {
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Recommended Articles Section ========================== */
.recommended-articles {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #ffffff;
}

/* === Responsive Styles ===================================== */
@media (max-width: 1199px) {
  .post-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 60px;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .post-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  #top_menus {
    gap: 10px;
  }
  
  .page-content h1 {
    font-size: 1.5rem;
  }
}

/* === Mobile Menu Toggle ==================================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  #top_menus {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111122;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    display: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  #top_menus.active {
    display: flex;
  }
}

/* === Animations ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* === Forms ================================================= */
.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: #1a1a2a;
  border: 1px solid #333344;
  border-radius: 5px;
  color: #ffffff;
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: #00c8ff;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  background: #00c8ff;
  color: #0a0a14;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #ffffff;
}

/* === Privacy Policy ======================================== */
.privacy-policy {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: #111122;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.privacy-policy h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.privacy-policy h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

.privacy-policy p {
  margin-bottom: 15px;
  color: #d0d0d0;
}

.privacy-policy ul {
  margin: 0 0 15px 20px;
  color: #d0d0d0;
}

.update-date {
  font-size: 0.875rem;
  color: #a0a0a0;
  text-align: right;
  margin-top: 30px;
}

/* === About & Benefits Combined Section ===================== */
.about-benefits-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a0a14 0%, #0d0d1a 100%);
  position: relative;
  overflow: hidden;
}

.about-benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(0, 200, 255, 0.03) 50%, transparent 70%),
    radial-gradient(circle at 20% 50%, rgba(0, 200, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 200, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.about-main-block {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* === About Content Side ================================== */
.about-content {
  background: linear-gradient(135deg, #111122 0%, #151530 100%);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 200, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.about-content::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-text {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0, 200, 255, 0.15);
  color: #00c8ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 200, 255, 0.3);
  text-transform: uppercase;
}

.about-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #00c8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.about-lead {
  font-size: 1.25rem;
  color: #00c8ff;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.4;
}

.about-text p {
  color: #d0d0d0;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-quote {
  background: rgba(0, 200, 255, 0.08);
  border-left: 4px solid #00c8ff;
  padding: 25px 30px;
  margin: 30px 0;
  font-size: 1.25rem;
  font-style: italic;
  color: #ffffff;
  border-radius: 0 10px 10px 0;
  position: relative;
}

.about-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 4rem;
  color: #00c8ff;
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* === Benefits Grid (Integrated) ========================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.benefit-card {
  background: rgba(10, 10, 20, 0.6);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(0, 200, 255, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00c8ff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: #00c8ff;
  box-shadow: 0 10px 30px rgba(0, 200, 255, 0.2);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  filter: grayscale(0.3);
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin: 0;
  line-height: 1.6;
}

/* === Focus Areas Sidebar ================================= */
.focus-areas {
  background: linear-gradient(135deg, #111122 0%, #0f0f20 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 200, 255, 0.1);
  position: relative;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.focus-areas::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00c8ff 0%, transparent 100%);
  border-radius: 0 0 0 20px;
}

.focus-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 200, 255, 0.2);
}

.focus-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.focus-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.focus-list li:last-child {
  border-bottom: none;
}

.focus-list li:hover {
  padding-left: 10px;
}

.focus-list li:hover .focus-number {
  background: #00c8ff;
  color: #0a0a14;
  transform: scale(1.1);
}

.focus-number {
  font-size: 1.25rem;
  font-weight: 900;
  color: #00c8ff;
  background: rgba(0, 200, 255, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 200, 255, 0.2);
}

.focus-list strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.focus-list p {
  color: #a0a0a0;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* === Responsive Design =================================== */
@media (max-width: 1199px) {
  .about-main-block {
    grid-template-columns: 1fr;
  }
  
  .focus-areas {
    position: relative;
    top: 0;
  }
}

@media (max-width: 767px) {
  .about-benefits-section {
    padding: 50px 0;
  }
  
  .about-content {
    padding: 30px;
  }
  
  .about-title {
    font-size: 2rem;
  }
  
  .about-lead {
    font-size: 1.1rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .focus-areas {
    padding: 30px;
  }
  
  .focus-list li {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 575px) {
  .about-title {
    font-size: 1.75rem;
  }
  
  .about-content {
    padding: 20px;
  }
  
  .focus-areas {
    padding: 20px;
  }
  
  .about-quote {
    padding: 20px;
    font-size: 1.1rem;
  }
}