:root {
  --bg: #0b0f12;
  --card: #0f1619;
  --muted: #9aa6ad;
  --accent: #00ff99;
  --text: #e6eef2;
  --glass: rgba(30, 41, 59, 0.5);
  --border-color: rgba(255, 255, 255, 0.07);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 153, 0.1), transparent);
  transition: transform 0.5s ease;
  transform: translateX(0);
}

.header:hover::before {
  transform: translateX(200%);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  color: var(--text);
  font-size: 20px;
  font-weight: bold;
  margin-left: 12px;
}

.nav a {
  color: var(--muted);
  margin: 0 12px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* Footer */
.footer {
  padding: 40px 18px;
  background: var(--card);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 60px;
}

.footer-content p { margin: 0 0 10px; }
.footer-content a { color: var(--muted); text-decoration: none; }
.footer-content a:hover { color: var(--accent); }

/* General Content & Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; color: var(--accent); }
h4 { font-size: 1.2rem; }

.section {
  padding: 60px 0;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: -2.5rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.hero {
  padding: 80px 24px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(11, 15, 18, 0.8), rgba(11, 15, 18, 1)), url('/assets/hero-background.jpg');
  border-radius: 0 0 24px 24px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: #031213;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(54, 198, 166, 0.3);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(54, 198, 166, 0.5);
}

.card-media {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #081018;
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }

/* Process Section */
.process-step {
  text-align: center;
}

.process-step .icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
  background: var(--card);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

/* Portfolio Section */
.portfolio-card .card-body {
  position: relative;
}

.whatsapp-project-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25D366;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  margin-top: 1rem;
  transition: background-color 0.2s;
}

.whatsapp-project-btn:hover {
  background-color: #1DAE54;
}

.whatsapp-project-btn svg {
  width: 20px;
  height: 20px;
}

/* Alliances Section */
.alliances-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  filter: grayscale(100%) brightness(150%) contrast(50%);
}

.alliance-logo {
  max-height: 60px;
  max-width: 150px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.form-control {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .header {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    background: var(--card);
}