@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Geist+Mono:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --void: #090909;
  --obsidian: #141414;
  --graphite: #1C1C1C;
  --smoke: #262626;
  --fog: #6A6A6A;
  --chalk: #F2F2F0;
  --silver: #9A9A9A;
  --acid: #CAFF47;
  
  --custom-green: #22C55E;
  --custom-red: #EF4444;
  --custom-blue: #3B82F6;

  --font-fraunces: 'Fraunces', serif;
  --font-jakarta: 'Plus Jakarta Sans', sans-serif;
  --font-geist: 'Geist Mono', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-card: 12px;
  --border-radius-button: 8px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--void);
  color: var(--chalk);
  font-family: var(--font-jakarta);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--void);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--chalk);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--void);
}
::-webkit-scrollbar-thumb {
  background: var(--smoke);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--fog);
}

::selection {
  background-color: var(--acid);
  color: var(--void);
}

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

/* Typography Utility classes */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-fraunces);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: var(--font-geist);
}

.text-fog { color: var(--fog); }
.text-silver { color: var(--silver); }
.text-chalk { color: var(--chalk); }
.text-acid { color: var(--acid); }

.letter-spacing-wide {
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Intro Overlay */
#intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--void);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.intro-logo {
  font-family: var(--font-fraunces);
  font-weight: 900;
  font-size: 4rem;
  color: var(--acid);
  letter-spacing: -0.03em;
  animation: logo-pulse 1.8s infinite ease-in-out;
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(9, 9, 9, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--smoke);
  padding: 16px 0;
}

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

.logo {
  font-family: var(--font-fraunces);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--acid);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-family: var(--font-jakarta);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--silver);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Buttons */
.btn {
  font-family: var(--font-jakarta);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--border-radius-button);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn-primary:hover {
  background-color: var(--chalk);
  border-color: var(--chalk);
  color: var(--void);
}

.btn-outline {
  background-color: transparent;
  color: var(--chalk);
  border: 1px solid var(--smoke);
}

.btn-outline:hover {
  border-color: var(--acid);
  background-color: var(--acid);
  color: var(--void);
}

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

.btn-outline-acid:hover {
  background-color: var(--acid);
  color: var(--void);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--chalk);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px 0;
  text-align: center;
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  max-w: 900px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--silver);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-ctas .btn {
  padding: 14px 28px;
}

/* Scroll Indicator */
.scroll-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 40px;
  border: 2px solid var(--smoke);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scroll-indicator::after {
  content: '';
  width: 4px;
  height: 8px;
  background-color: var(--acid);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  animation: scroll-pill 1.5s infinite ease-in-out;
}

@keyframes scroll-pill {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-indicator:hover {
  border-color: var(--acid);
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--smoke);
  border-bottom: 1px solid var(--smoke);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--acid);
  font-family: var(--font-fraunces);
  font-weight: 900;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--silver);
  font-family: var(--font-geist);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--silver);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

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

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

.feature-card {
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  border-radius: var(--border-radius-card);
  padding: 40px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--acid);
  background-color: var(--graphite);
}

.feature-card .icon-wrapper {
  display: inline-flex;
  padding: 12px;
  background-color: var(--void);
  border: 1px solid var(--smoke);
  border-radius: 8px;
  color: var(--acid);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .icon-wrapper {
  border-color: rgba(202, 255, 71, 0.3);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: var(--font-fraunces);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--silver);
  line-height: 1.6;
}

/* Screenshots Section */
.screenshots-section {
  padding: 100px 0;
  border-top: 1px solid var(--smoke);
}

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

.screenshot-card {
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.screenshot-card:hover {
  border-color: var(--acid);
}

.screenshot-img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--smoke);
}

.screenshot-caption {
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--silver);
  line-height: 1.5;
}



/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  border-top: 1px solid var(--smoke);
}

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

.testimonial-card {
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  border-radius: var(--border-radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--silver);
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--graphite);
  border: 1px solid var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-geist);
  color: var(--acid);
  font-weight: bold;
  font-size: 14px;
}

.author-info h4 {
  font-size: 0.875rem;
  color: var(--chalk);
  font-family: var(--font-jakarta);
}

.author-info p {
  font-size: 0.75rem;
  color: var(--fog);
  font-family: var(--font-geist);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  border-top: 1px solid var(--smoke);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  border-radius: var(--border-radius-card);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.premium {
  border-color: var(--acid);
  box-shadow: 0 0 30px rgba(202, 255, 71, 0.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background-color: var(--acid);
  color: var(--void);
  font-size: 0.65rem;
  font-family: var(--font-geist);
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.plan-price {
  margin: 24px 0;
}

.plan-price .amount {
  font-size: 3rem;
  font-family: var(--font-fraunces);
  font-weight: 900;
}

.plan-price .period {
  color: var(--silver);
  font-size: 0.875rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--chalk);
}

.plan-features li svg {
  color: var(--acid);
  flex-shrink: 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--smoke);
  padding: 80px 0 40px 0;
}

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

.footer-column h4 {
  font-size: 0.75rem;
  font-family: var(--font-geist);
  color: var(--chalk);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

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

.footer-column ul a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-column ul a:hover {
  color: var(--acid);
}

.footer-bottom {
  border-top: 1px solid var(--smoke);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--fog);
}

.footer-bottom a {
  color: var(--silver);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--acid);
}

