@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:root {
  /* Color Variables */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color-secondary: #f472b6;
  --color-text-primary: #1f2937;
  --color-text-secondary: #4b5563;
  --color-background: #ffffff;
  --color-background-alt: #f3f4f6;
  --color-border: #e5e7eb;

  /* Soft Background Colors for Feature Cards */
  --color-feature-1: rgb(251 245 255); /* Soft Pink */
  --color-feature-2: rgb(245, 249, 255); /* Soft Blue */
  --color-feature-3: rgb(255, 253, 245); /* Soft Green */
  --color-feature-4: rgb(255, 248, 250); /* Soft Yellow */

  /* Spacing Variables */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

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

a {
  text-decoration: none;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--color-text-primary);
  line-height: 1.5;
  background-color: var(--color-background);
}

img.soft-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

/* Navigation Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--color-background);
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

img.icon-image {
  width: 150px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

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

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

.nav-links .sign-in {
  color: var(--color-primary);
}

.nav-links .get-started {
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}

.nav-links .get-started:hover {
  background-color: var(--color-primary-dark);
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 6rem auto 0;
  padding: var(--spacing-xl) var(--spacing-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

.cta-button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: var(--color-primary-dark);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.feature-card.large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  padding: var(--spacing-xl);
  border-radius: 1.5rem;
  overflow: hidden;
}

.feature-card.large:nth-child(1) {
  background-color: var(--color-feature-1);
  border-color: #fce7f3;
}

.feature-card.large:nth-child(2) {
  background-color: var(--color-feature-2);
  border-color: #dbeafe;
}

.feature-card.large:nth-child(3) {
  background-color: var(--color-feature-3);
  border-color: #dcfce7;
}

.feature-card.large:nth-child(4) {
  background-color: var(--color-feature-4);
  border-color: #fde68a;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature-content h3 {
  font-size: 1.75rem;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.feature-content h3 .highlight {
  display: inline;
  font-weight: 700;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.25rem; /* Fix for gradient text cutoff */
}

.feature-card.large:nth-child(1) h3 .highlight,
.tool-card:nth-child(1) h3 .highlight,
.download h2 .highlight {
  -webkit-text-fill-color: transparent;
  text-shadow: rgba(0, 0, 0, 0) 0px 0px;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(90deg, rgb(220, 90, 255) 0%, rgb(147, 104, 234) 100%) text;
}

.feature-card.large:nth-child(2) h3 .highlight,
.tool-card:nth-child(2) h3 .highlight {
  -webkit-text-fill-color: transparent;
  text-shadow: rgba(0, 0, 0, 0) 0px 0px;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(90deg, rgb(80, 108, 247) 0%, rgb(80, 187, 247) 100%) text;
}

.feature-card.large:nth-child(3) h3 .highlight,
.tool-card:nth-child(3) h3 .highlight {
  -webkit-text-fill-color: transparent;
  text-shadow: rgba(0, 0, 0, 0) 0px 0px;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(90deg, rgb(206, 164, 0) 0%, rgb(228, 206, 0) 100%) text;
}

.feature-card.large:nth-child(4) h3 .highlight {
  -webkit-text-fill-color: transparent;
  text-shadow: rgba(0, 0, 0, 0) 0px 0px;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(90deg, rgb(253, 51, 111) 0%, rgb(253, 51, 196) 100%) text;
}

.feature-content p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.feature-content img.icon {
  width: 24px;
  height: 24px;
}

.feature-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.feature-image img.bottom-0 {
  margin-bottom: -3rem;
}

.feature-image img.small-image {
  max-width: 75%;
}

/* Tools Section */
.tools {
  max-width: 1200px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.tools h2.tools-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-size: 2rem;
}

.tools h2.tools-title .highlight {
  -webkit-text-fill-color: transparent;
  text-shadow: rgba(0, 0, 0, 0) 0px 0px;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(90deg, rgb(4, 0, 183) 10%, rgb(46, 202, 229) 100%) text;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.tool-card {
  background-color: var(--color-background);
  padding: 0 0 var(--spacing-lg) 0;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease;
}

.tool-card .tool-header {
  height: 360px;
  background-color: var(--color-feature-2);
}

.tool-card:hover {
  transform: translateY(-5px);
}

.tool-card img {
  max-height: 100%;
}

.tool-card:nth-child(1) img {
  float: right;
}

.tool-card:nth-child(2) img {
  padding: var(--spacing-sm) 0;
  float: right;
}

.tool-card .tool-content {
  padding: var(--spacing-sm) var(--spacing-lg) 0 var(--spacing-lg);
}

/* Download Section */
.download {
  max-width: 1200px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.download h2 {
  text-align: center;
  margin-bottom: var(--spacing-xs);
  font-size: 2rem;
}

.download h5 {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
  font-weight: 400;
}

.icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
  font-weight: 600;
  border: 0.15rem solid var(--color-border);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 0.5rem;
  width: 180px;
}

.icons a:nth-child(2) {
  cursor: not-allowed;
  pointer-events: none;
}

.icons a img {
  height: 36px;
}

/* Footer */
footer {
  background-color: var(--color-background-alt);
  padding: var(--spacing-md) var(--spacing-md);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 4rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .feature-card.large {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--spacing-lg);
    gap: var(--spacing-lg);
  }

  .feature-card.large:nth-child(even) {
    direction: ltr;
  }

  .feature-content {
    order: 1;
  }

  .feature-image {
    order: 2;
  }

  img.icon {
    margin: auto;
  }

  .icons {
    gap: var(--spacing-xs);
  }

  .icons a {
    gap: 0.25rem;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}
