/* 
* GENERAL
*/
:root {
  --green: #0b8f1f;
  --green-dark: #087118;
  --green-soft: #dff5e3;
  --text: #161616;
  --text-soft: #5f6368;
  --bg: #f5f7f8;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
}

.hero-wrapper {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(11, 143, 31, 0.1),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(11, 143, 31, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, #ffffff 0%, #f5f7f8 100%);
  min-height: 100vh;
  padding: 24px 0 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn.big {
  padding: 18px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(11, 143, 31, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}

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

@media (max-width: 640px) {
  /* GENERAL */
  .btn {
    width: 100%;
  }

  /* NAVBAR */
  .logo {
    font-size: 1.6rem;
  }
}

/* 
* NAVBAR 
*/
.topbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}

.logo span {
  color: var(--green);
}

.lang-link {
  color: var(--text-soft);
  font-weight: 600;
  transition: 0.2s ease;
}

.lang-link:hover {
  color: var(--green);
}

.login-link {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(11, 143, 31, 0.25);
    background: rgba(11, 143, 31, 0.08);
    color: var(--green);
    font-weight: 600;
}

.login-link:hover {
    background: rgba(11, 143, 31, 0.15);
    border-color: rgba(11, 143, 31, 0.4);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/*
DAK CARD FLOTANDO
*/
.dak-c {
    width: 320px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    text-align: left;
    transition: all 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
    transform: rotateY(-5deg);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.08),
        0 0 0 rgba(22,163,74,0);
}

.dak-c:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.12),
        0 0 20px rgba(22,163,74,0.15);
}

.profile {
    text-align: center;
    margin-bottom: 10px;
}

.profile h4 {
    margin-bottom: 2px;
    color: #0aa321;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-links a {
    display: block;
    background: #0aa321;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
}

.profile-bio {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 5px;
    line-height: 1.4;
}

@keyframes floatCard {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* FOOTER */
.footer {
  background: #0f1111;
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #b5b5b5;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d1d1d1;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #9a9a9a;
}