/* Scroll to Top Button */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  color: var(--chalk);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 99;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  border-color: var(--acid);
  color: var(--acid);
  transform: translateY(-4px);
}

/* Scroll Reveal animations using CSS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Pages Internal Base styling */
.internal-page {
  padding-top: 160px;
  padding-bottom: 100px;
}

.internal-header {
  border-bottom: 1px solid var(--smoke);
  padding-bottom: 40px;
  margin-bottom: 60px;
}

.internal-header h1 {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-geist);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--acid);
}

/* Changelog design values */
.changelog-timeline {
  position: relative;
  padding-left: 32px;
  margin-left: 8px;
}

.changelog-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background-color: var(--smoke);
}

.changelog-item {
  position: relative;
  margin-bottom: 64px;
}

.changelog-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--void);
  border: 2px solid var(--smoke);
  transition: var(--transition-smooth);
}

.changelog-item:hover::before {
  border-color: var(--acid);
  background-color: var(--acid);
}

.changelog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.changelog-version {
  font-family: var(--font-geist);
  font-size: 0.75rem;
  color: var(--acid);
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.changelog-date {
  font-family: var(--font-geist);
  font-size: 0.75rem;
  color: var(--fog);
}

.changelog-card {
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  border-radius: var(--border-radius-card);
  padding: 32px;
}

.changelog-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.changelog-card li {
  display: flex;
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.6;
}

.changelog-card li::before {
  content: '•';
  color: var(--acid);
  margin-right: 12px;
  font-weight: bold;
}

/* Changelog Filters */
.changelog-filters {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.changelog-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  border-radius: var(--border-radius-button);
  padding: 12px 16px;
  transition: var(--transition-smooth);
}

.changelog-search:focus-within {
  border-color: var(--acid);
}

.changelog-search svg {
  color: var(--fog);
  flex-shrink: 0;
}

.changelog-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--chalk);
  font-family: var(--font-jakarta);
  font-size: 0.9rem;
}

.changelog-search input::placeholder {
  color: var(--fog);
}

.changelog-month-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.changelog-month-btn {
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  color: var(--silver);
  font-family: var(--font-geist);
  font-size: 0.7rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.changelog-month-btn:hover {
  border-color: var(--silver);
  color: var(--chalk);
}

.changelog-month-btn.active {
  background-color: var(--acid);
  color: var(--void);
  border-color: var(--acid);
}

.changelog-status {
  font-family: var(--font-geist);
  font-size: 0.7rem;
  color: var(--fog);
}

.changelog-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--fog);
  font-family: var(--font-geist);
  font-size: 0.85rem;
}

/* Guide design details */
.guide-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
}

.guide-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.guide-tab-btn {
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  color: var(--silver);
  padding: 14px 20px;
  border-radius: var(--border-radius-button);
  cursor: pointer;
  font-family: var(--font-jakarta);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.guide-tab-btn:hover {
  border-color: var(--silver);
  color: var(--chalk);
}

.guide-tab-btn.active {
  background-color: var(--acid);
  color: var(--void);
  border-color: var(--acid);
}

.guide-content-panel {
  background-color: var(--obsidian);
  border: 1px solid var(--smoke);
  border-radius: var(--border-radius-card);
  padding: 48px;
  display: none;
}

.guide-content-panel.active {
  display: block;
}

.guide-content-panel h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.guide-subblock {
  margin-bottom: 40px;
}

.guide-subblock h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-family: var(--font-fraunces);
}

.guide-subblock p {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.6;
  margin-bottom: 16px;
}

.guide-tip {
  background-color: var(--void);
  border-left: 2px solid var(--acid);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  font-size: 0.875rem;
  color: var(--silver);
  font-style: italic;
}

.guide-code-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.guide-code-item {
  background-color: var(--void);
  border: 1px solid var(--smoke);
  padding: 16px;
  border-radius: 6px;
  font-family: var(--font-geist);
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
}

.guide-code-item .code-text {
  color: var(--acid);
}

.guide-code-item .code-desc {
  color: var(--fog);
}

/* Guide tables */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--smoke);
  border-radius: 6px;
  overflow: hidden;
}

.guide-table th {
  background-color: var(--void);
  color: var(--silver);
  font-family: var(--font-geist);
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.guide-table td {
  padding: 16px;
  border-bottom: 1px solid var(--smoke);
  font-size: 0.875rem;
}

.guide-table tr:last-child td {
  border-bottom: none;
}

.guide-table .key-cap {
  font-family: var(--font-geist);
  color: var(--acid);
  font-weight: bold;
}

/* Privacy & Terms details */
.legal-content {
  line-height: 1.8;
  color: var(--silver);
  font-size: 0.95rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px 0;
  color: var(--chalk);
}

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

.legal-content ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsive Styling rules */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-container {
    grid-template-columns: 1fr;
  }
  .guide-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .guide-tab-btn {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 101;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--void);
    border-left: 1px solid var(--smoke);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.active {
    right: 0;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
  .features-grid,
  .screenshots-grid,
  .testimonials-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero p {
    font-size: 1rem;
  }
}



