:root {
  --primary: #714b67; /* Odoo Purple */
  --secondary: #017e84; /* Odoo Teal */
  --dark: #1e1e24;
  --light: #f8f9fa;
  --code-bg: #111;
  --success: #28a745;
  --text-main: #333;
  --text-muted: #666;
  --gradient: linear-gradient(135deg, #714b67 0%, #017e84 100%);
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo .highlight {
  color: var(--secondary);
}

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

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

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 5%;
  background: #fdfdfd;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  padding-right: 3rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
  background: var(--gradient);
  color: white !important;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: inline-block;
  border: none;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(113, 75, 103, 0.3);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 1rem;
  text-decoration: none;
  display: inline-block;
}

.badges {
  margin-top: 2rem;
}

.badge {
  background: #eee;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  color: var(--text-muted);
}

/* Terminal Visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.terminal-window {
  background: var(--code-bg);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  color: #e0e0e0;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.9rem;
}

.terminal-header {
  background: #333;
  padding: 0.8rem;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.terminal-body {
  padding: 1.5rem;
}

.code-line {
  margin-bottom: 0.5rem;
}
.prompt {
  color: var(--success);
}
.success {
  color: var(--success);
}
.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Features */
.features {
  padding: 5rem 5%;
  background: #fff;
}

.features h2,
.quickstart h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-main);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Quick Start */
.quickstart {
  padding: 5rem 5%;
  background: #f8f9fa;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 2rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  padding: 2rem 5%;
  background: var(--dark);
  color: #aaa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 3rem;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .nav-links {
    display: none; /* Simple hiding for mobile demo */
  }
}
