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

:root {
  --bg-color: #05040d;
  --bg-gradient: radial-gradient(circle at 50% 0%, #1a0f30 0%, #05040d 75%);
  --card-bg: rgba(18, 14, 38, 0.7);
  --card-border: rgba(255, 255, 255, 0.05);
  --card-border-hover: rgba(255, 107, 0, 0.3);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  --color-orange: #ff6b00;
  --color-purple: #b026ff;
  --color-green: #39ff14;
  --color-blue: #00f0ff;
  
  --glow-orange: 0 0 15px rgba(255, 107, 0, 0.45);
  --glow-purple: 0 0 15px rgba(176, 38, 255, 0.45);
  --glow-green: 0 0 15px rgba(57, 255, 20, 0.45);
  --glow-blue: 0 0 15px rgba(0, 240, 255, 0.45);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 4, 13, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--glow-purple);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--color-purple) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-orange);
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--color-orange);
  background: transparent;
  color: var(--color-orange);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.1);
  transition: var(--transition-smooth);
}

.cta-btn:hover {
  background: var(--color-orange);
  color: #05040d;
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

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

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

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

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content h1 span.purple {
  color: var(--color-purple);
  text-shadow: 0 0 20px rgba(176, 38, 255, 0.3);
}

.hero-content h1 span.orange {
  color: var(--color-orange);
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.download-badges {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.badge-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e0a1f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.badge-btn:hover {
  border-color: var(--color-orange);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
  transform: translateY(-2px);
}

.badge-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--text-main);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text .small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.badge-text .large {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Mockup Display */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-container {
  width: 320px;
  height: 640px;
  background: #0e0a1f;
  border: 12px solid #1a1633;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--glow-purple);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-container::before {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 25px;
  background: #1a1633;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  position: relative;
}

.mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: rgba(8, 7, 20, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header h2 span {
  color: var(--color-orange);
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-purple), var(--color-orange));
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.05);
}

.feature-card:nth-child(even) .feature-icon-wrapper {
  background: rgba(176, 38, 255, 0.1);
  color: var(--color-purple);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Screenshots Gallery */
.screenshots {
  padding: 6rem 0;
  position: relative;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 800px;
}

.gallery-nav-btn {
  background: rgba(18, 14, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-nav-btn:hover {
  background: var(--color-orange);
  color: #05040d;
  border-color: var(--color-orange);
  box-shadow: var(--glow-orange);
}

.gallery-large-mockup {
  width: 290px;
  height: 580px;
  background: #0e0a1f;
  border: 10px solid #1a1633;
  border-radius: 35px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--glow-orange);
  overflow: hidden;
  position: relative;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 600px;
}

.thumbnail {
  width: 70px;
  height: 140px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  opacity: 0.6;
}

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

.thumbnail:hover, .thumbnail.active {
  opacity: 1;
  border-color: var(--color-orange);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
  transform: translateY(-3px);
}

.thumbnail.active {
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

/* Call to Action Banner */
.cta-banner {
  padding: 4rem 0 6rem 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(26, 15, 48, 0.8) 0%, rgba(18, 14, 38, 0.8) 100%);
  border: 1px solid rgba(176, 38, 255, 0.15);
  border-radius: 30px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-card h2 span {
  color: var(--color-purple);
  text-shadow: 0 0 15px rgba(176, 38, 255, 0.2);
}

.cta-card p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.cta-card .download-badges {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer Section */
footer {
  background: #04030a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-grid .logo-container {
  justify-content: flex-start;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

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

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--text-main);
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--color-orange);
  text-shadow: 0 0 8px rgba(255, 107, 0, 0.3);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Document Pages (Privacy, Terms) */
.doc-page {
  padding: 4rem 0 6rem 0;
}

.doc-container {
  max-width: 800px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 4rem 3.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.doc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  transition: var(--transition-smooth);
}

.doc-back-btn:hover {
  transform: translateX(-4px);
  text-shadow: 0 0 8px rgba(255, 107, 0, 0.3);
}

.doc-container h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--color-purple) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.doc-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.doc-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-main);
  margin: 2.5rem 0 1rem 0;
  font-weight: 600;
}

.doc-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.doc-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.doc-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-tagline {
    margin: 0 auto 2.5rem auto;
  }

  .download-badges {
    justify-content: center;
  }

  .hero-mockup-wrapper {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-grid .logo-container {
    justify-content: center;
  }

  .footer-contact {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: -2rem;
    right: -2rem;
    background: #080714;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    gap: 0;
    width: calc(100% + 4rem);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.mobile-active {
    max-height: 300px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  }

  .menu-toggle {
    display: flex;
  }

  /* Hamburger Menu Animation */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navbar > .cta-btn {
    display: none;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .gallery-main {
    gap: 1rem;
  }

  .gallery-large-mockup {
    width: 250px;
    height: 500px;
  }

  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .cta-card {
    padding: 3rem 1.5rem;
  }

  .cta-card h2 {
    font-size: 2rem;
  }

  .doc-container {
    padding: 2.5rem 1.5rem;
  }

  .doc-container h1 {
    font-size: 2.2rem;
  }
}
