@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

:root {
  --bg-primary: hsl(0 0% 0%);
  --bg-secondary: hsl(0 0% 5%);
  --fg-primary: hsl(0 0% 100%);
  --fg-secondary: hsl(0 0% 60%);
  --border: hsl(220 4% 10%);
  --primary: hsl(205 100% 59%);
  --accent: hsl(179 100% 41%);
  --glow-primary: rgba(47, 175, 255, 0.32);
  --gradient-top: rgba(47, 175, 255, 0.12);
  --gradient-bottom: rgba(0, 211, 208, 0.08);
}

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

html {
  font-size: 14px;
  color-scheme: dark;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 1)),
              radial-gradient(circle at top, var(--gradient-top), transparent 55%),
              radial-gradient(circle at bottom, var(--gradient-bottom), transparent 50%);
  background-color: var(--bg-primary);
  background-attachment: fixed;
  color: var(--fg-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(55px);
}

body::before {
  top: -20%;
  right: -5%;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(47, 175, 255, 0.28) 0%, rgba(47, 175, 255, 0) 70%);
  animation: driftGlow 16s ease-in-out infinite;
}

body::after {
  bottom: -30%;
  left: -8%;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(0, 211, 208, 0.2) 0%, rgba(0, 211, 208, 0) 72%);
  animation: driftGlow 20s ease-in-out infinite reverse;
}

::selection {
  background: var(--primary);
  color: white;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(152, 152, 152, 0.35);
  border-radius: 9999px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

p {
  color: var(--fg-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

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

nav {
  border-bottom: 1px solid rgba(47, 175, 255, 0.18);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.68));
  box-shadow: 0 10px 30px -18px var(--glow-primary);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  display: block;
}

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

nav a {
  color: var(--fg-secondary);
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--fg-primary);
  text-shadow: 0 0 18px rgba(47, 175, 255, 0.4);
}

/* Hero Section */
.hero {
  padding: 7rem 0 6rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: min(75vw, 920px);
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(47, 175, 255, 0.18), rgba(0, 211, 208, 0.08) 45%, transparent 72%);
  filter: blur(16px);
  z-index: -1;
}

.hero h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--fg-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 16px 45px rgba(47, 175, 255, 0.15);
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: hsl(200 22% 78%);
}

.hero .cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.65rem;
  font-weight: 600;
  transition: all 0.24s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(125deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 10px 28px -12px var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 40px -15px rgba(47, 175, 255, 0.45);
}

.btn-secondary {
  background: rgba(47, 175, 255, 0.04);
  color: var(--fg-primary);
  border: 1px solid rgba(47, 175, 255, 0.28);
}

.btn-secondary:hover {
  border-color: rgba(0, 211, 208, 0.48);
  background: rgba(47, 175, 255, 0.14);
  box-shadow: 0 16px 32px -22px rgba(47, 175, 255, 0.6);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: linear-gradient(180deg, rgba(13, 18, 25, 0.65), rgba(7, 10, 14, 0.7));
  border: 1px solid rgba(47, 175, 255, 0.16);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 175, 255, 0.8), transparent);
  opacity: 0.35;
}

.card:hover {
  border-color: rgba(47, 175, 255, 0.46);
  transform: translateY(-6px);
  box-shadow: 0 30px 45px -22px rgba(47, 175, 255, 0.3);
}

.card h3 {
  color: var(--fg-primary);
  margin-bottom: 1rem;
}

.card p {
  color: var(--fg-secondary);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
  font-weight: 600;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Features Section */
.section {
  padding: 4rem 0;
}

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

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

.section-header p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(47, 175, 255, 0.12);
  display: flex;
  align-items: start;
  gap: 1rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Footer */
footer {
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.72), rgba(3, 4, 7, 0.92));
  border-top: 1px solid rgba(47, 175, 255, 0.16);
  padding: 3rem 0 2rem;
  margin-top: 6rem;
}

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

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--fg-primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

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

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(47, 175, 255, 0.14);
  border-radius: 0.5rem;
  color: var(--fg-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(47, 175, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(47, 175, 255, 0.12);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

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

  .container {
    padding: 0 1rem;
  }
}

/* Screenshots */
.screenshot {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(47, 175, 255, 0.22);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.screenshot:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 175, 255, 0.38);
  box-shadow: 0 30px 70px -22px rgba(47, 175, 255, 0.45);
}

.screenshot-figure {
  margin: 2rem 0;
}

.screenshot-figure .screenshot {
  display: block;
  margin: 0;
}

.screenshot-caption {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  text-align: center;
}

.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-secondary);
  font-size: 1.125rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.screenshot-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(12, 17, 24, 0.6), rgba(5, 8, 12, 0.65));
  border: 1px solid rgba(47, 175, 255, 0.12);
  border-radius: 0.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(47, 175, 255, 0.32);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--fg-secondary);
  font-size: 1rem;
}

/* Testimonial */
.testimonial {
  background: linear-gradient(180deg, rgba(12, 17, 24, 0.62), rgba(5, 8, 12, 0.72));
  border: 1px solid rgba(47, 175, 255, 0.14);
  border-left: 4px solid var(--primary);
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 2rem 0;
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--fg-primary);
}

.testimonial-author {
  color: var(--fg-secondary);
  font-size: 0.875rem;
}

.testimonial-author strong {
  color: var(--fg-primary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0487ff, #00bfb8);
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
  box-shadow: 0 32px 60px -30px rgba(47, 175, 255, 0.55);
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-section .btn {
  background: white;
  color: var(--primary);
}

.cta-section .btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px -12px rgba(47, 175, 255, 0.6);
}

.benefit-content h3 {
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
}

.benefit-content p {
  margin: 0;
  font-size: 0.95rem;
}

/* Logo Enhancement */
.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

.two-column-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

.two-column-reverse > :first-child {
  order: 2;
}

@keyframes driftGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(24px, -10px, 0) scale(1.08);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 968px) {
  .two-column,
  .two-column-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-column-reverse > :first-child {
    order: 1;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
