/* SSRDog Landing Page Modern CSS */
:root {
  --primary-blue: #1E56A0;
  --primary-dark: #104382;
  --accent-red: #E11D48;
  --accent-red-hover: #BE123C;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --bg-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(30, 86, 160, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(30, 86, 160, 0.15);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Header Links */
a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #334155;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-select {
  font-size: 14px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
}

.btn-secondary-light {
  background: #F1F5F9;
  color: #334155;
}

.btn-secondary-light:hover {
  background: #E2E8F0;
  color: var(--text-dark);
}

.btn-outline {
  background: #FFFFFF;
  color: #334155;
  border: 1px solid #CBD5E1;
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: #F8FAFC;
}

.btn-primary {
  background: var(--primary-dark);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(16, 67, 130, 0.3);
}

.btn-primary:hover {
  background: #0C3466;
  box-shadow: 0 6px 20px rgba(16, 67, 130, 0.4);
  transform: translateY(-1px);
}

.btn-recommend {
  background: var(--accent-red);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.btn-recommend:hover {
  background: var(--accent-red-hover);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(30, 86, 160, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero p {
  max-width: 780px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.06));
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(30, 86, 160, 0.08);
  color: var(--primary-blue);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

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

/* Features Grid */
.features-section {
  padding: 90px 0;
  background: var(--bg-light);
}

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

.feature-card {
  background: var(--card-bg);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 86, 160, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(30, 86, 160, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Pricing Section */
.pricing-section {
  padding: 90px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border: 2px solid var(--primary-blue);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--primary-blue);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
}

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

.pricing-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 12px;
}

.pricing-features li svg {
  color: #10B981;
  flex-shrink: 0;
}

.coupon-banner {
  margin-top: 40px;
  background: #EFF6FF;
  border: 1px dashed var(--primary-blue);
  padding: 16px 24px;
  border-radius: 16px;
  text-align: center;
  color: var(--primary-dark);
  font-weight: 600;
}

.coupon-code {
  background: var(--primary-blue);
  color: #FFF;
  padding: 2px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 16px;
}

/* Articles Section */
.articles-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 86, 160, 0.3);
}

.article-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-card h3 a {
  color: var(--text-dark);
}

.article-card h3 a:hover {
  color: var(--primary-blue);
}

.article-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #94A3B8;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

.read-more {
  color: var(--primary-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 90px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #F59E0B;
  margin-bottom: 14px;
  font-size: 18px;
}

.testimonial-card p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 20px;
  font-style: italic;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.user-details h4 {
  font-size: 15px;
  font-weight: 700;
}

.user-details span {
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  padding: 90px 0;
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Footer Section & PBN Links */
footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-brand img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #CBD5E1;
}

.footer-nav a:hover {
  color: #FFF;
}

/* PBN Friendly Links Section inside Footer */
.pbn-links-area {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: #64748B;
}

.pbn-links-title {
  color: #64748B;
  font-weight: 500;
}

.pbn-links-area a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.pbn-links-area a:hover {
  color: #E2E8F0;
  text-decoration: underline;
}

.pbn-separator {
  color: #334155;
}

.copyright {
  font-size: 13px;
  color: #64748B;
}

/* Article Detail Page Layout */
.article-page {
  padding: 60px 0 90px;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  background: #FFF;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.article-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-meta-detail {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.keyword-highlight {
  background: #EFF6FF;
  color: var(--primary-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.cta-box {
  background: linear-gradient(135deg, #1E56A0 0%, #104382 100%);
  color: #FFF;
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  margin: 40px 0;
}

.cta-box h3 {
  font-size: 22px;
  color: #FFF;
  margin-bottom: 12px;
}

.cta-box p {
  color: #E2E8F0;
  margin-bottom: 20px;
}

.related-links-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 16px;
  margin-top: 40px;
}

.related-links-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
}

.related-links-box ul {
  list-style: none;
  padding-left: 0;
}

.related-links-box li {
  margin-bottom: 8px;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }
  .nav-links {
    display: none;
  }
  .article-container {
    padding: 24px 16px;
  }
  .article-title {
    font-size: 24px;
  }
}
