:root {
  --primary-color: #4f46e5;
  --secondary-color: #7c3aed;
  --text-color: #1f2937;
  --bg-color: #f9fafb;
  --white: #ffffff;
  --gradient-main: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

header {
  padding: 20px 0;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
}

.logo img {
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

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

.hero {
  padding: 80px 0;
  text-align: center;
  background: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--gradient-main);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

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

.features {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: inline-block;
  padding: 12px;
  background: #eef2ff;
  border-radius: 12px;
  color: var(--primary-color);
  line-height: 1;
}

.feature-icon i {
  display: block;
}

/* Legal Content */
.legal-content {
  padding: 60px 0;
  background: var(--white);
  border-radius: 20px;
  margin: 40px auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
  margin-bottom: 30px;
  text-align: center;
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 15px;
  color: #4b5563;
}

.legal-content ul {
  padding-left: 20px;
}

footer {
  background: var(--white);
  padding: 40px 0;
  margin-top: auto;
  border-top: 1px solid #e5e7eb;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.9rem;
}

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

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

  .nav-links {
    display: none;
    /* Ideally added a mobile menu, but keeping it simple for now as per minimal reqs */
  }
}

/* AI Chat Section */
.ai-chat-section {
  padding: 80px 0;
  background: linear-gradient(to right, #f8fafc, #eff6ff);
}

.chat-content {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.chat-text {
  flex: 1;
  min-width: 300px;
}

.chat-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-color);
}

.chat-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.chat-features li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-features li i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.chat-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.chat-ui-mockup {
  background: var(--white);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-bubble {
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 85%;
}

.chat-bubble.user {
  background: #f3f4f6;
  color: var(--text-color);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  background: var(--primary-color);
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}