:root {
  --bg-dark: #0D1117;
  --bg-light: #161B22;
  --border-color: #30363d;
  --text-primary: #e6edf3;
  --text-secondary: #7d8590;
  --accent-purple: #8B5CF6;
  --accent-green: #A3E635;
}
body {
  background-color: var(--bg-dark);
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Header --- */
.main-header {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-area .brand { font-weight: 600; font-size: 1.1rem; color: var(--text-primary); text-decoration: none; }
.logo-area .product-name {
  color: var(--text-secondary); margin-left: 8px; font-weight: 500;
}
.main-nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-login { color: var(--text-secondary); margin-right: 24px; transition: color 0.2s; }
.nav-login:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--accent-purple);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 0 15px #8b5cf64d;
}
.nav-cta:hover { background: #7c4ee3; transform: translateY(-1px); }

/* --- Hero Section --- */
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}
.hero-left {
  flex: 1;
  min-width: 280px;
}
.hero-right {
  flex: 0 0 420px;
}
h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 16px auto;
}
h1 .highlight {
  background: -webkit-linear-gradient(45deg, var(--accent-green), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}
.cta-button {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(45deg, var(--accent-purple), #7c4ee3);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 25px #8b5cf666;
  border: 1px solid #a482f7;
  margin-bottom: 12px;
}
.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px #8b5cf680;
}
.cta-subtext {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.try-now-heading {
  font-size: 1.6rem;
  margin: 32px 0 16px 0;
}

/* --- Trust Strip for Legal Professionals --- */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  background: rgba(22, 27, 34, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  font-size: 1rem;
  opacity: 0.7;
  filter: grayscale(100%);
}

.trust-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.trust-divider {
  width: 1px;
  height: 1.25rem;
  background: var(--border-color);
}

/* --- Product Visual --- */
.product-visual-container {
  margin-top: 0;
  position: relative;
}
.product-visual {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 12px;
  background-color: #010409;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.product-visual img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
.product-visual::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px;
  width: calc(100% + 4px); height: calc(100% + 4px);
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-green), var(--accent-purple));
  background-size: 300% 300%;
  z-index: -1;
  border-radius: 14px;
  filter: blur(20px);
  opacity: 0.4;
  animation: gradient-glow 8s ease infinite;
}
@keyframes gradient-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Arrows pointing to CTA --- */
.arrow-svg {
  position: absolute;
  bottom: -95px; /* Position below the visual, pointing to CTA */
  width: 140px;
  height: 90px;
  pointer-events: none;
  opacity: 0;
  animation: fadeInArrow 1s 0.5s forwards;
}
.arrow-1 {
  left: 15%;
  transform: rotate(-25deg);
}
.arrow-2 {
  right: 15%;
  transform: rotate(25deg) scaleX(-1);
}
.arrow-svg path {
  stroke: var(--accent-purple);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: drawArrow 2s ease-in-out infinite alternate;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
}
@keyframes drawArrow {
  from { stroke-dashoffset: 150; }
  to { stroke-dashoffset: 0; }
}
@keyframes fadeInArrow { to { opacity: 0.5; } }

/* --- Footer --- */
footer {
  position: relative;
  overflow: hidden;
  padding-top: 100px; /* Make space for mountains to be seen */
}

.footer-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
.footer-bg svg {
  width: 100%;
  height: auto;
  display: block;
  stroke: var(--border-color);
  fill: none;
  stroke-width: 1.5px;
  opacity: 0.4;
}
.main-footer {
  text-align: center;
  padding: 40px 0 30px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.main-footer a { color: var(--text-secondary); text-decoration: underline; }
.main-footer a:hover { color: var(--text-primary); }

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .subtitle { font-size: 1.1rem; }
  .hero-grid { flex-direction: column; }
  .hero-right { width: 100%; max-width: none; }
  .product-visual-container { margin-top: 40px; }
  .arrow-svg { display: none; }
  .trust-strip {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  .trust-divider {
    display: none;
  }
}
@media (max-width: 480px) {
  .main-header { flex-direction: column; gap: 16px; }
  h1 { font-size: 2rem; }
  .subtitle { font-size: 1rem; }
  .hero-grid { gap: 40px; }
  .hero-right { width: 100%; }
}
