/* Modern ArxBase Landing Page Styles */

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

:root {
  --primary-color: #1f2937;
  --primary-light: #374151;
  --secondary-color: #f9fafb;
  --accent-color: #3b82f6;
  --accent-hover: #2563eb;
  --success-color: #10b981;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --gradient-bg: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --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);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
header {
  background: var(--gradient-bg);
  color: var(--white);
  padding: 100px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

header h1 em {
  color: var(--accent-color);
  font-style: normal;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 48px;
  opacity: 0.9;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.5;
}

/* Form Styles */
.signup-form {
  display: flex;
  gap: 16px;
  max-width: 450px;
  margin: 0 auto 24px;
  align-items: center;
  justify-content: center;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 280px;
  padding: 18px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  font-weight: 500;
}

.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), var(--shadow-lg);
  transform: translateY(-1px);
}

.signup-form button {
  padding: 18px 36px;
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.signup-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}

.note {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 16px;
  font-weight: 400;
}

/* Main Content Sections */
main {
  padding: 100px 0;
}

section {
  margin-bottom: 100px;
}

section h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 48px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 48px 0 24px;
  color: var(--accent-color);
  letter-spacing: -0.01em;
}

section p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--text-secondary);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Problem Section */
.problem-section {
  background: var(--secondary-color);
  padding: 100px 0;
  border-radius: 0;
}

.problem-section h2 {
  color: var(--text-primary);
  margin-bottom: 48px;
}

/* How It Works */
.how-it-works {
  background: var(--white);
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.step {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-color);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-md);
}

.step h3 {
  margin: 0 0 16px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features List */
.features-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}

.features-list li {
  padding: 32px 40px;
  font-size: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  color: var(--text-primary);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.features-list li:last-child {
  margin-bottom: 0;
}

.features-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.features-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--gradient-accent);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.features-list li::after {
  content: '✓';
  position: absolute;
  left: 46px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  margin-left: -12px;
  margin-top: -12px;
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
  margin: 64px 0;
  padding: 0 24px;
}

table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

th, td {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  font-size: 1rem;
}

th {
  background: var(--primary-color);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

tbody tr:hover {
  background: var(--secondary-color);
}

tbody tr {
  transition: background-color 0.2s ease;
}

td:first-child {
  font-weight: 700;
  text-align: left;
  background: var(--secondary-color);
  color: var(--text-primary);
}

/* Testimonial */
.testimonial {
  background: var(--secondary-color);
  padding: 100px 0;
  text-align: center;
}

blockquote {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
}

blockquote::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent-color);
  position: absolute;
  top: -5px;
  left: 32px;
  font-family: Georgia, serif;
  opacity: 0.3;
}

.author {
  margin-top: 32px;
  font-weight: 700;
  color: var(--text-primary);
  font-style: normal;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--gradient-bg);
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}

footer h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

footer h2 em {
  color: var(--accent-color);
  font-style: normal;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

footer .signup-form {
  margin: 48px auto;
}

.footer-note {
  margin-top: 80px;
  opacity: 0.7;
  font-size: 14px;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
  .signup-form {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 100%;
  }
  
  .signup-form input[type="email"] {
    min-width: 0;
    width: 100%;
    max-width: 350px;
  }
  
  .signup-form button {
    width: 100%;
    max-width: 350px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  main {
    padding: 80px 0;
  }
  
  section {
    margin-bottom: 80px;
  }
  
  .features-list li {
    padding: 24px 24px;
    font-size: 1.125rem;
  }
  
  .comparison-table {
    padding: 0 16px;
  }
  
  blockquote {
    padding: 32px 24px;
    font-size: 1.25rem;
  }
  
  .step {
    padding: 32px 24px;
  }
}

/* Success Message */
.success-message {
  background: var(--success-color);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  margin: 24px auto;
  max-width: 450px;
  text-align: center;
  display: none;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.success-message.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}