@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-blue: #1e293b; /* For subtle secondary dark accents */
  --secondary-blue: #020617; /* Very dark background */
  --primary-green: #29cc70; /* Brand green */
  --secondary-green: #10b981;
  --text-dark: #f8fafc; /* Inverted for dark mode: This is now text-light essentially */
  --text-light: #94a3b8; /* Muted text */
  --bg-light: #0b1121; /* Main background color */
  --white: #ffffff;
  --glass-bg: rgba(30, 41, 59, 0.5); /* Dark glass */
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --glow: 0 0 25px rgba(41, 204, 112, 0.3);
  --glow-strong: 0 0 40px rgba(41, 204, 112, 0.5);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes blob {
  0% { transform: scale(1) translate(0px, 0px); }
  33% { transform: scale(1.1) translate(30px, -50px); }
  66% { transform: scale(0.9) translate(-20px, 20px); }
  100% { transform: scale(1) translate(0px, 0px); }
}

/* Scroll Reveals */
.reveal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, visibility, transform;
}
.reveal.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.fade-up { transform: translateY(40px); }

/* Typing Cursor Animation */
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-icon {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(41, 204, 112, 0.2);
  display: inline-flex;
  align-items: center;
  color: var(--white);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.terminal-prompt {
  color: var(--primary-green);
  margin-right: 8px;
}

.terminal-cursor {
  display: inline-block;
  width: 9px;
  height: 1.1rem;
  background-color: var(--primary-green);
  margin-left: 4px;
  animation: blinkCursor 1s step-end infinite;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-green) 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green) 0%, #10b981 100%);
  color: var(--white);
}

.btn-glow:hover {
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary-green);
  background: rgba(41, 204, 112, 0.1);
  color: var(--primary-green);
  transform: translateY(-2px);
}

.btn-login {
  background: rgba(41, 204, 112, 0.1);
  color: var(--primary-green);
  border: 1px solid rgba(41, 204, 112, 0.2);
  padding: 0.5rem 1.25rem;
}
.btn-login:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  border-radius: 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 12px;
  left: 0;
  width: 100%;
  padding: 0 1.5%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: none;
}

.navbar .container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(248, 250, 252, 0.95);
  padding: 0.4rem 3rem; /* Thinner */
  border-radius: 50px; /* Highly rounded */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  top: 8px;
}

.navbar.scrolled .container {
  padding: 0.2rem 3rem; /* Very thin when scrolled */
  background: rgba(248, 250, 252, 0.7); /* Translucent */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 100%;
  width: 100%;
}

.text-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-blue);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary-blue);
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.95rem;
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--secondary-blue);
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--secondary-blue);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(41, 204, 112, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(21, 34, 62, 0.4), transparent 25%);
  padding-top: 80px;
}

.hero-bg-shapes {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
  animation: blob 10s infinite alternate ease-in-out;
}

.shape-1 {
  top: -10%; right: -5%;
  width: 500px; height: 500px;
  background: rgba(41, 204, 112, 0.4);
  animation-delay: 0s;
}

.shape-2 {
  bottom: -20%; left: -10%;
  width: 600px; height: 600px;
  background: rgba(21, 34, 62, 0.2);
  animation-delay: 2s;
}

.cursor-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(41, 204, 112, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 1;
  left: 100%;
  top: 0;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(41, 204, 112, 0.1);
  color: var(--primary-green);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(41, 204, 112, 0.2);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Values Section */
.values-section {
  padding: 8rem 0;
  position: relative;
  z-index: 10;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.value-card {
  padding: 3rem 2rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
  transform-style: preserve-3d;
  background: rgba(30, 41, 59, 0.4);
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(41,204,112,0.3);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(41, 204, 112, 0.2) 0%, rgba(41, 204, 112, 0.05) 100%);
  color: var(--primary-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.value-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Services */
.services-section {
  padding: 8rem 0;
  background-color: var(--secondary-blue);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(41, 204, 112, 0.08) 0%, transparent 40%);
}

.services-section h2, .services-section p {
  position: relative;
  z-index: 10;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.modern-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.dark-card {
  background: rgba(0, 0, 0, 0.2);
}

.card-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(41, 204, 112, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.modern-card:hover {
  transform: translateY(-10px);
  border-color: rgba(41, 204, 112, 0.3);
}

.modern-card:hover .card-glow {
  opacity: 1;
}

.modern-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.modern-card p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.modern-card ul {
  list-style: none;
}

.modern-card ul li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
}

.modern-card ul li i {
  color: var(--primary-green);
}

/* REATMOS */
.reatmos-section {
  padding: 8rem 0;
  background-color: var(--secondary-blue);
  border-top: 1px solid rgba(255,255,255,0.02);
}

.reatmos-container {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.reatmos-bg-effect {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: 
    radial-gradient(circle at 100% 0%, rgba(41, 204, 112, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(32, 168, 91, 0.2) 0%, transparent 50%);
}

.reatmos-content {
  color: var(--white);
  max-width: 50%;
  position: relative;
  z-index: 10;
}

.reatmos-visual.floating {
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 10;
}

.glass-orb {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-orb i {
  font-size: 6rem;
  color: var(--primary-green);
  filter: drop-shadow(0 0 20px rgba(41, 204, 112, 0.5));
}

/* Contact */
.contact-section {
  padding: 8rem 0;
  background-color: var(--secondary-blue);
  border-top: 1px solid rgba(255,255,255,0.02);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px; height: 50px;
  background: rgba(41, 204, 112, 0.1);
  color: var(--primary-green);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}

.contact-form {
  padding: 3rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.modern-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--transition);
}

.modern-input:focus {
  outline: none;
  border-color: var(--primary-green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(41, 204, 112, 0.1);
}

/* Footer */
footer {
  background-color: #020617;
  color: white;
  padding: 4rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
  color: rgba(255,255,255,0.6);
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .contact-container { grid-template-columns: 1fr; }
  .reatmos-container { flex-direction: column; text-align: center; padding: 2rem; gap: 2rem; border-radius: 24px; }
  .reatmos-content { max-width: 100%; }
  .reatmos-content img { margin: 0 auto 1.5rem auto; }
  .glass-orb { width: 180px; height: 180px; }
  .glass-orb i { font-size: 4.5rem; }
  
  /* Mobile Menu Styles */
  .nav-links { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.75rem; }
  .section-header h2 { font-size: 2.25rem; }
  .values-section, .services-section, .reatmos-section, .contact-section { padding: 4rem 0; }
  .contact-form { padding: 2rem; }
  .reatmos-container { padding: 1.5rem; gap: 1.5rem; }
  .glass-orb { width: 140px; height: 140px; }
  .glass-orb i { font-size: 3.5rem; }
  .navbar .container { padding: 0.6rem 1.5rem; }
}
