@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: #05060f;
  --bg-gradient: radial-gradient(circle at 50% 0%, #120e2e 0%, #05060f 70%);
  --card-bg: rgba(14, 15, 28, 0.7);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-hover: rgba(0, 240, 255, 0.3);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  
  --color-cyan: #00f0ff;
  --color-pink: #ff007f;
  --color-green: #39ff14;
  --color-purple: #9d4edd;
  
  --glow-cyan: 0 0 15px rgba(0, 240, 255, 0.45);
  --glow-pink: 0 0 15px rgba(255, 0, 127, 0.45);
  --glow-green: 0 0 15px rgba(57, 255, 20, 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, 6, 15, 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-cyan);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-pink) 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-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 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-cyan);
  background: transparent;
  color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
  transition: var(--transition-smooth);
}

.cta-btn:hover {
  background: var(--color-cyan);
  color: #05060f;
  box-shadow: var(--glow-cyan);
  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, 0, 127, 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(0, 240, 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.cyan {
  color: var(--color-cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.hero-content h1 span.pink {
  color: var(--color-pink);
  text-shadow: 0 0 20px rgba(255, 0, 127, 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: #0d0f1a;
  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-pink);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
  transform: translateY(-2px);
}

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

.badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

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

.badge-text .large {
  font-size: 1rem;
  font-weight: 600;
}

.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-container {
  width: 290px;
  height: 590px;
  background: #090a14;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
  border: 4px solid #1a1c2d;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  animation: float 6s ease-in-out infinite alternate;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #04050b;
}

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

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(1deg); }
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

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

.section-header h2 span {
  background: linear-gradient(90deg, var(--color-cyan), var(--color-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(255, 0, 127, 0.05) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card:nth-child(1) .feature-icon-wrapper {
  color: var(--color-cyan);
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  color: var(--color-pink);
  border-color: rgba(255, 0, 127, 0.2);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.1);
}

.feature-card:nth-child(3) .feature-icon-wrapper {
  color: var(--color-green);
  border-color: rgba(57, 255, 20, 0.2);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.1);
}

.feature-card:nth-child(4) .feature-icon-wrapper {
  color: var(--color-purple);
  border-color: rgba(157, 78, 221, 0.2);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.1);
}

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

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

/* Screenshots Showcase Section */
.screenshots {
  padding: 6rem 0;
  background: rgba(8, 9, 21, 0.4);
}

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

.gallery-main {
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.gallery-large-mockup {
  width: 310px;
  height: 630px;
  background: #090a14;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 0, 127, 0.15);
  border: 4px solid #22253a;
  overflow: hidden;
  position: relative;
}

.gallery-slide {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  display: none;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.gallery-slide.active {
  display: block;
}

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

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(26, 28, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
  backdrop-filter: blur(5px);
}

.gallery-nav-btn:hover {
  background: var(--color-cyan);
  color: #05060f;
  box-shadow: var(--glow-cyan);
  border-color: var(--color-cyan);
}

.prev-btn {
  left: 10%;
}

.next-btn {
  right: 10%;
}

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

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

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

.thumbnail:hover, .thumbnail.active {
  opacity: 1;
  border-color: var(--color-pink);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* CTA Download Banner */
.cta-banner {
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.12) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.cta-card {
  background: linear-gradient(135deg, rgba(14, 15, 28, 0.8) 0%, rgba(20, 10, 35, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 2rem;
  border-radius: 30px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
}

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

.cta-card h2 span {
  background: linear-gradient(90deg, var(--color-cyan), var(--color-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* Footer */
footer {
  background: #030409;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

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

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

.footer-nav a:hover {
  color: var(--color-pink);
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

.footer-contact {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--color-cyan);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: #4b5563;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Subpages / Legal Pages Styling */
.legal-page {
  padding: 4rem 0 6rem 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-cyan);
  margin-bottom: 3rem;
  transition: var(--transition-smooth);
}

.legal-back:hover {
  transform: translateX(-4px);
  text-shadow: var(--glow-cyan);
}

.legal-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal-header .date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 800px;
  font-size: 1rem;
  color: #d1d5db;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 2.5rem 0 1.2rem 0;
  border-left: 3px solid var(--color-pink);
  padding-left: 12px;
}

.legal-content p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.6rem;
}

.legal-content a {
  color: var(--color-cyan);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .download-badges {
    justify-content: center;
  }
  
  .prev-btn {
    left: 2%;
  }
  
  .next-btn {
    right: 2%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(5, 6, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 99;
  }
  
  .nav-links.mobile-active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .navbar .cta-btn {
    display: none; /* Hide top CTA on mobile */
  }
  
  /* Hamburger menu animation */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero {
    padding: 4rem 0 3rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-card h2 {
    font-size: 2.2rem;
  }
  
  .legal-header h1 {
    font-size: 2.2rem;
  }
  
  .gallery-large-mockup {
    width: 250px;
    height: 500px;
    border-radius: 32px;
  }
  
  .gallery-slide {
    border-radius: 24px;
  }
}
