/* ===================================================================
   MODERNPRESS PRO - BOLD CREATIVE THEME WITH UNIQUE DESIGN
   =================================================================== */

/* === BASE SETTINGS ================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette - Professional & Elegant */
  --color-bg-primary: #f8f9fa;
  --color-bg-secondary: #ffffff;
  --color-bg-dark: #1a1d29;
  --color-text-primary: #1a1d29;
  --color-text-secondary: #6c757d;
  --color-text-light: #ffffff;
  --color-accent-primary: #2563eb;
  --color-accent-secondary: #0891b2;
  --color-accent-tertiary: #059669;
  --color-border-light: #e5e7eb;
  --color-shadow: rgba(37, 99, 235, 0.12);
  
  /* Typography - Modern Sans-serif */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--font-main);
  line-height: 1.7;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  font-size: 17px;
}

/* === HEADER SECTION ================================================ */
header {
  background: var(--color-bg-secondary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 3px solid var(--color-accent-primary);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: 200px auto 1fr;
  gap: 3rem;
  align-items: center;
}

.site-tagline {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 3px solid var(--color-accent-primary);
  padding-left: 1rem;
  line-height: 1.4;
}

.site-logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
  transition: transform 0.3s ease, color 0.3s ease;
  text-transform: uppercase;
}

.site-logo:hover {
  transform: translateY(-3px);
  color: var(--color-accent-secondary);
}

/* === NAVIGATION MENU =============================================== */
#top_menus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

#top_menus .nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

#top_menus .nav-link:hover,
#top_menus .nav-link:focus {
  background: var(--color-accent-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

#top_menus .current-menu-item .nav-link,
#top_menus .current_page_item .nav-link {
  background: var(--color-accent-primary);
  color: var(--color-text-light);
}

/* === HERO SECTION (Homepage) ======================================= */
.hero-section {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 3rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(8, 145, 178, 0.85) 100%), url('./banner.jpg') center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  filter: blur(100px);
}

.hero-content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  letter-spacing: -0.04em;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.65;
  max-width: 680px;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1.125rem 2.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.btn-primary {
  background: var(--color-bg-secondary);
  color: var(--color-accent-primary);
  border-color: var(--color-bg-secondary);
}

.btn-primary:hover {
  background: var(--color-text-light);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  border-color: var(--color-text-light);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

/* === POST LIST GRID ================================================ */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1320px;
  margin: 5rem auto;
  padding: 0 3rem;
}

/* === POST CARD ===================================================== */
.post-item {
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border-light);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.post-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.post-item:hover::before {
  transform: scaleX(1);
}

.post-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px var(--color-shadow);
  border-color: var(--color-accent-primary);
}

/* Post Thumbnail */
.post-featured-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-item:hover .post-featured-image img {
  transform: scale(1.12) rotate(2deg);
}

/* Post Title */
.post-item h3 {
  font-size: 1.4rem;
  margin: 2rem 2rem 1rem;
  line-height: 1.35;
  font-weight: 700;
  font-family: var(--font-heading);
}

.post-item h3 a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-item:hover h3 a {
  color: var(--color-accent-primary);
}

/* Post Excerpt */
.post-item > p {
  margin: 0 2rem 1.75rem;
  color: var(--color-text-secondary);
  flex: 1 0 auto;
  line-height: 1.7;
  font-size: 1rem;
}

