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

:root {
  --bg-color: #0a0a10;
  --primary-accent: #7C6EF5;
  --primary-accent-hover: #9b8ff7;
  --secondary-text: rgba(255, 255, 255, 0.55);
  --text-color: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(124, 110, 245, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(124, 110, 245, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(124, 110, 245, 0.05) 0%, transparent 40%);
}

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

ul {
  list-style: none;
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #b3b3b3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  color: var(--secondary-text);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-accent), #b4a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: white;
  box-shadow: 0 4px 14px rgba(124, 110, 245, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 110, 245, 0.6);
}

.btn-ghost {
  background-color: transparent;
  color: white;
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background-color: var(--glass-bg);
  border-color: var(--text-color);
  transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 16, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-links a:not(.btn):hover {
  color: var(--text-color);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(124, 110, 245, 0.1);
  color: var(--primary-accent);
  border: 1px solid rgba(124, 110, 245, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(124, 110, 245, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.platform-support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.platform-icons {
  display: flex;
  gap: 0.5rem;
}

.platform-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.75rem;
}

.hero-banner {
  margin-top: 4rem;
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-banner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(124, 110, 245, 0.15);
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40%;
  background: var(--primary-accent);
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
}

/* Product Screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.screenshot-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.screenshot-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 30px rgba(124, 110, 245, 0.1);
  transform: translateY(-4px);
}

.screenshot-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #111;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.screenshot-card:hover .screenshot-img-wrap img {
  transform: scale(1.03);
}

.screenshot-caption {
  font-weight: 500;
  text-align: center;
  font-size: 1rem;
  color: var(--text-color);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
}

.feature-card:hover {
  border-color: var(--glass-border-hover);
  background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: rgba(124, 110, 245, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 110, 245, 0.2);
}

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

.feature-card p {
  font-size: 0.95rem;
}

/* Demo Video */
.demo-section {
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  padding: 1rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* How It Works */
.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glass-border);
  z-index: 0;
}

.step-item {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--primary-accent);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(124, 110, 245, 0.3);
}

.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.9rem;
}

/* Privacy Policy */
.privacy-section {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content {
  padding: 3rem;
}

.privacy-content h2 {
  text-align: left;
  margin-bottom: 0.5rem;
}

.privacy-subtitle {
  margin-bottom: 3rem;
  display: block;
}

.privacy-item {
  margin-bottom: 2rem;
}

.privacy-item h3 {
  color: var(--text-color);
  font-size: 1.1rem;
}

.privacy-item ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  color: var(--secondary-text);
}

.privacy-item ul li {
  margin-bottom: 0.25rem;
}

/* Technical Partner */
.partner-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 0 6rem;
}

.partner-heading {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  background: rgba(25, 25, 35, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: var(--transition);
  max-width: 100%;
}

.partner-card:hover {
  border-color: var(--glass-border-hover);
  background: rgba(30, 30, 45, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 110, 245, 0.1);
}

.partner-logo {
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  letter-spacing: -0.02em;
}

.partner-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.partner-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
}

.external-icon {
  color: #64748b;
  transition: var(--transition);
}

.partner-card:hover .external-icon {
  color: #ffffff;
}

.partner-desc {
  color: var(--secondary-text);
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  background: rgba(10, 10, 16, 0.5);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

.footer-bottom {
  text-align: center;
  color: var(--secondary-text);
  font-size: 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    flex-direction: column;
    gap: 3rem;
  }

  .steps-container::before {
    top: 0;
    bottom: 0;
    left: 24px;
    height: auto;
    width: 2px;
  }

  .step-item {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
  }

  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .privacy-content {
    padding: 2rem 1.5rem;
  }
}
