@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --bg-primary: #08090d;
  --bg-secondary: #0f111a;
  --bg-card: rgba(20, 22, 32, 0.5);
  --bg-card-hover: rgba(28, 30, 43, 0.75);
  
  --accent-orange: #ff5500;
  --accent-red: #cf3033;
  --accent-yellow: #ffb703;
  --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #9aa4b7;
  --text-muted: #5f687a;
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 85, 0, 0.3);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(255, 85, 0, 0.2);
  
  --font-family-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-family-headings);
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent-orange);
}

/* Helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  color: var(--accent-orange);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 9, 13, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 9, 13, 0.95);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-family-headings);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-item a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--text-primary);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.dropdown-item a:hover {
  background: rgba(255, 85, 0, 0.1);
  color: var(--text-primary);
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-family-headings);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 85, 0, 0.4);
  color: var(--text-primary);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  padding-top: 110px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1,
.hero-content h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

/* Quick Info Badge Grid */
.info-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-badge i {
  color: var(--accent-orange);
  font-size: 1.5rem;
}

.info-badge-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.info-badge-text strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Hero Image & Layout */
.hero-media {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-media:hover .hero-image {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

/* Infinite Scrolling Screenshots Track */
.screenshots-showcase {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.screenshots-showcase h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.scroller-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  width: 100%;
}

.scroller-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-track 25s linear infinite;
}

.scroller-track:hover {
  animation-play-state: paused;
}

.screenshot-card {
  width: 320px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.screenshot-card:hover {
  border-color: var(--accent-orange);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* Sections General */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-secondary);
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 85, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 85, 0, 0.2);
}

.feature-icon i {
  font-size: 1.75rem;
  color: var(--accent-orange);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Grid Layout for Split Content */
.split-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-media img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

/* Requirement Table */
.table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1rem 1.5rem;
}

th {
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--font-family-headings);
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

td {
  border-bottom: 1px solid var(--border-color);
}

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

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Reviews Showcase */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-user-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.review-user-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.review-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Accordion FAQs */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-family-headings);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
}

.accordion-header i {
  color: var(--accent-orange);
  transition: var(--transition);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.accordion-item.active {
  border-color: var(--border-hover);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

/* TOC (Table of Contents) styling */
.toc-box {
  background: linear-gradient(135deg, #8c0c0f 0%, #3d0305 100%);
  border: 1px solid rgba(207, 48, 51, 0.4);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(207, 48, 51, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-box:hover {
  border-color: rgba(207, 48, 51, 0.7);
  box-shadow: 0 6px 25px rgba(207, 48, 51, 0.25);
}

.toc-title {
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-family-headings);
  font-weight: 700;
  user-select: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0;
  transition: all 0.3s ease;
}

.toc-box.active .toc-title {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  padding-bottom: 0.75rem;
}

.toc-toggle-icon {
  font-size: 0.95rem;
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

.toc-box.active .toc-toggle-icon {
  transform: rotate(0deg);
}

.toc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list li a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-block;
}

.toc-list li a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  transform: translateX(4px);
}

.toc-list ul {
  list-style: none;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.toc-list ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6) !important;
}

.toc-list ul li a:hover {
  color: #ffffff !important;
}

/* Secondary Page Layouts */
.page-container {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: calc(100vh - 350px);
}

.page-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.page-content-box h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.page-content-box h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content-box p {
  margin-bottom: 1.25rem;
}

.page-content-box ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.page-content-box li {
  margin-bottom: 0.5rem;
}

/* Footer UI */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.5;
}

.footer-nav h4,
.footer-social h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient-accent);
  color: var(--text-primary);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobile responsive drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.mobile-drawer.active {
  right: 0;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-item a {
  font-size: 1.15rem;
  font-weight: 600;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .info-badges {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-media {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .split-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .split-section.reverse {
    direction: ltr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .page-content-box {
    padding: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .info-badges {
    grid-template-columns: 1fr;
  }
}

/* Underline links inside content paragraphs and text blocks */
p a,
.entry-content a,
.page-content-box a,
.split-content a {
  text-decoration: underline;
}

/* Share Buttons Styling */
.share-buttons-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  color: #fff;
  font-family: var(--font-family-headings);
}
.share-btn.whatsapp { background-color: #25d366; }
.share-btn.whatsapp:hover { background-color: #20ba56; }
.share-btn.telegram { background-color: #0088cc; }
.share-btn.telegram:hover { background-color: #0077b5; }
.share-btn.facebook { background-color: #1877f2; }
.share-btn.facebook:hover { background-color: #166fe5; }
.share-btn.instagram { background-color: #e1306c; }
.share-btn.instagram:hover { background-color: #c13584; }
.share-btn.copy-link { background-color: #4a5568; }
.share-btn.copy-link:hover { background-color: #2d3748; }

/* Custom Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gradient-accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

