/* Sunbeam Lens Flare Theme v64 */
:root {
  --sun-bg: #fafaf9;
  --sun-surface: #ffffff;
  --sun-card: #ffffff;
  --sun-gold: #f59e0b;
  --sun-amber: #d97706;
  --sun-sky: #0284c7;
  --sun-sky-light: #e0f2fe;
  --sun-heading: #1c1917;
  --sun-text: #44403c;
  --sun-muted: #78716c;
  --sun-border: rgba(245, 158, 11, 0.22);
  --sun-radius: 16px;
  --sun-shadow: 0 10px 30px rgba(217, 119, 6, 0.08);
  --sun-glow: 0 0 30px rgba(245, 158, 11, 0.25);
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--sun-heading);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--sun-gold) 0%, var(--sun-sky) 100%);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

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

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--sun-muted);
  padding: 8px 12px;
  border-radius: 20px;
}

.nav-link:hover, .nav-link.active {
  color: var(--sun-amber);
  background: rgba(245, 158, 11, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(217, 119, 6, 0.5);
}

.btn-outline {
  background: #ffffff;
  color: var(--sun-heading);
  border: 1px solid var(--sun-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.btn-outline:hover {
  border-color: var(--sun-amber);
  color: var(--sun-amber);
  transform: translateY(-2px);
}

/* Sunbeam Lens Flare Hero */
.hero {
  position: relative;
  padding: 85px 0 70px;
  text-align: center;
  background: radial-gradient(circle at 50% -20%, #fef3c7 0%, #e0f2fe 50%, #fafaf9 90%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  overflow: hidden;
}

.sunbeam-flare-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.25) 0%, rgba(2, 132, 199, 0.1) 50%, transparent 80%);
  pointer-events: none;
  filter: blur(30px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--sun-amber);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.hero-title {
  font-size: 46px;
  font-weight: 900;
  color: var(--sun-heading);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

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

.hero-subtitle {
  font-size: 18px;
  color: var(--sun-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.hero-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--sun-border);
  border-radius: var(--sun-radius);
  padding: 14px;
  box-shadow: var(--sun-shadow);
  transition: all 0.3s ease;
  will-change: transform;
}

.hero-card:hover {
  transform: translateY(-6px);
  border-color: var(--sun-gold);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.2);
}

.hero-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  content-visibility: auto;
}

.hero-card-caption {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sun-heading);
}

/* Sections */
.section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.section-panel {
  background: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--sun-heading);
  margin-bottom: 12px;
}

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

/* 3x3 Card Grid - Core Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--sun-radius);
  padding: 30px 26px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b 0%, #0284c7 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: var(--sun-gold);
  box-shadow: var(--sun-shadow);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #fef3c7 0%, #e0f2fe 100%);
  color: var(--sun-amber);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sun-heading);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--sun-muted);
  line-height: 1.65;
}

/* Blog / Tutorials Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fafaf9;
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: var(--sun-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--sun-gold);
  background: #ffffff;
  box-shadow: var(--sun-shadow);
  transform: translateY(-4px);
}

.blog-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--sun-amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--sun-heading);
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 14px;
  color: var(--sun-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.blog-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--sun-sky);
}

.blog-link:hover {
  color: var(--sun-amber);
  text-decoration: underline;
}

.more-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--sun-radius);
  padding: 26px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.faq-question {
  font-size: 18px;
  font-weight: 800;
  color: var(--sun-heading);
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 15px;
  color: var(--sun-muted);
  line-height: 1.7;
}

/* Download Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.download-card {
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--sun-radius);
  padding: 34px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.download-card:hover {
  border-color: var(--sun-gold);
  box-shadow: var(--sun-shadow);
  transform: translateY(-5px);
}

.download-card-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--sun-heading);
  margin-bottom: 10px;
}

.download-card p {
  font-size: 14px;
  color: var(--sun-muted);
  margin-bottom: 24px;
}

.download-web-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #e0f2fe 100%);
  border: 1px solid var(--sun-border);
  border-radius: var(--sun-radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-web-banner h3 {
  font-size: 21px;
  color: var(--sun-heading);
  margin-bottom: 6px;
}

.download-web-banner p {
  color: var(--sun-muted);
  font-size: 15px;
}

/* Dark Footer */
.footer {
  background: #1c1917;
  color: #a8a29e;
  padding: 64px 0 32px;
  border-top: 4px solid var(--sun-gold);
}

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

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 14px;
  color: #a8a29e;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #a8a29e;
}

.footer-col ul li a:hover {
  color: #f59e0b;
  text-decoration: underline;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 14px;
  color: #78716c;
}

@media (max-width: 992px) {
  .hero-showcase, .features-grid, .download-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .download-web-banner {
    flex-direction: column;
    text-align: center;
  }
}
