/* 
 * Amytele Cloud Airport (amytele.xyz) - Modern Yellow Theme Stylesheet
 * High-converting warm golden yellow design system with high-contrast font colors
 */

:root {
  /* Yellow Background Theme Palette */
  --bg-dark: #fffef0; /* Warm Sunshine Yellow Background */
  --bg-card: #ffffff; /* Crisp White Card with Subtle Yellow Border */
  --bg-card-hover: #fffde6;
  --border-color: rgba(234, 179, 8, 0.25);
  --border-highlight: rgba(202, 138, 4, 0.7);
  
  --primary: #ca8a04; /* Deep Golden Amber */
  --primary-glow: rgba(202, 138, 4, 0.25);
  --secondary: #d97706; /* Rich Warm Amber */
  --accent: #854d0e;
  --accent-purple: #b45309;
  
  --text-main: #1c1917; /* Deep Espresso Charcoal - Maximum legibility on yellow */
  --text-muted: #44403c; /* Dark Warm Slate */
  --text-dim: #78716c; /* Muted Warm Gray */
  
  --success: #15803d;
  --warning: #b45309;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 25px rgba(234, 179, 8, 0.25);
  --shadow-card: 0 8px 24px -6px rgba(180, 83, 9, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 50% 0%, #fef08a 0%, #fffef0 70%);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Yellow Glows */
body::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.3) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 254, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.08);
}

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

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

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px var(--primary-glow);
  object-fit: cover;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.5px;
}

.brand-tag {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
  margin-left: 6px;
  vertical-align: baseline;
}

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

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #d97706 0%, #ca8a04 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  color: #ffffff;
}

.btn-outline {
  background: rgba(254, 240, 138, 0.3);
  border-color: rgba(202, 138, 4, 0.4);
  color: var(--text-main);
}

.btn-outline:hover {
  background: #fef08a;
  border-color: var(--primary);
  color: #854d0e;
}

.btn-recommend {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
  color: #ffffff;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: #fef9c3;
  border: 1px solid rgba(202, 138, 4, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #854d0e;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .ping-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: #1c1917;
}

.hero-title span {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  color: #b45309;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Features Grid */
.features-section {
  padding: 70px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: #fef08a;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1c1917;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-section {
  padding: 70px 0;
  position: relative;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.pricing-card.popular {
  border-color: #d97706;
  border-width: 2px;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.2);
  background: #fffdf0;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d97706 0%, #ca8a04 100%);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #b45309;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-traffic {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: #fef9c3;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #854d0e;
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
}

/* Articles Grid */
.articles-section {
  padding: 70px 0;
}

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

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

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.article-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #b45309;
  font-weight: 800;
  margin-bottom: 8px;
  display: inline-block;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-title a {
  color: #1c1917;
}

.article-title a:hover {
  color: var(--primary);
}

.article-snippet {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(234, 179, 8, 0.2);
  padding-top: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #b45309;
}

/* User Reviews / Testimonials */
.reviews-section {
  padding: 70px 0;
  background: rgba(254, 240, 138, 0.3);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.review-stars {
  color: #d97706;
  font-size: 1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706, #ca8a04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #ffffff;
  font-size: 1rem;
}

.user-info h4 {
  font-size: 0.95rem;
  color: #1c1917;
  font-weight: 700;
}

.user-info p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* FAQ Accordion */
.faq-section {
  padding: 70px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.faq-item:hover {
  border-color: var(--border-highlight);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1c1917;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-toggle {
  font-size: 1.4rem;
  color: #b45309;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
  border-top: 1px solid rgba(234, 179, 8, 0.2);
  margin-top: 10px;
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Article Template Styles */
.article-page {
  padding: 60px 0;
}

.article-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #292524;
  box-shadow: var(--shadow-card);
}

.article-body h2 {
  color: #1c1917;
  font-size: 1.6rem;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}

.article-body h3 {
  color: #b45309;
  font-size: 1.3rem;
  margin: 24px 0 12px;
}

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

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}

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

.article-body blockquote {
  border-left: 4px solid #d97706;
  padding: 16px 20px;
  background: #fef9c3;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: #78350f;
}

.article-cta-box {
  background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
  border: 2px solid #ca8a04;
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 40px 0 20px;
}

.article-cta-box h3 {
  color: #78350f;
  margin-top: 0;
}

.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

/* Footer Section & PBN Friend Links */
footer {
  background: #fef9c3;
  border-top: 1px solid rgba(202, 138, 4, 0.3);
  padding: 50px 0 30px;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-brand span {
  font-weight: 700;
  color: #1c1917;
  font-size: 1.1rem;
}

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

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

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

/* Footer PBN Friend Links Zone */
.footer-pbn-zone {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(180, 83, 9, 0.25);
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-pbn-title {
  color: #78716c;
  font-weight: 600;
}

.footer-pbn-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-pbn-links a {
  color: #854d0e;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-pbn-links a:hover {
  color: #d97706;
  text-decoration: underline;
}

.copyright {
  margin-top: 12px;
  color: #78716c;
  font-size: 0.75rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .article-body {
    padding: 24px 18px;
  }
}
