/* ===========================
   TEBROS DEVELOPMENT — SHARED STYLES
   =========================== */

/* --- Variables --- */
:root {
  --bg:          #060C16;
  --surface:     #0D1623;
  --surface-2:   #142035;
  --border:      #1E2F47;
  --border-soft: rgba(79,142,247,0.12);
  --blue:        #4F8EF7;
  --blue-dim:    rgba(79,142,247,0.15);
  --cyan:        #22D3EE;
  --green:       #34D399;
  --text:        #E2E8F0;
  --muted:       #8B98AD;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 8px 32px rgba(0,0,0,0.45);
  --transition:  0.22s cubic-bezier(.4,0,.2,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
p  { color: var(--muted); line-height: 1.7; }

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Container --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79,142,247,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79,142,247,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

/* ============================
   NAVIGATION
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(6,12,22,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--text);
}
.brand-accent { color: var(--blue); }
.brand-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all var(--transition);
}
.nav-links li a:hover { color: var(--text); background: var(--surface-2); }
.btn-nav {
  padding: 8px 18px !important;
  background: var(--blue-dim) !important;
  color: var(--blue) !important;
  border: 1.5px solid var(--border-soft) !important;
  border-radius: 8px !important;
}
.btn-nav:hover { background: var(--blue) !important; color: #fff !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(6,12,22,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: all var(--transition);
}
.nav-mobile a:hover { color: var(--text); background: var(--surface-2); }

/* ============================
   SECTION HEADERS
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid var(--border-soft);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header h2 { color: var(--text); margin-bottom: 12px; }
.section-header p { max-width: 520px; margin: 0 auto; font-size: 1.05rem; }

/* ============================
   FOOTER
   ============================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 0;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--blue); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================
   COOKIE BANNER
   ============================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 700px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}
.cookie-text { font-size: 0.875rem; color: var(--muted); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================
   FADE-IN ANIMATION
   ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer .container { justify-content: center; text-align: center; }
  .footer-nav { justify-content: center; }
}