/* Read More Button */
.post-item > a:last-of-type {
  align-self: flex-start;
  margin: 0 2rem 2rem;
  background: var(--color-accent-primary);
  color: var(--color-text-light);
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-item > a:last-of-type:hover {
  background: var(--color-accent-secondary);
  transform: translateX(8px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* === PAGINATION ==================================================== */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 6rem;
  padding: 0 3rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  padding: 0.625rem 1.125rem;
  border: 2px solid var(--color-border-light);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  font-weight: 600;
  background: var(--color-bg-secondary);
}

.page-numbers.current {
  background: var(--color-accent-primary);
  color: var(--color-text-light);
  border-color: transparent;
  box-shadow: 0 8px 20px var(--color-shadow);
}

.page-numbers:hover:not(.current) {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  color: var(--color-text-light);
  transform: translateY(-3px);
}

.next.page-numbers,
.prev.page-numbers {
  padding: 0.875rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

/* === BREADCRUMBS =================================================== */
.breadcrumbs {
  max-width: 1320px;
  margin: 3rem auto 0;
  padding: 0 3rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.breadcrumbs a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--color-accent-secondary);
}

.breadcrumbs span {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* === CONTENT PAGE (single/page) ==================================== */
.page-content {
  max-width: 1080px;
  margin: 3rem auto 6rem;
  padding: 0 3rem;
}

.page-content article {
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border-light);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Page Featured Image */
.page-content .post-featured-image {
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.page-content .post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Page Title */
.page-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 3rem 3rem 2rem;
  line-height: 1.2;
  color: var(--color-accent-primary);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
}

/* Content Text */
.page-content .content {
  padding: 0 3rem 3.5rem;
  color: var(--color-text-secondary);
  line-height: 1.85;
}

.page-content .content p {
  margin-bottom: 1.75rem;
  font-size: 1.125rem;
}

.page-content .content h2,
.page-content .content h3,
.page-content .content h4 {
  color: var(--color-text-primary);
  margin: 2.5rem 0 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.page-content .content h2 {
  font-size: 2rem;
  border-left: 5px solid var(--color-accent-primary);
  padding-left: 1.5rem;
}

.page-content .content h3 {
  font-size: 1.6rem;
}

.page-content .content a {
  color: var(--color-accent-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.page-content .content a:hover {
  border-bottom-color: var(--color-accent-primary);
  color: var(--color-accent-secondary);
}

.page-content .content ul,
.page-content .content ol {
  margin: 2rem 0;
  padding-left: 2.5rem;
}

.page-content .content li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.page-content .content ul li::marker {
  color: var(--color-accent-primary);
  font-size: 1.2em;
}

/* === 404 PAGE ====================================================== */
.error-404 {
  max-width: 800px;
  margin: 6rem auto;
  padding: 4rem 3rem;
  text-align: center;
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border-light);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.error-404 h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--color-accent-primary);
  margin-bottom: 1.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
}

.error-404 h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--color-text-primary);
  font-weight: 700;
}

.error-404 p {
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* === FOOTER SECTION ================================================ */
footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 3rem 3rem;
  border-top: 5px solid var(--color-accent-primary);
  margin-top: auto;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent-primary);
}

.footer-content {
  max-width: 1320px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--color-accent-primary);
}

.footer-links a:hover {
  color: var(--color-accent-primary);
  padding-left: 2rem;
}

.footer-links a:hover::before {
  opacity: 1;
}

/* Footer Copyright */
.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1320px;
  margin: 0 auto;
}

.footer-copyright a {
  color: var(--color-accent-primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-copyright a:hover {
  color: var(--color-accent-primary);
}

/* === WHY CHOOSE SECTION ============================================ */
.why-choose-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 6rem 3rem;
  position: relative;
}

.why-choose-container {
  max-width: 1320px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 500;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--color-bg-secondary);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 2px solid var(--color-border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 15px 40px var(--color-shadow);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.benefit-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* === HOW IT WORKS SECTION ========================================== */
.how-it-works-section {
  background: var(--color-bg-secondary);
  padding: 6rem 3rem;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.how-it-works-container {
  max-width: 1320px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-primary), transparent);
  z-index: 0;
  display: none;
}

@media (min-width: 1024px) {
  .steps-grid::before {
    display: block;
  }
}

.step-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 2px solid var(--color-border-light);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--color-shadow);
  border-color: var(--color-accent-primary);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-accent-primary);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  opacity: 0.2;
}

.step-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.step-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* === FEATURED INSIGHTS SECTION ===================================== */
.featured-insights-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 6rem 3rem;
}

.featured-insights-container {
  max-width: 1320px;
  margin: 0 auto;
}

.featured-insights-section .section-header {
  margin-bottom: 3.5rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .featured-main {
    grid-row: 1 / 3;
  }
}

.featured-card {
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border-light);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 300px;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.featured-card:hover::before {
  left: 100%;
}

.featured-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 20px 50px var(--color-shadow);
}

.featured-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.featured-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  position: relative;
  z-index: 1;
  line-height: 1.4;
}

.featured-card p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  flex: 1 0 auto;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.featured-link {
  color: var(--color-accent-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.featured-link:hover {
  color: var(--color-accent-secondary);
  transform: translateX(4px);
}

.featured-main {
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
  color: var(--color-text-light);
  min-height: 380px;
}

.featured-main .featured-badge {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-text-light);
}

.featured-main h3 {
  color: var(--color-text-light);
}

.featured-main p {
  color: rgba(255, 255, 255, 0.9);
}

.featured-main .featured-link {
  color: var(--color-text-light);
  font-weight: 700;
}

.featured-main .featured-link:hover {
  color: var(--color-bg-secondary);
}

/* === TRUST SECTION ================================================= */
.trust-section {
  background: var(--color-bg-dark);
  padding: 6rem 3rem;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 50%;
  filter: blur(80px);
}

.trust-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -30%;
  width: 500px;
  height: 500px;
  background: rgba(8, 145, 178, 0.05);
  border-radius: 50%;
  filter: blur(100px);
}

