/* ========= Base Styles ========= */
:root {
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  --color-primary: #6c3ce9; /* Original purple from your site */
  --color-primary-light: #7a4efc;
  --color-primary-dark: #5730c5;
  
  --color-secondary: #22d3ee;
  --color-secondary-light: #67e8f9;
  --color-secondary-dark: #0891b2;
  
  --gradient-primary: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  --gradient-primary-to-secondary: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  --gradient-background: linear-gradient(to bottom, var(--color-white), var(--color-gray-50));
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;
  --border-radius-3xl: 1.5rem;
  --border-radius-full: 9999px;
  
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-slow: 500ms;
  
  --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--gradient-background);
  color: var(--color-gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========= Animated Background ========= */
.background-animation {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3rem);
}

.bg-orb-1 {
  width: 16rem;
  height: 16rem;
  background-color: rgba(108, 60, 233, 0.1); /* Primary color with low opacity */
  top: 25%;
  left: -6rem;
  animation: pulse 8s ease-in-out infinite;
}

.bg-orb-2 {
  width: 24rem;
  height: 24rem;
  background-color: rgba(34, 211, 238, 0.1); /* Secondary color with low opacity */
  top: 50%;
  right: -8rem;
  animation: pulse 8s ease-in-out infinite 1s;
}

.bg-orb-3 {
  width: 18rem;
  height: 18rem;
  background-color: rgba(139, 92, 246, 0.1); /* Mixed color with low opacity */
  bottom: 25%;
  left: 33%;
  animation: pulse 8s ease-in-out infinite 2s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

/* ========= Typography ========= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-gray-700);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight-text {
  color: var(--color-primary);
  font-weight: 500;
}

/* ========= Header & Navigation ========= */
#main-header {
  position: fixed;
  width: 100%;
  z-index: 100;
  padding: 1.5rem;
  transition: all var(--transition-normal) ease;
  background-color: var(--color-white);
}

#main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(0.5rem);
  padding: 1.5rem 1.5rem;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: auto;
}

.logo-desktop {
  width: 170px;
  display: block;
}

.logo-mobile {
  width: 120px;
  display: none;
}

#main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--color-gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-normal);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
}

.cta-button {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  margin-left: 0.5rem;
}

.cta-button:hover {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 4px 12px rgba(108, 60, 233, 0.2);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-gray-800);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(0.5rem);
  z-index: 100;
  padding: 5rem 1.25rem 1.25rem;
  transition: right var(--transition-normal) ease;
  opacity: 0;
  visibility: hidden;
}

.mobile-menu.active {
  right: 0;
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  padding: 0.5rem 0;
  font-size: 1.125rem;
  color: var(--color-gray-700);
  border-bottom: 1px solid var(--color-gray-200);
  transition: color var(--transition-normal);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-cta-button {
  padding: 0.75rem 0;
  text-align: center;
  font-weight: 600;
  margin-top: 0.5rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-full);
}

/* ========= Buttons ========= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-primary i {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  transition: transform var(--transition-normal);
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 4px 12px rgba(108, 60, 233, 0.2);
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(108, 60, 233, 0.05);
  border: 1px solid rgba(108, 60, 233, 0.2);
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background-color: rgba(108, 60, 233, 0.1);
  border-color: rgba(108, 60, 233, 0.3);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ========= Hero Section ========= */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  /* padding-top: 5rem; */
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.03;
  z-index: -1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 9rem 0rem 9rem 0;
}

.hero-text {
  max-width: 800px;
  margin-bottom: 3rem;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--color-gray-700);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image-container {
  background-color: var(--color-white);
  box-shadow: 0 15px 30px rgba(108, 60, 233, 0.1);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(108, 60, 233, 0.1);
  transition: all var(--transition-slow);
  transform: perspective(1000px) rotateY(0);
}

.hero-image-container:hover {
  /* transform: perspective(1000px) rotateY(5deg) translateY(-5px); */
  box-shadow: 0 25px 35px rgba(108, 60, 233, 0.15);
}

.window-controls {
  height: 2rem;
  background-color: var(--color-gray-100);
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.control-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.control-red {
  background-color: #ef4444;
}

.control-yellow {
  background-color: #eab308;
}

.control-green {
  background-color: #22c55e;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-indicator span {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--border-radius-full);
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

.scroll-dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-gray-500);
  border-radius: 50%;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.5rem);
  }
}

/* ========= Tools Section ========= */
.tools-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--color-gray-50);
}

