/*
* Praxitude AI - Marketing Website Styles
* Theme: Dark, Professional, Trustworthy
* Brand Colors: Green (#2EAC80) & Blue (#024D80)
*/

:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #242424;

  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;

  --accent-green: #2EAC80;
  --accent-green-hover: #3BC794;
  --accent-green-dark: #259068;

  --accent-blue: #024D80;
  --accent-blue-hover: #0366A3;
  --accent-blue-light: #0D5FA8;

  --border-color: #333333;
  --border-light: #444444;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Layout */
  --max-width-container: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-blue-hover);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: var(--space-4);
  font-weight: 700;
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-4);
}

/* Utilities */
.container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 var(--space-12);
}

.text-center {
  text-align: center;
}

.text-green {
  color: var(--accent-green);
}

.text-green-dark {
  color: var(--accent-green-dark);
}

.text-blue {
  color: var(--accent-blue);
}

/* Bright blue for text readability on dark backgrounds */
.text-blue-bright {
  color: #4DA8DA;
}

.text-yellow {
  color: #F4D03F;
}

.text-muted {
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  background-color: transparent;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  font-size: var(--text-base);
}

.btn-primary {
  background-color: var(--accent-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-green-hover);
  color: white;
}

.btn-outline {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.btn-outline:hover {
  background-color: rgba(46, 172, 128, 0.1);
}

.section {
  padding: var(--space-16) 0;
}

/* Header & Nav */
header {
  height: var(--header-height);
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

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

.logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
}

.logo span {
  color: var(--accent-green);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-links a:hover {
  color: white;
}

.nav-links a.login-link {
  color: white;
  margin-left: 20px;
  padding: 8px 20px;
  background: var(--accent-green);
  border-radius: 4px;
  font-weight: 600;
}

.nav-links a.login-link:hover {
  background: var(--accent-green-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: var(--text-2xl);
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Background is now handled by .hero-bg */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  /* Taller for parallax movement */
  background-image: url('../images/back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.85) 70%, rgba(10, 10, 10, 1) 100%);
  z-index: 1;
}

.hero::before {
  /* Subtle light spill on top - keeping this but ensuring it's above overlay */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% -20%, rgba(46, 172, 128, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  max-width: 1000px;
  /* Widened from 800px for less padding */
  position: relative;
  z-index: 3;
  /* Above all backgrounds */
  padding: 0 var(--space-4);
  /* Ensure some padding on very small screens */
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-size: calc(var(--text-3xl) * 1.2);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  /* Better readability */
}

.hero p.lead {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  /* Lighter gray for readability */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--space-8);
  max-width: 800px;
  /* Keep this readable width */
  margin-left: auto;
  margin-right: auto;
}

.hero-support {
  margin-top: var(--space-8);
  font-size: var(--text-2xl);
  /* Bigger */
  color: var(--accent-green);
  /* Green */
  font-style: italic;
  /* Italic */
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-12);
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.scroll-indicator:hover {
  opacity: 1;
  color: white;
  transform: translateY(2px);
}

.scroll-text {
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  letter-spacing: 0.5px;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: white;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s infinite ease-in-out;
}

@keyframes scroll-wheel {
  0% {
    top: 6px;
    opacity: 1;
    height: 8px;
  }

  100% {
    top: 24px;
    opacity: 0;
    height: 4px;
  }
}

/* Features/Problem Section */
#problem {
  /* Subtle Green Tint Gradient */
  background: linear-gradient(to bottom, #1a1a1a, #0d1f1a);
  border-bottom: 1px solid var(--border-light);
}

/* Why Praxitude */
#why-praxitude {
  /* Subtle Blue Tint Gradient */
  background: linear-gradient(to bottom, #0d1f1a, #0a151f);
}

/* Contact */
#contact {
  /* Fade to black */
  background: linear-gradient(to bottom, #0a151f, #0a0a0a);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.card {
  background-color: var(--bg-card);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
}



.card h3 {
  color: white;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.highlight-box {
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: rgba(2, 77, 128, 0.1);
  border-left: 2px solid var(--accent-blue);
  font-size: var(--text-sm);
}

.checkmark {
  color: var(--accent-green);
  font-weight: bold;
}

/* How It Works */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.step-item {
  position: relative;
  padding-right: var(--space-2);
}

.step-number {
  color: var(--accent-green);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  display: block;
}

.step-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.step-item p,
.step-item li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Why Us Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.feature-card {
  background-color: var(--bg-card);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent-green);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to bottom right, var(--bg-card), #2a2a2a);
}

/* Status & About */
.content-centered {
  max-width: 800px;
  margin: 0 auto;
}

.about-box {
  background-color: var(--bg-secondary);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  margin-top: var(--space-8);
}

.green-gradient-box {
  background: linear-gradient(135deg, var(--accent-green-dark) 0%, #0f6b4f 100%);
  color: white;
  padding: 30px;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 900px;
}

.founder-list {
  margin-top: var(--space-6);
}

.founder-item {
  margin-bottom: var(--space-6);
}

.founder-name {
  color: white;
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-1);
}

/* Contact Section */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-weight: 500;
  font-size: var(--text-sm);
}

.form-input,
.form-textarea {
  padding: var(--space-3);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-sans);
  font-size: var(--text-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(46, 172, 128, 0.2);
}

.btn-full {
  width: 100%;
}

.contact-direct {
  text-align: center;
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
}

.cta-button {
  width: 100%;
  background: var(--accent-green);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background: var(--accent-green-dark);
}

.accent-link {
  color: var(--accent-green);
  font-weight: 600;
}

.accent-link:hover {
  color: var(--accent-green-hover);
}

.form-success {
  display: none;
  background: #d1fae5;
  border: 2px solid var(--accent-green);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-8) 0;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

footer p {
  margin-bottom: var(--space-2);
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .grid-3,
  .grid-2,
  .steps-container {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-10) 0;
  }
}
