:root {
  --fed7-primary: #446d92;
  --fed7-accent: #cb6322;
  --fed7-bg: #f4f7f6;
  --fed7-surface: #ffffff;
  --fed7-text: #2c3e50;
  --fed7-text-muted: #596a7a;
  --fed7-radius: 8px;
  --fed7-font-head: 'Poppins', sans-serif;
  --fed7-font-body: 'Nunito', sans-serif;
  --fed7-shadow: 0 4px 12px rgba(68, 109, 146, 0.08);
  --fed7-glass-bg: rgba(255, 255, 255, 0.85);
  --fed7-glass-border: rgba(255, 255, 255, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.fed7-body {
  font-family: var(--fed7-font-body);
  background-color: var(--fed7-bg);
  color: var(--fed7-text);
  line-height: 1.6;
  font-size: 16px;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fed7-font-head);
  color: var(--fed7-primary);
  line-height: 1.3;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Glassmorphism Utility */
.fed7-glass {
  background: var(--fed7-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--fed7-glass-border);
  box-shadow: var(--fed7-shadow);
  border-radius: var(--fed7-radius);
}

/* Header */
.fed7-header {
  background-color: var(--fed7-surface);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  z-index: 50;
}

.fed7-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

@media (min-width: 768px) {
  .fed7-header-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.fed7-logo {
  font-family: var(--fed7-font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--fed7-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fed7-nav-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fed7-nav-wrapper::-webkit-scrollbar {
  display: none;
}

.fed7-nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  padding-bottom: 5px;
  white-space: nowrap;
  justify-content: center;
}

@media (max-width: 767px) {
  .fed7-nav-list {
    justify-content: flex-start;
  }
}

.fed7-nav-item {
  display: inline-block;
}

.fed7-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--fed7-text-muted);
  transition: color 0.3s ease;
}

.fed7-nav-link:hover {
  color: var(--fed7-accent);
}

/* Ticker */
.fed7-ticker-wrapper {
  background-color: var(--fed7-primary);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  width: 100%;
  display: flex;
}

.fed7-ticker-track {
  display: flex;
  white-space: nowrap;
  gap: 40px;
  animation: fed7-marquee 25s linear infinite;
}

.fed7-ticker-item {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.fed7-ticker-item a {
  color: #fff;
}

.fed7-ticker-item a:hover {
  color: #f0f0f0;
  text-decoration: underline;
}

@keyframes fed7-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Main Layout */
.fed7-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.fed7-inner-page {
  gap: 40px;
}

/* Hero Section (Split) */
.fed7-hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 900px) {
  .fed7-hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

.fed7-hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fed7-hero-badge {
  align-self: flex-start;
  background: rgba(68, 109, 146, 0.1);
  color: var(--fed7-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.fed7-hero-slogan {
  font-size: 32px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .fed7-hero-slogan {
    font-size: 44px;
  }
}

.fed7-hero-desc {
  font-size: 16px;
  color: var(--fed7-text-muted);
}

.fed7-hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.fed7-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--fed7-radius);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fed7-btn-primary {
  background-color: var(--fed7-accent);
  color: #fff;
  border: 2px solid var(--fed7-accent);
}

.fed7-btn-primary:hover {
  background-color: #b5551c;
}

.fed7-btn-outline {
  background-color: transparent;
  color: var(--fed7-primary);
  border: 2px solid var(--fed7-primary);
}

.fed7-btn-outline:hover {
  background-color: var(--fed7-primary);
  color: #fff;
}

.fed7-hero-img-wrapper {
  padding: 10px;
  border-radius: 12px;
}

.fed7-hero-image {
  border-radius: var(--fed7-radius);
  width: 100%;
  height: auto;
}

/* Stats Section */
.fed7-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 768px) {
  .fed7-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.fed7-stat-card {
  padding: 20px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fed7-stat-val {
  font-family: var(--fed7-font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--fed7-accent);
}

.fed7-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--fed7-text-muted);
}

/* Common Section Header */
.fed7-section-header {
  text-align: center;
  margin-bottom: 30px;
}

.fed7-section-title {
  font-size: 28px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.fed7-section-title::after {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background: var(--fed7-accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.fed7-section-sub {
  font-size: 15px;
  color: var(--fed7-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Benefits Section */
.fed7-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .fed7-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fed7-benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fed7-benefit-card {
  padding: 25px 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.fed7-benefit-card:hover {
  transform: translateY(-5px);
}

.fed7-benefit-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.fed7-benefit-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.fed7-benefit-desc {
  font-size: 14px;
  color: var(--fed7-text-muted);
}

/* Cards Section (Masonry-like Grid) */
.fed7-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.fed7-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fed7-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(68, 109, 146, 0.15);
}

.fed7-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fed7-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid var(--fed7-glass-border);
}

.fed7-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fed7-card:hover .fed7-card-img {
  transform: scale(1.08);
}

.fed7-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fed7-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.fed7-card-sub {
  font-size: 14px;
  color: var(--fed7-text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}

.fed7-card-badge {
  align-self: flex-start;
  background-color: var(--fed7-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Steps Section */
.fed7-steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .fed7-steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fed7-step-item {
  position: relative;
  padding: 30px 20px;
  background-color: var(--fed7-surface);
  border-radius: var(--fed7-radius);
  box-shadow: var(--fed7-shadow);
  text-align: center;
}

.fed7-step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--fed7-accent);
  color: #fff;
  font-family: var(--fed7-font-head);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 4px solid var(--fed7-bg);
}

.fed7-step-title {
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.fed7-step-desc {
  font-size: 14px;
  color: var(--fed7-text-muted);
}

/* Payments */
.fed7-payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.fed7-payment-chip {
  background-color: var(--fed7-surface);
  border: 1px solid #e1e8ed;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fed7-text);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Article Section */
.fed7-article-wrapper {
  padding: 30px;
}

@media (max-width: 600px) {
  .fed7-article-wrapper {
    padding: 20px 15px;
  }
}

.fed7-article-wrapper h2, .fed7-article-wrapper h3 {
  margin-top: 25px;
  margin-bottom: 15px;
}

.fed7-article-wrapper p {
  margin-bottom: 15px;
  font-size: 16px;
}

.fed7-article-wrapper ul, .fed7-article-wrapper ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.fed7-article-wrapper li {
  margin-bottom: 8px;
  font-size: 16px;
}

.fed7-article-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  overflow-x: auto;
  display: block;
}

.fed7-article-wrapper th, .fed7-article-wrapper td {
  border: 1px solid #e1e8ed;
  padding: 10px;
  text-align: left;
  font-size: 15px;
}

.fed7-article-wrapper th {
  background-color: rgba(68, 109, 146, 0.1);
  color: var(--fed7-primary);
}

/* FAQ */
.fed7-faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.fed7-faq-item {
  background-color: var(--fed7-surface);
  border-radius: var(--fed7-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
}

.fed7-faq-q {
  padding: 18px 20px;
  font-family: var(--fed7-font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--fed7-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.fed7-faq-q::-webkit-details-marker {
  display: none;
}

.fed7-faq-q::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.fed7-faq-item[open] .fed7-faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.fed7-faq-a {
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--fed7-text-muted);
  border-top: 1px solid #f0f0f0;
  margin-top: -5px;
  padding-top: 15px;
}

/* Inner Page Elements */
.fed7-page-header {
  text-align: center;
  padding: 20px 0;
}

.fed7-crumb-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fed7-crumb-item {
  font-size: 13px;
  color: var(--fed7-text-muted);
  display: flex;
  align-items: center;
}

.fed7-crumb-item:not(:last-child)::after {
  content: '>';
  margin-left: 10px;
  font-size: 10px;
  opacity: 0.5;
}

.fed7-crumb-link {
  color: var(--fed7-primary);
  font-weight: 600;
}

.fed7-crumb-link:hover {
  text-decoration: underline;
}

.fed7-page-title {
  font-size: 32px;
  margin-bottom: 15px;
}

.fed7-meta-desc {
  font-size: 16px;
  color: var(--fed7-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.fed7-pager-wrapper {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 20px;
  margin-top: 20px;
}

.fed7-pager-link {
  padding: 10px 20px;
  background-color: var(--fed7-surface);
  border: 1px solid #e1e8ed;
  border-radius: var(--fed7-radius);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.fed7-pager-link:hover {
  border-color: var(--fed7-primary);
  color: var(--fed7-primary);
}

/* Footer */
.fed7-footer {
  background-color: #1a252f;
  color: #aebfd0;
  padding: 50px 20px 20px;
  margin-top: auto;
}

.fed7-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.fed7-footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .fed7-footer-top {
    grid-template-columns: 1.5fr 1fr;
  }
}

.fed7-logo-footer {
  font-family: var(--fed7-font-head);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.fed7-footer-desc {
  font-size: 14px;
  line-height: 1.6;
  max-width: 400px;
}

.fed7-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.fed7-footer-links a {
  font-size: 14px;
  color: #fff;
  transition: color 0.3s;
}

.fed7-footer-links a:hover {
  color: var(--fed7-accent);
}

.fed7-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fed7-legal-text {
  opacity: 0.7;
}

/* Animations Utilities */
.fed7-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.1, 0.7, 0.1, 1), transform 0.7s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.fed7-reveal.fed7-active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fed7-pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(203, 99, 34, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(203, 99, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(203, 99, 34, 0); }
}

.fed7-pulse {
  animation: fed7-pulse-glow 2s infinite;
}