.tools-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(108, 60, 233, 0.03), transparent 70%);
  z-index: 0;
}

.tool-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.tool-image-container {
  flex: 1;
}

.tool-image {
  position: relative;
  /* border-radius: var(--border-radius-xl); */
  overflow: hidden;
  /* box-shadow: var(--shadow-lg); */
  transition: all var(--transition-normal);
  transform: translateY(0);
}

.tool-image:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 20px 25px rgba(108, 60, 233, 0.15); */
}

.tool-content {
  flex: 1;
}

.tool-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tool-content p {
  color: var(--color-gray-600);
  margin-bottom: 2rem;
}

.tool-features {
  margin-bottom: 2rem;
}

.tool-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.75rem;
}

/* ========= Features Section ========= */
.features-section {
  padding: 5rem 0;
  position: relative;
  background-color: var(--color-white);
}

.section-heading {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--color-gray-600);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  border-color: rgba(108, 60, 233, 0.2);
  box-shadow: 0 15px 30px rgba(108, 60, 233, 0.08);
  transform: translateY(-5px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(108, 60, 233, 0.1);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color var(--transition-normal);
}

.feature-icon i {
  color: var(--color-primary);
  font-size: 1.25rem;
  transition: color var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background-color: rgba(108, 60, 233, 0.15);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition-normal);
}

.feature-card:hover h3 {
  color: var(--color-primary);
}

.feature-card p {
  color: var(--color-gray-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-link {
  color: var(--color-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-normal);
}

.feature-link i {
  margin-left: 0.25rem;
  font-size: 0.75rem;
  transition: all var(--transition-normal);
}

.feature-link:hover {
  color: var(--color-primary-dark);
}

.feature-link:hover i {
  transform: translateX(4px);
}

/* ========= CTA Section ========= */
.cta-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
}

.bg-pattern {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.05);
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjE1Ij48cGF0aCBkPSJNMzYgMzBoLTZsMy0zIDMgM3ptLTYgMGg2bC0zIDMtMy0zeiIvPjwvZz48L2c+PC9zdmc+');
  opacity: 0.1;
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.cta-section .btn-primary:hover {
  background: var(--color-gray-100);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========= Assets Section ========= */
.assets-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.timeline {
  position: relative;
  max-width: 48rem;
  margin: 3rem auto 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item.right {
  flex-direction: row;
}

.timeline-item.left {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  width: calc(50% - 2rem);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.timeline-item.right .timeline-content {
  margin-left: auto;
  transform: translateX(1rem);
}

.timeline-item.left .timeline-content {
  margin-right: auto;
  transform: translateX(-1rem);
}

.timeline-content:hover {
  border-color: rgba(108, 60, 233, 0.2);
  box-shadow: 0 15px 30px rgba(108, 60, 233, 0.08);
}

.timeline-item.right:hover .timeline-content {
  transform: translateX(1.5rem);
}

.timeline-item.left:hover .timeline-content {
  transform: translateX(-1.5rem);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--color-gray-600);
  margin-bottom: 1rem;
}

.coming-soon {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 500;
}

/* ========= Footer ========= */
.main-footer {
  background-color: var(--color-gray-900);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.main-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 24, 39, 0.8), var(--color-gray-900));
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 170px;
  height: auto;
}

.footer-description {
  max-width: 32rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

/* ========= Responsive Styles ========= */
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .hero-text {
    margin-bottom: 0;
    flex: 1;
    text-align: center;
  }
  
  .hero-image {
    flex: 1;
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .tool-container {
    flex-direction: column;
  }
  
  .tool-image-container, .tool-content {
    width: 100%;
  }
  
  .timeline-line {
    left: 1rem;
  }
  
  .timeline-marker {
    left: 1rem;
  }
  
  .timeline-item.right, .timeline-item.left {
    flex-direction: row;
  }
  
  .timeline-content {
    width: calc(100% - 2rem);
    margin-left: 2rem;
  }
  
  .timeline-item.right .timeline-content,
  .timeline-item.left .timeline-content {
    transform: none;
    margin-left: 2rem;
  }
  
  .timeline-item.right:hover .timeline-content,
  .timeline-item.left:hover .timeline-content {
    transform: translateY(-5px);
  }
}

@media (max-width: 767px) {
  #main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .logo-desktop {
    display: none;
  }
  
  .logo-mobile {
    display: block;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 1.75rem;
  }
  
  .section-heading h2 {
    font-size: 1.5rem;
  }
}
