:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #ec4899;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --font-main: "Outfit", sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(79, 70, 229, 0.2) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(236, 72, 153, 0.2) 0%,
      transparent 40%
    );
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  padding: 20px 0;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
  transition: color 0.3s;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.125rem;
  color: var(--gray);
  margin-bottom: 30px;
  color: #cbd5e1; /* lighter gray for dark mode */
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.6);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  width: 200px;
}

.glass-card i {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card:nth-child(1) {
  top: 50px;
  left: 20%;
  transform: rotate(-10deg);
}

.glass-card:nth-child(2) {
  bottom: 50px;
  right: 20%;
  transform: rotate(5deg);
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

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

@keyframes float {
  0% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-20px) rotate(-10deg);
  }
  100% {
    transform: translateY(0) rotate(-10deg);
  }
}
/* Override rotation for second card in animation if simple implementation */
.glass-card:nth-child(2) {
  animation-name: float-right;
}

@keyframes float-right {
  0% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(5deg);
  }
}

/* Features Section */
.features {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.section-header p {
  color: #cbd5e1;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

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

.feature-card p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Tools Section */
.tools-section {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.2);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.tool-card {
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: var(--secondary);
}

.tool-icon {
  height: 140px;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
}

.tool-card:nth-child(2) .tool-icon {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.1),
    rgba(139, 92, 246, 0.1)
  );
}

.tool-info {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tool-info h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.tool-info p {
  color: #94a3b8;
  margin-bottom: 20px;
  flex: 1;
  font-size: 0.95rem;
}

.btn-outline {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.coming-soon {
  opacity: 0.7;
}

.coming-soon .tool-icon {
  background: #0f172a;
  color: #64748b;
}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 50px;
}

footer i {
  color: var(--secondary);
}

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

  .hero {
    padding: 60px 0;
    text-align: center;
  }

  .hero .container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .glass-card {
    width: 160px;
    padding: 20px;
  }

  .glass-card i {
    font-size: 2rem;
  }
}
