/* Google Fonts */
:root {
  --hue: 245;
  --primary-color: hsl(var(--hue), 85%, 55%);
  --primary-color-alt: hsl(var(--hue), 85%, 45%);
  --secondary-color: hsl(280, 85%, 55%);
  --text-color: hsl(var(--hue), 15%, 85%);
  --text-color-light: hsl(var(--hue), 10%, 65%);
  --title-color: hsl(var(--hue), 10%, 95%);
  
  --bg-color: hsl(var(--hue), 40%, 4%);
  --bg-color-alt: hsl(var(--hue), 40%, 8%);
  
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  
  --body-font: 'Inter', sans-serif;
  --title-font: 'Outfit', sans-serif;
  
  --header-height: 4.5rem;
  
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-weight: 700;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 5rem 0 2rem;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, #fff, #aebbb9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.875rem;
}

/* Glassmorphism utility */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: .3s;
  cursor: pointer;
  border: none;
  font-family: var(--body-font);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  background: var(--glass-bg);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: .4s;
}

.header.blur {
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--title-font);
}

.logo i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  column-gap: 2rem;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  transition: .3s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.active-link {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.nav-toggle, .nav-close {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/hero_bg.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.3;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-color) 100%);
}

.hero-container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: var(--text-color-light);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-number {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.stat-text {
  font-size: 0.875rem;
  color: var(--text-color-light);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-card {
  width: 100%;
  max-width: 450px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-header {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #10b981; }

.mockup-body {
  display: flex;
  gap: 1rem;
  height: 250px;
}

.mockup-sidebar {
  width: 60px;
  background: var(--glass-bg);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-item {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.line-short { width: 50%; }

.mockup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-chart {
  height: 120px;
  background: var(--glass-bg);
  border-radius: 0.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 1rem;
}

.bar {
  width: 20px;
  background: var(--primary-color);
  border-radius: 4px 4px 0 0;
}
.bar-1 { height: 40%; background: var(--secondary-color); }
.bar-2 { height: 70%; }
.bar-3 { height: 50%; background: #10b981; }
.bar-4 { height: 90%; }

.mockup-grid {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.mock-card {
  flex: 1;
  background: var(--glass-bg);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-color-light);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--glass-shadow);
  animation: float 4s ease-in-out infinite;
}

.floating-badge i {
  font-size: 2rem;
  color: #10b981;
}

.floating-badge h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.floating-badge p {
  font-size: 0.75rem;
  color: var(--text-color-light);
}

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

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-color-light);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 2px;
  animation: scroll 2s linear infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

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

.feature-card {
  padding: 2rem;
  transition: transform 0.4s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.icon-blue { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.icon-purple { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }
.icon-orange { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.icon-green { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.icon-pink { background: rgba(236, 72, 153, 0.2); color: #ec4899; }
.icon-cyan { background: rgba(6, 182, 212, 0.2); color: #06b6d4; }

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-color-light);
  line-height: 1.6;
}

/* CTA */
.cta-container {
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.cta-data {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-data h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-data p {
  margin-bottom: 2rem;
  color: var(--text-color-light);
}

.cta-decorate {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
}
.decoration-1 {
  width: 300px; height: 300px;
  background: rgba(99, 102, 241, 0.3);
  top: -100px; left: -100px;
}
.decoration-2 {
  width: 250px; height: 250px;
  background: rgba(139, 92, 246, 0.3);
  bottom: -50px; right: -50px;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background-color: var(--bg-color-alt);
  border-top: 1px solid var(--glass-border);
}

.footer-container {
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-description {
  margin: 1.5rem 0;
  color: var(--text-color-light);
  max-width: 350px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px; height: 40px;
  background: var(--glass-bg);
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: .3s;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-title {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  color: var(--text-color-light);
  transition: .3s;
}

.footer-link:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-copy {
  color: var(--text-color-light);
  font-size: 0.875rem;
}

/* Animation Classes */
.reveal-left, .reveal-right, .reveal-bottom, .reveal-zoom {
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-bottom { transform: translateY(50px); }
.reveal-zoom { transform: scale(0.9); }

.active.reveal-left, .active.reveal-right, .active.reveal-bottom, .active.reveal-zoom {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Media Queries */
@media screen and (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-data {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(16px);
    padding: 6rem 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .4s;
    border-bottom: 1px solid var(--glass-border);
  }
  
  .nav-menu.show-menu {
    top: 0;
  }
  
  .nav-list {
    flex-direction: column;
    row-gap: 2rem;
    text-align: center;
  }
  
  .nav-close {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}