.trust-container {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.trust-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-light);
  margin-bottom: 3.5rem;
  text-align: center;
  font-family: var(--font-heading);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.trust-stat {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.trust-stat:hover {
  background: rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
  border-color: var(--color-accent-primary);
}

.trust-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent-primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.trust-stat p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 1rem;
}

.trust-description {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 500;
}

/* === CTA SECTION ================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(80px);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  filter: blur(100px);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.cta-section p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-buttons .btn-primary {
  background: var(--color-bg-secondary);
  color: var(--color-accent-primary);
  border-color: var(--color-bg-secondary);
}

.cta-buttons .btn-primary:hover {
  background: var(--color-text-light);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-text-light);
}

/* === TEXT UTILITIES ================================================ */
.text-center {
  text-align: center;
}

/* === RESPONSIVE DESIGN ============================================= */

/* Tablets */
@media (max-width: 1024px) {
  body {
    font-size: 16px;
  }

  .header-container {
    padding: 1.75rem 2rem;
    gap: 2rem;
    grid-template-columns: 180px auto 1fr;
  }
  
  .site-tagline {
    font-size: 0.75rem;
  }
  
  #top_menus {
    gap: 1.5rem;
  }
  
  .hero-section {
    min-height: 65vh;
    padding: 4rem 2rem;
  }
  
  .post-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 2rem;
  }

  .page-content {
    padding: 0 2rem;
  }

  .why-choose-section,
  .how-it-works-section,
  .featured-insights-section,
  .trust-section,
  .cta-section {
    padding: 4rem 2rem;
  }

  .benefits-grid,
  .steps-grid,
  .featured-grid {
    gap: 1.5rem;
  }

  .featured-grid {
    grid-template-columns: 1fr !important;
  }

  .featured-main {
    grid-row: auto !important;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .trust-stats {
    gap: 1.5rem;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .header-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
  
  .site-tagline {
    display: none;
  }
  
  #top_menus {
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .hero-section {
    min-height: 55vh;
    padding: 3rem 1.5rem;
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .post-list {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    margin: 3rem auto;
    margin-top: 2rem;
  }
  
  .page-content {
    padding: 0 1.5rem;
  }
  
  .page-content h1 {
    margin: 2rem 2rem 1.5rem;
  }
  
  .page-content .content {
    padding: 0 2rem 2.5rem;
  }
  
  .breadcrumbs {
    font-size: 0.875rem;
    padding: 0 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  footer {
    padding: 3rem 1.5rem;
  }

  .why-choose-section,
  .how-it-works-section,
  .featured-insights-section,
  .trust-section,
  .cta-section {
    padding: 3rem 1.5rem;
  }

  .benefits-grid,
  .steps-grid,
  .featured-grid,
  .trust-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .benefit-card,
  .step-card,
  .featured-card {
    padding: 1.75rem 1.5rem;
  }

  .benefit-icon {
    font-size: 2rem;
  }

  .step-number {
    font-size: 2.5rem;
  }

  .trust-stat {
    padding: 1.5rem;
  }

  .trust-number {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }
}

/* Small Smartphones */
@media (max-width: 480px) {
  .site-logo {
    font-size: 1.4rem;
  }
  
  #top_menus {
    gap: 0.75rem;
    font-size: 0.85rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
  
  .post-item h3 {
    font-size: 1.2rem;
    margin: 1.5rem 1.5rem 1rem;
  }
  
  .post-item > p {
    margin: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .post-item > a:last-of-type {
    margin: 0 1.5rem 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .page-numbers {
    min-width: 45px;
    height: 45px;
    font-size: 0.9rem;
  }

  .page-content h1 {
    margin: 1.5rem 1.5rem 1.25rem;
  }

  .page-content .content {
    padding: 0 1.5rem 2rem;
  }

  .why-choose-section,
  .how-it-works-section,
  .featured-insights-section,
  .trust-section,
  .cta-section {
    padding: 2.5rem 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .benefit-card,
  .step-card,
  .featured-card {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .featured-card {
    min-height: 250px;
  }

  .featured-main {
    min-height: 280px;
  }

  .featured-card h3 {
    font-size: 1.15rem;
  }

  .trust-stat {
    padding: 1.25rem 1rem;
  }

  .trust-number {
    font-size: 1.75rem;
  }

  .trust-stat p {
    font-size: 0.9rem;
  }

  .trust-description {
    font-size: 0.95rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Large Screens */
@media (min-width: 1600px) {
  body {
    font-size: 18px;
  }
  
  .header-container,
  .post-list,
  .breadcrumbs,
  .footer-content {
    max-width: 1600px;
  }
}

/* === UTILITIES ===================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Focus for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Selection Color */
::selection {
  background: var(--color-accent-primary);
  color: var(--color-text-light);
}

::-moz-selection {
  background: var(--color-accent-primary);
  color: var(--color-text-light);
}
