/* COIO.BABY - Coffee Modern Design System & SEO Stylesheet */

:root {
  --bg-main: #140c08;
  --bg-surface: #20140e;
  --bg-card: #2c1c14;
  --bg-card-hover: #37231a;
  --border-color: #4a3123;
  --border-highlight: #7c523a;
  
  --primary-gold: #e59d38;
  --primary-gold-hover: #f5b04c;
  --gold-glow: rgba(229, 157, 56, 0.25);
  
  --accent-coffee: #8c5332;
  --accent-cream: #f4d8b9;
  
  --text-primary: #f8f3ee;
  --text-secondary: #c7b5a7;
  --text-muted: #8d7b6f;
  
  --badge-bg: linear-gradient(135deg, #a83232 0%, #d9534f 100%);
  --btn-gradient: linear-gradient(135deg, #4a75e6 0%, #17a2b8 100%);
  --btn-gradient-hover: linear-gradient(135deg, #3b62ca 0%, #138496 100%);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(229, 157, 56, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Dynamic Canvas */
#coffee-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 12, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b86e28 100%);
  color: #140c08;
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, #c47622 100%);
  color: #140c08;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(229, 157, 56, 0.3);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 157, 56, 0.45);
  background: linear-gradient(135deg, var(--primary-gold-hover) 0%, #d48229 100%);
}

.btn-blue {
  background: var(--btn-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 162, 184, 0.3);
}

.btn-blue:hover {
  background: var(--btn-gradient-hover);
  box-shadow: 0 6px 20px rgba(23, 162, 184, 0.5);
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 157, 56, 0.12);
  border: 1px solid rgba(229, 157, 56, 0.3);
  color: var(--primary-gold);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-cream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-features-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-badge svg {
  color: var(--primary-gold);
}

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

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Pricing Cards Section (Matching User Image) */
.pricing-section {
  padding: 80px 0;
  background: radial-gradient(circle at center, rgba(44, 28, 20, 0.4) 0%, rgba(20, 12, 8, 0) 70%);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-card.recommended {
  border-color: var(--border-highlight);
  box-shadow: 0 0 25px rgba(229, 157, 56, 0.2);
}

/* Top Ribbon Badge */
.ribbon-wrapper {
  width: 120px;
  height: 120px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
}

.ribbon {
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  transform: rotate(45deg);
  position: relative;
  padding: 6px 0;
  top: 22px;
  right: -24px;
  width: 140px;
  background: var(--badge-bg);
  color: #fff;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 28px;
}

.price-currency {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-amount {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -1.5px;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  color: #28a745;
  flex-shrink: 0;
}

.card-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: block;
}

.card-btn-dark {
  background: #392820;
  color: #e59d38;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.card-btn-dark:hover {
  background: #4a3429;
  border-color: var(--primary-gold);
  color: #ffffff;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(229, 157, 56, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Articles Section */
.articles-section {
  padding: 80px 0;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-sm);
}

.article-tag {
  display: inline-block;
  background: rgba(229, 157, 56, 0.15);
  color: var(--primary-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  align-self: flex-start;
}

.article-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.article-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

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

/* User Reviews Section */
.reviews-section {
  padding: 80px 0;
  background: rgba(32, 20, 14, 0.4);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.review-stars {
  color: #ffb800;
  margin-bottom: 14px;
  display: flex;
  gap: 2px;
}

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

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
}

.author-info h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
}

.author-info span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question svg {
  transition: transform 0.3s ease;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

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

.article-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

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

.article-header h1 {
  font-size: 2.3rem;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.article-header-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-content {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin: 36px 0 16px;
  border-left: 4px solid var(--primary-gold);
  padding-left: 14px;
}

.article-content h3 {
  font-size: 1.3rem;
  color: var(--accent-cream);
  margin: 24px 0 12px;
}

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

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

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(229, 157, 56, 0.12) 0%, rgba(140, 83, 50, 0.2) 100%);
  border: 1px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.internal-nav-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 40px;
}

.internal-nav-box h4 {
  font-size: 1.1rem;
  color: var(--primary-gold);
  margin-bottom: 14px;
}

.internal-links-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
}

.internal-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.internal-links-list a:hover {
  color: var(--primary-gold);
}

/* Footer */
.footer {
  background: #0f0805;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-column h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .pricing-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .pricing-grid, .articles-grid, .reviews-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .internal-links-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-container {
    padding: 24px;
  }
}
