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

:root {
  --bg-primary: #05060A;
  /* Extremely deep blue/black */
  --bg-secondary: #0D1017;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --accent-1: #7E42FF;
  /* Vibrant Purple */
  --accent-2: #00F0FF;
  /* Bright Cyan */
  --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --glass-blur: 24px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Blobs */
.blob-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--accent-1);
  filter: blur(150px);
  border-radius: 50%;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.blob-bg.blob-2 {
  top: 50%;
  left: auto;
  right: -20%;
  background: var(--accent-2);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(126, 66, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(126, 66, 255, 0.4);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  background: rgba(5, 6, 10, 0.6);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}

/* Dashboard Mockup */
.dashboard-mockup {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(126, 66, 255, 0.1);
  transform: perspective(1000px) rotateX(2deg);
  transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}

.mockup-header {
  height: 40px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}

.dots span:nth-child(1) {
  background: #ff5f56;
}

.dots span:nth-child(2) {
  background: #ffbd2e;
}

.dots span:nth-child(3) {
  background: #27c93f;
}

.mockup-body {
  display: flex;
  height: 400px;
}

.mockup-sidebar {
  width: 60px;
  border-right: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ms-item {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface);
}

.ms-item.active {
  background: var(--accent-gradient);
}

.mockup-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mc-top {
  display: flex;
  gap: 16px;
}

.mc-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.mc-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mc-val {
  font-size: 1.5rem;
  font-weight: 600;
}

.mc-val.success {
  color: #27c93f;
}

.mc-val.warning {
  color: #ffbd2e;
}

.mc-chart {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.02) 50%);
  background-size: 100% 40px;
}

/* Sections Base */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

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

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--surface-hover);
  border-color: var(--accent-1);
  box-shadow: 0 10px 30px rgba(126, 66, 255, 0.1);
}

.icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(126, 66, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-2);
  font-size: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* How It Works Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-1);
  box-shadow: 0 10px 30px rgba(126, 66, 255, 0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  border: 4px solid var(--bg-primary);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.step-content strong {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-2);
  margin-top: 12px;
  margin-bottom: 4px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Analytics Section */
.analytics-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.analytics-text h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}

.analytics-text p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.check-list i {
  color: var(--accent-2);
  font-size: 24px;
}

.glass-board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  height: 400px;
  display: flex;
  align-items: flex-end;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gb-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  align-items: flex-end;
}

.gb-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
  width: 30px;
}

.gb-col span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.gb-bar {
  width: 100%;
  background: var(--surface-hover);
  border-radius: 4px;
  transition: all 0.5s ease;
  border: 1px solid var(--border);
}

.gb-col:hover .gb-bar {
  background: var(--accent-1);
}

.gb-bubble {
  position: absolute;
  top: -40px;
  background: white;
  color: black;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Testimonial Section */
.testimonial-card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(126, 66, 255, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 60px;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  display: flex;
  align-items: center;
  gap: 40px;
}

.testimonial-content {
  flex: 1;
}

.testimonial-image {
  flex: 0 0 350px;
}

.testimonial-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  display: block;
}

.testimonial-card .ph-quotes {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 80px;
  color: var(--accent-1);
  opacity: 0.15;
  z-index: 0;
}

.quote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.8;
  font-weight: 300;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
  margin-bottom: 40px;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  overflow: hidden;
}

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

.author-info strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-info p {
  font-size: 0.95rem;
  color: var(--accent-2);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 40px 24px;
    flex-direction: column;
    text-align: center;
  }

  .testimonial-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .quote-author {
    justify-content: center;
  }

  .testimonial-card .ph-quotes {
    top: 20px;
    left: 20px;
    font-size: 50px;
  }
}

/* CTA Section */
.cta {
  padding: 120px 0;
}

.cta-container {
  background: linear-gradient(135deg, rgba(126, 66, 255, 0.1), rgba(0, 240, 255, 0.1));
  border: 1px solid rgba(126, 66, 255, 0.2);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.5;
}

.cta-container h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-container p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  max-width: 300px;
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-group h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.link-group a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.link-group a:hover {
  color: var(--accent-2);
}

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

/* Animations Logic */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .analytics-container {
    grid-template-columns: 1fr;
  }

  .glass-board {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .hero {
    padding-top: 120px;
  }

  .mockup-body {
    height: 250px;
  }

  .mc-top {
    flex-direction: column;
  }

  .mockup-sidebar {
    display: none;
  }
}