/* Styles for Salt Tecnologia */
:root {
  --primary-blue: #2B88F0;
  --primary-blue-hover: #1A75E0;
  --primary-orange: #F05A28;
  --primary-orange-hover: #D94918;
  --bg-dark: #0A0F1D;
  --bg-card: #121A2D;
  --bg-card-glass: rgba(18, 26, 45, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.about-logo-img {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-text .salt {
  color: var(--primary-blue);
}

.brand-text .tec {
  color: var(--primary-orange);
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 136, 240, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary-orange);
  color: var(--primary-orange) !important;
}

.btn-outline:hover {
  background: var(--primary-orange);
  color: #ffffff !important;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at 10% 20%, rgba(43, 136, 240, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(240, 90, 40, 0.1) 0%, transparent 40%);
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

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

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(43, 136, 240, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(43, 136, 240, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.highlight-blue {
  color: var(--primary-blue);
}

.highlight-orange {
  color: var(--primary-orange);
}

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

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Glass Card */
.card-glass {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  padding: 1.5rem;
}

.shadow-glow {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(43, 136, 240, 0.15);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-header .title {
  margin-left: auto;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.code-body {
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.8;
}

.kwd { color: #94A3B8; }
.val { font-weight: 600; }
.green-txt { color: #10b981; }
.blue-txt { color: var(--primary-blue); }
.orange-txt { color: var(--primary-orange); }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px;
  border-radius: 6px;
}

.mini-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
  border-radius: 3px;
}

/* Services */
.services {
  padding: 100px 0;
  background: var(--bg-dark);
}

.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

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

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(43, 136, 240, 0.4);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.blue-bg {
  background: rgba(43, 136, 240, 0.15);
  color: var(--primary-blue);
}

.orange-bg {
  background: rgba(240, 90, 40, 0.15);
  color: var(--primary-orange);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1424 100%);
  border-top: 1px solid var(--border-glass);
}

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

.about-image {
  position: relative;
}

.about-card-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.logo-icon-lg {
  width: 90px;
  height: 90px;
  margin-bottom: 1.5rem;
}

.about-card-badge h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.about-card-badge p {
  color: var(--text-muted);
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
}

.about-list li {
  margin-bottom: 0.8rem;
  font-weight: 500;
}

/* Contact */
.contact {
  padding: 100px 0;
  background: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg-card);
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 1rem;
  font-weight: 700;
}

.info-item p, .info-item a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.info-item a:hover {
  color: var(--primary-blue);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.5rem;
  border-radius: 16px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-blue);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

/* Footer */
.footer {
  background: #060913;
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .about-container, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-graphic {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border-glass);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
