/* variables & base */
:root {
  --primary-color: #0d6efd; /* Sky/Ocean Blue */
  --primary-hover: #0b5ed7;
  --bg-color: #f8f9fa; /* Off-white */
  --text-color: #333333;
  --light-text: #666666;
  --white: #ffffff;
  --border-color: #e9ecef;
  --moon-color: #fff9e6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: scroll;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, var(--moon-color) 0%, #e0eaf5 100%);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

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

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

.btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

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

.btn-secondary:hover {
  background-color: rgba(13, 110, 253, 0.1);
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero-wrapper {
  background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 60%, #7dd3fc 100%);
  position: relative;
}

.hero {
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-tag {
  display: inline-block;
  background: #ffeeba;
  color: #856404;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.moon-wrapper {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 30% 30%, var(--white), #d6e4f0);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.8), inset -20px -20px 40px rgba(0,0,0,0.05);
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.moon-wrapper::after {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  z-index: -1;
}

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

/* Sections */
section {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

/* Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.card p {
  color: var(--light-text);
}

/* Pricing */
.pricing-card {
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.pricing-card.recommended {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.recommended:hover {
  transform: scale(1.05) translateY(-5px);
}

.tag-recommended {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.price {
  font-size: 40px;
  font-weight: bold;
  margin: 20px 0;
  color: var(--primary-color);
}

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

.features-list {
  margin: 20px 0 30px;
  text-align: left;
}

.features-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* Testimonials Marquee */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--white);
  padding: 40px 0;
}

.marquee {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee-item {
  width: 350px;
  padding: 20px;
  margin: 0 15px;
  background: var(--bg-color);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.stars {
  color: #ffc107;
  margin-bottom: 10px;
  font-size: 18px;
}

.reviewer {
  font-weight: bold;
  margin-top: 10px;
  display: block;
  text-align: right;
  color: var(--light-text);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

details {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

summary {
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

details[open] summary::after {
  content: '-';
}

details p {
  padding: 0 20px 20px;
  color: var(--light-text);
}

/* Footer */
footer {
  background: #222;
  color: #ccc;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  color: #ccc;
}

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

/* Articles */
.article-header {
  padding: 120px 0 60px;
  background: var(--white);
  text-align: center;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
}

.article-content h2 {
  margin: 30px 0 15px;
}

.article-content h3 {
  margin: 20px 0 10px;
}

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

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

.breadcrumb {
  margin-bottom: 20px;
  color: var(--light-text);
  text-align: left;
}

.article-card {
  display: block;
  color: inherit;
}

.article-card:hover {
  color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: left 0.3s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.recommended {
    transform: none;
  }
  
  .pricing-card.recommended:hover {
    transform: translateY(-5px);
  }
}
