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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 50%,
    #f093fb 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #1a1a1a;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

header:hover {
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  background-color: rgba(0, 112, 243, 0.1);
  color: #0070f3;
  transform: translateY(-1px);
}

.nav a.active {
  color: #0070f3;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }
} /* keep it simple on mobile */

.logo-section {
  display: flex;
  align-items: end;
  gap: 10px;
}

header img {
  width: 100px;
  height: auto;
}

.logo-text {
  font-size: 1.8em;
  font-weight: 600;
  color: #1a1a1a;
}

.insights {
  background-color: #0070f3;
  color: #fff;
  padding: 13px 26px;
  position: fixed;
  right: 15px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-size: 1.2em;
}

.hero {
  text-align: center;
  padding: 150px 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 0 0 50px 50px;
  margin-bottom: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero h1 {
  font-size: 4em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #667eea, white, #f093fb);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation:
    gradientShift 3s ease infinite,
    fadeInUp 1s ease;
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.3s both;
  position: relative;
  z-index: 2;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .cta-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 18px 36px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.2em;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  animation: fadeInUp 1s ease 0.6s both;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero .cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero .cta-btn:hover::before {
  left: 100%;
}

.hero .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.features h2 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 20px;

}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
  perspective: 1000px;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover::before {
  opacity: 1;
}

.feature:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.feature h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  z-index: 2;
}

.feature p {
  color: #666;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.signup {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 80px 20px;
  margin: 80px auto;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 800px;
}

.signup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  z-index: 1;
}

.signup h2 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.signup p {
  text-align: center;
  color: #666;
  font-size: 1.2em;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.signup form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 600px;
  margin: auto;
  padding: 50px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
  text-align: left;
}

.signup input,
.signup textarea {
  padding: 16px 20px;
  font-size: 1em;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.signup input:focus,
.signup textarea:focus {
  outline: none;
  border-color: #0070f3;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.1);
  transform: translateY(-1px);
}

.signup input::placeholder,
.signup textarea::placeholder {
  color: #999;
  font-weight: 400;
}

.signup textarea {
  min-height: 100px;
  resize: vertical;
}

.signup button {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 18px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.signup button:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.signup button:active {
  transform: translateY(0);
}

.signup button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  color: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
}

/* How it Works page specific styles */
.content {
  max-width: 800px;
  margin: auto;
  padding: 80px 20px;
  text-align: left;
}

.content h1 {
  font-size: 3em;
  margin-bottom: 20px;
  text-align: center;
}

.content ol {
  font-size: 1.2em;
  line-height: 2;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Product page specific styles */
.feature-section {
  padding: 20px 20px;
  max-width: 1100px;
  margin: auto;
  margin-bottom: 150px;
}

.feature-section h2 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 20px;
}

.feature-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-box h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
}

.feature-box p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #666;
}

/* Signup page specific styles */
.content {
  max-width: 600px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.content h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.content form {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content input,
.content textarea {
  padding: 12px;
  margin-bottom: 15px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.content button {
  padding: 14px;
  background: #0070f3;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.content button:hover {
  background: #0051c3;
}

/* Insights page specific styles */
.insights-content {
  padding: 80px 20px;
  margin-bottom: 80px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
  perspective: 1000px;
}

@media (max-width: 768px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  display: block;
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insight-card:hover::before {
  opacity: 1;
}

.insight-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
}

.insight-card h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  z-index: 2;
  line-height: 1.3;
}

.insight-card p {
  color: #666;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.insight-meta {
  position: relative;
  z-index: 2;
}

.insight-meta span {
  color: #999;
  font-size: 0.9em;
  font-weight: 500;
}
