/* airpipi.cfd CSS Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #ff3344; /* Vibrant Red inspired by Jett */
  --primary-hover: #e02233;
  --secondary-color: #3b82f6; /* Sky Blue */
  --secondary-hover: #2563eb;
  --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --accent-yellow: #f59e0b;
  --border-radius: 20px;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(224, 242, 254, 0.5);
  box-shadow: var(--shadow-sm);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo-svg {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.1));
}

.logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 28px;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--secondary-color);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--primary-color);
  background-color: rgba(255, 51, 68, 0.05);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 51, 68, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 51, 68, 0.35);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: #f8fafc;
  clip-path: ellipse(60% 80% at 50% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-text h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 54px;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-text h1 mark {
  background: transparent;
  color: var(--primary-color);
}

.hero-text p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 36px;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 2px dashed rgba(59, 130, 246, 0.2);
  padding-top: 30px;
}

.stat-item h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 28px;
  color: var(--secondary-color);
}

.stat-item p {
  font-size: 14px;
  margin-bottom: 0;
  font-weight: 600;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cloud mascot container */
.mascot-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  animation: float 6s ease-in-out infinite;
}

.cloud-bg {
  position: absolute;
  width: 100%;
  z-index: 1;
  opacity: 0.8;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.05));
}

.mascot-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: 320px;
  margin: 0 auto;
  display: block;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

.section-header h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 40px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 18px;
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: #f8fafc;
}

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

.feature-card {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--bg-gradient);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--secondary-color);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
}

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

.pricing-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.pricing-card.popular {
  border-color: var(--primary-color);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: translateY(-8px) scale(1.03);
}

.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.pricing-header h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pricing-header p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.price {
  margin-bottom: 32px;
}

.price .amount {
  font-family: 'Fredoka One', cursive;
  font-size: 54px;
  color: var(--text-dark);
  line-height: 1;
}

.price .currency {
  font-size: 24px;
  font-weight: 700;
  vertical-align: super;
}

.price .period {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 500;
}

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

.pricing-features li {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

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

.pricing-card .btn {
  width: 100%;
}

/* Articles Section */
.articles-section {
  padding: 100px 0;
  background-color: var(--white);
}

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

.article-card {
  background-color: #f8fafc;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.2);
}

.article-thumbnail {
  height: 200px;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
}

.article-thumbnail svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.article-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.article-excerpt {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 15px;
}

.read-more:hover {
  color: var(--primary-color);
  gap: 12px;
}

/* Reviews Section */
.reviews {
  padding: 100px 0;
  background-color: #f8fafc;
}

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

.review-card {
  background-color: var(--white);
  padding: 36px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  color: rgba(59, 130, 246, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-stars {
  color: var(--accent-yellow);
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.review-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

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

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 18px;
}

.user-info h4 {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
}

.user-info p {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--white);
}

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

.faq-item {
  border-bottom: 2px solid #f1f5f9;
  padding: 24px 0;
}

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

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: var(--transition);
  color: var(--text-dark);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--primary-color);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  color: var(--text-light);
  font-size: 15px;
  margin-top: 0;
  padding-right: 40px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 12px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* CTA Footer banner */
.cta-banner {
  background: var(--bg-gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 38px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.cta-banner p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  font-weight: 500;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Layout Template */
.blog-layout {
  padding: 140px 0 80px;
  background-color: #f8fafc;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-article {
  background-color: var(--white);
  padding: 48px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 2px dashed #f1f5f9;
  padding-bottom: 24px;
}

.article-header h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 36px;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.blog-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.blog-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--text-dark);
  border-left: 5px solid var(--primary-color);
  padding-left: 12px;
}

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

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

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

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

.blog-body strong {
  color: #0f172a;
}

.blog-body blockquote {
  background-color: #e0f2fe;
  border-left: 4px solid var(--secondary-color);
  padding: 16px 24px;
  border-radius: 8px;
  font-style: italic;
  margin: 24px 0;
  color: #0369a1;
}

.blog-body a {
  color: var(--secondary-color);
  font-weight: 700;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.blog-body a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.sidebar-widget h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

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

.widget-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.widget-links a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

.widget-cta {
  background: var(--bg-gradient);
  border: none;
  text-align: center;
}

.widget-cta h3 {
  border-bottom: none;
  padding-bottom: 0;
}

.widget-cta p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.widget-cta .btn {
  width: 100%;
}

/* Footer & PBN Weights setup */
footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  text-align: center;
  border-top: 4px solid var(--primary-color);
}

footer .footer-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 12px;
}

footer .footer-logo span {
  color: var(--primary-color);
}

footer p.tagline {
  font-size: 14px;
  margin-bottom: 30px;
}

/* Precise footer weight transfer links */
.friendship-links {
  border-top: 1px solid #1e293b;
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px; /* Small text as requested */
}

.friendship-links span {
  color: #64748b;
}

.friendship-links a {
  color: #475569; /* Discrete style matching standard footer dark mode */
  font-weight: 500;
  transition: var(--transition);
}

.friendship-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.copyright {
  margin-top: 20px;
  font-size: 13px;
  color: #475569;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 38px;
  }
  
  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 30px;
  }
  
  header .container {
    height: 70px;
  }
  
  nav {
    display: none; /* Can implement simple burger toggle or mobile menu later if needed */
  }
  
  .blog-article {
    padding: 24px;
  }
  
  .article-header h1 {
    font-size: 28px;
  }
}
