@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #0b0f19;
  --surface-color: rgba(22, 28, 45, 0.7);
  --surface-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --primary-color: #00d2ff;
  --secondary-color: #3a7bd5;
  --accent-color: #00e5ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism utility */
.glass {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-border);
  padding: 0.8rem 5%;
}

.logo-container img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-container:hover img {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

nav a:hover, nav a.active {
  color: var(--accent-color);
}

.btn-nav {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-nav:hover {
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 5% 3rem;
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(11,15,25,0.9) 0%, rgba(11,15,25,0.4) 50%, rgba(11,15,25,0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease-out;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: fadeUp 1s ease-out 0.2s both;
}

/* ERP Access Section */
#acesso-erp {
  position: relative;
  z-index: 2;
  padding: 5rem 5%;
  display: flex;
  justify-content: center;
  margin-top: -100px;
}

.erp-card {
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: fadeUp 1.2s ease-out 0.4s both;
}

.erp-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.erp-card p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.input-group {
  position: relative;
  margin-bottom: 2rem;
}

.input-group .material-icons {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
}

.input-group input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  border-color: var(--accent-color);
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.4);
}

/* Features Section */
.features {
  padding: 5rem 5%;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-color: rgba(0, 210, 255, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Privacy Policy Page Content */
.page-content {
  padding: 8rem 5% 5rem;
  max-width: 900px;
  margin: 0 auto;
  flex: 1;
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 1rem;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.page-content ul {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  line-height: 1.8;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #06080d;
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--surface-border);
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Features Content Grid (New from README) */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--surface-border);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateX(5px);
}

.feature-item .material-icons {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.feature-item span {
  font-weight: 500;
  font-size: 1.05rem;
}

/* Parallax Sections */
.parallax-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 4rem 5%;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(11,15,25,1) 0%, rgba(11,15,25,0.6) 50%, rgba(11,15,25,1) 100%);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.parallax-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.parallax-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.parallax-1 {
  background-image: url('../img/parallax-1.png');
}

.parallax-2 {
  background-image: url('../img/parallax-2.png');
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  nav ul {
    gap: 1rem;
  }
  .btn-nav {
    display: none; /* Hide on very small screens for simplicity, or implement mobile menu */
  }
  .hero {
    padding-top: 8rem;
    align-items: flex-start;
  }
}
